Video recording script for FFmpeg

Post anything about MX Simulator here. Please. I'm begging you.
jlv
Site Admin
Posts: 15122
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Video recording script for FFmpeg

Post by jlv »

ehm24 wrote:Alright, what if I get a better graphics card like a GTX570 and/or a better processor? Should I get both or which one?
I don't think ffmpeg can use the GPU for encoding yet, so it's all on the CPU. It might help to add "-threads 4" to ffmpeg's command line options if you're on a quad core CPU.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
ehm24
Posts: 1556
Joined: Wed Jan 26, 2011 2:12 am
Team: Used to be Factory
Location: San Diego, CA

Re: Video recording script for FFmpeg

Post by ehm24 »

Alright thanks JLV I'll try it out :)
Image
dboivin
Posts: 65
Joined: Thu Mar 15, 2012 12:08 am
Team: Privateer

Re: Video recording script for FFmpeg

Post by dboivin »

had same issue. records in slow mo...output file was nice tho. thanks for howto/script.
ehm24
Posts: 1556
Joined: Wed Jan 26, 2011 2:12 am
Team: Used to be Factory
Location: San Diego, CA

Re: Video recording script for FFmpeg

Post by ehm24 »

none of the functions work with this I tired to use "/addkey" and it didn't do anything, maybe it needs an update?
Image
seely200
Posts: 94
Joined: Sun Sep 05, 2010 7:31 pm
Team: SplitFire Kawasaki

Re: Video recording script for FFmpeg

Post by seely200 »

when i record it and want to open it and watch the video it is just black screen :(
Pumaxcs
Posts: 13226
Joined: Sat Dec 15, 2007 11:50 pm
Team: Kyle/Luiz
Location: Western, Kentucky

Re: Video recording script for FFmpeg

Post by Pumaxcs »

So I tried this and the recording works fine and gives me a .avi but, when i click to play it it says there was an error. Which one of those plug-ins would I need to fix it?
Image
Everytime you post something stupid, a baby gets punched in the face. Please be smart, for the children.
MXS Cares
jlv wrote: Thu Nov 05, 2020 1:09 am Pumaxcs would know better than I do.
jlv
Site Admin
Posts: 15122
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Video recording script for FFmpeg

Post by jlv »

x264vfw is for H.264 videos. huffyuv is for huffyuv. ffdshow should play both.

The script defaults to H.264.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
SCHAFFERNOCKER
Posts: 559
Joined: Thu Dec 02, 2010 2:33 am
Team: blank

Re: Video recording script for FFmpeg

Post by SCHAFFERNOCKER »

Anyone able to use the .avi file produced from this in CS5 Adobe Premier?

When I drag and drop, the file only loads sound, no video? Do I need a plugin for premier? Also, what do I do with the codecs once I have downloaded them? Put them in the ffmpeg folder?
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 »

Pumaxcs wrote:So I tried this and the recording works fine and gives me a .avi but, when i click to play it it says there was an error. Which one of those plug-ins would I need to fix it?
As jlv said. WMP won't be able to play them (I use virtual dub to open them (huffyuv), then save them as an uncompressed avi and then WMP can play them, but since they're so large, WMP lags badly).
SCHAFFERNOCKER wrote:Anyone able to use the .avi file produced from this in CS5 Adobe Premier?

When I drag and drop, the file only loads sound, no video? Do I need a plugin for premier? Also, what do I do with the codecs once I have downloaded them? Put them in the ffmpeg folder?
The H.264 should be an installer, there's instructions on how to install the huffyuv codec in the link provided in the first post.
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
ABarry54
Posts: 89
Joined: Mon Feb 08, 2010 7:31 am
Team: Barry Motorsports

Re: Video recording script for FFmpeg

Post by ABarry54 »

For some reason it won't load the skins when I run it through the recording program. It is fine when I play back the demo in the normal sim. Any ideas anyone?
KTM57
Posts: 13863
Joined: Wed Jul 07, 2010 2:42 am
Location: TX
Contact:

Re: Video recording script for FFmpeg

Post by KTM57 »

What's a good audio codec to be using for this? I've tried installing and using ac3 and it doesn't seem to work. My video file is about 30 MB and the noaudio file is 6 GB. :lol:

I'll download those in the OP, but I think I already have them and they're all video codecs. Please help!
This is a block of text that can be added to posts you make. There is a 255 character limit.
jlv
Site Admin
Posts: 15122
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Video recording script for FFmpeg

Post by jlv »

Do you have that backwards as far as the sizes go? The noaudio file doesn't have an audio track. ac3 should be fine for the audio codec.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
KTM57
Posts: 13863
Joined: Wed Jul 07, 2010 2:42 am
Location: TX
Contact:

Re: Video recording script for FFmpeg

Post by KTM57 »

No, it's not backwards. I think the video file is messed up because of the problem with the audio codec. I just need to know which codec to install and use.
This is a block of text that can be added to posts you make. There is a 255 character limit.
jlv
Site Admin
Posts: 15122
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Video recording script for FFmpeg

Post by jlv »

The ac3 encoder is built in to ffmpeg. Are you seeing any error messages?
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
KTM57
Posts: 13863
Joined: Wed Jul 07, 2010 2:42 am
Location: TX
Contact:

Re: Video recording script for FFmpeg

Post by KTM57 »

Nope. I'll have to try it again later tonight.
This is a block of text that can be added to posts you make. There is a 255 character limit.
Post Reply