From: ffmpegagent <ffmpegagent@gmail.com> To: ffmpeg-devel@ffmpeg.org Cc: softworkz <softworkz@hotmail.com> Subject: [FFmpeg-devel] [PATCH 0/2] avformat/hls demuxer: Add WebVTT subtitle support Date: Wed, 19 Feb 2025 14:10:25 +0000 Message-ID: <pull.53.ffstaging.FFmpeg.1739974227.ffmpegagent@gmail.com> (raw) This add support for WebVTT subtitles in HLS streams. similar like for separate audio streams, it supports all available WebVTT streams in all renditions. No new options are added, it just works and provides subtitles streams like other demuxers. The code prevents downloading subtitle segments which are much farther in the future than the main segments to avoid loading hundreds of subtitle segments in advance. orig, 2022/10; scenarios tested: ffmpeg transcoding, ffprobe, MPV player Example command for testing: ffmpeg -i https://playertest.longtailvideo.com/adaptive/elephants_dream_v4/index.m3u8 -map v:0 -map a:0 -map s:1 -map s:0 -c:v copy -c:a copy -c:s srt -to 120s test1.mkv ...produces an MKV with two SRT sub tracks from WebVTT subs via HLS. softworkz (2): avformat/hls demuxer: Add WebVTT subtitle support avformat/webvttdec: Add webvtt extension and MIME type libavformat/hls.c | 218 +++++++++++++++++++++++++++++++++------- libavformat/webvttdec.c | 3 +- 2 files changed, 182 insertions(+), 39 deletions(-) base-commit: e18f87ed9f9f61c980420b315dc8ecb308831bc5 Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-53%2Fsoftworkz%2Fsubmit_hlsvtt-v1 Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-53/softworkz/submit_hlsvtt-v1 Pull-Request: https://github.com/ffstaging/FFmpeg/pull/53 -- ffmpeg-codebot _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next reply other threads:[~2025-02-19 14:10 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2025-02-19 14:10 ffmpegagent [this message] 2025-02-19 14:10 ` [FFmpeg-devel] [PATCH 1/2] " softworkz 2025-02-21 9:18 ` Andreas Rheinhardt 2025-02-21 9:23 ` Soft Works 2025-02-21 11:56 ` Soft Works 2025-02-19 14:10 ` [FFmpeg-devel] [PATCH 2/2] avformat/webvttdec: Add webvtt extension and MIME type softworkz 2025-02-21 15:13 ` [FFmpeg-devel] [PATCH v2 0/2] avformat/hls demuxer: Add WebVTT subtitle support ffmpegagent 2025-02-21 15:13 ` [FFmpeg-devel] [PATCH v2 1/2] " softworkz 2025-02-21 15:13 ` [FFmpeg-devel] [PATCH v2 2/2] avformat/webvttdec: Add webvtt extension and MIME type softworkz
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=pull.53.ffstaging.FFmpeg.1739974227.ffmpegagent@gmail.com \ --to=ffmpegagent@gmail.com \ --cc=ffmpeg-devel@ffmpeg.org \ --cc=softworkz@hotmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git