View Single Post
Old 22nd September 2008, 10:15   #9  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
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.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 22nd September 2008 at 10:24.
LigH is offline   Reply With Quote