[FFmpeg-trac] #4048(avformat:new): segment: Handle WebVTT as per HLS spec
FFmpeg
trac at avcodec.org
Sun Jul 30 18:36:14 EEST 2017
#4048: segment: Handle WebVTT as per HLS spec
-------------------------------------+------------------------------------
Reporter: 11rcombs | Owner:
Type: enhancement | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: hls webvtt | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Comment (by Djfe):
I guess this kinda belongs to this ticket:
https://amd.cdn.turner.com/adultswim/episodes/no_uk_geo/bobsburgers/2017/03/bobsburgers_cc_505_Digital_IttyBittyDittyCommittee/hls/bobsburgers_cc_505_Digital_IttyBittyDittyCommittee_stream_webvtt.m3u8
is the webvtt Stream (subtitle only stream) related to
https://amd.cdn.turner.com/adultswim/episodes/no_uk_geo/bobsburgers/2017/03/bobsburgers_cc_505_Digital_IttyBittyDittyCommittee/hls/bobsburgers_cc_505_Digital_IttyBittyDittyCommittee_stream_full.m3u8
from http://www.adultswim.com/videos/bobs-burgers/the-itty-bitty-ditty-
committee/
Though I'm not sure. If this is only an issue about the muxer but not the
demuxer, then say so and I'll open a new ticket.
FFmpeg only saves the first segment instead of merging all segments
together, like it's described in this ticket.
ffmpeg -i url -c copy example.vtt
Since the m3u8 won't be up forever, here's the content of it:
{{{
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:300
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:300.299,
bobsburgers_cc_505_Digital_IttyBittyDittyCommittee_stream_webvttvtt_00001.vtt
#EXTINF:300.300,
bobsburgers_cc_505_Digital_IttyBittyDittyCommittee_stream_webvttvtt_00002.vtt
#EXTINF:300.300,
bobsburgers_cc_505_Digital_IttyBittyDittyCommittee_stream_webvttvtt_00003.vtt
#EXTINF:300.300,
bobsburgers_cc_505_Digital_IttyBittyDittyCommittee_stream_webvttvtt_00004.vtt
#EXTINF:104.104,
bobsburgers_cc_505_Digital_IttyBittyDittyCommittee_stream_webvttvtt_00005.vtt
#EXT-X-ENDLIST
}}}
FFmpeg only saves the first 5mins, so I guess that's the segment time.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4048#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list