[FFmpeg-devel] [PATCH] avformat/mpegtsenc: add flag to embed an AC-3/E-AC-3 ES the DVB way
barsnick at gmx.net
Sun Dec 13 14:18:44 CET 2015
On Sun, Dec 13, 2015 at 11:54:32 +0100, Stefan Pöschel wrote:
> So far an AC-3 elementary stream is refered to in the PMT according to
> System A (ATSC). An E-AC-3 ES in contrast is embedded the System B (DVB) way.
Interesting, that's apparently the reason why my (DVB-)PVR didn't ever
recognize AC-3 in MPEG-TS. See
E-AC-3 in MPEG-TS seems to have worked (I just tried it - successfully
- for the first time), I didn't realize that.
With your patch, I can now successfully play AC-3 and E-AC-3 with that
player, when using the "-mpegts_flags system_b" (and kill this
capability when not using it).
> To fix this inconsistency, this commit changes the default E-AC-3 behaviour to
> use the ATSC way, too. Furthermore a new flag is added to optionally select the
> DVB way (regarding both codecs and possible further differences in the future).
I never found the patch mentioned in the thread, and don't know enough
about the differences myself.
More information about the ffmpeg-devel