Author Topic: How to Film X-com for Free?  (Read 17243 times)

Offline hellrazor

  • Commander
  • *****
  • Posts: 2027
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Re: How to Film X-com for Free?
« Reply #15 on: January 19, 2015, 12:46:57 pm »
Well that depends on your Operating System,
i for myself use Linux, and to record Openxcom,  i use ffmpeg and the following script (for the bash):

#!/bin/bash
filename=$1

ffmpeg -f alsa -ac 2 -i hw:0 -f x11grab -r 24 -s 1280x720 -i :0.0 -acodec libmp3lame -vcodec mpeg4 -aspect 16:9 -q:a 1 -q:v 1 $filename.avi & pid1=$!
opencxom
kill $pid1
exit

Creates me an *avi Container file with encoded video and audio, i then use Avidemux to cut it like i want and convert into a *.mp4 with h264 encoding, with the following script:
#!/bin/bash
find . -name "*.avi" | while read filename;
do
        new_filename=$(echo "$filename" | sed "s/^\(.*\)avi$/\1mp4/g");
        if [ ! -f "$new_filename" ]
        then
                ffmpeg -i "$filename" -vcodec libx264 -preset slow -crf 22 -acodec libmp3lame "$new_filename" &
                wait $!;
        fi
done

Hope someone may find this helpfull.

Offline kikimoristan

  • Commander
  • *****
  • Posts: 647
    • View Profile
Re: How to Film X-com for Free?
« Reply #16 on: March 14, 2015, 12:38:40 am »
on a mac you can use quicktime and soundflower for patching system audio into quicktime

Offline kikimoristan

  • Commander
  • *****
  • Posts: 647
    • View Profile
Re: How to Film X-com for Free?
« Reply #17 on: March 14, 2015, 12:39:53 am »
Well that depends on your Operating System,
i for myself use Linux, and to record Openxcom,  i use ffmpeg and the following script (for the bash):

#!/bin/bash
filename=$1

ffmpeg -f alsa -ac 2 -i hw:0 -f x11grab -r 24 -s 1280x720 -i :0.0 -acodec libmp3lame -vcodec mpeg4 -aspect 16:9 -q:a 1 -q:v 1 $filename.avi & pid1=$!
opencxom
kill $pid1
exit

Creates me an *avi Container file with encoded video and audio, i then use Avidemux to cut it like i want and convert into a *.mp4 with h264 encoding, with the following script:
#!/bin/bash
find . -name "*.avi" | while read filename;
do
        new_filename=$(echo "$filename" | sed "s/^\(.*\)avi$/\1mp4/g");
        if [ ! -f "$new_filename" ]
        then
                ffmpeg -i "$filename" -vcodec libx264 -preset slow -crf 22 -acodec libmp3lame "$new_filename" &
                wait $!;
        fi
done

Hope someone may find this helpfull.

linux is so much fun

Offline DoxaLogos (JG)

  • Colonel
  • ****
  • Posts: 358
  • Squaddie cautiously peering through the breach
    • View Profile
Re: How to Film X-com for Free?
« Reply #18 on: March 14, 2015, 02:25:22 am »
I like a lot of things about linux... bash is not one them  ;)  Give me a real language anyday! (#!/usr/bin/python)

Offline kikimoristan

  • Commander
  • *****
  • Posts: 647
    • View Profile
Re: How to Film X-com for Free?
« Reply #19 on: March 14, 2015, 02:34:29 am »
I like a lot of things about linux... bash is not one them  ;)  Give me a real language anyday! (#!/usr/bin/python)

i enjoyed scripting in bash is easy and intuitive

Offline DoxaLogos (JG)

  • Colonel
  • ****
  • Posts: 358
  • Squaddie cautiously peering through the breach
    • View Profile
Re: How to Film X-com for Free?
« Reply #20 on: March 14, 2015, 03:00:15 am »
i enjoyed scripting in bash is easy and intuitive

That's one thing about "intuitive".  It's different for everyone.  I do not find it intuitive myself.  Of course, I'm not a master of the command line (not a newbie by any stretch either), but I think in code easier.  I feel "hampered" when I have to start using bash after working in python for so long. If I need to drop to command line, I use envoy instead.

Kudos to you though if it's intuitive for you, and I admire your skill :)

Offline vnflcards

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Re: How to Film X-com for Free?
« Reply #21 on: April 10, 2015, 09:18:55 pm »
FYI. OBS has trouble recording XCOM EW. You need to set the game to windowed mode, then use obs to record the game as a window, rather than a game. It records XCOM EU just fine in full screen.

Offline Jstank

  • Colonel
  • ****
  • Posts: 247
  • 100% Un-Professional XCOM Lets Player
    • View Profile
    • FINAL MOD PACK LP OUT SOON NOW RECRUITING! SIGN UP TODAY!
Re: How to Film X-com for Free?
« Reply #22 on: April 10, 2015, 09:24:32 pm »
I now use Open Broadcast software, and Im starting to dabble in editing with movie pad


https://obsproject.com/

https://www.nchsoftware.com/videopad/

Both can be gotten for free. Just run the earlier version of Movie Pad in comparability mode for windows 7

It comes out as a pretty decent quality.

https://www.youtube.com/watch?v=lXRKU0_Sua8&feature=youtu.be