HI, Greetings to everyone
this topic is related to ffMpeg ( a command line video encoding tool)
below is the sample code to create video files from images:
that code CMD code create out.mp4 video out of the series of images like image001 image002 imagexxx image999
now to use this though vb i first need to save those images to HDD. But that's both waste of time (processing) and disk space
so, what i want, i want to use PIPE to directly send/port images from my app to ffmpeg to create that video ..
something like this:
but i am not too (even don't know at all) about Piping :( (i think it's also called stdout/stdin? )
so, any help would be highly appreciated..
thanks in advance for any upcoming help
best regards
this topic is related to ffMpeg ( a command line video encoding tool)
below is the sample code to create video files from images:
Code:
ffmpeg -f image2 -r 1 -i img%03d.png -c:v libx264 -r 30 out.mp4
now to use this though vb i first need to save those images to HDD. But that's both waste of time (processing) and disk space
so, what i want, i want to use PIPE to directly send/port images from my app to ffmpeg to create that video ..
something like this:
Code:
my_app | ffmpeg -f image2 -r 25 -vcodec jpegls -i -
so, any help would be highly appreciated..
thanks in advance for any upcoming help
best regards