[FFmpeg-user] hls_size
Davood Falahati
d.falahati.1987 at ieee.org
Fri Mar 20 18:34:58 CET 2015
Thank you,
I managed to do that finally. What is your recommendation for
segment_length and list_size for a low-latency live broadcasting?
Davood Falahati,
PhD candidate in Isfahan University of Technology.
d.falahati.1987 at ieee.org
On Fri, Mar 20, 2015 at 8:22 AM, Bogdan ioan Gabor <
bogdanioan.gabor-at-yahoo.com at ffmpeg.org> wrote:
> Sorry, I meant g = segment_length * framerate
>
>
>
> On Friday, March 20, 2015 5:21 PM, Bogdan ioan Gabor <
> bogdanioan.gabor at yahoo.com> wrote:
>
>
> Hi,
> I had the same issue, and I managed to fix it by setting the framerate (-r
> parameter) and the GOP (-g parameter) which I think it depends on the
> framerate.So, for 3 seconds segments, I've used a framerate of 10 and a GOP
> of 30. I thought it's good/normal to have an I-Frame on every segment.My
> advise will be to just make sure that you have at least one I-Frame for
> each segment.
> g = segment_length + framerate.
> Good luck.
>
>
>
>
> On Saturday, March 14, 2015 9:16 PM, Davood Falahati <
> d.falahati.1987 at ieee.org> wrote:
>
>
> I want to stream my capture card using HLS. I get the input well and
> everything seems to bo fine. The problem is the latency. I want to lessen
> the chunk sizes to 3 seconds or less, and put less than 5 chunks in every
> list. But when I run the ffmpeg as below:
>
> ffmpeg -re -i rtmp://serveradress/live/channel -codec copy -map 0 -f
> segment -segment_list playlist.m3u8 -delete -segment_list_flags +live
> -segment_time 3 out%03d.ts
>
> the generated segments are much longer than 3 seconds. I think the problem
> is with iFrames. How should I fix that issue?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
>
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
More information about the ffmpeg-user
mailing list