P.S.: "raw" may be the wrong mode, ffmpeg2theora would not know the dimensions then. Unfortunately, there is no help of available input formats ("ffmpeg2theora -f help" would be useful); so I could only assume that the little hint from avs2yuv would lead me somewhere: "Output format is yuv4mpeg, as used by MPlayer and mjpegtools". So I tried:
Code:
avs2yuv.exe $.avs -o - | ffmpeg2theora.exe -f yuv4mpeg -o $.ogv -
$.avs: 720x576, 25 fps, 520 frames
File `pipe:' does not exist or has an unknown data format.
Output error: wrote only 590400 of 622080 bytes
---------------------------
avs2yuv.exe - Fehler in Anwendung
---------------------------
Die Anweisung in "0x00ac98f4" verweist auf Speicher in "0x00a972f8". Der Vorgang
"read" konnte nicht auf dem Speicher durchgeführt werden.
Klicken Sie auf "OK", um das Programm zu beenden.
---------------------------
OK
---------------------------
Apparently, the reason must be the pipe handling in general. Tested under Win32 (Windows XP Pro).
__
Now I tried with temporary file:
Code:
avs2yuv.exe $.avs -o $.y4m
That worked, but displayed the same crash dialog while finishing.
Now using this temporary file:
Code:
ffmpeg2theora.exe -f yuv4mpeg -o $.ogv $.y4m
Input #0, yuv4mpegpipe, from '$.y4m':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: rawvideo, yuv420p, 720x576, 25.00 fps(r)
Resize: 720x576
0:00:20.80 audio: 0kbps video: 2239kbps, time remaining: 00:00:00
So this one worked. Just not the piping.
The created Theora video looked fine.