[FFmpeg-trac] #8660(undetermined:new): mpegts recognize s302m as private data stream

FFmpeg trac at avcodec.org
Fri May 8 13:38:20 EEST 2020


#8660: mpegts recognize s302m as private data stream
-------------------------------------+-------------------------------------
             Reporter:  jb_alvarado  |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8660>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list