HOWTO Video capture with Fraps and encode! - Page 4 - Creative Contraptions - WarpPortal Community Forums

Jump to content


Photo
* * * * * 1 votes

HOWTO Video capture with Fraps and encode!


  • This topic is locked This topic is locked
155 replies to this topic

#76 Freja

Freja

    Too Legit To Quit

  • Members
  • 2769 posts
  • LocationScandinavia
  • Playing:Nothing

Posted 10 August 2010 - 02:24 AM

Wouldn't it be simpler to just take the raw .avi file from FRAPS and drop it into Windows Movie Maker?:unsure:

Would you rather spend minutes using Windows Movie Maker (for each FRAPS file), or about 1 second to drop one or more file(s) onto a batch script? ^^
  • 0

#77 EphraimWitchwood

EphraimWitchwood

    Amateur Blogger

  • Members
  • 364 posts
  • LocationAt my computer. Like, all the time.
  • Playing:Nothing

Posted 10 August 2010 - 02:48 AM

Would you rather spend minutes using Windows Movie Maker (for each FRAPS file), or about 1 second to drop one or more file(s) onto a batch script? ^^


Hmmm...you raise a good point. Though, that leaves Requiem maintenance as my only practice in patience. :unsure:

Edit: Mcafee says the Mplayer. be dangerous. o.o

Edited by EphraimWitchwood, 10 August 2010 - 02:52 AM.

  • 0

#78 Salubri

Salubri

    Too Legit To Quit

  • Members
  • 1305 posts
  • LocationCancun, Quintana Roo, Mexico
  • Playing:Nothing
  • Server:-_- YOU GRAVITY

Posted 10 August 2010 - 04:12 AM

:unsure: you use Mcafee, you are reckless!
  • 0

#79 Freja

Freja

    Too Legit To Quit

  • Members
  • 2769 posts
  • LocationScandinavia
  • Playing:Nothing

Posted 10 August 2010 - 04:25 AM

Edit: Mcafee says the Mplayer. be dangerous. o.o

MPlayer is dangerously fast, lightweight and compatible. That's probably why =.=...

I honestly don't know, I've stopped using anti-virus/malware/adware software.

Does Mcafee says why it is dangerous? Perhaps it is just trying to be useful in some way.
  • 0

#80 Ricky

Ricky

    I am New.

  • Members
  • 7 posts

Posted 10 August 2010 - 06:00 AM

The name of those avi videos recorded by FRAPS also includes the record date.

I tried to drag the avi video to the FEED-ME-FILES.cmd like what you did, but FEED-ME-FILES.cmd said couldn't find the video (written in the command prompt) .

So I just edit the name of the video: delete the record date.

Then FEED-ME-FILES.cmd could find the video, but the size of encoded video is 0 bytes.

So I wanna ask how can you solve this problem.

Thanks
  • 0

#81 Freja

Freja

    Too Legit To Quit

  • Members
  • 2769 posts
  • LocationScandinavia
  • Playing:Nothing

Posted 10 August 2010 - 01:41 PM

The name of those avi videos recorded by FRAPS also includes the record date.

I tried to drag the avi video to the FEED-ME-FILES.cmd like what you did, but FEED-ME-FILES.cmd said couldn't find the video (written in the command prompt) .

So I just edit the name of the video: delete the record date.

Then FEED-ME-FILES.cmd could find the video, but the size of encoded video is 0 bytes.

So I wanna ask how can you solve this problem.

Thanks

Yes, XRay had a similar problem too. It happens because there are one or more spaces in the filename, it has nothing to do with different dates. I solved it back then, and updated the FEED-ME-FILES.cmd so it should still work...

Can you write down exactly what the command prompt says?
  • 0

#82 Juush

Juush

    Too Legit To Quit

  • Members
  • 1843 posts
  • LocationRozen, Ethergia
  • Playing:Nothing
  • Server:bdubs

