3
I want to pipe uncompressed audio+video from one process to another.
It means it should be packed into some container. Which one is the best suited for the task?
I tried ffmpeg -i ... -vcodec rawvideo -acodec pcm_s16le -f ... -y test, but it mostly fails. Resulting Matroska files are playable only thought ffmpeg (not with mplayer) and AVI doesn't play well from pipe.
Update:
Looks like
ffmpeg -i ... -vcodec rawvideo -acodec pcm_s16le -f avi -y - | mplayer -cache 200000 -noconsolecontrols -
works more or less stable. -f matroska also works for gstreamer/ffplay, but not for mplayer/vlc.
I would figure out why AVI isn't working well. That has always been my choice for uncompressed video. – ubiquibacon – 2013-07-12T12:31:38.647
For example, 1. how to also store uncompressed audio into AVI? 2. Is AVI suited for pipes (to pass into another program without storing)? – Vi. – 2013-07-12T12:36:23.390
You can easily store uncompressed audio in AVI, at least PCM should definitely not be a problem. Where exactly do you want to pipe to? – slhck – 2013-07-12T12:51:43.013
Looks like pcm_u16be is not a best way, pcms16le works better... – Vi. – 2013-07-12T13:11:14.557