[vlc-devel] Small patch to "modules/demux/ts.c" to support playing Transport Stream files that contain H.265 (aka. HEVC) video

Rafaël Carré funman at videolan.org
Mon Jan 13 08:52:18 CET 2014


On 01/12/14 12:43, Ross Finlayson wrote:
> Note that 0x24 is the elementary stream_type for H.265; see:
> 	http://en.wikipedia.org/wiki/Program-specific_information#Elementary_stream_types

I doubt we can rely on Wikipedia here, [citation needed].

>     Ross.
> 
> *** ts.c.old	2014-01-12 03:33:21.000000000 -0800
> --- ts.c.new	2014-01-12 03:34:34.000000000 -0800
> ***************
> *** 2436,2441 ****
> --- 2436,2444 ----
>       case 0x1B:  /* H264 <- check transport syntax/needed descriptor */
>           es_format_Init( fmt, VIDEO_ES, VLC_CODEC_H264 );
>           break;
> +     case 0x24:  /* H265 (aka. HEVC) */
> +         es_format_Init( fmt, VIDEO_ES, VLC_CODEC_HEVC );
> +         break;
>       case 0x42:  /* CAVS (Chinese AVS) */
>           es_format_Init( fmt, VIDEO_ES, VLC_CODEC_CAVS );
>           break;



More information about the vlc-devel mailing list