[FFmpeg-trac] #4588(avformat:new): MPEG-TS private streams are not labeled as AVMEDIA_DATA
FFmpeg
trac at avcodec.org
Tue Jun 2 22:54:40 CEST 2015
#4588: MPEG-TS private streams are not labeled as AVMEDIA_DATA
------------------------------------+------------------------------------
Reporter: wolfgang | Owner:
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by wolfgang):
As far as I understand it, "SMPTE 302m" embeds some kind of non-MPEG-codec
into the MPEG-TS, using a private stream. So the problem occurs, as soon
as the {{{avformat_find_stream_info()}}} finds, that the stream already
has some codec id assigned.
Would it be a valid course of action, if the ffmpeg command line tool
reassigned all private streams ({{{AVMEDIA_DATA}}},
{{{AV_CODEC_ID_BIN_DATA}}}) to be of unknown content
({{{AVMEDIA_UNKNOWN}}}, {{{AV_CODEC_ID_NONE}}}), and reset the
{{{AVStream::probe}}} value, to indicate, that the stream should be tested
for a usable codec?
That way, users of libavformat would be dignified with correct stream
identification for MPEG-TS and users of the ffmpeg tool could still use
their "SMPTE 302m" files.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4588#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list