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

Ross Finlayson finlayson at live555.com
Sun Jan 12 12:43:40 CET 2014


Note that 0x24 is the elementary stream_type for H.265; see:
	http://en.wikipedia.org/wiki/Program-specific_information#Elementary_stream_types

    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