Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Author Topic: Video conversion issues  (Read 7737 times)

ZeosPantera

  • ||>>-Z-<<||
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
  • #1 Outerra Fan Boy
    • My Youtube
Video conversion issues
« 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
Logged
"Fear accompanies the possibility of death, Calm shepherds its certainty" - General Ka Dargo

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Video conversion issues
« Reply #1 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
Logged

Luishi5k0

  • Full Member
  • ***
  • Posts: 157
  • newbie
Re: Video conversion issues
« Reply #2 on: February 21, 2013, 08:05:12 pm »

I keep getting this when I run it in command. What am I doing wrong?

Logged

ZeosPantera

  • ||>>-Z-<<||
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
  • #1 Outerra Fan Boy
    • My Youtube
Re: Video conversion issues
« Reply #3 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.
Logged
"Fear accompanies the possibility of death, Calm shepherds its certainty" - General Ka Dargo

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Video conversion issues
« Reply #4 on: February 22, 2013, 01:01:20 am »

I keep getting this when I run it in command. What am I doing wrong?


Do the following:
Code: [Select]
e:
cd e:\render_vid\video
conv.bat ca3.yog conv.avi
Logged