[FFmpeg-trac] #4660(undetermined:new): Failed to open bitstream filter h264_mp4toannexb
FFmpeg
trac at avcodec.org
Mon Jun 22 16:08:18 CEST 2015
#4660: Failed to open bitstream filter h264_mp4toannexb
--------------------------------------+----------------------------------
Reporter: rcspam | Type: defect
Status: new | Priority: normal
Component: undetermined | Version: 2.7
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+----------------------------------
How to reproduce:
{{{
% ffmpeg -y -f concat -i l.txt -c copy -bsf:v h264_mp4toannexb
output.mkv
ffmpeg version 2.7
}}}
Hi,
I have create 2 files with:
ffmpeg -i in1.mkv --ss "somewhere" -to "here" -c copy 1.mkv
ffmpeg -i in2.mkv --ss "somewhere" -to "here" -c copy 2.mkv
the file "l.txt" contain :
file '1.mkv'
file '2.mkv'
When i play out.mkv, the av sync is good in the first party (corresponding
to 1.mkv) but not good at the seam between the 2 videos if i let play it.
When press forward-seek then av is again sync.
{{{
...
[h264 @ 0x1f3fa60] mmco: unref short failure
Last message repeated 1 times
[matroska,webm @ 0x1f3b4e0] Auto-inserting h264_mp4toannexb bitstream
filter
[h264 @ 0x21be560] mmco: unref short failure
Input #0, concat, from 'l.txt':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 1920x1080 [SAR
1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
File 'outb.mkv' already exists. Overwrite ? [y/N] y
[matroska @ 0x2192120] Codec for stream 0 does not use global headers but
container format requires global headers
[matroska @ 0x2192120] Codec for stream 1 does not use global headers but
container format requires global headers
Output #0, matroska, to 'outb.mkv':
Metadata:
encoder : Lavf56.36.100
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1920x1080 [SAR
1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side),
384 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[NULL @ 0x2157fe0] Packet header is not contained in global extradata,
corrupted stream or invalid MP4/AVCC bitstream
Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec
copy: Invalid argument
[NULL @ 0x2157fe0] Packet header is not contained in global extradata,
corrupted stream or invalid MP4/AVCC bitstream
Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec
copy: Invalid argument
[matroska @ 0x2192120] Invalid DTS: 308 PTS: 269 in output stream 0:0,
replacing by guess
[NULL @ 0x2157fe0] Packet header is not contained in global extradata,
corrupted stream or invalid MP4/AVCC bitstream
Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec
copy: Invalid argument
[matroska @ 0x2192120] Invalid DTS: 348 PTS: 270 in output stream 0:0,
replacing by guess
[NULL @ 0x2157fe0] Packet header is not contained in global extradata,
corrupted stream or invalid MP4/AVCC bitstream
Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec
copy: Invalid argument
[matroska @ 0x2192120] Non-monotonous DTS in output stream 0:0; previous:
270, current: 269; changing to 270. This may result in incorrect
timestamps in the output file.
[NULL @ 0x2157fe0] Packet header is not contained in global extradata,
corrupted stream or invalid MP4/AVCC bitstream
Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec
copy: Invalid argument
[NULL @ 0x2157fe0] Packet header is not contained in global extradata,
corrupted stream or invalid MP4/AVCC bitstream
Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec
copy: Invalid argument
....
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4660>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list