[FFmpeg-devel] Patch for LPCM in mpeg-ts (as seen on bluray)

Daniel Verkamp daniel
Thu Jul 23 20:30:25 CEST 2009


On Thu, Jul 23, 2009 at 12:13 PM, Christian P. Schmidt<schmidt at digadd.de> wrote:
> Hi all,
>
> The attached patch brings LPCM support for mpeg-ts streams as it is found on BluRays. Patching probably requires patch -p2.
>
> As I do not have the specifications I had to use something else as a reference - in this case xporthdmv, taken from
> http://www.w6rz.net/xport.zip. Only tested with a stereo LPCM track, channel mapping might need fixing for other files.
>
> Regards,
> Christian
>

> diff -ru ffmpeg/trunk/libavformat/mpegts.c ffmpeg.old/trunk/libavformat/mpegts.c

Your patch is backwards - 'diff old new' is the pattern - but it's
quite a bit easier to just use the tools provided by svn or git (svn
diff, for example).

Thanks,
-- Daniel Verkamp



More information about the ffmpeg-devel mailing list