[MEncoder-users] Mencoder adding AVI file header to MPEG2 capture from V4L device?

Brian Keener keenerb at roleplayga.org
Fri Jun 10 22:30:44 CEST 2005


Nico Sabbi wrote:

> Brian Keener wrote:
>
>>
>> I already had -vf harddup; added noskip and set a low keyint, and I 
>> still get an initial spurt of about 30 "initial delay of 0 frames", 
>> nothing else, and hideous a/v sync.
>>
>> The real odd part is that it captured fine without the "-of mpeg" 
>> option, and reports no skipped frames at the end.
>>
>> Brian K
>>
>>
>
> if the following is your command line I can guess why: you are using 
> lame in vbr more.
> At the moment the mpeg muxer  can only mux cbr audio; my version at 
> home can already
> save correctly vbr audio (mp3/mp2/aac/ac3),
> but there are still a couple of minor things to fix. In the meantime 
> adding -lameopts cbr should
> solve A/V sync problems.
>
> Hopefully I'll commit the new muxer in the week-end

I changed mode=1:vbr=1:q=4 to mode=1:vbr=0 according to the 
documentation, and now it does nothing but spam the "initial delay of 0 
frames" line until I hit ctrl-c.

THis is very complicated.

Varka

>
>> mencoder -fps 30000/1001 -endpos 00:00:05 -oac mp3lame -ovc lavc 
>> -lameopts mode=1:vbr=1:q=4 -lavcopts vcodec=mpeg2video:vbitrate=6000 
>> -tv 
>> driver=v4l2:norm=ntsc:input=2:adevice=/dev/dsp1:width=720:height=480 
>> -vf harddup -af volume=-1 -o tv.mpg tv://
>>   
>
>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mencoder-users





More information about the MEncoder-users mailing list