[FFmpeg-user] Controlling an ffmpeg stream?

Roy Pardi lists at roypardi.com
Wed Sep 21 23:33:14 EEST 2016

> On Sep 21, 2016, at 12:29 AM, Reuben Martin <reuben.m at gmail.com> wrote
> Try seeing if you can get it to work directly from the terminal first. I know 
> that in the terminal I have to type “c” or “C” before inputing a command. You 
> probably need to send the same to the fd for the subprocess stdin as well. 
> Running from the terminal also lets you see stderr output that gives parse 
> errors telling what you did wrong trying to input a command.
> Also, not sure what I was smoking when I wrote to use “-c:a copy -c:v copy”. 
> That will not work since at that point the inputs are uncompressed raw video 
> and audio. You would have to encode them before output to flv.

Ok. Can anyone give me an example of the cmd I would use in the terminal to seek to a certain point in a stream which I have started like this:

	ffmpeg -re -i  test.mp4  -c:a copy -c:v copy -f flv -



More information about the ffmpeg-user mailing list