[FFmpeg-trac] #9797(undetermined:open): Matroska container doesn't write h264 extdata with a pcm_s16le input
FFmpeg
trac at avcodec.org
Sun May 29 01:32:00 EEST 2022
#9797: Matroska container doesn't write h264 extdata with a pcm_s16le input
-------------------------------------+-------------------------------------
Reporter: Reboot | Owner: (none)
Type: defect | Status: open
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: pcm_s16le | Blocked By:
libx264 |
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by mkver):
The Matroska muxer correctly writes the extradata. But somehow the video
packet is only ever sent to the muxer after all the audio packets, so that
it is written after many audio packets (near audio packets with timestamp
1:50); it is therefore not found by avformat_find_stream_info, leading to
the warning about missing pixel format. Said pixel format is only inferred
by libavformat when a packet is decoded, although it could be inferred
from the extradata alone (if one is willing to presume that the extradata
will not be overwritten by new in-band extradata lateron).
So the issue is somewhere else, either in the ffmpeg cli program or in
libavfilter I presume.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9797#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list