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: Freezing problem and video conversion problem  (Read 9299 times)

eonzhiglo

  • Jr. Member
  • *
  • Posts: 12
  • .....well...uh.....there it is....
Freezing problem and video conversion problem
« on: February 19, 2013, 10:14:28 pm »

So, I recently installed Anteworld, and have come across a few problems. The first is that the game will freeze when reaching about 2.5gb usage resulting in me having to use task manager to shut the program down. No bug report windows pops up. I have 64gb of ram and 24 cores, so maybe it has something to do with the multithreading (if it even has that capability)? I can attach screen shots if i need too. The other is the problem with the ffmpeg. I cannot for the life of me figure out what I'm doing wrong when it comes to trying to convert the file. I get buffer errors and invalid char errors. The only thing I can think of is that there is too much information trying to be coded. I've no idea where to turn on these two issues. Thanks for the help!
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Freezing problem and video conversion problem
« Reply #1 on: February 20, 2013, 01:50:59 am »

Anteworld is 32bit program so the usable memory is below 3GB (with system taking 1GB). But I didn't hit the limit myself yet, what's your OS version & what are you doing?

The ffmpeg converter produces some errors you mention, but it doesn't affect the output. Try to capture a short video and convert it using conv.bat, does the resulting avi play?
Logged

Heyworth

  • Jr. Member
  • *
  • Posts: 32
  • newbie
Re: Freezing problem and video conversion problem
« Reply #2 on: February 20, 2013, 07:51:35 am »

I've updated Outerra yesterday and managed to convert a YOG file to AVI, so no issues here.
I've put the conversion software in the same folder as where the Outerra videos are stored.
Using Windows7 - I just drag the .YOG file onto the .BAT file and the Black DOS screen just pops up with the bytes processing away.
Logged

eonzhiglo

  • Jr. Member
  • *
  • Posts: 12
  • .....well...uh.....there it is....
Re: Freezing problem and video conversion problem
« Reply #3 on: February 20, 2013, 11:04:28 am »

I'm using windows 7 64-bit SP1. I've got the graphics maxed out as much as I can and am running it at  2560x1600. I'm basically just flying around UFO style. As far as the video goes, I tried what you said, and it still didn't work. It gives me an .avi file about 6kb big. I've also tried several external programs like winff and to no avail.
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Freezing problem and video conversion problem
« Reply #4 on: February 20, 2013, 11:09:01 am »

Can you attach the eng.log (zipped) from such a short video recording session?
Logged

eonzhiglo

  • Jr. Member
  • *
  • Posts: 12
  • .....well...uh.....there it is....
Re: Freezing problem and video conversion problem
« Reply #5 on: February 20, 2013, 11:44:33 am »

I will when I get off work. Also, I'd like to mention what a beautiful sim you have made. I can't wait until you have the ability to make clouds. Being able to fly through cumulonimbus clouds and thunderheads....gets me all tingly inside. I would like to also throw my hat into the ring for soundtrack music. I think I can write you a pretty decent theme. You can listen to my work at www.ehscore.bandcamp.com and let me know if you dig the style. If you do, I can write you a couple of pieces.
Logged

eonzhiglo

  • Jr. Member
  • *
  • Posts: 12
  • .....well...uh.....there it is....
Re: Freezing problem and video conversion problem
« Reply #6 on: February 20, 2013, 08:35:10 pm »

Here it is. Let me know if this is what you needed.
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Freezing problem and video conversion problem
« Reply #7 on: February 21, 2013, 01:20:45 am »

Hmm there are several issues, though I can't see anything wrong with regards to the video. But lets fix those issues first.
  • go to terrain settings and boost the values of limit-wavelet, limit-treetile a bit
    with higher quality setting it needs a larger tile cache, especially in mountains, otherwise it fights a lot for tiles
  • there are some proxy resolver errors, go to control panel, internet options, connections, lan settings, and make sure "automatically detect settings" is turned off

It should still be able to capture the video, you should try setting vertical sync to half refresh in graphics settings and test it with that.

Music - there was a recent thread about it here, we can surely try including a demo track in the demo and see how it's going to work.
Logged

eonzhiglo

  • Jr. Member
  • *
  • Posts: 12
  • .....well...uh.....there it is....
Re: Freezing problem and video conversion problem
« Reply #8 on: February 21, 2013, 09:03:05 pm »

So I tried bumping the values of the wavelet and treetile and now whenever I get close to the ground, maybe 5-10 ft, it starts to tear and turn white, sometimes to the point where it goes transparent and I can see through the map. The video was already set to half sync, and I was thinking about turning it down more to 24 or 25 sync in my nvidia options. no more problems with the proxy resolve though. I might just reinstall the game to get the original settings back.



EDIT: This is the text I get when trying to convert. Which is followed by a force close on ffmpeg


C:\Users\Sir Eonz Higlo\Outerra\videos>conv.bat capture_1361162922.yog test.avi
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct  9 2011 18:17:27 with gcc 4.6.1
  configuration: --disable-shared --enable-static --datadir=./ffpresets --enable
-decoder=YOG --enable-demuxer=YOG --enable-memalign-hack --extra-cflags=-U__STRI
CT_ANSI__ --extra-ldflags='-static -static-libgcc' --enable-w32threads --enable-
libx264 --enable-gpl --enable-avisynth --enable-libvorbis --enable-libtheora
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 1 /  0.16. 1
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.74. 0 /  1.74. 0
  libswscale     0.12. 0 /  0.12. 0
[yogvideo @ 00039690] buffer size: 7372800
Input #0, yog, from 'capture_1361162922.yog':
  Duration: 00:00:01.66, start: 0.000000, bitrate: 884735 kb/s
    Stream #0.0: Video: yogvideo, yuyv422, 2560x1440, 25742 kb/s, 30 tbr, 30 tbn
