[FFmpeg-user] Changing video size mid-stream

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Nov 2 02:38:30 EET 2016


2016-10-31 20:09 GMT+01:00 Joshua Grauman <jnfo at grauman.com>:

> I have a program that outputs raw video data to ffmpeg like this:
>
> ./gen-vid | ffmpeg -f rawvideo -pixel_format bgra -video_size 1366x713
> -framerate 30 -i - -vcodec png overtest.avi
>
> I am wondering if there is any way to change the video size mid-stream
> without skipping any frames?

It may work with -vcodec copy but I suspect the output file would
be invalid.

Carl Eugen


More information about the ffmpeg-user mailing list