Getting video properties out of GStreamer
Daniel, 27/04/2012 | Source: Daniel Thul (daniel90)
Daniel, 27/04/2012 | Source: Daniel Thul (daniel90)
nekohayo, 23/04/2012 | Source: 'Jeff' Fortin Tam (nekohayo)
![]()
…it’s back. And it will not stop until it has accomplished its mission.
This week, Daniel Thul fixed and reactivated the clip thumbnailing code for Pitivi’s timeline. But he didn’t just stop there. No sir. He implemented caching too, and that made my week.
We don’t just process thumbnails on-demand anymore, we now save them to disk for reuse. Notice the length of the clip below? It is two hours long. And its thumbnails load instantly at startup.
That’s not all. The thumbnails you see above were using “nearest neighbor” scaling. If you are using GStreamer 0.10.36 or newer, you get better thumbnail quality, because we now use multitap Lanczos image scaling:
Update: Daniel also blogged about his findings.
nekohayo, 13/04/2012 | Source: 'Jeff' Fortin Tam (nekohayo)
Git can feel extremely unnatural to those who came from Bazaar. Only after a lot of advice from friends, the right tools and a few months of intensive usage did I feel confident enough to use it without fear. Many are probably in the same boat as me though, so I took a couple of hours to clean up my personal notes and make a proper “crash course” tutorial for Git in the Pitivi context. I have also made a nice video on how to use interactive rebase, if you’re interested.
nekohayo, 02/04/2012 | Source: 'Jeff' Fortin Tam (nekohayo)
Now that the Internet is back to normal, here’s a status update on what I’ve been busy doing lately.
You may remember my initial donation experiment last month where I presented the new realtime trimming preview feature—I was not kidding. It’s merged in the pitivi “ges” development branch now, with some additional improvements tacked on.
Since my last blog post, I’ve been spending a lot of spare time:
If you take a step back and compare to the latest stable release (0.15.1), on the pitivi side you have:
That’s just the surface. With GES, in addition to the simplified Pitivi codebase, we have some other niceties:
It’s not ready just yet though. We need your help to be able to get 0.16 out of the door. There are some feature regressions (like drawing the clip thumbnails or waveforms on the timeline), but more importantly there are a handful of serious bugs in GES that are blocking us (they are not many, but they’re hard to solve). If we can get help to fix these we might finally be able to get a release (or at least an alpha) out of the door.
nekohayo, 18/03/2012 | Source: 'Jeff' Fortin Tam (nekohayo)
Are you a student who wants to get involved in shaping the future of open source video editing? Are you looking for a friendly project providing stimulating challenges and a well-established codebase and expertise? Then consider applying for the Summer of Code programme to work on Pitivi or GES! See this page for the list of ideas for Pitivi. Don’t wait though: the deadline for applying is April 6th.

Pitivi SoC students at the Desktop Summit last year. Important note: a moustache is NOT required to apply as a GSoC student!
Not a programmer? You can help raise awareness about this (and about Pitivi in general). Maybe you know a brilliant hacker friend/family member or a top-notch computer science student, who is just waiting for a chance to make a big difference in the world. Tell that person about how cool and welcoming PiTiVi is and how getting involved is the best way to advance free, powerful and intuitive video editing for everyone!
nekohayo, 15/03/2012 | Source: 'Jeff' Fortin Tam (nekohayo)
Due to public demand, the official main repository for PiTiVi is now git.gnome.org/pitivi instead of git://git.pitivi.org/git/pitivi.git
This has many advantages:
I updated all the relevant website and wiki pages accordingly. No more excuses now: ladies and gentlemen, start hacking (but make sure to do so on the “ges” branch).
nekohayo, 14/03/2012 | Source: 'Jeff' Fortin Tam (nekohayo)
“GES. You keep using that word. I do not think it means what you think it means.”
Unless you’ve been following the PiTiVi’s development very closely lately, it is often hard to imagine what GES does and how important it is to PiTiVi. I therefore wrote an explanatory page about it and updated the architecture overview on the wiki, in the hope of clearing things up. Let me know if something’s missing or if you have suggestions to enhance those pages.

Also, a quick status update on my call for donations experiment: we now have a total of $121.50 CAD. This is not enough for a hackfest, but certainly enough to pay a couple of beers to PiTiVi contributors at GUADEC.
I would like to extend my sincere thanks to the following people who kindly donated some money through Paypal: Felipe Almeida Lessa, Frederik Elwert, Garrett Gandy, Joseph Tennies, Leon Handreke, Pierre Bornancin, Stéphane Maniaci. I’d also like to thank the dozen of people who “flattr’d” us (but Flattr doesn’t tell me the full list of names).
tsinaski, 12/03/2012 | Source: Antigoni Papantoni (tsinaski)
nekohayo, 08/03/2012 | Source: 'Jeff' Fortin Tam (nekohayo)
In my spare time this week I implemented one of my favorite missing features in PiTiVi: a live preview of what you’re trimming. No more fuzzying around and moving the playhead all the time to figure out if you cut your scene right. No more trial and error. Just pure, unadulterated productivity. HTML5 video below:
It is fast enough to seek through the 2K version of Sintel like a breeze and to stay reasonably responsive with 4K videos. But that’s without hardware acceleration, mind you (I’m looking forward to trying this again in GStreamer 1.0…).
I actually filed a bug about this feature three years ago (you know, when I filed a little over a hundred bug reports within the space of three months). You hadn’t noticed how I am a visionary way ahead of my time? Well, now you’ve got proof.
I’m sure that all the other open source video editors will rip my beautiful code and clone this feature within 12 hours. But mark my words: PiTiVi had it first. Yes: PiTiVi is the only open source video editor that has this feature. Take that, haters.
When nekohayo starts touching your gst pipelines, you should be very afraid.
Let’s try a small social experiment here. I’ve always been curious to see if there was a significant demand for a “serious-business-I-kid-you-not pitivi”. So now you have an opportunity to donate some money.
Don’t get me wrong: I’m not begging for money here. I have a job and I’ve always contributed to Pitivi without any financial motive. What I want to do here is to gauge the possibility of sustaining Pitivi to the point where it would be developed faster and be much more robust:
You never know until you try, right? So, for now, let’s do this initial experiment. You can send some love through Paypal or with Flattr. I placed the Flattr and Paypal buttons on the pitivi.org website if you think I’m joking (they are located at the bottom of the home page, or in the “Contributing” page). And here’s the same Flattr button if you’re so excited that you need a target to click right now:
I’ll just watch and study what happens. By the way, I won’t be using the money for myself as an individual. It will go towards the project, I just need to figure out the technicalities of doing so. I’ve been talking with the GNOME foundation in the past few months, and I’d like to know if the amount of donations we’re facing would warrant the additional overhead.
Oh, and I have some more features in the cooker, but they’re not ready yet. Stay tuned. In the meantime, feel free to let the world know about the important milestone we’ve reached today. And if you want to spread the word about donations, you may use this URL or this URL (“contributing” page) when linking to the pitivi website, to help me keep track of what’s going on.
tsinaski, 07/03/2012 | Source: Antigoni Papantoni (tsinaski)