#11192: Raw H264 stream has incorrect frame rate
----------------------------------+--------------------------------------
             Reporter:  ariley    |                     Type:  defect
               Status:  new       |                 Priority:  important
            Component:  avformat  |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 ffmpeg incorrectly decides that the frame rate for the certain H264
 streams is 25fps, rather than 29.97fps:
 {{{
 $ ./ffprobe regression_ba4b73c977.h264
 ffprobe version N-110262-gba4b73c977 Copyright (c) 2007-2023 the FFmpeg
 developers
   built with gcc 12 (Debian 12.2.0-14)
   configuration: --extra-cflags=-g --extra-cxxflags=-g --optflags=-O0
   libavutil      58.  6.100 / 58.  6.100
   libavcodec     60.  9.100 / 60.  9.100
   libavformat    60.  4.101 / 60.  4.101
   libavdevice    60.  2.100 / 60.  2.100
   libavfilter     9.  5.100 /  9.  5.100
   libswscale      7.  2.100 /  7.  2.100
   libswresample   4. 11.100 /  4. 11.100
 [h264 @ 0x564e43afcdc0] Stream #0: not enough frames to estimate rate;
 consider increasing probesize
 Input #0, h264, from 'regression_ba4b73c977.h264':
   Duration: N/A, bitrate: N/A
   Stream #0:0: Video: h264 (High 4:2:2), yuv422p10le(tv, bt709, top
 first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 29.97 tbr, 1200k tbn
 }}}
 This is a regression -- prior to {{{ba4b73c977}}}, the FPS value was
 correctly detected as 29.97:
 {{{
 $ ./ffprobe incorrect_fps.h264
 ffprobe version N-110261-gd56652fdc8 Copyright (c) 2007-2023 the FFmpeg
 developers
   built with gcc 12 (Debian 12.2.0-14)
   configuration: --extra-cflags=-g --extra-cxxflags=-g --optflags=-O0
   libavutil      58.  6.100 / 58.  6.100
   libavcodec     60.  9.100 / 60.  9.100
   libavformat    60.  4.101 / 60.  4.101
   libavdevice    60.  2.100 / 60.  2.100
   libavfilter     9.  5.100 /  9.  5.100
   libswscale      7.  2.100 /  7.  2.100
   libswresample   4. 11.100 /  4. 11.100
 [h264 @ 0x556699756dc0] Stream #0: not enough frames to estimate rate;
 consider increasing probesize
 Input #0, h264, from 'regression_ba4b73c977.h264':
   Duration: N/A, bitrate: N/A
   Stream #0:0: Video: h264 (High 4:2:2), yuv422p10le(tv, bt709, top
 first), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1200k tbn
 }}}
 Increasing the probe size does not help.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11192>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to