MEncoder

„MEncoder is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. It is a close sibling to MPlayer and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs.“

MEncoder. (2008, February 23). In Wikipedia, The Free Encyclopedia. Retrieved 18:57, April 5, 2008, from
http://en.wikipedia.org/w/index.php?title=MEncoder&oldid=193447614


My Blog List

Friday, May 30, 2008

Re: [MEncoder-users] Error message: "Invalid frame duration" - What is causing this and what could be done about it?

>> mencoder tv:// \
>> -tv
>> driver=v4l2:chanlist=us-cable:norm=NTSC-M:device=/dev/video0:input=0:quality=0:width=640:height=480:brightness=20:saturation=20:adevice=hw.0:alsa:channel=
>> $2 \ -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000:vratetol=32000:mbd=2
>> \ -oac mp3lame -lameopts fast \ -vf
>> crop=636:476:2:2,denoise3d=4:3:6,harddup \ -noskip -noencodedups
>> -skiplimit 0 -endpos $1 \ -of avi -ofps 30000/1001 -o test.avi
How about you try a simpler command line? Such as this:

mencoder tv://$2 \
-tv
driver=v4l2:chanlist=us-cable:norm=NTSC-M:width=640:height=480:adevice=hw.0:alsa
\
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000:vratetol=32000:mbd=2 \
-oac mp3lame -lameopts fast \
-vf crop=636:476,denoise3d -noskip -endpos $1 -ofps 30000/1001 -o test.avi

Your original command line is weird. Some issues:
- -vf harddup and -noencodedups contradict each other (AFAIK)
- -skiplimit 0 and -noskip do the same thing.
- quality is listed in the man page as "Choose the quality of the JPEG
compression". This is probably related to hardware MJPEG compression.
Why do you set it to 0?

And in many situations you specify the default value for a parameter,
but choose the default:
- /dev/video0 is the default for the device parameter. No need to set it.
- Again, 0 is default for input.
- Do you really need to set brightness and saturation? Have you tested
the default? Are you not satisfied with it?
- 4:3:6 are default for denoise3d
- -of avi is default if the output file ends in '.avi'.
_______________________________________________
MEncoder-users mailing list
MEncoder-users@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users

No comments:

PCBs

Links

Forex brokers, Forex online


Privacy Policy