[FFmpeg-trac] #3962(avformat:new): Regression in MP4 demuxer
FFmpeg
trac at avcodec.org
Fri Sep 19 21:55:23 CEST 2014
#3962: Regression in MP4 demuxer
-------------------------------------+-------------------------------------
Reporter: shahriman | Type: defect
Status: new | Priority: normal
Component: avformat | Version:
Keywords: MP4 MOV | unspecified
regression | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
The sample provided below was decoding fine before this commit:
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=34751f8313a41bf94e004ffa9491f35d96763558.
After the above mentioned commit, all I get from ffmpeg is broken frames
and a lot of error messages as follows:
{{{
$ ./ffmpeg -i ~/Downloads/multiple_stsd.mp4 -f null -
ffmpeg version N-66326-g8c71de7 Copyright (c) 2000-2014 the FFmpeg
developers
built on Sep 17 2014 16:44:05 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
libx264 --enable-shared --enable-static --disable-ffserver --enable-
libfdk-aac --enable-libfreetype --enable-avresample --enable-openssl
--enable-pic
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.102 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.101 / 5. 1.100
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1567020] multiple edit list entries, a/v
desync might occur, patch welcome
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1567020] Concatenated H.264 or H.265 might
not play correctly.
Last message repeated 2 times
[h264 @ 0x15695e0] top block unavailable for requested intra mode at 0 0
[h264 @ 0x15695e0] error while decoding MB 0 0, bytestream 36982
[h264 @ 0x15695e0] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/home/shakkhar/Downloads/multiple_stsd.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp41mp42isom
creation_time : 2014-09-02 15:23:11
Duration: 00:01:34.93, start: 0.035465, bitrate: 9590 kb/s
Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono,
fltp, 73 kb/s (default)
Metadata:
creation_time : 2014-09-02 15:23:11
handler_name : Core Media Audio
Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv,
bt709), 1920x1080, 9506 kb/s, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 600 tbn,
1200 tbc (default)
Metadata:
creation_time : 2014-09-02 15:23:11
handler_name : Core Media Video
Output #0, null, to 'pipe:':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp41mp42isom
encoder : Lavf56.4.101
Stream #0:0(und): Video: rawvideo (I420 / 0x30323449), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc
(default)
Metadata:
creation_time : 2014-09-02 15:23:11
handler_name : Core Media Video
encoder : Lavc56.1.100 rawvideo
Stream #0:1(und): Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
(default)
Metadata:
creation_time : 2014-09-02 15:23:11
handler_name : Core Media Audio
encoder : Lavc56.1.100 pcm_s16le
Stream mapping:
Stream #0:1 -> #0:0 (h264 (native) -> rawvideo (native))
Stream #0:0 -> #0:1 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[h264 @ 0x1566240] top block unavailable for requested intra mode at 0 0
[h264 @ 0x1566240] error while decoding MB 0 0, bytestream 36982
[h264 @ 0x1566240] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x15512a0] left block unavailable for requested intra mode at 0 1
[h264 @ 0x15512a0] error while decoding MB 0 1, bytestream 11995
[h264 @ 0x15512a0] Cannot use next picture in error concealment
[h264 @ 0x15512a0] concealing 8089 DC, 8089 AC, 8089 MV errors in P frame
[h264 @ 0x1551ae0] top block unavailable for requested intra4x4 mode -1 at
9 0
[h264 @ 0x1551ae0] error while decoding MB 9 0, bytestream 21947
[h264 @ 0x1551ae0] Cannot use next picture in error concealment
[h264 @ 0x1551ae0] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame
[h264 @ 0x1552460] top block unavailable for requested intra mode at 86 0
[h264 @ 0x1552460] error while decoding MB 86 0, bytestream 23531
[h264 @ 0x1552460] Cannot use next picture in error concealment
[h264 @ 0x1552460] concealing 8123 DC, 8123 AC, 8123 MV errors in P frame
[h264 @ 0x1552de0] top block unavailable for requested intra mode at 101 0
[h264 @ 0x1552de0] error while decoding MB 101 0, bytestream 12903
[h264 @ 0x1552de0] concealing 8108 DC, 8108 AC, 8108 MV errors in B frame
[h264 @ 0x1553760] top block unavailable for requested intra4x4 mode -1 at
14 0
[h264 @ 0x1553760] error while decoding MB 14 0, bytestream 23001
[h264 @ 0x1553760] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame
[h264 @ 0x15540e0] concealing 7860 DC, 7860 AC, 7860 MV errors in B frame
[h264 @ 0x1554a60] concealing 7988 DC, 7988 AC, 7988 MV errors in P frame
[h264 @ 0x15553e0] concealing 7861 DC, 7861 AC, 7861 MV errors in B frame
[h264 @ 0x1566240] top block unavailable for requested intra mode at 86 0
[h264 @ 0x1566240] error while decoding MB 86 0, bytestream 14323
[h264 @ 0x1566240] top block unavailable for requested intra4x4 mode -1 at
94 14
[h264 @ 0x1566240] error while decoding MB 94 14, bytestream 10767
[h264 @ 0x1566240] Cannot use next picture in error concealment
[h264 @ 0x1566240] concealing 8123 DC, 8123 AC, 8123 MV errors in P frame
[h264 @ 0x15512a0] concealing 8077 DC, 8077 AC, 8077 MV errors in B frame
[h264 @ 0x1551ae0] top block unavailable for requested intra4x4 mode -1 at
88 0
[h264 @ 0x1551ae0] error while decoding MB 88 0, bytestream 13140
[h264 @ 0x1551ae0] top block unavailable for requested intra4x4 mode -1 at
105 14
[h264 @ 0x1551ae0] error while decoding MB 105 14, bytestream 8210
[h264 @ 0x1551ae0] Cannot use next picture in error concealment
[h264 @ 0x1552460] top block unavailable for requested intra mode at 2 15
[h264 @ 0x1552460] error while decoding MB 2 15, bytestream 5714
[h264 @ 0x1551ae0] concealing 8121 DC, 8121 AC, 8121 MV errors in P frame
[h264 @ 0x1552de0] top block unavailable for requested intra mode at 113
14
[h264 @ 0x1552de0] error while decoding MB 113 14, bytestream 8095
[h264 @ 0x1552460] concealing 8125 DC, 8125 AC, 8125 MV errors in B frame
[h264 @ 0x1552de0] concealing 8142 DC, 8142 AC, 8142 MV errors in P frame
}}}
How to reproduce:
{{{
$ ./ffmpeg -i ~/Downloads/multiple_stsd.mp4 -f null -
ffmpeg version N-66326-g8c71de7 Copyright (c) 2000-2014 the FFmpeg
developers
built on Sep 17 2014 16:44:05 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
}}}
I have uploaded the sample to ffmpeg FTP here:
ftp://upload.ffmpeg.org/incoming/multiple_stsd.mp4
I have inspected the streams. It looks like the video has a few parameter
switch in the middle in both audio and video streams, e. g. stereo ->
mono, resolution switch, and such.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3962>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list