[FFmpeg-user] SEGMENT_TYPE_FMP4 with HLS_SINGLE_FILE

pablo platt pablo.platt at gmail.com
Thu Sep 14 06:08:07 EEST 2017


Any reason this change isn't in the 3.3.x branch?
https://github.com/FFmpeg/FFmpeg/commits/n3.3.4/libavformat/hlsenc.c

On Mon, Jul 31, 2017 at 8:26 AM, Steven Liu <lingjiujianke at gmail.com> wrote:

> 2017-07-31 12:37 GMT+08:00 pablo platt <pablo.platt at gmail.com>:
> > Shouldn't this say "hls->max_seg_size == 0" ?
> 0 is default value
>
> >>
> >> int byterange_mode = (hls->flags & HLS_SINGLE_FILE) ||
> (hls->max_seg_size
> >> > 0);
> >
> >
> > How can I apply the patch and test it?
> > Can you please give command line example to test it?
> looks like mpegts's single_file :  hls_flags single_file
> >
> > Thank you for the patch.
> >
> >
> >
> > On Mon, Jul 31, 2017 at 7:09 AM, Steven Liu <lingjiujianke at gmail.com>
> wrote:
> >>
> >> 2017-07-25 15:20 GMT+08:00 pablo platt <pablo.platt at gmail.com>:
> >> > This is great.
> >> I have sent a new patch , you can check it:)
> >> https://patchwork.ffmpeg.org/patch/4526/
> >>
> >> > Thank you.
> >> >
> >> > On Tue, Jul 25, 2017 at 9:21 AM, Steven Liu <lingjiujianke at gmail.com>
> >> > wrote:
> >> >
> >> >> 2017-07-25 13:44 GMT+08:00 pablo platt <pablo.platt at gmail.com>:
> >> >> > Hi,
> >> >> >
> >> >> > A recent commit added fmp4 support for HLS [1] but byte-range or
> >> >> > single-file isn't supported [2].
> >> >> > Being able to use a single mp4 file for both Dash and HLS will be
> >> >> > super
> >> >> > useful.
> >> >> > Any plans to add it?
> >> >> > What's missing?
> >> >> > Is mp4 different than mpegts in regards to byte-range support?
> >> >> Yes, of course, i will support single file later, maybe next week.
> >> >> >
> >> >> > [1]
> >> >> >
> >> >> > https://github.com/FFmpeg/FFmpeg/commit/
> 274bd1670b9c85e24f37d08f9043dd
> >> >> 82e0a28c67
> >> >> >
> >> >> > [2] https://patchwork.ffmpeg.org/patch/4221/
> >> >> >
> >> >> > Thanks
> >> >> > _______________________________________________
> >> >> > ffmpeg-user mailing list
> >> >> > ffmpeg-user at ffmpeg.org
> >> >> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >> >> >
> >> >> > To unsubscribe, visit link above, or email
> >> >> > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> >> >> _______________________________________________
> >> >> ffmpeg-user mailing list
> >> >> ffmpeg-user at ffmpeg.org
> >> >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >> >>
> >> >> To unsubscribe, visit link above, or email
> >> >> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> >> > _______________________________________________
> >> > ffmpeg-user mailing list
> >> > ffmpeg-user at ffmpeg.org
> >> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >> >
> >> > To unsubscribe, visit link above, or email
> >> > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> >
> >
>


More information about the ffmpeg-user mailing list