[FFmpeg-user] Changing the value of the parameters while encoding ?
Carl Eugen Hoyos
ceffmpeg at gmail.com
Sat Mar 9 13:14:01 EET 2019
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
More information about the ffmpeg-user
mailing list