Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21246

Use PIPE (STDIN/STDOut) to port images to ffMPEG to Create video..

$
0
0
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:

Code:

ffmpeg -f image2 -r 1 -i img%03d.png -c:v libx264 -r 30 out.mp4
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:
Code:

my_app | ffmpeg -f image2 -r 25 -vcodec jpegls -i -
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

Viewing all articles
Browse latest Browse all 21246

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>