Posted 10 August 2010 - 01:51 PM

Wouldn't it be simpler to just take the raw .avi file from FRAPS and drop it into Windows Movie Maker?:)

She doesn't use Windows =o
  • 0

#83 Jybwee

Jybwee

    I made it Off Topic

  • Members
  • 16 posts

Posted 10 August 2010 - 03:13 PM

i downloaded fraps recently and started testing how bad o hit i take in games, it's really freakin bad. Ok, i'm at 1920x1080 and would like to get some good quality outta my videos. So anyway for requiem i'll be at 150+fps in windowed, record at 30fps full-size and BAM i'm jumping all over the place and a good amount of the time i'm under 15fps :) lagging left and right.. and basically unplayable. I have a 5970 so it's only using 1 gpu in windowed.. so i go to full-screen (aka vsync so 60fps) and try to record and same thing.. tho more often than not the game will just crash. This is the worst i've seen so far, but i take a damn good chunk outta my fps in any game i play. Anywho, my question is how big of a impact does the harddrive have on recording - is that where my problem is?, i just have a regular 7200rpm HD nothin special. If i get a SSD will i see a huge difference? kinda been looking into them anyway.

edit: btw if i record at "half size" it is a noticeably smaller hit i take in fps and becomes playable but the quality sucks.. but this too makes me think it's the harddrive (or write speed specifically)

Edited by Jybwee, 10 August 2010 - 03:15 PM.

  • 0

#84 Freja

Freja

    Too Legit To Quit

  • Members
  • 2769 posts
  • LocationScandinavia
  • Playing:Nothing

Posted 10 August 2010 - 03:50 PM

i downloaded fraps recently and started testing how bad o hit i take in games, it's really freakin bad. Ok, i'm at 1920x1080 and would like to get some good quality outta my videos. So anyway for requiem i'll be at 150+fps in windowed, record at 30fps full-size and BAM i'm jumping all over the place and a good amount of the time i'm under 15fps :( lagging left and right.. and basically unplayable. I have a 5970 so it's only using 1 gpu in windowed.. so i go to full-screen (aka vsync so 60fps) and try to record and same thing.. tho more often than not the game will just crash. This is the worst i've seen so far, but i take a damn good chunk outta my fps in any game i play. Anywho, my question is how big of a impact does the harddrive have on recording - is that where my problem is?, i just have a regular 7200rpm HD nothin special. If i get a SSD will i see a huge difference? kinda been looking into them anyway.

edit: btw if i record at "half size" it is a noticeably smaller hit i take in fps and becomes playable but the quality sucks.. but this too makes me think it's the harddrive (or write speed specifically)

I'm playing in 1440x900 @ 29.97fps with Fraps. When I record my harddrive reaches 25mb/sec in write speed. I haven't checked what the top write speed might be, but I'm pretty sure it is only 30mb/sec since I'm using this old 7200rpm IDE-disk.

I would try a lower resolution or perhaps get a new harddrive. You don't need a SSD-disk for that though. They are not THAT good at write speeds anyway.

Besides, 1920x1080 (Full HD) is overkill in a game like Requiem :)

edit: Oh, I almost forgot. Check if you have any programs that might be
1. Scanning files that are currently in use (Anti-virus software usually does that)
2. System Restore stuff or other programs or background services that might be saving "system restore points" or whatever it is called.
3. Basically anything that might be interfering with the harddrive.

If you have any of those, deactivate them.

Edited by Freja, 10 August 2010 - 03:53 PM.

  • 1

#85 Jybwee

Jybwee

    I made it Off Topic

  • Members
  • 16 posts

Posted 10 August 2010 - 04:06 PM

edit: Oh, I almost forgot. Check if you have any programs that might be
1. Scanning files that are currently in use (Anti-virus software usually does that)
2. System Restore stuff or other programs or background services that might be saving "system restore points" or whatever it is called.
3. Basically anything that might be interfering with the harddrive.

