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

Sai Balaji mynameisbaju at gmail.com
Sat Mar 9 07:49:24 EET 2019


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.
>
>
> Is that possible in FFmpeg to change the parameters dynamically or is
> there any other way to handle this use case with FFmpeg?
>
>
> Note: I am using Shaka Player to play the segments.
>
>
> Thanks and regards,
>
> Baju
>


More information about the ffmpeg-user mailing list