[FFmpeg-devel] [PATCH] Support for zulu timezone format for PDT in HLS playlists

Ole Andre Birkedal birkedal at extab.net
Tue Oct 22 13:37:58 EEST 2019


Some HLS players prefer UTC+0 timestamps in PROGRAM-DATE-TIME to end in a Z instead of +0000, this patch adds a hlsflag to enable that feature.

Example command:
ffmpeg -i input.mp4 -c copy -hls_flags +program_date_time+zulu_timezone output.m3u8

Example PDT output:
#EXT-X-PROGRAM-DATE-TIME:2019-10-22T10:27:54.000Z

Ole Andre Birkedal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zulu_timezone.patch
Type: application/octet-stream
Size: 6662 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191022/ec3e9a6a/attachment.obj>


More information about the ffmpeg-devel mailing list