[FFmpeg-devel] [PATCH 2/2] avformat/hls: Add subtitle support

wm4 nfxjfg at googlemail.com
Fri Dec 16 18:13:50 EET 2016


On Thu, 15 Dec 2016 22:01:46 +0000
Franklin Phillips <franklinphillips at gmx.com> wrote:

> Hi,
> 
> I tested this code by converting HLS streams into mp4 files and it
> seemed to work fine. However I recently compiled mpv with these changes
> and when I play back the Apple example stream given in ticket #2833, it
> seems to skip a lot of subtitles. It works fine for the real world
> streams I'm using it for but it's probably worth holding off with this
> change until that's worked out.

Could be a mpv-specific issue, maybe report it there.

> Also I tried to make minimal changes to the existing code path because
> there don't seem to be any tests for HLS making it hard to know when
> something is broken which I guess is why there is the duplication.
> However I think you are right and it should be refactored, I had a
> further look at how it could be done and will continue working on it.

I wonder why not. Couldn't we put a small HLS stream on disk for FATE
and let libavformat demux it? This still wouldn't test HTTP interaction
of course.

> If you have any advice for testing the current HLS functionality so I
> can be confident that there are no regressions, I would appreciate that.



More information about the ffmpeg-devel mailing list