[FFmpeg-devel] [FFmpeg-user] Frame rate double from container rate

Baptiste Coudurier baptiste.coudurier
Sun Mar 15 04:07:16 CET 2009


Hi,

Ron Sparks wrote:
> Hello, I'm new to the list so I hope this is the appropriate place to post this question.
> 
> I've run into an issue where files that have read in OK in the past are now showing a frame 
> rate that is double what I thought it was.
> 
> I use cinelerra to create/edit video clips from my camcorder.  I render the output as an 
> ac3 audio and m2v video.  I combine the two files with:
> ffmpeg -i foo.ac3 -i foo.m2v -target ntsc-dvd foo.mpg
> 
> This routine has worked well for me for quite some time.  I usually take the mpg file to 
> dvdstyler to create dvds of our family events.
> 
> Now, however, I'm getting the following output whenever I check a file:
> --------------------------------------
> ron at ronws:/home/homedata> ffmpeg -i test00.mpg
> FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
>   
> [...]
>
> Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 
> 29.97 (30000/1001)
> Input #0, mpeg, from 'test00.mpg':
>   Duration: 00:01:08.51, start: 0.500000, bitrate: 6596 kb/s
>     Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 8:9 DAR 4:3], 9000 kb/s, 
> 29.97 tbr, 90k tbn, 59.94 tbc
>     Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s
> -------------------------------------------------------
> 
> The system is openSUSE 11.0 running KDE 3.5.10
> 
> 
> When the same file is checked from a different machine (same exact file, mounted on an 
> nfshare)
> The output is:
> ---------------------------------------------------------------------------
> ron at brendaws:/fsdata> ffmpeg -i test00.mpg
> FFmpeg version SVN-r17031, Copyright (c) 2000-2009 Fabrice Bellard, et al.
>   
> [...]
>
> Input #0, mpeg, from 'test00.mpg':
>   Duration: 00:01:08.51, start: 0.500000, bitrate: 6596 kb/s
>     Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 8:9 DAR 4:3], 9000 kb/s, 
> 29.97 tb(r)
>     Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s
> ---------------------------------------------------------------------
> No problem with the frame rate
> The second machine is also openSUSE 11.0 running KDE 3.5.9.
> 
> I see the difference in versions of ffmpeg (0.5 vs SVN-r17031)
> 
> 
> The problem with the frame rate causes dvdstyler to automatically re-encode all input 
> files, a very time consuming process when adding 3 or 4 files running a total of an hour 
> and ten minutes.
> 
> My question then is how do I get the machine with version 0.5 to interpret the file 
> correctly?  
> 
> Any advice will be appreciated.
> 

I don't exactly get how this is a problem with dvdstyler. Is dvdstyler
using FFmpeg ?

What exactly is the problem besides that now a message is printed ?
Output mpg should be the same as before.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org




More information about the ffmpeg-devel mailing list