[MPlayer-users] libavcodec mpeg error on framerate with pre8

Nico Sabbi nsabbi at email.it
Tue Jun 20 16:41:00 CEST 2006


Jaap Struyk wrote:
> Hello,
>
> Yust compiled the new pre8 version but this gives me an error when
> trying to convert divx to mpeg:
>
> [mpeg1video @ 0x8676a28]MPEG1/2 does not support 9320/311 fps
> Could not open codec.
> FATAL: Cannot initialize video driver.
>
> I used the following command:
>
> mencoder Yellowbeard.avi -sub ./Yellowbeard.srt -subpos 75
> -subfont-text-scale 4 -mc 1 -noskip -ovc lavc -oac lavc -lavcopts
> acodec=mp2:abitrate=112:vcodec=mpeg1video:lmin=1:lmax=10:vrc_eq=(tex/avgTex+1)^0.5:keyint=24:vmax_b_frames=2:mbd=2:vstrict=-1:dia=2:dc=8:vrc_buf_size=327:vrc_maxrate=3000:vbitrate=1028:inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79 -af volume=+0dB -srate 44100 -channels 2 -sws 2 -vf scale=352:240 -of mpeg -mpegopts format=xvcd:vaspect=16/9 -mc 1 -o Yellowbeard-KVCD.mpeg
>
> On another file I get: [mpeg1video @ 0x8676a28]MPEG1/2 does not support
> 2997/125 fps
>
> Is there something changed in commandline usage wich I missed?
>   

it's a rounding error. append :vstrict=-2 to -lavcopts
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Crea il tuo sito web dinamico con ASP e ACCESS - VideoCorso professionale direttamente nel tuo computer. Trucchi e segreti
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5143&d=20-6



More information about the MPlayer-users mailing list