Outerra forum

Anteworld - Outerra Game => Modding: Importer, Tools & Utilities => Topic started by: ZeosPantera on February 21, 2013, 03:21:25 am

Title: Video conversion issues
Post by: ZeosPantera on February 21, 2013, 03:21:25 am
Im back to the same issue where I drag the yog into the the conv4edit bat and the cmd pops up.. Doesn't do anything and disappears.  I know if my game crashes the yog is broken but even with properly recorded yogs it just does nothing.

I have this in that bat..

Code: [Select]
set fn=%~dpn1
set fnw=%fn%.wav

@echo on
if [%1]==[] goto :eof
:loop

ffmpeg.exe -i %fnw% -i %1 -map 1:0 -map 0:0 -vcodec mjpeg -qscale 1 -acodec ac3 -ab 192k %1.avi
shift
if not [%1]==[] goto loop
Title: Re: Video conversion issues
Post by: cameni on February 21, 2013, 11:36:58 am
There's probably a space in the path, and that script doesn't handle it correctly. Change it to:
Code: [Select]
set fn=%~dpn1
set fnw=%fn%.wav

@echo on
if [%1]==[] goto :eof
:loop

ffmpeg.exe -i "%fnw%" -i "%1" -map 1:0 -map 0:0 -vcodec mjpeg -qscale 1 -acodec ac3 -ab 192k "%1.avi"
shift
if not [%1]==[] goto loop
Title: Re: Video conversion issues
Post by: Luishi5k0 on February 21, 2013, 08:05:12 pm
I keep getting this when I run it in command. What am I doing wrong?

(http://i.cubeupload.com/FnVoPv.png)
Title: Re: Video conversion issues
Post by: ZeosPantera on February 21, 2013, 08:56:39 pm
Wow Cameni that sucks.. I had to take the space out of the name in my "FRAPS TEMP" folder where the Outerra videos now reside. What a fickle bitch.
Title: Re: Video conversion issues
Post by: cameni on February 22, 2013, 01:01:20 am
I keep getting this when I run it in command. What am I doing wrong?

(http://i.cubeupload.com/FnVoPv.png)
Do the following:
Code: [Select]
e:
cd e:\render_vid\video
conv.bat ca3.yog conv.avi