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. [email protected] On Fri, Mar 20, 2015 at 8:22 AM, Bogdan ioan Gabor < [email protected]> wrote: > Sorry, I meant g = segment_length * framerate > > > > On Friday, March 20, 2015 5:21 PM, Bogdan ioan Gabor < > [email protected]> 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 < > [email protected]> 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 > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