, 30 tbc
[NULL @ 0338a920] [Eval @ 0028f848] Invalid chars 'x00000800' at the end of expr
ession '0x00000800'
[NULL @ 0338a920] Unable to parse option value "0x00000800"
[NULL @ 0338a920] [Eval @ 0028f848] Invalid chars 'x00000000' at the end of expr
ession '0x00000000'
[NULL @ 0338a920] Unable to parse option value "0x00000000"
[NULL @ 0338a920] [Eval @ 0028f848] Invalid chars 'x000E0130' at the end of expr
ession '0x000E0130'
[NULL @ 0338a920] Unable to parse option value "0x000E0130"
[buffer @ 03389720] w:2560 h:1440 pixfmt:yuyv422
[ffsink @ 03392fe0] auto-inserting filter 'auto-inserted scaler 0' between the f
ilter 'src' and the filter 'out'
[scale @ 033930e0] w:2560 h:1440 fmt:yuyv422 -> w:2560 h:1440 fmt:yuv420p flags:
0xa0000004
[libx264 @ 0338a920] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE
4.2
[libx264 @ 0338a920] profile Main, level 5.0
[yogvideo @ 00039690] buffer size: 7372800
Output #0, avi, to 'test.avi':
  Metadata:
    ISFT            : Lavf52.93.0
    Stream #0.0: Video: libx264, yuv420p, 2560x1440, q=10-51, pass 1, 12000 kb/s
, 30 tbn, 30 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=   18 fps=  0 q=-1.0 size=       6kB time=10000000000.00 bitrate=   0.0kbi
frame=   34 fps= 31 q=-1.0 size=       6kB time=10000000000.00 bitrate=   0.0kbi
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct  9 2011 18:17:27 with gcc 4.6.1
  configuration: --disable-shared --enable-static --datadir=./ffpresets --enable
-decoder=YOG --enable-demuxer=YOG --enable-memalign-hack --extra-cflags=-U__STRI
CT_ANSI__ --extra-ldflags='-static -static-libgcc' --enable-w32threads --enable-
libx264 --enable-gpl --enable-avisynth --enable-libvorbis --enable-libtheora
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 1 /  0.16. 1
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.74. 0 /  1.74. 0
  libswscale     0.12. 0 /  0.12. 0
Input #0, wav, from 'C:\Users\Sir Eonz Higlo\Outerra\videos\capture_1361162922.w
av':
  Duration: 00:00:01.60, bitrate: 1411 kb/s
    Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
[yogvideo @ 034efbb0] buffer size: 7372800
Input #1, yog, from 'capture_1361162922.yog':
  Duration: 00:00:01.66, start: 0.000000, bitrate: 884735 kb/s
    Stream #1.0: Video: yogvideo, yuyv422, 2560x1440, 25742 kb/s, 30 tbr, 30 tbn
, 30 tbc
[NULL @ 034f9240] [Eval @ 0028f848] Invalid chars 'x00000800' at the end of expr
ession '0x00000800'
[NULL @ 034f9240] Unable to parse option value "0x00000800"
[NULL @ 034f9240] [Eval @ 0028f848] Invalid chars 'x00000113' at the end of expr
ession '0x00000113'
[NULL @ 034f9240] Unable to parse option value "0x00000113"
[NULL @ 034f9240] [Eval @ 0028f848] Invalid chars 'x000E01F0' at the end of expr
ession '0x000E01F0'
[NULL @ 034f9240] Unable to parse option value "0x000E01F0"
[NULL @ 03545ce0] [Eval @ 0028f868] Invalid chars 'x00000800' at the end of expr
ession '0x00000800'
[NULL @ 03545ce0] Unable to parse option value "0x00000800"
[NULL @ 03545ce0] [Eval @ 0028f868] Invalid chars 'x000E01F0' at the end of expr
ession '0x000E01F0'
[NULL @ 03545ce0] Unable to parse option value "0x000E01F0"
[buffer @ 0355bfd0] w:2560 h:1440 pixfmt:yuyv422
[ffsink @ 0355c010] auto-inserting filter 'auto-inserted scaler 0' between the f
ilter 'src' and the filter 'out'
[scale @ 0355c050] w:2560 h:1440 fmt:yuyv422 -> w:2560 h:1440 fmt:yuv420p flags:
0xa0000004
[libx264 @ 034f9240] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE
4.2
[libx264 @ 034f9240] ratecontrol_init: can't open stats file
Output #0, avi, to 'test.avi':
    Stream #0.0: Video: libx264, yuv420p, 2560x1440, q=10-51, pass 2, 12000 kb/s
, 90k tbn, 30 tbc
    Stream #0.1: Audio: ac3, 44100 Hz, 2 channels, flt, 192 kb/s
Stream mapping:
  Stream #1.0 -> #0.0
  Stream #0.0 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect parameters
such as bit_rate, rate, width or height





« Last Edit: February 21, 2013, 10:37:22 pm by eonzhiglo »
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Freezing problem and video conversion problem
« Reply #9 on: February 22, 2013, 12:55:55 am »

Maybe the ffmpeg encoder has a problem with the 2560x1440 size. Did you try it with 1920x1080?
Logged

eonzhiglo

  • Jr. Member
  • *
  • Posts: 12
  • .....well...uh.....there it is....
Re: Freezing problem and video conversion problem
« Reply #10 on: February 22, 2013, 01:36:05 am »

I have. It looks to be that some videos work and others don't. I tried recording a new video at both 1080p and 2560x1440. Both converted... soooooo I've got no clue. Probably just a bad recording.
Logged