[FFmpeg-user] ffmpeg reading from pipe selecting frames

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Dec 10 17:52:36 EET 2016


2016-12-04 9:01 GMT+01:00 Dan Shamir <dan at idomoo.com>:
> hi
> here is my problem
> im reading raw nv12 frames from a pipe with this command:
> ffmpeg   -f rawvideo -pixel_format nv12 -s 1280x720  -i ppp  -ss 0 -t 1
> -f rawvideo -pixel_format nv12 -s 1280x720   -i ppp  -ss 3 -t 1  -c:v
> libx264   -bf 2 -refs 4  -qmin 25 -qmax 25 -movflags +faststart -c:a aac -r
> 25 -g 25 -f mp4 xxx.mp4

I wonder if -r 25 is what you want.
Complete, uncut console output missing.

> im trying to read 1 sec of frames and then read more from sec 3 to 4
> ffmpe seems to close the pipe or stop on the firts input
> any way to tell ffmpe to read and use onely selected parts from multiple
> inputs or event the same pipe?

Did you try the select filter?

> *This email and any files transmitted with it contain information from
> Idomoo which may be privileged and confidential

Please remove this from emails sent to a public mailing list.

Carl Eugen


More information about the ffmpeg-user mailing list