[FFmpeg-user] Changing the value of the parameters while encoding ?

Sai Balaji mynameisbaju at gmail.com
Sat Mar 9 13:36:59 EET 2019


It would be great if I can change the segment size on the fly.

That is the only parameter that I need to change right now.

On Sat, Mar 9, 2019 at 4:44 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> 2019-03-09 6:49 GMT+01:00, Sai Balaji <mynameisbaju at gmail.com>:
> > Follow up
> >
> > On Thu, Mar 7, 2019 at 5:34 PM Sai Balaji <mynameisbaju at gmail.com>
> wrote:
> >
> >> Hello,
> >>
> >> I am new to FFmpeg and this community. For my institution project, I am
> >> using FFmpeg to create MPEG Dash segments from my laptop camera for live
> >> streaming.
> >>
> >> As a part of my project, I would like to change some parameters (For
> >> example. Segment Size), while the encoding process is already running.
> >>
> >> This is the command that I'll be using initially:
> >>
> >> ffmpeg -f avfoundation -video_size 800x600 -framerate 30 -i 0  -vcodec
> >> libx264 -acodec aac  -b:v 1M -b:a 192k -f dash  -use_template 0
> >> -use_timeline 0 -single_file 0  -streaming 1  -seg_duration  1 -live 1
> >> -window_size
> >> 5 sai.mpd
> >>
> >>
> >> But for my use case, I would like to change the segment duration to 2
> >> seconds(Initially 1) after some time without terminating the current
> >> process.
>
> I wanted to write "Patch welcome" but I am not sure if the infrastructure
> allows changing muxing parameters on the fly.
>
> Carl Eugen
> _______________________________________________
> 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".


More information about the ffmpeg-user mailing list