[FFmpeg-trac] #2037(undetermined:new): FFMPEG not able to determine frame rate, primarily DVRMS and some TS

FFmpeg trac at avcodec.org
Sun Dec 16 22:00:42 CET 2012


#2037: FFMPEG not able to determine frame rate, primarily DVRMS and some TS
-------------------------------------+-------------------------------------
             Reporter:  ramitbhalla  |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug: I have a lot of file (mostly DVRMS and TS) where
 FFMPEG is not able to get the correct frame rate. I'm attaching one such
 example which I've created using a binary cutter.

 As you can see it's reporting a rate of 25.58 where as MediaInfo is able
 to correctly determine the frame rate of ALL media files I provide it (in
 this case it showed 25).

 Any idea why ffmpeg is not able to determine the frame rate? This is
 creating a problem since while converting to mp4 the audio is slowly going
 of out sync with the video (upto 5 seconds after about an hour of
 recording).

 How to reproduce:
 {{{
 ffmpeg.239-current.exe -i "Test DVRMS.dvr-ms"
 ffmpeg version N-46726-g2f74f8d Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Nov 13 2012 19:29:51 with gcc 4.7.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-pthreads
 --enable-runtime-cpudetect --enable-avisynth --enable
 -bzlib --enable-frei0r --enable-libass --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libfreetype --enab
 le-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg
 --enable-libopus --enable-librtmp --enable-libschroed
 inger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-
 libvo-aacenc --enable-libvo-amrwbenc --enable-li
 bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
 --enable-zlib
   libavutil      52.  6.100 / 52.  6.100
   libavcodec     54. 71.100 / 54. 71.100
   libavformat    54. 36.100 / 54. 36.100
   libavdevice    54.  3.100 / 54.  3.100
   libavfilter     3. 23.100 /  3. 23.100
   libswscale      2.  1.102 /  2.  1.102
   libswresample   0. 16.100 /  0. 16.100
   libpostproc    52.  1.100 / 52.  1.100
 [mpeg2video @ 03489b20] interlaced frame in progressive sequence, ignoring
 [mpeg2video @ 03489b20] invalid frame_pred_frame_dct
 [mpeg2video @ 03489b20] slice below image (30 >= 30)
 [asf @ 002cae40] Estimating duration from bitrate, this may be inaccurate
 Input #0, asf, from 'Test DVRMS.dvr-ms':
   Metadata:
     DVR Index Granularity: 500
     WM/SubTitle     : Ch 9, 6:00 PM
     WM/SubTitleDescription: Nine Digital 6:00 PM
     WM/OriginalReleaseTime: 0001-01-01T00:00:00Z
     service_provider: Nine Digital
     service_name    : Nine Digital
     WM/MediaOriginalChannel: 9
     WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
     WM/WMRVServiceID: 191625:4114:1056:1057
     WM/WMRVProgramID: None
     WM/MediaOriginalRunTime: 8201308
     WM/WMRVEncodeTime: 1844674
     WM/MediaIsStereo: 0
     WM/VideoClosedCaptioning: 0
     WM/MediaIsRepeat: 0
     WM/MediaIsLive  : 0
     WM/MediaIsTape  : 0
     WM/MediaIsDelay : 0
     WM/MediaIsSubtitled: 0
     WM/MediaIsMovie : 0
     WM/MediaIsPremiere: 0
     WM/MediaIsFinale: 0
     WM/MediaIsSAP   : 0
     WM/WMRVRequestID: 645
     WM/WMRVScheduleItemID: 656
     WM/WMRVQuality  : 3
     WM/WMRVOriginalSoftPrePadding: 0
     WM/WMRVOriginalSoftPostPadding: 0
     WM/WMRVActualSoftPrePadding: 0
     WM/WMRVHardPrePadding: 0
     WM/WMRVEndTime  : 2579709
     WM/WMRVExpirationDate: 1844674
     WM/WMRVBitrate  : 0
     WM/WMRVKeepUntil: 184
     WM/WMRVHardPostPadding: 0
     WM/WMRVActualSoftPostPadding: 0
     WM/WMRVContentProtectedPercent: 0
     WM/WMRVInBandRatingSystem: 255
     WM/WMRVInBandRatingLevel: 255
     WM/WMRVInBandRatingAttributes: 0
     WM/WMRVWatched  : 0
     WM/WMRVATSCContent: 0
     WM/WMRVDTVContent: 1
     WM/WMRVHDContent: 0
     WM/WMRVContentProtected: 0
     WM/MediaThumbTimeStamp: 1844674
     WM/MediaThumbWidth: 360
     WM/MediaThumbHeight: 288
     WM/MediaThumbStride: 108
     WM/MediaThumbRet: 0
     WM/MediaThumbType: 3
     WM/MediaThumbRatingSystem: 255
     WM/MediaThumbRatingLevel: 255
     WM/MediaThumbRatingAttributes: 0
     WM/MediaThumbAspectRatioX: 16
     WM/MediaThumbAspectRatioY: 9
     WMFSDKVersion   : 11.0.6001.7000
     WMFSDKNeeded    : 0.0.0.0000
     VBR Peak        : 159
     IsVBR           : 1
     title           : Manual Recording
   Duration: 00:00:01.62, start: 37.280000, bitrate: 10356 kb/s
     Stream #0:0: Video: mjpeg, yuvj420p, 200x200 [SAR 96:96 DAR 1:1], 90k
 tbr, 90k tbn, 90k tbc
     Metadata:
       title           : TV Thumbnail
       comment         : Movie/video screen capture
     Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s
     Stream #0:2: Video: mpeg2video (DVR  / 0x20525644), yuv420p, 704x480
 [SAR 64:45 DAR 1408:675], 12000 kb/s, 25.58 fps
 , 25 tbr, 1k tbn, 50 tbc
 At least one output file must be specified
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2037>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list