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.