[FFmpeg-devel] [PATCH] MPEG-TS demuxer: Report 4cc in codec_tag field instead of SMTPE RID

Christian P. Schmidt schmidt
Mon Aug 31 09:56:18 CEST 2009


I know that mpeg-ts streams to not support 4cc tags for the codecs.
However, the mpeg-ts demuxer currently copies the registration ID into
the codec's tag field, which in my opinion is worse than leaving the
field empty.

As an easy workaround the current tables for codec detection could be
expanded to hold the 4cc codes as used in riff.c and return those in the
codec_tag field.

There are two codecs that do not have an official 4cc tag, namely
bluray-pcm and E-AC-3. I'd go with mplayer's definitions for those, BPCM
and EAC3.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mpegts-4cc-v1.0.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090831/4ec7597a/attachment.asc>

More information about the ffmpeg-devel mailing list