The Grumpy Editor's video journey, part 1
Posted Dec 13, 2007 3:46 UTC (Thu) by
vmlinuz (guest, #24)
Parent article:
The Grumpy Editor's video journey, part 1
I think you are unfair in your comments on mencoder. As you say, it is perfectly capable of doing all sorts of weird and wonderful things - and the documentation is sorely lacking in reasons why you might want to do such things - but if all you want to do is copy a video (or stream) from one place to another, a command-line like:
mencoder -tv driver=v4l -oac copy -ovc copy -o priceless-video-data.avi tv://
should get you something similar to the cp example given, except for the slightly odd result of having an MPEG stream embedded in an AVI file...
Yes, I had to look up the TV options to mencoder, but that's only because I haven't used a TV card for about 3 years now. You would probably want to fiddle with the options to the TV driver - the equivalent of your v4l2-ctl stuff - but the rest of the long mencoder example you posted was mainly configuring the output of the encoding. Using -oac copy -ovc copy means mencoder will pass the audio and video data through unchanged, without attempting to scale, filter, transcode, compress or do anything else to it.
(
Log in to post comments)