[FFmpeg-user] Demuxing HLS stream of fmp4 segments

Dennis Mungai dmngaie at gmail.com
Fri Apr 17 16:30:16 EEST 2020


On Fri, 17 Apr 2020, 16:11 vectronic, <hello.vectronic at gmail.com> wrote:

>
>
> > On 17 Apr 2020, at 13:26, Pedro Pedrosa <pedrojvpedrosa at gmail.com>
> wrote:
> >
> > Hello all
> >
> > I'm trying to demux an HLS stream containing fmp4 segments. It works fine
> > if I demux from the start of the input but as soon as I add the -ss flag
> to
> > skip to a timecode it no longer produces any output.
> >
> > I have tested on my own ffmpeg-generated streams and also on a public
> file
> > at
> >
> https://bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s-fmp4/f08e80da-bf1d-4e3d-8899-f0f6155f6efa_video_270_400000.m3u8
> >
> > Exact command that does not work: ffmpeg -ss 00:03:00 -i
> >
> https://bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s-fmp4/f08e80da-bf1d-4e3d-8899-f0f6155f6efa_video_270_400000.m3u8
> > -y -frames 1 -f image2 test.jpg
> >
> > Usage that works (omit -ss): ffmpeg -i
> >
> https://bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s-fmp4/f08e80da-bf1d-4e3d-8899-f0f6155f6efa_video_270_400000.m3u8
> > -y -frames 1 -f image2 test.jpg
> >
> > Any help would be greatly appreciated
> >
>
> I’ve had success using the patch I submitted against this ticket:
>
> https://trac.ffmpeg.org/ticket/7359 <https://trac.ffmpeg.org/ticket/7359>
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



That patch needs to be split into two, with commit messages explaining what
each change does, as Michael Niedermayer explained.

Apply the recommendations mentioned therein and the ffmpeg-devel mailing
list will review the patch.


More information about the ffmpeg-user mailing list