Video recording script for FFmpeg

Post anything about MX Simulator here. Please. I'm begging you.
Post Reply
Johansson809
Posts: 105
Joined: Mon Jun 18, 2012 2:55 pm
Location: Sweden

Re: Video recording script for FFmpeg

Post by Johansson809 »

Plzz update so it records in HD.
Image
skinner!!
KTM57
Posts: 13865
Joined: Wed Jul 07, 2010 2:42 am
Location: TX
Contact:

Re: Video recording script for FFmpeg

Post by KTM57 »

It does record in HD. You just have to set the resolution.
This is a block of text that can be added to posts you make. There is a 255 character limit.
yzmxer608
Posts: 15352
Joined: Mon Dec 29, 2008 4:30 am
Team: SYS
Location: Wisconsin, U.S.A

Re: Video recording script for FFmpeg

Post by yzmxer608 »

Just change the resolution in the mxavi.bat next to 'set xres' and 'set yres' to whichever HD res you want.
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
Johansson809
Posts: 105
Joined: Mon Jun 18, 2012 2:55 pm
Location: Sweden

Re: Video recording script for FFmpeg

Post by Johansson809 »

where do I find mxavi.bat
Image
skinner!!
Johansson809
Posts: 105
Joined: Mon Jun 18, 2012 2:55 pm
Location: Sweden

Re: Video recording script for FFmpeg

Post by Johansson809 »

Johansson809 wrote:where do I find mxavi.bat
Okay I find it but where do a change resolution
Image
skinner!!
yzmxer608
Posts: 15352
Joined: Mon Dec 29, 2008 4:30 am
Team: SYS
Location: Wisconsin, U.S.A

Re: Video recording script for FFmpeg

Post by yzmxer608 »

yzmxer608 wrote:'set xres' and 'set yres' to whichever HD res you want.
Edit the batch file with a text editor.
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
Johansson809
Posts: 105
Joined: Mon Jun 18, 2012 2:55 pm
Location: Sweden

Re: Video recording script for FFmpeg

Post by Johansson809 »

Okay thanks.
Image
skinner!!
Johansson809
Posts: 105
Joined: Mon Jun 18, 2012 2:55 pm
Location: Sweden

Re: Video recording script for FFmpeg

Post by Johansson809 »

How can i fix so it not lagg when I record in HD.
http://www.youtube.com/watch?v=lcGNN7-NuMM&feature=plcp
Image
skinner!!
KTM57
Posts: 13865
Joined: Wed Jul 07, 2010 2:42 am
Location: TX
Contact:

Re: Video recording script for FFmpeg

Post by KTM57 »

I have no idea WTF is happening. What kind of processor and video card do you have? It just might not be capable of recording at that resolution.
This is a block of text that can be added to posts you make. There is a 255 character limit.
Johansson809
Posts: 105
Joined: Mon Jun 18, 2012 2:55 pm
Location: Sweden

Re: Video recording script for FFmpeg

Post by Johansson809 »

KTM57 wrote:I have no idea WTF is happening. What kind of processor and video card do you have? It just might not be capable of recording at that resolution.
I have a geforce GTX 550 it and a intel core i5 2400 3,30 Ghz
Image
skinner!!
KTM57
Posts: 13865
Joined: Wed Jul 07, 2010 2:42 am
Location: TX
Contact:

Re: Video recording script for FFmpeg

Post by KTM57 »

Weird. Wouldn't know, then.
This is a block of text that can be added to posts you make. There is a 255 character limit.
Johansson809
Posts: 105
Joined: Mon Jun 18, 2012 2:55 pm
Location: Sweden

Re: Video recording script for FFmpeg

Post by Johansson809 »

Okay
Image
skinner!!
KTM57
Posts: 13865
Joined: Wed Jul 07, 2010 2:42 am
Location: TX
Contact:

Re: Video recording script for FFmpeg

Post by KTM57 »

Any word on why my PC might not want to record audio? The video files are completely useless and I want to make a video with sound using this to record. It's a custom built PC, so I may just need to install something, but it would be nice to have the function working.
This is a block of text that can be added to posts you make. There is a 255 character limit.
Stickerz
Posts: 984
Joined: Thu Feb 17, 2011 12:02 pm
Team: N/A

Re: Video recording script for FFmpeg

Post by Stickerz »

The script doesn't care what hardware you have, it goes frame by frame, take pictures (essentially), then compiles it into a video, so, if you have really shitty hardware then it would take forever to record, but would be a perfect video, I did that on my laptop lol, took like 45 minutes to record a 3 minute ride with max settings :lol:


Only thing I can think of is check the input and output fps (I think) and make sure they (I believe) are the same value... for example, if the input fps is set to 30 (pretty smooth video) set the output to 30 as well, if you set the output higher (i.e. 60fps output) then when you watch the video, it will be twice normal speed, and vice versa... But don't set the input to anything less than 30 for recording videos, anything less is noticeably choppy...
KTM57
Posts: 13865
Joined: Wed Jul 07, 2010 2:42 am
Location: TX
Contact:

Re: Video recording script for FFmpeg

Post by KTM57 »

I know what it is. I'm just trying to figure out why the audio recording works on my laptop, but not my desktop.
This is a block of text that can be added to posts you make. There is a 255 character limit.
Post Reply