[MPlayer-users] Having trouble producing mpeg from mov

Philip Walden pwaldenlinux at pacbell.net
Sat Jan 7 22:38:24 CET 2006


RC wrote:

>On Fri, 06 Jan 2006 22:21:49 -0800
>Philip Walden <pwaldenlinux at pacbell.net> wrote:
>
>  
>
>>I get many errors:
>>
>>ERROR! unknown fps code: 0INITIAL DELAY of 0 framesmb  A-V:0.000 
>>[867:0]]   0mb  A-V:0.000 [0:0]
>>ERROR: SCR: 1.702, VPTS: 0.867, DELTA=-0.836 secs
>>ERROR: SCR: 1.796, VPTS: 0.933, DELTA=-0.862 secs
>>ERROR: SCR: 1.871, VPTS: 1.000, DELTA=-0.871 secs
>>ERROR: SCR: 1.945, VPTS: 1.067, DELTA=-0.879 secs
>>ERROR: SCR: 2.020, VPTS: 1.133, DELTA=-0.887 secs
>>ERROR: SCR: 2.095, VPTS: 1.200, DELTA=-0.895 secs
>>ERROR: SCR: 2.170, VPTS: 1.267, DELTA=-0.903 secs
>>    etc
>>    
>>
>
>Yes, it looks like the current MPEG muxer in CVS is, broken, yet again,
>in a slightly different way this time.  Try with MPlayer 1.0pre7 to find
>out, for sure, if that's the problem.
>
>Also, use "-vf harddup" for mpeg files.
>
>  
>
>>However, since mplayer had no problem with the result, I assumed it
>>did  not matter.
>>    
>>
>
>Never assume that.  MPlayer is the most tolerant video player around... 
>It'll play damn near anything, even when no other player will.  There
>are a few minor exceptions to this (bugs) but the point remains.
>  
>
Well if I use 1.0pre7 with the same command line (adding -vf harddup and 
keyint=25 as suggested) I get:

$ ~/downloads/mplayer/MPlayer-1.0pre7/mencoder -vf harddup -noskip -of
mpeg -mpegopts format=mpeg1 -ovc lavc -lavcopts 
vcodec=mpeg1video:keyint=25 -o PC290052.mpg PC290052.MOV

   <snip>

[mpeg1video @ 0x8602a38]MPEG1/2 doesnt support 15/1 fps
Could not open codec.
FATAL: Cannot initialize video driver.
 
Exiting...

So I do not know if anyone noticed whether the MOV file was 15fps or not.

If I set -ofps 24000/1001 I get a mpeg1 video that works!!!!! No Error SCRs.

However, it runs 18 seconds instead of 28 seconds for the MOV. Sounds 
like I am stuck? Or is there a way to duplicate each frame and run at 
30000/1001?





More information about the MPlayer-users mailing list