Dec. 22nd, 2016

butthurtnoona: (Default)
Well... [livejournal.com profile] minamiangel asked me about encoding, and since I was afraid it will get too long and confusing, so I made this post. Hope it can help those who want to hardsub or encode a raw file.

I've been using a lot of software since way back, including winXHD (my earliest software converter), freemake, handbrake, avidemux, meGUI, xvid4psp, virtual dub, including all the joiner and cutter software like mkv cutter, mp4 splitter, mp4 joiner and some other software I tried out. I'm going to make a tutorial about the software I've used, free, and easy.
First, since [livejournal.com profile] minamiangel used it for hardsub so I'll talk about it. I first used virtual dub to hardsub stuff (before [livejournal.com profile] sweet_pleione told me to use xvid4psp which is what I'm going to make a tutorial next). Virtual dub, need some external dll file like textsub, and if your raw source is in mkv or mp4 it also need another external dll since I think it only accepted avi (and ts?). At least that was the case when I used it years ago. Virtual dub, give a big file with standard quality (being an avi as result), even if the result is good the file will ended up big. My motto to encode is trying to convert the file as small as possible with the best quality, haha.

So, now to xvid4psp 5, It's the best encoding software I used so far for both encoding hardsub and raw. Not that it's perfect but I still think the quality is the best with the smallest possible size. The main flaw is it might take a really long time if your pc is just standard or low in specs. If you have high RAM and other specs with your pc, don't worry it get faster or you can adjust the setting. But it gives good result because it works slow lol.

You can download xvid4psp 5.10.346, I forgot where I downloaded it. There is 7 series but I think this one is better, since people say so. You can try downloading here (it has few update, but I haven't update mine) or you can try googling around. After you are done with the installation, the appearance is like this, make sure yours is the same.

xvid1.JPG

now, click open button (or you can choose from file menu). You can pick one file or you can pick multiple files at once.

It can read most of all video type, mkv, mp4, avi, ts, mpeg, flv, etc. But make sure the title file is in romaji because it can't read title with chinese and japanese character.



If you plan to encode only one file, click one of the file. Please note, if the file is ts or mpeg, it will takes sometime to load (the longer the duration, the longer the loading). But for mkv and mp4 it won’t take long.



The result is like this, the queue for encoding will be in the red box, if you put one file it won’t move to queue list if you didn’t put it (File-> Add task…-> choose the destination folder), so beware if you are going to load another file because the previous one might not in queue and gone if you didn’t put it in queue



If you are loading multiple files, they will automatically added to list, but first please assigned the destination folder for multiple list



Now to encode…
As you from the caps before above, the resolution is 1440x880, it’s the default when you load a ts with 1440 x 1080 resolution. You can change it in video menu Resolution/Aspect.



You can change the output aspect, but better let it be the same with input aspect. I usually use 16:9 aspect ratio. I never use the rest of the setting but if you want to do some cropping or give black border, you can give value to each of the button.
You can change the fps if you want (but I don’t recommend since it tend to make the video and audio become out of sync, or maybe because I didn’t set it right). You can change it in video-> interlace/framerate



Now, you can choose which container you want to make, mkv, mp4, avi. In xvid4psp there are a lot of version for some phone, Nintendo, bluray, ts, etc. You can choose from the dropdown


(the capture somehow couldn't load the video in the preview! sorry!)

Or choose the gear icon, beside it if you want to make your own setting. I don’t recommend if you don’t know the right setting (and I never use it)
I never use filtering and color correction, so I always set it as ‘disable’
The video encoding, you can choose from the many choice in the dropdown or you can make your own setting by clicking the gear icon. I always encode to x264. You can try encoding to x265 but it will take longer although the quality should be better compare to x264. But some people still couldn’t load x265 properly in their pc (x265 makes the pc work harder despite how good the file was with really small size X”D)



I always use custom, in encoding mode I use constant quality since I’m going to use CRF. The CRF is the main factor which will make your output file good, big or not. When I encoded from a ts files or HD mkv/mp4 files or a good bluray files, I always use CRF=25 because it already give good files (you can check my encode, most of them were encoded with this setting). But if your raw source is not so good, you might want to lower the CRF (the bigger the CRF, the quality is lower and the size lower). When I encoded from dvd rip, I usually use 20/21 (480p) or 23 (720p) because dvd rip quality has its limit (but if your resolution is 1280x720 and you use CRF 20, it might give big file as well)
I set the profile to auto(high) so it could maintain the high quality of the raw source. You can change it to other setting of course.
For level I used unrestricted, means the software will decide whether to use which level according to the file (usually resolution? If resolution is 720p or higher, it’s always level 4). You can pick level 4, standard for high quality. Sometime 3.1 is good as well (depend of the raw source).
For tune, I used animation (or you might want to change it to film)
Because it used CRF, the result always depend on the content of the videos. Videos with bright content and a lot of color (and some other variables I still didn’t know) will make the file get bigger. I think it’s okay since it maintain the quality.
You can change the codec preset to fast, very fast, ultrafast or even slow. I usually use medium (that’s why I said it will take a long time if your pc is not with good specs). The faster you set, the faster the encoding, the bigger the file and the quality is not that good. The slower, the quality is higher and file is smaller but I think very fast is nice too (again depend on the videos)
I didn’t change the rest of the sub video menu so you can leave it or try changing it just to see the result.
And then the audio… again you can choose from the dropdown. I choose AAC-LC ABR 192k, if you think the audio isn’t good you can set it higher in the bitrate



For adding sub, you can choose subtitle menu -> add



Once, you put it in, you can check the result (if the result would be good or not by playing it)



Now, you just have to click encode and wait for it to finish.

If you want to cut some frame (because there’s cm or stuff) you can trim it, but it only works for beginning and the end of vid so if you want to cut the middle part you have to open multiple same file and trim them accordingly.
To cut, you can use the slider, to find the exact frame you want to remove, once you find it, click set start (and set end if you trim the end of the file) and then click apply trim.

The good thing about xvid4psp is there are other tools you can use, such as virtual dub, mkv merge and if you know about avisynth, you can make your own script.

Sometime, if your raw is a ts and there are glitch, the output will have out of sync video. When that happened I always use handbrake. Handbrake use CRF as well, so the setting is about the same. It just I think handbrake result is not as good as xvid4psp.
Another software for hardsub is meGUI, I rarely use this but you can make a embedded softsub if you encode it to mkv (it’s not softsub but it’s include in the file, you can enable and disable it). If you want to make hardsub, you just need to encode it to mp4. My meGUI is acting up so I’m not going to make the tutorial.

That’s it, hope it help \o I'm a bit dizzy at the moment, so I'm sorry if there are not clear stuff, just ask me if you have question.

Profile

butthurtnoona: (Default)
butthurtnoona

June 2017

S M T W T F S
     123
45678910
11121314151617
18192021222324
252627282930 

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 25th, 2017 08:28 pm
Powered by Dreamwidth Studios