The MPEG-TS muxer will mux streams with unsupported codec id as a private data stream; this usually makes the stream not recognizable by ffmpeg and likely other tools.
Unified · Split
| @@ -382,6 +382,8 @@ static int mpegts_write_pmt(AVFormatContext *s, MpegTSService *service) · 381 unmodified lines | |||
| 382 | stream_type = STREAM_TYPE_METADATA; | 382 | stream_type = STREAM_TYPE_METADATA; |
| 383 | break; | 383 | break; |
| 384 | default: | 384 | default: |
| 385 | av_log(s, AV_LOG_WARNING, "Stream %d, codec %s, is muxed as a private data stream " | ||
| 386 | "and may not be recognized upon reading.\n", i, avcodec_get_name(st->codecpar->codec_id)); | ||
| 385 | stream_type = STREAM_TYPE_PRIVATE_DATA; | 387 | stream_type = STREAM_TYPE_PRIVATE_DATA; |
| 386 | break; | 388 | break; |
| 387 | } | 389 | } |