[FFmpeg-trac] #1065(undetermined:open): H.264/AVC(BDAV BluRay codec family) incorrect framerate recognition
FFmpeg
trac at avcodec.org
Mon Apr 2 13:24:12 CEST 2012
#1065: H.264/AVC(BDAV BluRay codec family) incorrect framerate recognition
-------------------------------------+-------------------------------------
Reporter: L.H.V.F. | Owner:
Type: defect | Status: open
Priority: normal | Component:
Version: git-master | undetermined
Keywords: h264 | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 1
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* status: new => open
* version: unspecified => git-master
* reproduced: 0 => 1
Comment:
(There is no indication that this problem is reproducible when creating a
vob file for a DVD player with FFmpeg.)
When re-encoding the sample to mp4, the resulting file is (needlessly?)
bigger if the frame-rate is not set:
{{{
$ ffmpeg -i data0001.ts -strict experimental -t 45 out.mp4
ffmpeg version N-39476-gc450cf1 Copyright (c) 2000-2012 the FFmpeg
developers
built on Apr 2 2012 12:43:03 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 66.101 / 2. 66.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 10.100 / 0. 10.100
libpostproc 52. 0.100 / 52. 0.100
[h264 @ 0x147b560] non-existing PPS referenced
[h264 @ 0x147b560] non-existing PPS 0 referenced
[h264 @ 0x147b560] decode_slice_header error
[h264 @ 0x147b560] no frame!
[h264 @ 0x147b560] non-existing PPS referenced
[h264 @ 0x147b560] non-existing PPS 0 referenced
[h264 @ 0x147b560] decode_slice_header error
[h264 @ 0x147b560] no frame!
[h264 @ 0x147b560] non-existing PPS referenced
[h264 @ 0x147b560] non-existing PPS 0 referenced
[h264 @ 0x147b560] decode_slice_header error
[h264 @ 0x147b560] no frame!
[h264 @ 0x147b560] non-existing PPS referenced
[h264 @ 0x147b560] non-existing PPS 0 referenced
[h264 @ 0x147b560] decode_slice_header error
[h264 @ 0x147b560] no frame!
[h264 @ 0x147b560] non-existing PPS referenced
[h264 @ 0x147b560] non-existing PPS 0 referenced
[h264 @ 0x147b560] decode_slice_header error
[h264 @ 0x147b560] no frame!
[aac_latm @ 0x14a8000] audio config changed
[aac_latm @ 0x147bea0] audio config changed
[h264 @ 0x147b560] mmco: unref short failure
Last message repeated 3 times
[h264 @ 0x147b560] Increasing reorder buffer to 1
[h264 @ 0x147b560] Increasing reorder buffer to 2
[h264 @ 0x147b560] mmco: unref short failure
Last message repeated 1 times
[mpegts @ 0x14763a0] max_analyze_duration 5000000 reached at 5003333
[mpegts @ 0x14763a0] Could not find codec parameters (Unknown: none
([6][0][0][0] / 0x0006))
[NULL @ 0x14ae380] start time is not set in estimate_timings_from_pts
[mpegts @ 0x14763a0] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from 'data0001.ts':
Duration: 00:00:50.09, start: 88894.787733, bitrate: 2498 kb/s
Program 59232
Program 59233
Stream #0:0[0xd4]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
yuv420p, 720x480 [SAR 10:11 DAR 15:11], 60.76 fps, 59.94 tbr, 90k tbn,
59.94 tbc
Stream #0:1[0xd5](por): Audio: aac_latm ([17][0][0][0] / 0x0011),
48000 Hz, stereo, s16
Stream #0:2[0xd6](eng): Audio: aac_latm ([17][0][0][0] / 0x0011),
48000 Hz, 2 channels (FC), s16
Stream #0:3[0xe0]: Unknown: none ([6][0][0][0] / 0x0006)
Program 59234
Program 59256
[buffer @ 0x147e480] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:10/11
sws_param:flags=2
Incompatible sample format 's16' for codec 'aac', auto-selecting format
'flt'
utput #0, mp4, to 'out.mp4':
Metadata:
encoder : Lavf54.3.100
Stream #0:0: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 720x480 [SAR
10:11 DAR 15:11], q=2-31, 200 kb/s, 60k tbn, 59.94 tbc
Stream #0:1(por): Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, stereo,
flt, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> mpeg4)
Stream #0:1 -> #0:1 (aac_latm -> aac)
Press [q] to stop, [?] for help
[h264 @ 0x1771080] Missing reference picture
[h264 @ 0x1771080] decode_slice_header error
[h264 @ 0x17b5ec0] Missing reference picture
[h264 @ 0x1815940] Missing reference picture
[h264 @ 0x1771080] Missing reference picture
[h264 @ 0x17b5ec0] Missing reference picture
[h264 @ 0x1771080] mmco: unref short failure
Last message repeated 1 times
[h264 @ 0x1815940] mmco: unref short failure
Last message repeated 1 times
frame= 2697 fps=233 q=31.0 Lsize= 6901kB time=00:00:44.99
bitrate=1256.4kbits/s dup=1377 drop=0
video:6149kB audio:701kB global headers:0kB muxing overhead 0.747278%
}}}
{{{
$ ffmpeg -i data0001.ts -strict experimental -t 45 -r 30 out.mp4
ffmpeg version N-39476-gc450cf1 Copyright (c) 2000-2012 the FFmpeg
developers
built on Apr 2 2012 12:43:03 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 66.101 / 2. 66.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 10.100 / 0. 10.100
libpostproc 52. 0.100 / 52. 0.100
[h264 @ 0x147b560] non-existing PPS referenced
[h264 @ 0x147b560] non-existing PPS 0 referenced
[h264 @ 0x147b560] decode_slice_header error
[h264 @ 0x147b560] no frame!
[h264 @ 0x147b560] non-existing PPS referenced
[h264 @ 0x147b560] non-existing PPS 0 referenced
[h264 @ 0x147b560] decode_slice_header error
[h264 @ 0x147b560] no frame!
[h264 @ 0x147b560] non-existing PPS referenced
[h264 @ 0x147b560] non-existing PPS 0 referenced
[h264 @ 0x147b560] decode_slice_header error
[h264 @ 0x147b560] no frame!
[h264 @ 0x147b560] non-existing PPS referenced
[h264 @ 0x147b560] non-existing PPS 0 referenced
[h264 @ 0x147b560] decode_slice_header error
[h264 @ 0x147b560] no frame!
[h264 @ 0x147b560] non-existing PPS referenced
[h264 @ 0x147b560] non-existing PPS 0 referenced
[h264 @ 0x147b560] decode_slice_header error
[h264 @ 0x147b560] no frame!
[aac_latm @ 0x14a8000] audio config changed
[aac_latm @ 0x147bea0] audio config changed
[h264 @ 0x147b560] mmco: unref short failure
Last message repeated 3 times
[h264 @ 0x147b560] Increasing reorder buffer to 1
[h264 @ 0x147b560] Increasing reorder buffer to 2
[h264 @ 0x147b560] mmco: unref short failure
Last message repeated 1 times
[mpegts @ 0x14763a0] max_analyze_duration 5000000 reached at 5003333
[mpegts @ 0x14763a0] Could not find codec parameters (Unknown: none
([6][0][0][0] / 0x0006))
[NULL @ 0x14ae380] start time is not set in estimate_timings_from_pts
[mpegts @ 0x14763a0] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from 'data0001.ts':
Duration: 00:00:50.09, start: 88894.787733, bitrate: 2498 kb/s
Program 59232
Program 59233
Stream #0:0[0xd4]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
yuv420p, 720x480 [SAR 10:11 DAR 15:11], 60.76 fps, 59.94 tbr, 90k tbn,
59.94 tbc
Stream #0:1[0xd5](por): Audio: aac_latm ([17][0][0][0] / 0x0011),
48000 Hz, stereo, s16
Stream #0:2[0xd6](eng): Audio: aac_latm ([17][0][0][0] / 0x0011),
48000 Hz, 2 channels (FC), s16
Stream #0:3[0xe0]: Unknown: none ([6][0][0][0] / 0x0006)
Program 59234
Program 59256
[buffer @ 0x147c2e0] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:10/11
sws_param:flags=2
Incompatible sample format 's16' for codec 'aac', auto-selecting format
'flt'
Output #0, mp4, to 'out.mp4':
Metadata:
encoder : Lavf54.3.100
Stream #0:0: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 720x480 [SAR
10:11 DAR 15:11], q=2-31, 200 kb/s, 30 tbn, 30 tbc
Stream #0:1(por): Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, stereo,
flt, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> mpeg4)
Stream #0:1 -> #0:1 (aac_latm -> aac)
Press [q] to stop, [?] for help
[h264 @ 0x1770f20] Missing reference picture
[h264 @ 0x1770f20] decode_slice_header error
[h264 @ 0x17b5d60] Missing reference picture
[h264 @ 0x18157e0] Missing reference picture
[h264 @ 0x1770f20] Missing reference picture
[h264 @ 0x17b5d60] Missing reference picture
[h264 @ 0x1770f20] mmco: unref short failure
Last message repeated 1 times
[h264 @ 0x18157e0] mmco: unref short failure
Last message repeated 1 times
frame= 1350 fps=168 q=31.0 Lsize= 4961kB time=00:00:45.00 bitrate=
903.1kbits/s dup=30 drop=0
video:4220kB audio:701kB global headers:0kB muxing overhead 0.805641%
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1065#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list