If you have any of those, deactivate them.


oh wow, never even thought of that.. Avast had "scan files while writing" on.. Windowed is playable!! awesome, ty much. Full screen still likes to crash tho :)
  • 0

#86 Freja

Freja

    Too Legit To Quit

  • Members
  • 2769 posts
  • LocationScandinavia
  • Playing:Nothing

Posted 10 August 2010 - 04:21 PM

oh wow, never even thought of that.. Avast had "scan files while writing" on.. Windowed is playable!! awesome, ty much. Full screen still likes to crash tho :(

Yeah, Requiem always crash in full screen. Has nothing to do with anything except Requiem itself!

And you're welcome! Share some of your vids if you like :)
  • 0

#87 Freja

Freja

    Too Legit To Quit

  • Members
  • 2769 posts
  • LocationScandinavia
  • Playing:Nothing

Posted 10 August 2010 - 04:25 PM

She doesn't use Windows =o

I do while gaming :3
  • 0

#88 Jybwee

Jybwee

    I made it Off Topic

  • Members
  • 16 posts

Posted 10 August 2010 - 04:35 PM

And you're welcome! Share some of your vids if you like :)

and i shall - nothing special here but still amazing in my eyes.. such a simple fix.. such a huge difference

http://www.youtube.com/watch?v=D-Y8G3DZ1wA
go to youtube and watch in HD :()

tis like night and day.. thx again!!!

edit: oh, if ya go to my videos you can see my first Requiem (crap quality but best i could do) fraps test.

Edited by Jybwee, 10 August 2010 - 04:53 PM.

  • 0

#89 Ricky

Ricky

    I am New.

  • Members
  • 7 posts

Posted 10 August 2010 - 04:38 PM

Yes, XRay had a similar problem too. It happens because there are one or more spaces in the filename, it has nothing to do with different dates. I solved it back then, and updated the FEED-ME-FILES.cmd so it should still work...

Can you write down exactly what the command prompt says?


Posted Image

After I dragged the avi file to the FEED-ME-FILES.cmd

Posted Image


So I wonder what the problem is?

Thanks
  • 0

#90 Freja

Freja

    Too Legit To Quit

  • Members
  • 2769 posts
  • LocationScandinavia
  • Playing:Nothing

Posted 10 August 2010 - 05:04 PM

So I wonder what the problem is?

Thanks

Right click FEED-ME-FILES.cmd and choose Edit

It should look like this exactly:
@echo off
"%~dp0mencoder.exe" "%1" -o "%1.x264-encoded.avi" -ovc x264 -oac mp3lame -lameopts cbr:br=128 -vf eq=0:10
pause

edit: fixed

Edited by Freja, 10 August 2010 - 05:05 PM.

  • 0

#91 Ricky

Ricky

    I am New.

  • Members
  • 7 posts

Posted 10 August 2010 - 05:21 PM

Right click FEED-ME-FILES.cmd and choose Edit

It should look like this exactly:

@echo off
"%~dp0mencoder.exe" "%1" -o "%1.x264-encoded.avi" -ovc x264 -oac mp3lame -lameopts cbr:br=128 -vf eq=0:10
pause

edit: fixed


Ok I edited the FEED-ME-FILES.cmd and it had the same problem still.

So I renamed the avi file to 6.avi

Posted Image

then it can be encoded, but

Posted Image

and the encoded video is 0 bytes.

Posted Image


I don't know why the encoded video is 0 bytes.
  • 0

#92 Freja

Freja

    Too Legit To Quit

  • Members
  • 2769 posts
  • LocationScandinavia
  • Playing:Nothing

Posted 10 August 2010 - 05:30 PM

I don't know why the encoded video is 0 bytes.

Hmm that's strange. That's not a file from Fraps, is it? Can you check if MPlayer can play the file? Just drag the file to mplayer.exe instead and see if starts playing.

The reason why you had to rename the file was because the FEED-ME-FILES.cmd was missing quotes, signs like these:
"

So make sure there really are quotes in the FEED-ME file!

edit: And it looks like the batch file doesn't finish, which makes me believe that MEncoder frooze... If it finish encoding it should print "Press any key to continue..." (even if it fails)

Edited by Freja, 10 August 2010 - 05:32 PM.

  • 0

#93 Ricky

Ricky

    I am New.

  • Members
  • 7 posts

Posted 10 August 2010 - 06:06 PM

Hmm that's strange. That's not a file from Fraps, is it? Can you check if MPlayer can play the file? Just drag the file to mplayer.exe instead and see if starts playing.

The reason why you had to rename the file was because the FEED-ME-FILES.cmd was missing quotes, signs like these:

"

So make sure there really are quotes in the FEED-ME file!

edit: And it looks like the batch file doesn't finish, which makes me believe that MEncoder frooze... If it finish encoding it should print "Press any key to continue..." (even if it fails)


yes it can be played by Mplayer.

And I think you are right. It is the problem of the quotation "

Now my avi videos can be encoded after I re-typed all the quotation " for the FEED-ME-FILES.cmd.

Thanks a lot.

And one more thing. How do you write this piece of code? Is that from C++, java or any other languages?
  • 0

#94 Freja

Freja

    Too Legit To Quit

  • Members
  • 2769 posts
  • LocationScandinavia
  • Playing:Nothing

Posted 10 August 2010 - 06:17 PM

yes it can be played by Mplayer.

And I think you are right. It is the problem of the quotation "

Now my avi videos can be encoded after I re-typed all the quotation " for the FEED-ME-FILES.cmd.

Thanks a lot.

And one more thing. How do you write this piece of code? Is that from C++, java or any other languages?

Nope, that is only a batch script
http://en.wikipedia....wiki/Batch_file


You're welcome! :)
  • 0

#95 Ricky

Ricky

    I am New.

  • Members
  • 7 posts

Posted 10 August 2010 - 06:47 PM

Do you have any idea how to remove the fps mark(the yellow number in top left)?

Because I don't want to have the fps number in the video.

Thanks again
  • 0

#96 Freja

Freja

    Too Legit To Quit

  • Members
  • 2769 posts
  • LocationScandinavia
  • Playing:Nothing

Posted 10 August 2010 - 07:15 PM

Do you have any idea how to remove the fps mark(the yellow number in top left)?

Because I don't want to have the fps number in the video.

Thanks again

Open Fraps -> FPS -> Check the radio button for "Overlay Corner" to "Disabled"
  • 0

#97 EphraimWitchwood

EphraimWitchwood

    Amateur Blogger

  • Members
  • 364 posts
  • LocationAt my computer. Like, all the time.
  • Playing:Nothing

Posted 10 August 2010 - 07:27 PM

It shouldn't show up in the video, at least, it doesn't for me. >.>
  • 0

#98 Freja

Freja

    Too Legit To Quit

  • Members
  • 2769 posts
  • LocationScandinavia
  • Playing:Nothing

Posted 10 August 2010 - 07:29 PM

It shouldn't show up in the video, at least, it doesn't for me. >.>

It doesn't show up in my videos either, but on some computers it does for some reason :s
  • 0

#99 EphraimWitchwood

EphraimWitchwood

    Amateur Blogger

  • Members
  • 364 posts
  • LocationAt my computer. Like, all the time.
  • Playing:Nothing

Posted 10 August 2010 - 07:40 PM

It doesn't show up in my videos either, but on some computers it does for some reason :s


Older version of FRAPS? O.o
  • 0

#100 Freja

Freja

    Too Legit To Quit

  • Members
  • 2769 posts
  • LocationScandinavia
  • Playing:Nothing

Posted 10 August 2010 - 07:43 PM

Older version of FRAPS? O.o

Maybe!
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users