Post subject: (PSXjin) Recommend me a good Codec to Record AVI?
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
Hello. I want to use the "Record AVI" feature from PSXjin, but I can't find a good codec for that. Every one I tried so far gave me a really bad video quality... So, can someone recommend me one that gives me perfect quality? I want to record at 480p or 720p (if possible).
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
ZMBV, Lagarith, the Camstudio codec
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
And how can I join the video with the audio? the emulator splits them.
Editor, Expert player (2079)
Joined: 6/15/2005
Posts: 3282
There are a number of programs that can join them. I think avidemux can do it. Since I tend to do some preprocessing on video, I use VirtualDub+AviSynth (though VirtualDub is quite old and can be replaced with something better). I only use avidemux for postprocessing (after x264 encoding; stuff that you don't need to worry about).
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
I'm kinda giving up on this built in AVI thing... it's too much pain for me and not worth it. So, I was trying to use FRAPS with PSXjin but when I try to record stuff, the video gets a black border around it, like this: I'm suspecting it has to do with poor resolution choices. What configurations should I use on the emulator so that FRAPS won't record with those black borders?
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
synnchan wrote:
I'm kinda giving up on this built in AVI thing... it's too much pain for me and not worth it.
Don't. It's really easy once you've done it a few times. 1. install Lagarith 2. start psxjin and load the game 3. select "File | Record AVI" 4. enter file name and record Route 1: 5. download, extract and start VirtualDub 6. load the AVI file 7. select "Audio | Other from other file..." and select the WAV file 8. edit 9. encode Route 2: 5. install Avisynth 6. open Notepad or AvsPmod and write a script like this:
v = AVISource("filename.avi")
a = WAVSource("filename.wav")
AudioDub(v, a)
7. edit script to your liking 8. encode with an encoder program, e.g. VirtualDub To encode, it's easiest to get the x264vfw codec and the Lame MP3 ACM codec. You can then select both in VirtualDub as video/audio encoders (set "full processing mode" first).
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
Okay, I'll try all of this shortly. I'm using the Camstudio codec. Take a look at this: What Algorithm should I pick? LZO or GZIP? Also, what Level should I put? Does this Level thing work for both LZO and GZIP or only for GZIP?
Editor, Experienced player (570)
Joined: 11/8/2010
Posts: 4038
If you're recording your screen (with FRAPS) use LZO. If you're re-encoding a video stream that's already saved in an AVI, use GZIP. Since the Level box is grayed-out, it looks like it will only work when you select GZIP. If you do need to use GZIP and want to set the level, lower values (closer to 1) will encode faster but produce a bigger file, while higher values (closer to 9) will encode slower but produce a smaller file. It's up to you to decide how to balance those two things. Otherwise, leave it at 6.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Just try both options with a speed-uncapped emulator (no vsync etc.) and compare the speed. (The level only applies to GZIP, afaik.) Size-wise there's probably not going to be a world of difference between them, so dumping a movie should simply be as fast as possible. The data transfer limit of the drive (HDD or SDD) you'll be writing the encode onto won't be maxed out unless you select "raw dumping" (no compression), so I simply go for the option that's easier on the CPU. In this case that's LZO.
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
Lol wuuuuut, for real? I finished recording the video with the built in AVI recorder. 1 hour and 25 minutes gave me a total of 14.4GB. (that's fine, I was expecting more) But when I tried to join everything together with the audio through virtualdub, 5 minutes of video alone gave me a total of 20GB!!!! That's really overkill. If only 5 minutes is already bigger than the whole video, then just imagine 01h/25m? My whole HD would probably not even have enough space for that. So I aborted the operation. Is there not a way to join/sync the stuff and still make it small?
Noxxa
They/Them
Moderator, Expert player (4128)
Joined: 8/14/2009
Posts: 4090
Location: The Netherlands
That huge filesize happens because VirtualDub by default encodes video with no compression at all. Do the same thing as before for the audio, and go to Video -> Compression and select your video codec of choice to compress the video with, then save to AVI as usual. EDIT: Or you can keep the video part exactly as it is by toggling on Video -> Direct stream copy, instead of Full processing mode. This saves having to spend the time re-encoding the whole video again.
http://www.youtube.com/Noxxa <dwangoAC> This is a TAS (...). Not suitable for all audiences. May cause undesirable side-effects. May contain emulator abuse. Emulator may be abusive. This product contains glitches known to the state of California to cause egg defects. <Masterjun> I'm just a guy arranging bits in a sequence which could potentially amuse other people looking at these bits <adelikat> In Oregon Trail, I sacrificed my own family to save time. In Star trek, I killed helpless comrades in escape pods to save time. Here, I kill my allies to save time. I think I need help.
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
Mothrayas wrote:
EDIT: Or you can keep the video part exactly as it is by toggling on Video -> Direct stream copy, instead of Full processing mode. This saves having to spend the time re-encoding the whole video again.
If I select Direct Stream Copy, will virtualdub still join all .avis into a single one, or keep them separated? Because if they do the latter, I don't see a reason for trying this out.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
It'll create one file.
xRavenXP
He/Him
Joined: 4/15/2012
Posts: 116
Location: Brazil
Good codecs? I use VirtualDUB and meGUI with this codecs: Lagarith Loseless Codec, Techsmith, Nero AAC Amiga Audio, x264
I love games and love to record videos (longplays). Visit my Youtube channel https://www.youtube.com/user/xRavenXP
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
I use - recording: CamStudio / ZMBV / Lagarith (in that order) - editing: Avisynth - subtitles: Aegisub - encoding video: VirtualDubMod+x264vfw / x264 - encoding audio: Lame MP3 (others might be better but the size gain is negligible imo) directly or from VirtualDubMod (via the ACM codec version) - muxing to MKV: mkvmerge GUI
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
Woah, thank you so much guys. I got stuff working now. This method is 1000x times better than lame Fraps. Everything turned out lag-less, with good quality and audio synced. The size also turned out only 1.93GB which is decent enough for me to upload to youtube.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
How long is that movie? EDIT: Oh wait, you said 01:25:00.
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
I'd like to take the opportunity to ask something. Which codec gives the better quality? Camstudio's LZO or Lagarith?
Skilled player (1177)
Joined: 5/11/2011
Posts: 427
Location: China
synnchan wrote:
I'd like to take the opportunity to ask something. Which codec gives the better quality? Camstudio's LZO or Lagarith?
They are all lossless code with RGB24. So they have the same quality. Most times, cam's size is samller than lagarith.
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
So... I tried to upload my new .mp4's to youtube, but I got this error: "The video has failed to process. Please make sure you are uploading a supported file type." It's the first time this happens to me. Anyone got a similar problem while trying to upload videos made through PSXjin's .avi recorder?
Guga
He/Him
Joined: 1/17/2012
Posts: 838
Location: Chile
It would be the best to avoid uploading .mp4's to YouTube, even when this one suggests it. Encoders usually upload using .mkv
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
Can you recommend any good .avi to .mkv converting software?
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
Ok. I've tried 4 different converters so far: Handbrake, VidCoder, Total Video Converter and Format Factory Handbrake simply crashes upon selecting a big .avi file for conversion, so I probably can't do much about it. VidCoder gives me an "Assertion Failure" error: Total Video Converter turns the video upside down (lol) upon conversion and lowers down the quality a lot, causing image artifacts to appear everywhere. Format Factory is the only one that converts fine, but the .mkv's it creates are HUGE. (3:17GB for a 01:06:39 video). So I can't upload such a big file with my low internet speed. ...So, can't anyone help me, really? I'm having trouble to find something good.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Just install MKVToolnix and use its MKVMerge GUI. It "muxes" the data streams from one container (AVI) to another container (MKV) without changing them. The programs you listed probably tried to re-encode the video data... which of course produced wildly different results because each has different default settings.
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
Sorry for the late response, but I don't want to mux my .avis into .mkv. Doing so will keep the same size as the .avi. What I want to do is convert to .mkv AND decrease the file size at the same time so I can upload it to youtube. I can't upload insanely big files with my lame 400 kbps upload speed.