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

Marton Balint cus at passwd.hu
Wed Oct 23 15:50:37 EEST 2019



On Wed, 23 Oct 2019, Marton Balint wrote:

>
>
> On Wed, 23 Oct 2019, Ole Andre Birkedal wrote:
>
>> Thanks for the feedback, attached new complete patch with code changes + 
> added documentation for it
>
> Please also explain why this might be required in the docs. In the commit 
> message please name the specific vendor/device which is not parsing zero 
> offset correctly.
>
> I wonder if it would make sense to set this flag by default (doing that 
> can be a separate patch) if it improves compatiblity.

One more idea is that maybe we should introduce a flag which always puts 
the timestamp in UTC instead? Otherwise your approach only works if the 
local time is UTC, no?

Thanks,
Marton

>
> Thanks,
> Marton
>
>>
>> Ole
>>
>>
>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>> On Wednesday, October 23, 2019 4:32 AM, Steven Liu <lq at chinaffmpeg.org> 
> wrote:
>>
>>>
>>>
>>>> 在 2019年10月22日,18:37,Ole Andre Birkedal birkedal at extab.net 写道:
>>>> 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<zulu_timezone.patch>_______________________________________________
>>>
>>> Document doc/muxer.texi please.
>>>
>>>> ffmpeg-devel mailing list
>>>> ffmpeg-devel at ffmpeg.org
>>>> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>>> To unsubscribe, visit link above, or email
>>>> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>>>
>>> Thanks
>>> Steven
>>>
>>> ffmpeg-devel mailing list
>>> ffmpeg-devel at ffmpeg.org
>>> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>>
>>> To unsubscribe, visit link above, or email
>>> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>>
>>
>>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list