[FFmpeg-trac] #5455(avformat:new): service_type "HEVC digital television service" (0x1F)
FFmpeg
trac at avcodec.org
Wed Apr 20 12:53:57 CEST 2016
#5455: service_type "HEVC digital television service" (0x1F)
-------------------------------------+-------------------------------------
Reporter: | Type:
smallishzulu | enhancement
Status: new | Priority: normal
Component: avformat | Version: git-
Keywords: hevc, dvb, | master
etsi | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Hello,
In mpegtsenc.c file under libavformat, there need to add new definition
for HEVC service type:
service_type "HEVC digital television service" (0x1F)
ETSI EN 300 468 V 1.13.1
https://www.dvb.org/resources/public/standards/a38_dvb-
si_specification.pdf
Page: 185 (end of page)
Fix in mpegtsenc.c:
Line:70 MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_HDTV = 0x19
};
to
Line:70 MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_HDTV = 0x19,
Line:71 MPEGTS_SERVICE_TYPE_HEVC_DIGITAL_HDTV = 0x1F
};
And,
Line: 1814 { "advanced_codec_digital_hdtv", "Advanced Codec Digital
HDTV.",
0, AV_OPT_TYPE_CONST, { .i64 =
MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_HDTV }, 0x01, 0xff,
AV_OPT_FLAG_ENCODING_PARAM, "mpegts_service_type" },
to
Line: 1814 { "advanced_codec_digital_hdtv", "Advanced Codec Digital
HDTV.",
0, AV_OPT_TYPE_CONST, { .i64 =
MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_HDTV }, 0x01, 0xff,
AV_OPT_FLAG_ENCODING_PARAM, "mpegts_service_type" },
Line: 1815 { "hevc_digital_hdtv", "HEVC Digital Television Service.",
0, AV_OPT_TYPE_CONST, { .i64 = MPEGTS_SERVICE_TYPE_HEVC_DIGITAL_HDTV
}, 0x01, 0xff,
AV_OPT_FLAG_ENCODING_PARAM, "mpegts_service_type" },
Sorru I couldnt supply diff file, as I don't know how to do.
Regards,
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5455>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list