mpegts recognize s302m as private data stream
|Reported by:||jb_alvarado||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Summary of the bug:
When using s302m audio codec in mpegts, the current ffmpeg version gives then warning:
[mpegts @ 0x55fa474108c0] Stream 1, codec s302m, is muxed as a private data stream and may not be recognized upon reading.
That is a wrong message, because s302m should be listed as a audio codec.
I read that the list of supported codecs are incomplete. Would be good to update it.
How to reproduce:
% ffmpeg -i input -c:v mpeg2video -c:a s302m -strict -2 -ar 48000 -ac 2 -f mpegts /dev/null
Would it be correct to add in mpegts.h:
#define STREAM_TYPE_AUDIO_S302M 0x84
And in mpegtsenc.c:
case AV_CODEC_ID_S302M: stream_type = STREAM_TYPE_AUDIO_S302M; break;
? Or does it need more effort?
When yes, I could try to prepare a patch.