« Browser as resource hog | Main | 34:08/133 »

December 19, 2005

Video capture, part XXIV

vid-20051219.jpg When I told Fabio about my problem with transcode hanging, he suggested I use ffmpeg.

This wiki entry from Gentoo meant I didn't even have to read the man page.

Wow! ffmpeg takes considerably less time than the way I was doing it before. The resulting MPEG still seems okay. Here's what I did:

$ for file in *.dv
> do ffmpeg -i $file -target svcd `basename $file .dv`.mpg
> done
$ vcdimager -t svcd *.mpg
$ cdrecord -v -dao dev=/dev/hdc cuefile=videocd.cue

vid2-20051219.jpg I am getting some slight wrongness, however, with audio dropouts in addition to a little bit of video noise. I wonder if part of that is taking 8.2 GB of digital video down to 700 MB, or whether it's because the cassette was in the camera for 6 months and got damaged. We haven't been shooting as much video as we used to.

UPDATE: No, it's not the original DV. Must be ffmpeg taking short cuts. It's good to know that if I ever go back and edit all this, the raw content is more perfect than the editor ;-)

BTW, Fabio told me that if I really wanted to do much editing, I should give in and get a Mac.

UPDATE 2: The problem's not apparently in the SVCD, but just in our player downstairs. Looks fine in Totem Movie Player under Ubuntu 5.10.

Posted by Mark at December 19, 2005 09:49 PM

Trackback Pings

TrackBack URL for this entry:
http://mcraig.org/movabletype/mt-tb.cgi/1159