[FFmpeg-user] ffmpeg reading from pipe selecting frames

Dan Shamir dan at idomoo.com
Sun Dec 4 10:01:54 EET 2016

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

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?

writing 100 frames to pipe
first input is frames from 0-10 and then seconde input is 20-30
and get an mp4 with 20 frames total?
any help please?


Dan shamir
Director of Graphic Technology

*dan at idomoo.com <dan at idomoo.com>*

[image: idomoo_logo_moving people NEW email signature]


*This email and any files transmitted with it contain information from 
Idomoo which may be privileged and confidential and intended solely for the 
use of the addressee. If you are not the intended recipient, be aware that 
any disclosure, copying, distribution or use of the contents of this 
information is strictly prohibited; please notify us immediately by* *an **email 
reply and delete it from your system. Idomoo accepts no liability for any 
personal views or opinions expressed in this email. Email transmission 
cannot be guaranteed to be secure or error-free. Idomoo therefore is not 
liable for any errors or omissions in the contents of this message, which 
arise as a result of email transmission.*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 4417 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20161204/1ceb74c4/attachment.jpg>

More information about the ffmpeg-user mailing list