Bogdan ioan Gabor
bogdanioan.gabor at yahoo.com
Fri Mar 20 16:22:56 CET 2015
Sorry, I meant g = segment_length * framerate
On Friday, March 20, 2015 5:21 PM, Bogdan ioan Gabor <bogdanioan.gabor at yahoo.com> wrote:
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.
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
More information about the ffmpeg-user