You can pipe a video to any command line on the computer, such as ffmpeg. This can be especially useful with raw video files. Next is an example usage.
mknod /tmp/piper.yuv p |
/mnt0/build5/cinelerra-5.1/thirdparty/ffmpeg-3.4.1/ffmpeg -f \ rawvideo -pixel_format yuv420p -video_size 1280x720 \ -framerate 30000/1001 -i /tmp/piper.yuv /tmp/pys.mov |
A slightly different option can be used instead that may be more familiar to some. In the render menu after choosing the File Format of ffmpeg, use the pulldown to choose y4m as the file type. This choice results in putting a header on the rendered output with some pertinent information that can be used for ffmpeg processing thus alleviating the requirement for pixel_format, video_size, and framerate on the ffmpeg command line. In this case the format is yuv4mpegpipe instead of rawvideo. An example command line would look as follows (assuming the created pipe is called piper.y4m):
ffmpeg -f yuv4mpegpipe -i /tmp/piper.y4m -vcodec libx264 /tmp/test.mp4 |
The CINELERRA-GG Community, 2021