GTAStunting

General => Video Editing/Compression => General Discussion => Video Editing Tutorials => Topic started by: Daffy on September 12, 2007, 04:13:50 AM

Title: Tutorial: Matroska x264 Encoding 2.3
Post by: Daffy on September 12, 2007, 04:13:50 AM
Important:
Each time the tutorial has been updated, you should download the "additional files" again to be able to use the most recent version of the tutorial properly.


0: Preparations.
Now in order to be able to use this guide you will need to download some software.
MeGUI (http://sourceforge.net/projects/megui/) (IMPORTANT: read and follow the instructions)
Mkvtoolnix (http://www.bunkus.org/videotools/mkvtoolnix/downloads.html)
AviSynth 2.6.0 (Download the most recent version.) (http://sourceforge.net/projects/avisynth2/files/AviSynth_Alpha_Releases/)
Lagarith (http://lags.leetcode.net/codec.html)
Additional Files (https://www.dropbox.com/s/bc39w3d2dc8vbae/Matroska%20x264%20Encoding.zip?dl=0)

1: Source Files.
Render the video and audio separately, render the audio as a .mp3/.flac or the format of your preference.

Then the video as a lossless .avi-file using the Lagarith codec.

2: AviSynth Script.
It's recommend that you put the rendered ".avi" on the root of the HDD so the path to it is for example "C:\video.avi"

Open Notepad or AvspMod (https://avspmod.github.io/) and copy this in:
Code: [Select]
DirectShowSource("C:\video.avi")
Spline64Resize(1280,720)
Converttoyv12()
l = gradfun2dbmod(1.4)
c = gradfun2dbmod(2.2).addgrainc(0.0,1.0)
mt_merge(l,c,c,y=2,chroma="copy second")

- Line 1: Fill in the correct location and filename for the lossless ".avi" you just rendered.
- Line 2: Fill in the correct resolution, for non-resized versions (ex. 1080p source to 1080p encode insert a "#" at the beginning of the line to disable resizing.
- Do not touch the other lines.

Check the preview if you used AvspMod to check that the script works.
Press Ctrl+S and save the script.

3: MeGUI.
Open the "Additional Files" from the top before you open MeGUI and do this.
Place "x264_dp_ Optimized x264 Settings.xml" file in the "MeGUI\allprofiles\x264" folder.
Place the files inside the "AviSynth Filters" folder in the "AviSynth\plugins" folder.

Now open MeGUI and drag'n drop the AviSynth Script onto the AviSynth Script field, a preview should show up to confirm that your video has been found and can be encoded, close this.
Select the "MKV" as file format and then Click the "Config" button.
Now check the "Show Advanced Settings" option and, select the "Optimized x264 settings" profile I included under presets.
Make sure the encoding mode is set to Constant Quality and the value is between 18-20 set (18 = better quality but bigger file).
Proceed to the second tab titled Frame-Type.


Set the correct number of reference frames, use the chart below to see how many you should use.
Code: [Select]
1920x1200 or less: 3
1920x1080 or less: 4
1280x720 or les: 9

When you have done that you can click Ok at the bottom of the tab as you're done configuring.
Press Enqueue tell MeGUI that the video is ready for encoding, go to the Queue tab and press Start at the bottom to start the encode.
Close MeGUI when it's done.

4: Muxing.
Once your video is encoded and your .mkv is ready, open mkvtoolnix up.
Import the video and then the audio, as a rule of thumb you should always import the .mkv first.
Give it a new filename and click Start Muxing and close Mkvtoolnix when it's done.
That's it, enjoy your new video with the best possible quality.






Change-Log:
2.3
Improvements:
- Huffyuv is replaced with Lagarith for rendering the lossless .avi
- Some links are updated.

2.2
Improvements:
- Bitrate values has been replaced by a Constant Quality value to provide more consistent quality.
- A de-banding filter (GradFun2DB) has been added to smooth the transitions from colors more gradually.


2.1
Improvements:
- MeGUI has been updated to a patched version where the updates works again.
- The number of B-Frames has been lowered to support computers low on RAM.

2.0
Improvements:
- Advanced version removed as it is now redundant.
- Improved a couple of settings and removed the CQM which does not have much effect anymore.

1.9
Improvements:
- Both versions has been updated to utilize and be compatible with the most recent x264 updates.

1.8
Improvements:
- AviSynth 2.5.8RC4 has been released and a link for it has been added to both versions.
- "--subme 7" for better and more precise motion estimation instead of a unnecessary prepass.
- New B-Frame decision mode added for the advanced version.

1.7
Improvements:
- AviSynth 2.5.8RC1 has been released and a link for it has been added to both versions.
- ColorMatrix is out as it's not really necessary.
- Avisource is replaced with DirectShowSource which is a lot more forgiving.

1.6
Advanced gets even more advanced:
- Added a Huffyuv patch that fixes a old bug so the last frames doesn't get left out and a link to new and better x264 builds that has a lot of great patches.

PS3, XBOX 360 and so on...:
- Instead of using a unrestricted level, the h.264 level is now set to 4.1 meaning you should be able to stream them to a PS3, XBOX 360, Popcorn Hour or anything like that.

1.5
Advanced version added:
- There is now an advanced version for those who wants slightly better quality and perhaps learn a little more at the same time.

1.4
MeGUI back, several filters gone, command line gone:
- The tutorial is easier to use than ever before with a very minor loss quality-wise most people won't notice.

1.3
MeGUI Gone:
- Since MeGUI doesn't let you pick rate factor instead, i've removed it for now.

CRF18:
- CRF18 (Constant Rate Factor 18) replaces the part where you have to select a bitrate.

1.2
ColorMatrix added for:
- To prevent color loss when converting from RGB to YV12.

Command Line Encoding added for:
- It uses a x264.exe version that lets you add the "aqstrength" options which should prevent blocking in dark areas.
- For those who got stability problems with MeGUI.

1.1
Soothe added for:
- Lower bitrate requirements.
- More steady appearance.
- Smoother motion compared to plain-sharpening, since motion-blurred edges will be less sharpened.
- Less artifacts in moving areas.
- LimitedSharpenFasterMOD can run faster, since one can get away with less supersampling.

AviSynth 2.5.8 added for:
- The new Spline64 is sharper and has less ringing than spline36.

RemoveGrain options added for:
- The different versions are made for CPUs with different SSE versions which will lower the time the encode takes.

MaskTools 2.0.30.0 updated to 2.0.a32.0:
- More precise and efficient sharpening.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Spoofy on September 12, 2007, 04:22:45 AM
I doubt I'll be using this myself but surely someone will find good use to it. Well done, Daffy
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on September 12, 2007, 04:24:50 AM
I'll add some screens soon.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: BoBsaget on September 12, 2007, 04:31:10 AM
Sounds great, I'll be testing it later. Btw, whats the size could you expect with a 5 min vid, same as .mp4?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: boxXx on September 12, 2007, 04:46:49 AM
a sweet daffy you finally got it up  thanks
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on September 12, 2007, 05:16:40 AM
Quote from: BoBsaget
Sounds great, I'll be testing it later. Btw, whats the size could you expect with a 5 min vid, same as .mp4?
You need a lower bitrate to achieve the same quality.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Paxton on September 12, 2007, 05:18:35 AM
Perhaps i'm gonna test this when i got time. It sounds so good, thanks for sharing.  
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on September 12, 2007, 11:56:05 AM
It'd be great if someone could post a test-result or what they think after haven tried it.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Torque on September 12, 2007, 01:12:03 PM
What vids have used this rendering option?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on September 12, 2007, 01:42:18 PM
None so far, soon the XQ of Fracture...soon.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Labiloute on September 12, 2007, 01:46:15 PM
Sorry but i think xvid is best no ? yeah its an avi but i prefer avi or wmv quality.If u have some exemple of this render tutorial show me
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: SnowMan on September 12, 2007, 02:04:51 PM
looks nice still waiting
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on September 13, 2007, 02:34:56 AM
Quote from: Labilouteâ„¢
Sorry but i think xvid is best no ? yeah its an avi but i prefer avi or wmv quality.If u have some exemple of this render tutorial show me
Use that rolleyes smiley while answering me again and i'll bash your fucking face in.
x264 + .mkv pwns the shit of out XviD + .avi.
x264 compresses a lot better but uses more CPU resources to decompress it.
SO X264 PWNS THE BLOODY CUMSHOT OUT OF XVID!!!
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Olin on September 13, 2007, 02:57:26 AM
Righto, x264 is awesome. I'll be using this sometime.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on September 13, 2007, 03:53:48 AM
Indeed it is.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Torque on September 13, 2007, 04:49:19 AM
Ok so if I use this to render a 5 min long video (800 x 600) compared to me rendering a 5 min long .avi encoded video, how would the file sizes compare.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on September 13, 2007, 05:14:43 AM
Once again it compresses better so you need a lower bitrate to achieve the same quality.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: boxXx on September 13, 2007, 05:27:17 AM
ok i'm getting to understand more of it now

ill definatly use this on my next video that gonna be edited once
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on September 13, 2007, 05:35:07 AM
Lets see who'll be the first to use it...!
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Ostits on September 13, 2007, 06:27:50 AM
Awesome tut daff, was gonna ask for this for the SA comvid!  
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: BoBsaget on September 13, 2007, 09:38:07 AM
Quote
Click to edit the video profile and go to the last page and select the CQM i included "gta.cfg".
You need to select this everytime you're going to encode something.
Click ok and then Enque, you will now be taken to the queue and you can start encoded your video.

What should I be clicking here?

Edit, Oh I see, btw you forgot to say you have to make a folder in c:/progr.../megui/tools/x264/x264.exe

Adding the x264 would be usefull for people who don't have it yet, same for the Huffyev.


Edit2:

Okay this is my result, I kinda screwed up some things I geuss cause the quality could have been much better..

Code: [Select]
x264 [info]: slice I:42    Avg QP:21.98  size: 48362  PSNR Mean Y:52.68 U:57.83 V:60.69 Avg:53.78 Global:44.08
x264 [info]: slice P:1888  Avg QP:25.38  size: 35381  PSNR Mean Y:41.24 U:47.96 V:48.25 Avg:42.54 Global:41.44
x264 [info]: slice B:783   Avg QP:25.72  size: 13502  PSNR Mean Y:40.56 U:47.79 V:48.59 Avg:41.94 Global:40.96

Anyways it's still not bad..

(BTW DON'T WATCH THE CLIP IF YOU DON'T WANT TO KNOW THE ENDING OF HL2 EPPISODE ONE!!!!!!!!)

http://rapidshare.com/files/55420913/HL2_epp_1_end.mkv.html (http://rapidshare.com/files/55420913/HL2_epp_1_end.mkv.html)
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on September 13, 2007, 02:08:55 PM
Quote from: BoBsaget
Edit, Oh I see, btw you forgot to say you have to make a folder in c:/progr.../megui/tools/x264/x264.exe

Adding the x264 would be usefull for people who don't have it yet, same for the Huffyev
You don't have to add x264.exe, MeGUI downloads it for you and updates to the most recent version when there's a new one out, just hit "Tools" and "Update".

EDIT: Just watched it now, outstanding quality... better than what you see in the best Counter Strike and Quake 3 movies, what bitrate did you use BoB'eh?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: brandon6199 on September 13, 2007, 02:51:03 PM
I was the first person to encode a GTA:VC clip to .mkv
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on September 13, 2007, 03:03:27 PM
^ Fact but who got you started?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: brandon6199 on September 13, 2007, 03:49:19 PM
The Great Jonas
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Eddeman on September 13, 2007, 03:55:58 PM
^ You talking to me ofc!  

I'm gonna use this when I get a comp that can record at non-crappy resolutions, cheers editingmeister
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Cody on September 13, 2007, 06:20:55 PM
YES *downloads the tutorial with the rest of the tuts I have*
But i'll prolly stick with 3M MP4 since it's good enough for me.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Torque on September 13, 2007, 08:57:14 PM
So what types of media players can play .mkv files.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: plumpegg on September 13, 2007, 08:59:06 PM
looks nice
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Cody on September 13, 2007, 09:27:03 PM
Quote from: Torque
So what types of media players can play .mkv files.
OH OH I KNOW THIS! CAUSE I WATCH ANIME AND ANIME IS IN .MKV FORMAT OMFG.

VLC.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on September 14, 2007, 12:35:45 AM
VLC and Windows Media Player if you install Haali Media Splitter.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: BoBsaget on September 14, 2007, 12:44:41 AM
Quote from: Daffy
EDIT: Just watched it now, outstanding quality... better than what you see in the best Counter Strike and Quake 3 movies, what bitrate did you use BoB'eh?

I think it was around 7000kbps, I don't know for sure though.. I wanted to keep it ''low'' so it wouldn't be 600 mb.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: brandon6199 on September 14, 2007, 01:28:02 AM
By the way, you want to keep your quants under 20

It says so in the log, daffy taught me well

oh and also, if you are getting lag spikes, it might not be the video, its probably your computer that cant keep up with going from 0 to 5000 kbps in under a second that causes the lag. There's this one program that daffy knows whats it called but it prevents that from happenining. Haali media splitter right?

EDIT: daffy can i upload that linkin park sample to show them what a non-stunt video .mkv looks like?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: BoBsaget on September 14, 2007, 01:39:18 AM
Okay, I was trying to keep my quants under 20.. But that just didn't happen lol. And I didn't want to render it again, cause 7000kbps should have been more then enough to me... Or whats the reason mine is around 25, how can I get it lower?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: brandon6199 on September 14, 2007, 01:47:22 AM
more kbps = less quants

daffy showed me a trick a while ago on how to have less kbps and still keep the quants low, something about removing a few lines in the .avs, we'll just have to wait till he gets on
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on September 14, 2007, 02:57:31 AM
Between 15-20 is good for low motion movies, 20-25 is good for high-motion movies as you don't get much details when there's high motion due to motion blur and when there's low motions the quants will be around 15 anyway.
The higher bitrate, the lower quants but the higher bitrate, the more resources it requires to play properly.
You just gotta find a good natural balance.
When there's low motion it uses so-called reference frames meaning it grabs the pixel information from the previous frames since it's many of the same pixels at the same place.
And of course black and white movies requires less bitrate since there's a lot of colors that won't be shown.
You should keep that in mind when you're encoding, so if you have very smooth camera movement or not much at all you can lower the bitrate and increase the number of reference frames.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Souzuk on September 14, 2007, 08:08:06 AM
wow, Daffy is the best editor and the best man to find new rendering tools  

GREAT !  
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: VaNilla on September 15, 2007, 07:16:14 PM
Hmm, for me MeGUI says this when I select my AVS file.

Any idea what I can do?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on September 15, 2007, 10:09:09 PM
Re-install AviSynth 2.5.7
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: VaNilla on September 16, 2007, 01:54:42 AM
Still got the problem , any other suggestions?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Torque on September 16, 2007, 09:41:22 PM
Ok, one final question.

If I render a lets say, 5 min vid at 1028 x 768 compared to 800 x 600, how much would the file sizes vary.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: brandon6199 on September 16, 2007, 09:45:44 PM
1028x768? do you mean 1280x768?

Id say about 50MB, but your gonna scale down the bitrate for the 800x600 one anyways, so it depends what bitrate you set it at
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: BoBsaget on September 17, 2007, 01:07:46 AM
The sizing would be normal with normal bitrates, when you take 1mb bitrate it could be compaired to a normal 1mb .wmv render, probably bigger though.. But because this file type/codec is for quality rendering, you take high bitrates, like I chose 7mb, which will give you a much bigger file size. So it's up to you to see how big it's going to be. Also when you put in the bitrate, you can see the expected file size in the square below.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: brandon6199 on September 17, 2007, 01:08:49 AM
Yeah, i use around 6000-7000 kbps just cause I can

And to get lower quants
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: boxXx on September 22, 2007, 06:00:43 AM
WTF i cant even get past the MeGUI part i dont understand a fuck of this at all :S

can you please add screens daffy ?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: brandon6199 on September 22, 2007, 11:49:59 AM
drag the avs file with the source .avi file in the same directory into megui
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: boxXx on September 22, 2007, 12:23:27 PM
Bobsaget helped me out

thanks though
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: VaNilla on September 22, 2007, 05:08:59 PM
My prob is fixed . You may see a MKV of something soon .
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: brandon6199 on September 22, 2007, 05:35:33 PM
your gonna see an .mkv of a video in a few hours
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: boxXx on September 23, 2007, 12:24:06 AM
Quote from: Shadowsniper
My prob is fixed  . You may see a MKV of something soon  .

lemme geuss ... the video ?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: VaNilla on September 23, 2007, 02:05:18 AM
Two actually .
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: VaNilla on September 24, 2007, 07:39:24 AM
ARRGH fucking offtopic I know but I'm so thick, I spent all school day rendering, realised just now I set output to MP4!!! HOW GAY .
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: BoBsaget on September 24, 2007, 07:55:34 AM
Well, at least you didn't screw up the whole idea of this render method....  
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: VaNilla on September 24, 2007, 04:50:15 PM
I dont understand .

You will see a VC vid rendered with this tommorow .
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Makrame on September 26, 2007, 08:13:31 AM
Yeah, so now that I saw SS' video (only talking about render quality) I can say I will be definately using this next time I edit a video. Thanks a ton Daffy
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: VaNilla on September 26, 2007, 08:15:51 AM
Guess what, I recorded that with 16bit, you can get WAY better than that if you record at 32 .

SA one soon, you will see the true potential of MKV there as I can record 32bit in it .
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on October 02, 2007, 03:06:24 AM
I'll update this in a few days, this is what'll be new/updated.
- There's some settings that can be de-selected/changed which doesn't do anything for the quality so the    encode takes less time.
- A addon for the sharpener that controls the sharpening so it doesn't oversharpen which preserves depth and motion.
- Maybe a softener for those who can't record with anti-aliasing.

In the next update i'll add a CLI (Command Line Interface) part for those who prefer that.
The advantages with using the CLI window is that you can add "aq-strength" to what is your MeGUI profile which should remove a lot of macroblocks (those squares you see in streaming videos or videos with too low bitrate) you usually see in very dark recordings.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Ostits on October 02, 2007, 05:41:44 AM
Quote from: Daffy
I'll update this in a few days, this is what'll be new/updated.
- There's some settings that can be de-selected/changed which doesn't do anything for the quality so the    encode takes less time.
- A addon for the sharpener that controls the sharpening so it doesn't oversharpen which preserves depth and motion.
- Maybe a softener for those who can't record with anti-aliasing.

In the next update i'll add a CLI (Command Line Interface) part for those who prefer that.
The advantages with using the CLI window is that you can add "aq-strength" to what is your MeGUI profile which should remove a lot of macroblocks (those squares you see in streaming videos or videos with too low bitrate) you usually see in very dark recordings.
Sounds like the exact things I need  
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Taz on October 02, 2007, 05:57:23 AM
The quality of mkv which Ive seen lately is pure awesomeness. I will definently use this as my XQ render for an upcoming vid..  Great tutorial Daffy, thanks a lot for this.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: brandon6199 on October 02, 2007, 02:54:57 PM
Quote from: Daffy
I'll update this in a few days, this is what'll be new/updated.
- There's some settings that can be de-selected/changed which doesn't do anything for the quality so the    encode takes less time.
- A addon for the sharpener that controls the sharpening so it doesn't oversharpen which preserves depth and motion.
- Maybe a softener for those who can't record with anti-aliasing.

In the next update i'll add a CLI (Command Line Interface) part for those who prefer that.
The advantages with using the CLI window is that you can add "aq-strength" to what is your MeGUI profile which should remove a lot of macroblocks (those squares you see in streaming videos or videos with too low bitrate) you usually see in very dark recordings.

Thanks daffy

We'd all have shitty laggy 640x480 .mpg videos if it wasnt for you

Oh and daffy sent me 300 in 720p HD .mkv, and it is ORGASMIC  

keep it up Jonas  
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: VaNilla on October 02, 2007, 03:26:20 PM
Great news man, glad to see you helping us out . I personally LOVE your tutorial, the grain filter helped me immensely .
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: brandon6199 on October 07, 2007, 08:24:46 PM
thanks for the update daffy
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on October 07, 2007, 09:04:28 PM
Thanks for not letting me post the news.

The next update will include this.
- Encoding in a command line window instead of MeGUI.
- Softening for those with computers that doesn't let you record with any Anti-Aliasing or Anastrophic Filtering.
- A color plug-in for keeping the color as strong as possible during the conversion from RGB to YV12.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: brandon6199 on October 07, 2007, 09:20:48 PM
WE LOVE YOU JONAS
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on October 08, 2007, 03:22:36 AM
I love Jonas too.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Ferσή on October 08, 2007, 08:17:24 AM
who the fucks jonas
also: i hate him
btw: this owns
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on October 08, 2007, 10:31:55 AM
Instead of adding pictures which imo wouldn't help i'll do a video tutorial of this for the next update so you can see what i do step-by-step.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Ferσή on October 08, 2007, 10:44:35 AM
FUCK YEAH
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on October 15, 2007, 01:30:22 PM
I had some time off so i updated it to 1.2 adding ColorMatrix and a CLI part.
ColorMatrix comes with MeGUI and/or AviSynth so there should be no need to download it unless you want a alpha version.
Keep in mind it might look better for some and worse for some, that depends on what kinda color correction you've already done so you're just gonna have to make up your mind if you wanna use it or not... maybe run a test for.
To run a test add trim(framestart500,frameend1000) for instance, removed "framestart/end"... it simple tells which frames you want encode.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Ev0x on October 27, 2007, 08:43:33 PM
Great quality and nice tutorial, however i can't use that for movie because i don't know some sentases in your tutorial "I'm French."
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on November 04, 2007, 05:16:14 PM
I added a little some-some that explains the log.
Next update will added a profile for a MQ and LQ version plus CQM's for those mentioned version.
I'll also add a tool called "AvsP" which lets you preview how the different settings in your script affects the outcome and lets you customize what suits you best.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: boxXx on November 04, 2007, 10:33:01 PM
Man your adding to much stuff

cant wait to do a video in MKV, will be soon i guess.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: boxXx on November 18, 2007, 11:01:59 PM
Finally used this for the first time and its a really great way to encode your stunt video with
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on November 29, 2007, 10:32:57 PM
Updated to 1.3.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: brandon6199 on November 29, 2007, 10:33:12 PM
thx
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Ferσή on November 29, 2007, 10:40:29 PM
Updated this for ya Daff.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on December 07, 2007, 09:17:12 AM
Updated it again to 1.4
I removed a load of stuff most people wouldn't see a difference between and only made the tutorial harder to understand.
I've simplified it as much as i can now so every should be able to use this now.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Samurai on February 08, 2008, 08:30:11 PM
Sigh. i'm trying to use this awesome tut, but i'm havin trouble. I don't quite follow the part where you select the gta.cfg in the last window on video profile. You say click to edit. On Config, correct? then what or am i just missing something lol. I've been tryin to put this rp together for a few hrs and i'm tired and frustrated since it seems like everyone else got it hehe.

Msg me, or msn please or post. I'd really like to take advantage of Daffy's nice tut and quality. Thanks
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on February 09, 2008, 07:02:08 AM
SAMURAI EDITING A  VIDEO!!!

(http://img405.imageshack.us/img405/3476/theyahpb7.jpg)
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: KillaMarci on February 09, 2008, 08:35:07 AM
That's gonna be a great video
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: THEFTman on February 09, 2008, 08:49:25 AM
I think it's a roof pwnage
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on February 09, 2008, 09:07:26 AM
It is a Roof Pwnage... BUT IT'S ALSO SAMURAI!!!
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Samurai on February 09, 2008, 09:15:32 AM
lol. thx Daffy. yea, its nothin special. Just a RP. Should be up in a few minutes. I just wanted to start learning all the technical ends of compression, and experimenting. Thx for sharing the knowledge!
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on February 09, 2008, 09:17:28 AM
No biggie.
There's a lot more you could learn than just this, v1.3 of the tutorial was way more advanced but difficult to follow so i changed 1.4 to be more user-friendly.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Tackleberry on February 09, 2008, 01:01:41 PM
So I decided to try this for the first time too, but I got a problem. Here's the log:
MeGUI Version: 0.2.6.1044
OS used: Microsoft Windows XP Professional Service Pack 2
Framework used: 2.0
------------------------------------------------------

Looking for job processor for job...

Processor found!



------------------------------------------------------


Starting job job1 at 20:51:34

Starting preprocessing of job...

Preprocessing finished!

successfully started encoding

Processing ended at 21:14:00

------------------------------------------------------

Log for job job1

Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 4500 --stats "C:\Sourcefile.stats" --ref 6 --mixed-refs --no-fast-pskip --bframes 4 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -3,-3 --subme 7 --trellis 2 --analyse all  --8x8dct --me umh --merange 24 --threads auto --thread-input --zones 0,1250,q=40/7764,9158,q=40 --sar 1:1 --cqmfile "C:\Documents and Settings\Administrator\My Documents\My Received Files\MKV stuff\mkv_render_tutorial_files\GTA.cfg" --progress --no-dct-decimate --no-psnr --no-ssim --output NUL "C:\Sourcefile.avs"
avis [info]: 1280x720 @ 30.00 fps (9159 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 3DNow!
x264 [info]: slice I:47    Avg QP:22.85  size: 10541
x264 [info]: slice P:2233  Avg QP:22.28  size:  1290
x264 [info]: slice B:6879  Avg QP:17.67  size:    47
x264 [info]: mb I  I16..4: 82.7% 13.4%  3.9%
x264 [info]: mb P  I16..4:  5.2%  3.3%  0.1%  P16..4:  7.7%  0.4%  0.8%  0.0%  0.0%    skip:82.4%
x264 [info]: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.1%  0.0%  0.0%  direct: 0.0%  skip:99.8%
x264 [info]: final ratefactor: -0.67
x264 [info]: 8x8 transform  intra:33.7%  inter:93.8%
x264 [info]: direct mvs  spatial:7.9%  temporal:92.1%
x264 [info]: ref P  75.1% 12.3%  7.1%  2.4%  1.7%  1.5%
x264 [info]: ref B  65.4% 21.4%  8.3%  3.2%  1.8%
x264 [info]: kb/s:96.9

encoded 9159 frames, 6.81 fps, 98.74 kb/s

------------------------------------------------------

Starting postprocessing of job...

Job completed successfully and deletion of intermediate files is activated

Postprocessing finished!

End of log for job1
------------------------------------------------------


Looking for job processor for job...

Processor found!



------------------------------------------------------


Starting job job2 at 21:14:01

Starting preprocessing of job...

Preprocessing finished!

successfully started encoding

Processing ended at 21:31:16

------------------------------------------------------

Log for job job2

Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 2 --bitrate 4500 --stats "C:\Sourcefile.stats" --ref 6 --mixed-refs --no-fast-pskip --bframes 4 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -3,-3 --subme 7 --trellis 2 --analyse all  --8x8dct --me umh --merange 24 --threads auto --thread-input --zones 0,1250,q=40/7764,9158,q=40 --sar 1:1 --cqmfile "C:\Documents and Settings\Administrator\My Documents\My Received Files\MKV stuff\mkv_render_tutorial_files\GTA.cfg" --progress --no-dct-decimate --no-psnr --no-ssim --output "C:\Sourcefile.mkv" "C:\Sourcefile.avs"
avis [info]: 1280x720 @ 30.00 fps (9159 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 3DNow!
x264 [warning]: Error: 2pass curve failed to converge
x264 [warning]: target: 4500.00 kbit/s, expected: 70.51 kbit/s, avg QP: 29.1931
x264 [warning]: internal error
x264 [info]: slice I:47    Avg QP:23.40  size:  9497
x264 [info]: slice P:2233  Avg QP:23.32  size:   794
x264 [info]: slice B:6879  Avg QP:17.61  size:    44
x264 [info]: mb I  I16..4: 71.0% 26.0%  3.0%
x264 [info]: mb P  I16..4:  4.6%  3.7%  0.1%  P16..4:  5.5%  0.2%  0.3%  0.0%  0.0%    skip:85.6%
x264 [info]: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.3%  0.0%  0.0%  direct: 0.0%  skip:99.7%
x264 [info]: 8x8 transform  intra:40.9%  inter:95.2%
x264 [info]: direct mvs  spatial:7.3%  temporal:92.7%
x264 [info]: ref P  67.2% 16.0%  9.8%  2.6%  2.2%  2.1%
x264 [info]: ref B  71.1% 18.6%  6.8%  2.2%  1.3%
x264 [info]: kb/s:66.1

encoded 9159 frames, 8.88 fps, 67.88 kb/s

------------------------------------------------------

End of log for job2
------------------------------------------------------

Ended up with that error and a 2,57 MB file... Anyone know what I may have done wrong?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on February 10, 2008, 02:58:38 AM
That's the strangest log i've seen.
Usually the I and P quantizer are lower than the B-Frame log, try lowering the B-Frames from 4 to 2 or to 0 to remove the completely.
That might cause some color loss though.
If that doesn't work remove the "--zones 0,1250,q=40/7764,9158,q=40 --sar 1:1 " from the job files, open them in Notepad to do that.

If that doesn't work, go to the profile and set it to constant quality and set it to 21 or hit me up on MSN and i'll walk you through doing it using the CMD window.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Tackleberry on February 10, 2008, 09:03:36 AM
Quote from: Daffy
That's the strangest log i've seen.
Usually the I and P quantizer are lower than the B-Frame log, try lowering the B-Frames from 4 to 2 or to 0 to remove the completely.
That might cause some color loss though.
If that doesn't work remove the "--zones 0,1250,q=40/7764,9158,q=40 --sar 1:1 " from the job files, open them in Notepad to do that.

If that doesn't work, go to the profile and set it to constant quality and set it to 21 or hit me up on MSN and i'll walk you through doing it using the CMD window.
Ok, I will try doing what you've suggested. Here's a second log btw, which I again just did like the tut said:
MeGUI Version: 0.2.6.1044
OS used: Microsoft Windows XP Professional Service Pack 2
Framework used: 2.0
------------------------------------------------------

Looking for job processor for job...

Processor found!



------------------------------------------------------


Starting job job1 at 07:46:01

Starting preprocessing of job...

Preprocessing finished!

successfully started encoding

Processing ended at 08:21:42

------------------------------------------------------

Log for job job1

Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 4500 --stats "C:\Sourcefile.stats" --ref 6 --mixed-refs --no-fast-pskip --bframes 4 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -3,-3 --subme 7 --trellis 2 --analyse all  --8x8dct --me umh --merange 24 --threads auto --thread-input --sar 1:1 --cqmfile "C:\GTA.cfg" --progress --no-dct-decimate --no-psnr --no-ssim --output NUL "C:\Sourcefile.avs"
avis [info]: 1280x720 @ 30.00 fps (9159 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 3DNow!
x264 [info]: slice I:49    Avg QP:16.24  size: 33500
x264 [info]: slice P:2237  Avg QP:16.23  size:  9211
x264 [info]: slice B:6873  Avg QP:13.46  size:   335
x264 [info]: mb I  I16..4: 70.6% 17.2% 12.2%
x264 [info]: mb P  I16..4:  1.6%  6.7%  2.3%  P16..4:  8.7%  4.7%  1.1%  0.1%  0.0%    skip:74.8%
x264 [info]: mb B  I16..4:  0.0%  0.1%  0.0%  B16..8:  1.0%  0.1%  0.1%  direct: 0.4%  skip:98.3%
x264 [info]: final ratefactor: 1.94
x264 [info]: 8x8 transform  intra:55.1%  inter:56.8%
x264 [info]: direct mvs  spatial:8.8%  temporal:91.2%
x264 [info]: ref P  81.5%  8.4%  4.9%  2.7%  1.4%  1.1%
x264 [info]: ref B  79.3% 12.0%  5.8%  1.8%  1.0%
x264 [info]: kb/s:643.3

encoded 9159 frames, 4.28 fps, 645.03 kb/s

------------------------------------------------------

Starting postprocessing of job...

Job completed successfully and deletion of intermediate files is activated

Postprocessing finished!

End of log for job1
------------------------------------------------------


Looking for job processor for job...

Processor found!



------------------------------------------------------


Starting job job2 at 08:21:42

Starting preprocessing of job...

Preprocessing finished!

successfully started encoding

Processing ended at 09:04:40

------------------------------------------------------

Log for job job2

Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 2 --bitrate 4500 --stats "C:\Sourcefile.stats" --ref 6 --mixed-refs --no-fast-pskip --bframes 4 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -3,-3 --subme 7 --trellis 2 --analyse all  --8x8dct --me umh --merange 24 --threads auto --thread-input --sar 1:1 --cqmfile "C:\GTA.cfg" --progress --no-dct-decimate --no-psnr --no-ssim --output "C:\Sourcefile.mkv" "C:\Sourcefile.avs"
avis [info]: 1280x720 @ 30.00 fps (9159 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 3DNow!
x264 [warning]: Error: 2pass curve failed to converge
x264 [warning]: target: 4500.00 kbit/s, expected: 1757.31 kbit/s, avg QP: 10.0007
x264 [warning]: try reducing target bitrate or reducing qp_min (currently 10)
x264 [info]: slice I:49    Avg QP:13.52  size: 56205
x264 [info]: slice P:2237  Avg QP:13.73  size: 22874
x264 [info]: slice B:6873  Avg QP:11.73  size:  1091
x264 [info]: mb I  I16..4: 72.9% 11.0% 16.1%
x264 [info]: mb P  I16..4:  1.5%  4.8%  3.9%  P16..4:  7.6%  5.3%  2.1%  0.5%  0.4%    skip:73.9%
x264 [info]: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  1.0%  0.2%  0.3%  direct: 0.5%  skip:97.9%
x264 [info]: 8x8 transform  intra:40.2%  inter:35.2%
x264 [info]: direct mvs  spatial:7.9%  temporal:92.1%
x264 [info]: ref P  81.1%  8.1%  5.2%  2.9%  1.6%  1.2%
x264 [info]: ref B  77.2% 14.2%  5.5%  2.0%  1.1%
x264 [info]: kb/s:1609.4

encoded 9159 frames, 3.56 fps, 1611.19 kb/s
desired video bitrate of this job: 4500 kbit/s - obtained video bitrate (approximate): 1614 kbit/s
------------------------------------------------------

Starting postprocessing of job...

Job completed successfully and deletion of intermediate files is activated

Found intermediate output file 'C:\Sourcefile.stats', deleting...
Deletion succeeded.

Postprocessing finished!

End of log for job2
------------------------------------------------------

But yeah, I will give your suggestions a try. Thanks.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on February 10, 2008, 12:07:18 PM
The problem seems to be the statsfile the 2ndpass is supposed to use as a reference.
It's not expecting the x264 log it gets, so try what i suggested.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Tackleberry on February 10, 2008, 03:04:39 PM
It isn't working with any of your suggestions, unfortunately. Latest I tried with constant quality. I didn't get any errors in the log, and in the start it seemed fine, but after a while the rest encoded very fast and I ended up with a file which works for about 30 seconds.

Anyone up for receiving a 9 GB avi-file, to encode it for me?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on February 10, 2008, 05:03:10 PM
I could do it.

Or i could walk you through using the commandline window.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Tackleberry on February 24, 2008, 09:52:45 AM
I'm still not getting this to work, even after lots of help from Daffy (thank you very much).

I've tried lots of stuff, anything from changing settings in MeGUI and in the files, using the commandline window, trying different versions of x264.exe and AviSynth. If anyone know much about this or have had similiar problems, please tell me what I could try to maybe get it fixed.

Description of the error:
When encoding using MeGUI or via commandline window, it seems to work as it should in the beginning. Then, after a while, the encoding speed starts getting higher and the rest of the vid gets done very fast (well, it doesn't get done right).

Then when I watch the encoded file, it looks really good in the beginning. After about 25 seconds, it starts to lag and about 10 seconds later the screen turns black with a red text on top saying "CAVIStreamSynth: System exception - Access Violation at 0x0, reading from 0x0"

And here's an example of the log:
(http://img177.imageshack.us/img177/2839/failurece0.png)

One thing more, feels like I get the exact same result every time, no matter what method I use. I've tried to re-render the .avi file from vegas too, but the result is still the same.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on February 24, 2008, 11:59:51 AM
Try to add "SetMemoryMax(512)" (it might be just "MemoryMax") and/or add "SetMTMode(2,2)", change the numbers to how many cores your CPU has.
Add these to the top of your AviSynth script.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Labiloute on February 24, 2008, 12:29:04 PM
How many mo for a 8min video with 1152/864 resolution ?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on February 24, 2008, 12:55:10 PM
4mbps and 8mins should be around 200-225mb.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Labiloute on February 24, 2008, 01:00:38 PM
Quote from: Daffy
4mbps and 8mins should be around 200-225mb.
Thanks dude u rock
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: KillaMarci on February 24, 2008, 06:38:30 PM
When is that 8mins long vid gonna be released?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: boxXx on February 28, 2008, 05:46:57 AM
I got a question can i encode the first pass, then when thats done shut down my pc and start the second pass like  the next day ?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on February 29, 2008, 09:23:04 PM
Yes.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on March 10, 2008, 08:46:26 AM
Updated to 1.5
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Labiloute on March 22, 2008, 11:38:18 AM
Quote from: KillaMarci
When is that 8mins long vid gonna be released?
Tomorow  

Ok so i re-ask my question cause now my editing was finish. So Daffy, for a 1152/864 with 5.20min. With 5mbps, that will be not really high i think around 225mb ?  

Thanks again for the answer
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on March 22, 2008, 11:46:55 AM
About 225-250mb should be close.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Labiloute on March 22, 2008, 01:44:16 PM
Where is the gtaprofil.cfg ?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: BoBsaget on March 22, 2008, 02:22:47 PM
Lol, Lab it was over here:
Additional Files (http://rapidshare.com/files/98462809/Matroska_x264_Encoding_Files.rar.html)
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Labiloute on March 22, 2008, 02:37:57 PM
Thanks dude

Another problem sorry for my shitty brain but i cant select the gtaprofil :/

Problems fixed  Ty Bob

Its rendering thanks Daffy for this awesome tutorial and BoB for u help
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Laketown on March 22, 2008, 03:54:35 PM
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Labiloute on April 17, 2008, 09:25:24 AM
Hoi everybody, i make a video tutorial for french people who want render an mkv but if you are intersted, say me and i can give you the link of the tutorial.

yes it's my french voice but anyway you can follow all the steps in video

Only for people who don't know how render it
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Brulla on April 17, 2008, 11:21:38 AM
Ehm? Why can't you just simply post it instead of asking if people are interested?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: THEFTman on April 17, 2008, 11:32:29 AM
Quote from: Labilouteâ„¢
Only for people who don't know how render it
Actually it will be for people who know French  
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on April 17, 2008, 02:28:36 PM
If you're going to update the video each time i update it, go ahead but not if the video will be post on an old version.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on April 22, 2008, 09:32:41 AM
Updated: You should now be able to decode videos with your XBOX 360 and/or PS3 if you stream it to them from your computer.
Also some minor stuff has been optimized.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Tackleberry on April 22, 2008, 10:19:12 AM
Sounds cool.

Also I would like to thanks for the tut, it was used in 12B and it worked great.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on April 22, 2008, 11:05:55 AM
Indeed it did
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: boxXx on May 01, 2008, 05:06:49 AM
i keep getting this error, i wanna encode the Anonymous video but cant  maybe you can write me a script that works daffy, 1280x800 video length 7:01 mins.
Here is a screenshot of the error

(http://img212.imageshack.us/img212/4788/erroorrruo6.th.jpg) (http://img212.imageshack.us/my.php?image=erroorrruo6.jpg)
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on May 01, 2008, 05:10:24 AM
Just take out the ColorMatrix part of the script.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: boxXx on May 02, 2008, 03:52:12 AM
Great, i wasted 20 hours on encoding the MKV and the quality is even worse then the WMV version. GREAT.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: brandon6199 on June 14, 2008, 06:03:09 PM
Quote from: Daffy
Instead of adding pictures which imo wouldn't help i'll do a video tutorial of this for the next update so you can see what i do step-by-step.

Are you still planning on doing this, Daffy? I personally don't need it, but a lot of people have trouble encoding an .mkv stunt video
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Samurai on June 14, 2008, 06:22:17 PM
After I gave up last time, and since you had posted that helpful pic Daff. I wanted to try it again for lagoon for a nice crisp version. I can't select the gta cfg or whatever. I've used 2 different versions, and still nothing

[a href=\"http://img241.imageshack.us/my.php?image=dangfc4.jpg\" target=\"_blank\"]

Trying the older version 2.4.1020 now, and it crashes upon opening?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on June 15, 2008, 02:43:40 AM
Judging from the screenshot, you didn't select the profile i included.
I'd use the commandline version if i were you though, it's a little more advanced but more stable in my opinion.
I guess i could give you some help on MSN if you want me to.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Samurai on June 15, 2008, 04:24:57 AM
I sure would man. I'd appreciate the fuck out of it  
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on June 15, 2008, 08:18:03 AM
Updated to 1.7
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: DaT630Da on June 18, 2008, 11:00:57 AM
Hy. Could you help me? i downloaded the Huffyuv codec, and clicked to the .inf file, then installed, but i don't see the huffyuv codec in sony vegas... what did i wrong??
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Mythic on June 18, 2008, 11:14:41 AM
Quote
In order to install Huffyuv right click the "Huffyuv.ini" file and click install.

Make sure you've set the rendering format to .avi and using a Uncompressed template.

(http://xs228.xs.to/xs228/08253/untitled863.jpg)
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: DaT630Da on June 19, 2008, 10:23:59 AM
yay thx  
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on June 21, 2008, 04:41:25 AM
...you gotta use Huffyuv, not uncompressed... it taints the colors
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: DaT630Da on June 21, 2008, 09:06:07 AM
I have problem with Megui coding. (Megui v0.2.6.1046)
I done all settings about it, what you wrote in this topic, but the problem is:
When I tired rendering I get .avs error:

IMAGE (http://dat-web.extra.hu/image.png)

avs script:
Code: [Select]
DirectShowSource("D:\mkv\proba.avi")
crop( 0, 0, -0, -0)
spline64resize(1280,960)
Converttoyv12()

(I tired render in different modes, ex: 800x600; 1280x960)

the second wrong: I setting my bitrate, but when I click to apply button, and I quit for calculator,
the bitrate is left. help me about it. thanks.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on June 21, 2008, 09:16:47 AM
DirectShowSource("D:\mkv\proba.avi")

...you can't import a .avs into a .avs
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: DaT630Da on June 21, 2008, 09:44:16 AM
I made only a typing mistake, but in the program there was "proba.avi". The problem is the same, still not working good.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on June 22, 2008, 07:55:30 AM
You can also set the bitrate on the 1st page (Main) of the Profile Configuration.
Did you select the .cfg i included, it looks like it has my old path so you need to take care of that.
Also if you could post a screenshot of what the log in MeGUI says when you get that error, that'd help me a lot with helping you.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: DaT630Da on June 22, 2008, 11:33:35 AM
Thanks for your help! It's working now!
One more question: how did you do this video (what  is the configuration): "Matroska (.mkv) 1080p HD Fucking Extreme Quality Version"?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on June 22, 2008, 02:27:52 PM
Record in 1920x1200, use "Spline64Resize(1920,1200), lower the amount of reference frames to 2, set the max vbv bitrate size to 24000.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Dogger on June 24, 2008, 04:36:42 AM
Quote
Record in 1920x1200

How ? Max resolutions is 1280x1024...


And, when i open Megui, i have something like this :
(http://img169.imageshack.us/img169/2158/meguitd3.png)

WTF ?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: DaT630Da on June 24, 2008, 05:21:21 AM
Quote from: Daffy
Record in 1920x1200
 Max resolutions with 22" monitor: 1680*1050

Quote from: Dogger
WTF ?
Use this: Megui 0.2.6.1049  (http://www.divx-digest.com/software/megui.html)
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Labiloute on June 24, 2008, 05:47:47 AM
Maybe daffy have a 24* monitor
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Makrame on June 24, 2008, 07:14:10 AM
That's not "maybe".

If a resolution doesn't appear in the several choices that are up to you, either your graphic card can't handle a higher resolution or either your screen can't handle it.

Anyway Dogger if you can't get more than 1280*1024 (17inches or VERYOLD graphic card) you won't be able to render a 1080p quality. But before asking how to render such a quality, have you checked if you are able to run something like that ? It's for high end computers ONLY...
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Dogger on June 24, 2008, 10:04:50 AM
Makrame, i have 17inches monitor and GeForce 8600 GT 256 mb... Not bad, but not the best.
Btw. I have 2 GB ram and dual core 2 GHz. I think its good compilation, but i have plan to buy new graphic card. (maybe new monitor)

Anyway thanks Dat...

Edit :
(http://img107.imageshack.us/img107/9954/troublup7.png)
WTF NOW?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: DaT630Da on June 24, 2008, 11:21:29 AM
What is your resolution?
Change the numbers in the bracket after the "spline64resize" to your resolution (i.e.: 1024,768 ; 1280,960 ; 1280,1024 etc...)

Code: [Select]
DirectShowSource("C:\Documents and Settings\Administrator\Pulpit\Conspiracy.avi")
crop( 0, 0, -0, -0)
spline64resize(1280,960) <-- change this!
Converttoyv12()
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Dogger on June 24, 2008, 12:38:07 PM
I have rendered my movie in 1280x960 resolution...
Nope. Its still doesnt works...
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Dogger on June 27, 2008, 09:26:50 AM
Why no one can help me ?!
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on June 27, 2008, 09:47:39 AM
Make sure you have AviSynth 2.5.8RC1 installed, re-install it in that case as AviSynth 2.5.7 doesn't have Spline64, just Spline36.

If it's still not working, change 64 to 36.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Dogger on June 28, 2008, 03:16:38 AM
OK Daffy, it works now.
But i have the next problem.
(http://img90.imageshack.us/img90/4773/wtfdn0.png)
This is my bitrate calculator.
F-u-c-k, f-u-c-k. What now ?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on June 28, 2008, 03:21:14 AM
Click the circle next to "Average bitrate" and select a bitrate...
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Dogger on June 28, 2008, 03:46:38 AM
How much kbits is in 1 mbits ?
And Daffy, tell how inch have you monitor ?

Alright. Everythigs works. I have my movie in .mkv. But this is only a test render, and i have 16 seconds movie and 69 mb/s this is normal ? What am i done bad ?
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Mythic on June 28, 2008, 04:43:04 AM
Dude, get your video ready, follow the tutorial, don't come to tell what you're getting with your 15 seconds clips.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on June 28, 2008, 09:35:11 AM
When it's only 16 seconds, there aren't room for a lot of reference frames so a lot of bitrate has to be given to each frame causing it to peak more than usually.
You can open the x264.exe in a cmd window and type "x264.exe --help" and find the command to give it a maximum buffer and peak size.
Also i don't see how knowing the size of my monitor is gonna help.
1mbit=1000kbit
1mByte=1024kBits
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Dogger on June 29, 2008, 04:12:40 AM
http://www.megaupload.com/pl/?d=SDU1PEID (http://www.megaupload.com/pl/?d=SDU1PEID)
Thanks Daffy
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Labiloute on July 13, 2008, 02:14:24 AM
I receive that error when i click on START

 its not rendering

Error fixed, i forgot to install x264....

btw nice tutorial again =D
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on September 02, 2008, 12:57:23 PM
Updated to 1.8 with some minor changes.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Labiloute on September 28, 2008, 06:06:05 AM
A question, H264 is the same as x264 codec but in 1280/720 pix ?
can i encode in H264 with x264 codec

I dont really know which difference there is between x264 and H264.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on October 07, 2008, 03:19:09 PM
Quote
H.264 is a standard for video compression. It is also known as MPEG-4 Part 10, or MPEG-4 AVC (for Advanced Video Coding).
http://en.wikipedia.org/wiki/H.264 (http://en.wikipedia.org/wiki/H.264)

x264 is H.264.
H.264 is kinda the technological standards and/or guidelines x264 is built and based upon.
x264 is a H.264 encoder.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: bluedagger on October 15, 2008, 04:24:10 AM
Ehm... I can't install huffyuv ! I need to open the .inf file but it just opens as text lol, I'm seriously too noobish for this, but I really want the .mkv quality since I'm getting fucking tired of wmv's colors and quality.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Mythic on October 15, 2008, 04:33:14 AM
Right click > Install.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on October 25, 2008, 09:14:43 AM
Updated, it's important this time to get all the updated files for the tutorial to work properly, especially for the MeGUI users.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: bluedagger on November 07, 2008, 12:15:40 PM
Halp, right when i press Enqueue, last part of step 4, nothing happens

Edit: After half an hour of trying, i found, thanks anyway

Edit again: Oh no, i didnt fix nothing

I press enqueue, nothin really happens, i go in the queue log, press start on the job, and it seems to be rendering, but there is no MKV. file afterwards
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Daffy on November 08, 2008, 03:12:04 AM
You do have to select a video output first... i might have forgotten to include that in the newest update.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: bluedagger on November 08, 2008, 06:06:35 AM
Quote from: Daffy
You do have to select a video output first... i might have forgotten to include that in the newest update.

Oh, for me it just selects some random place, im gonna try that now. Thanks
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Laketown on November 09, 2008, 04:29:40 PM
fuck I cannot select a custom quantizer matrix and it's pissing me off. All it says is flat (none) and I cannot select a new one.

I figured it out kinda, but now whenever I mux it with mkvtoolmix or whatever, the sound delays and it's crap.
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: A maid on November 14, 2008, 02:59:52 PM
Awesome tutorial, I'm gonna use it ASAP. but uhm, where do I get that Huffyuv codec? I dont think i got it from one of the downloads in the tutorial, speaking 'bout the tutorial: kinda difficult to me, but I'll do everything I can to render it that way!
Title: Tutorial: Matroska x264 Encoding 1.9
Post by: Helios on November 23, 2008, 01:01:21 AM
When i edit encode.bat i need to delete --level 4.1 before  --ref 3?
The another problem in bitrate i need to write out the mbps?
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Daffy on November 03, 2009, 07:51:19 AM
Updated.
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: brandon6199 on November 03, 2009, 01:03:14 PM
Words can't describe how useful this tutorial is.  :wub:
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Laketown on November 03, 2009, 01:43:39 PM
ugh I still have to render the HQ for my solo with this :/
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Kmajor on November 12, 2009, 03:26:45 PM
Hmmmm...... can I skip "Step 4" ? After encoding the audio and the video are in the .mkv file and the sound is good
-----------
Quote from: Daffy,Aug 21 2009, 03:39 PM
Everyone who's going to encode something needs to disable the "B-Pyramid" option in the profile unless you want weird shit to occur.
>THIS (http://img38.imageshack.us/img38/6656/offnz.png)< way it's disabled right ?
------------
Also you say that Version 1271 of the x264 is the most stable one. Which one should I download from x264.tk , x264_x64_r1271_techouse or x264_x86_r1271_techouse ?
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Labiloute on November 12, 2009, 05:23:43 PM
86
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Daffy on November 12, 2009, 11:09:40 PM
Hmmmm...... can I skip "Step 4" ? After encoding the audio and the video are in the .mkv file and the sound is good
-----------
Quote from: Daffy,Aug 21 2009, 03:39 PM
Everyone who's going to encode something needs to disable the "B-Pyramid" option in the profile unless you want weird shit to occur.
>THIS (http://img38.imageshack.us/img38/6656/offnz.png)< way it's disabled right ?
------------
Also you say that Version 1271 of the x264 is the most stable one. Which one should I download from x264.tk , x264_x64_r1271_techouse or x264_x86_r1271_techouse ?
1. No, you'll have a video without audio then.

2. Yes.
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Kmajor on November 13, 2009, 01:15:49 AM
Hmmmm...... can I skip "Step 4" ? After encoding the audio and the video are in the .mkv file and the sound is good
-----------
Quote from: Daffy,Aug 21 2009, 03:39 PM
Everyone who's going to encode something needs to disable the "B-Pyramid" option in the profile unless you want weird shit to occur.
>THIS (http://img38.imageshack.us/img38/6656/offnz.png)< way it's disabled right ?
------------
Also you say that Version 1271 of the x264 is the most stable one. Which one should I download from x264.tk , x264_x64_r1271_techouse or x264_x86_r1271_techouse ?
1. No, you'll have a video without audio then.

2. Yes.

But I HAVE audio and video in the same file after encoding  :laugh:

nvm, I'm just gonna skip it, thanks for the help
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Daffy on November 13, 2009, 01:24:16 AM
Google for "MediaInfo" and download it, if it's PCM/Uncompressed audio you need to replace that.
If it's MP3 or FLAC, then you're all set.
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Kmajor on November 13, 2009, 02:34:21 AM
Ooooh, it had only sound while playing it with WMPC, it was muted on all the other players. The mkvtoolnix given in the first post doesn't have an .exe to install it and you see only files. I suggest downloading this one >CLICK (http://www.softpedia.com/get/Multimedia/Video/Other-VIDEO-Tools/MKVToolnix.shtml)< it worked perfectly.

Thanks for the help Daffy, you are getting a thanks in the vid when I encode the 1050p.
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Daffy on November 13, 2009, 04:08:55 AM
(http://img.photobucket.com/albums/v92/Indiana_Jonas/srsly.jpg)
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Kmajor on November 13, 2009, 04:13:06 AM
ah, then I downloaded the wrong thing
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Kmajor on November 14, 2009, 12:27:22 PM
Hey Daffy I encoded the .mkv again and I still have these macroblocks when there is a fade effect or I look closer to the water. The quallity is great though, but the blocks are annoying. I used this x264 CLICK (http://img69.imageshack.us/img69/7332/60584174.png)
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Mythic on November 14, 2009, 02:56:40 PM
Problem may lay in the version you've downloaded, so find out wether you have a 32- or 64-bit (x86 = 32-bit, x64 = 64-bit) operating system, and download the version of the architecture you have.
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Daffy on November 14, 2009, 03:02:05 PM
Kmajor: Guess you either gotta try the newest version of go further back, there has been some issues with that after x264 got some serious additions.

Mythic: No, you have to download the 32 bit version since AviSynth is a 32 bit application.
Using the 64 bit version won't work at all... it just wouldn't start, check your facts.

If you want to use the 64 bit version you have to use a application like this that converts the AviSynth commands to 64 bit architecture:
http://forum.doom9.org/showthread.php?t=144140 (http://forum.doom9.org/showthread.php?t=144140)
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Mythic on November 14, 2009, 03:26:43 PM
It wasn't a fact, just a suggestion like I said. :P
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Kmajor on November 14, 2009, 04:01:43 PM
Ok I'll try different versions on a little 10 sec clip and see which one works. Thanks for the help both.
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Daffy on November 14, 2009, 05:47:37 PM
If you want to test a specific part of the video you can add this to the bottom of the AvinSynth script:
Trim(startframe,endframe)
You can check the frame number in Vegas.
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Dogger on November 18, 2009, 03:04:53 PM
I don't know what the fuck is wrong, but when i click "Enqueue", and then "Start", next to first job, "error" appear.

This is my log.
(http://i47.tinypic.com/w0qh6w.jpg)
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: FloW on November 18, 2009, 03:27:45 PM
Try this x264 http://jeeb.fiveforty.jp/x264/1259/x264.exe (http://jeeb.fiveforty.jp/x264/1259/x264.exe) I had this problem, and this fixed it :P
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Daffy on November 18, 2009, 08:29:41 PM
Yep, for some reason MeGUI has stopped downloading updated x264.exe's so you gotta do it manually.
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: ia015 on November 28, 2009, 05:05:37 AM
I can't use the FLAC tut, it says I don't have permission to view it :S
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: __JREN on December 06, 2009, 05:58:03 AM
How the fuck do I download Mkvtoolnix? In that website there isn't any download link -.-'
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Mythic on December 06, 2009, 08:05:52 AM
God damn, open your eyes...

(http://img9.imageshack.us/img9/8018/downloadsy.jpg)

http://www.bunkus.org/videotools/mkvtoolnix/win32/mkvtoolnix-unicode-2.9.9-setup.exe (http://www.bunkus.org/videotools/mkvtoolnix/win32/mkvtoolnix-unicode-2.9.9-setup.exe)
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: __JREN on December 06, 2009, 10:01:16 AM
God damn, open your eyes...

(http://img9.imageshack.us/img9/8018/downloadsy.jpg)

http://www.bunkus.org/videotools/mkvtoolnix/win32/mkvtoolnix-unicode-2.9.9-setup.exe (http://www.bunkus.org/videotools/mkvtoolnix/win32/mkvtoolnix-unicode-2.9.9-setup.exe)
Thank you..
BTW i have another problem... My .avi rendering with the Huffyuv is always fucked up. The video comes with lags or strange stuff
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Daffy on December 06, 2009, 10:15:07 AM
You're not supposed to be able to play it before it's encoded to a .mkv

Why are you making it harder than it is, this is really simple stuff here which you're failing to see.
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: __JREN on December 06, 2009, 10:16:53 AM
You're not supposed to be able to play it before it's encoded to a .mkv

Why are you making it harder than it is, this is really simple stuff here which you're failing to see.
ok.. gonna try to do it again
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Instel on December 28, 2009, 08:14:51 PM
Sorry for the "bump" but i'm on 7 x64 & I can't install the codec, i've donloaded it from 5/6 place and he still doesn't appear on vegas, but, on System32 bla bla, i saw him.

Plz help me :cheers:
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Daffy on December 28, 2009, 08:20:58 PM
http://www.gtastunting.net/forums/index.php?topic=44009.0 (http://www.gtastunting.net/forums/index.php?topic=44009.0)
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Instel on December 30, 2009, 12:12:16 PM
Thx it work

e/
I follow all yours step n' i've a problem D:

(http://gta-stunt.com/uploads/0dcf5e4ae3487226784323605a6f6d0e.jpg)

Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Daffy on December 31, 2009, 03:38:54 AM
Post a screenshot of the log... showing that won't help.
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Instel on January 01, 2010, 08:37:38 AM
This: http://gta-stunt.com/uploads/00454240f31d9107496f8bd2b2a54500.png (http://gta-stunt.com/uploads/00454240f31d9107496f8bd2b2a54500.png)
Or this: http://gta-stunt.com/uploads/37b95a33986b66a8b739f3a0398275f1.png (http://gta-stunt.com/uploads/37b95a33986b66a8b739f3a0398275f1.png)
And this: http://gta-stunt.com/uploads/3590b594b9b4f85f056a5dd893deeb1e.png (http://gta-stunt.com/uploads/3590b594b9b4f85f056a5dd893deeb1e.png)
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Instel on January 07, 2010, 10:36:51 PM
Please Daffy  :a-cheer:
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: FloW on January 08, 2010, 01:15:11 AM
Please Daffy  :a-cheer:
he need screen of the logs (http://img5.imagebanana.com/img/eodf7dvl/0dcf5e4ae3487226784323605a6f6d0e.jpg)
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Instel on January 08, 2010, 01:42:21 AM
i'll do it and edit, thx flow

 http://gta-stunt.com/uploads/cd20477730f316fec21b28ba920e86e4.png (http://gta-stunt.com/uploads/cd20477730f316fec21b28ba920e86e4.png)
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Labiloute on January 08, 2010, 01:43:03 AM
new glasses
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Instel on January 08, 2010, 03:20:07 AM
make you can help me and not doing the dumbass ?   :jajaja:
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Daffy on January 08, 2010, 06:39:14 AM
http://gta-stunt.com/uploads/cd20477730f316fec21b28ba920e86e4.png (http://gta-stunt.com/uploads/cd20477730f316fec21b28ba920e86e4.png)
You have to get the error message, then take a screenshot of the log... you can't just open MeGUI and take a screenshot.
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Daffy on January 10, 2010, 12:48:51 AM
The tutorial has been updated for maximum stability and compatibility.
Make sure you read the instructions where you download the MeGUI version I linked to, I cannot underline how important this is enough as I know some idiot's gonna fuck it up.
Also if you have a high end computer, you should really set the number of b-frames to 16 which is the maximum and lets x264 choose how many b-frames to use at different parts of the video without user-set limits.
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Instel on January 10, 2010, 02:40:22 AM
http://gta-stunt.com/uploads/ae738df182678f4e43ef6ed4dc364847.png (http://gta-stunt.com/uploads/ae738df182678f4e43ef6ed4dc364847.png)

Hope you can help me, thx.
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Daffy on January 10, 2010, 02:45:34 AM
The x264.exe version you're using is too old.
I updated the tutorial today, download the new MeGUI I'm linking and follow the instructions where you remove the current update servers and add the new one and it'll work just fine.
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Eddeman on January 11, 2010, 11:20:34 AM
FFFFFFFUUUUUU upload the stuff to somewhere else than rapidshare, I can't download cause the servers are full :(
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Daffy on January 11, 2010, 12:41:53 PM
Converted it to a direct link now.
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Eddeman on January 11, 2010, 01:49:30 PM
Excellent :euro: My good man KM already sent it to me though.

Works like a charm, encoding times always makes me emo but other than that I can't complain :a-cheer:
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Instel on January 16, 2010, 07:55:41 AM
Still doesn't work, idk why, tried all i can, and still won't work great  :cheersad:
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Daffy on January 16, 2010, 08:02:44 AM
Remove everything you've downloaded and installed, then start again.
Title: Re: Tutorial: Matroska x264 Encoding 2.0
Post by: Labiloute on January 16, 2010, 03:26:33 PM
make you can help me and not doing the dumbass ?   :jajaja:
Learn speaking then try to be much more agressive when you wanna bitching someone.


Daffy i always wondering if the priority of megui used in high make the video a bit dirty even if i use a kick ass cpu + ram ?
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Daffy on January 16, 2010, 05:00:35 PM
Won't make any difference except perhaps prevent corrupt frames which very unlikely to occur.
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: boxXx on February 06, 2010, 06:10:50 AM
it wont make any difference, maybe it'll have a 0.02fps improvement, its just because all the cpu and ram power available will be routed directly to x264 rather then having it to share with normal priority processes, which pretty much all processes are, in other words, it will make you lag big time.
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: A maid on February 28, 2010, 02:58:46 AM
Does it make any difference if you use Huffyuv or divX for instance while rendering? I forgot to use Huffyuv last time, got a nice 1080p video file I can clearly watch, no errors. So does Huffyuv make that much difference?
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Christian on July 16, 2010, 04:11:40 AM
Why you dont make a vid how it is works? I mean everything is okay but something are hard. :unsure:
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Daffy on July 16, 2010, 05:01:09 AM
SuspiciousOne: It does.

exLective: Perhaps you should be thankful you didn't have to learn everything yourself like I had to and make a tutorial yourself that people didn't even bother to follow but instead want a video where everything is drawn and explained if possible even easier so it all becomes a nice reminder of kindergarten where everything was easy and one did not have to think at all.
...it's quite easy to follow if you just do one step at a time.
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Christian on July 16, 2010, 08:56:50 AM
SuspiciousOne: It does.

exLective: Perhaps you should be thankful you didn't have to learn everything yourself like I had to and make a tutorial yourself that people didn't even bother to follow but instead want a video where everything is drawn and explained if possible even easier so it all becomes a nice reminder of kindergarten where everything was easy and one did not have to think at all.
...it's quite easy to follow if you just do one step at a time.
I am thankful, plus for me thats why you are here, you know things for the softwares/hardwares which are totally confusing for us and for you its not a big deal. Another plus - im new in these things so i think its normal to be hard for me. Ok, i will stop spamming. PM. :)
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Radioaktive on July 25, 2010, 12:52:39 PM
the advanced settings in MeGUI have changed a bit, like the reference frames are on a different tab now

Thanks for the lovely tutorial mang
works like a charm  :wub:
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: FELIX on August 15, 2010, 08:02:03 AM
Thank you I (actualy Petar) got it working!  :rolleyes:

MKV Test (http://www.youtube.com/watch?v=rGn-U6V-P14#ws)
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: FloW on September 08, 2010, 04:50:27 AM
Can you help me? (http://img267.imageshack.us/img267/5905/problems.png)
how do i fix these weird things?
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Labiloute on September 08, 2010, 05:44:05 AM
Thank you I (actualy Petar) got it working!  :rolleyes:

MKV Test (http://www.youtube.com/watch?v=rGn-U6V-P14#ws)
wtf this song :|
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: FELIX on September 08, 2010, 02:29:03 PM
German Electro!  :euro:
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Radioaktive on September 08, 2010, 04:04:48 PM
Can you help me? *eyerape.png*
how do i fix these weird things?

holy shit dude, that is fucked up
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: A maid on November 10, 2010, 06:52:13 AM
(http://img261.imageshack.us/img261/1213/meguierror.png)

Help please. :(
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Mythic on November 10, 2010, 07:17:14 AM
Seems like there are pretty good instructions in the message itself.
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: A maid on November 10, 2010, 07:44:31 AM
Seems like there are pretty good instructions in the message itself.
Well I opened it in MPC and VirtualDub and that worked but that didn't help shit for having the error go away. :/
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Mythic on November 10, 2010, 08:04:50 AM
Try MeGUI's Tools > AVS Script Creator.
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: A maid on November 10, 2010, 08:09:43 AM
Try MeGUI's Tools > AVS Script Creator.
Gives me the same kind of error.

edit: k I tried various stuff and got rid of all the errors I got. It's encoding right now and hope it doesn't go wrong. But whether it will
or not this might help for problems:
-try different versions of MeGUI
-try different versions of AviSynth, but not lower than 2.5!
-try different versions of x264
-if you get an error involving AviSynth all the time, try the things above, if they don't help, THEN try updating your MeGUI.
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: Daffy on November 16, 2010, 10:18:07 PM
I'll add: set MeGUI to update from the development servers and not the stable ones as they haven't been updated in months.
Title: Re: Tutorial: Matroska x264 Encoding 2.1
Post by: A maid on November 17, 2010, 07:01:13 AM
And to that I'll add: what I tried worked for me. (no it's not offtopic it might give people more confidence to having it work)
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Daffy on August 17, 2011, 07:41:11 AM
Updated yo.
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: VaNilla on August 17, 2011, 12:02:59 PM
Cool tutorial, but I think you're best off just rendering H.264 MP4's straight from Vegas if that's what you're using. Especially when using Adobe Premiere or Final Cut or Avid, just render an MP4 out. The only difference between MKV and MP4 as a carrier is that MKV allows for much easier mixing of files together, which doesn't matter unless you plan on adding subtitles or extra music after rendering.

Also, I would keep using VBR as opposed to constant bit rate; as long as you have a wide enough range of bit rates set with VBR then you'll end up with better quality images at high motion, and where scenes with less motion exist you're going to get better compression.
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Daffy on August 18, 2011, 12:56:25 AM
I have serious doubts about that, H.264 (also known as MPEG4-Part10) is a compilation of video compression techniques and H.264 without a codec is "RAW'er" than video compressed by x264 which is a codec based on these video compression techniques and a collection of the parameters it can and should offer you.
There's a reason BluRay's use H.264 at 30mbps rather than x264 as it's less compressed and therefore less has to be decompressed which takes up more space but is still easier on the decoder.

I chose to use MKV instead of MP4 because, yes they're but containers but MP4 is a commercial one and thus a lot more limited as it for instance won't accept FLAC audio and it therefore has more restrictions that are problematic for editors.
Also CRF (Constant Rate Factor) is VBR, except you're telling the codec what quality you're after rather than having to input a guessed bitrate which means it'll be far more accurate in terms of what your standards are.
The codec uses variable bitrates throughout the video and it's more hand-tailored for it.

Although I'm for discussions like this, please refrain from making assumptions like that based on nothing next time, I don't spend hours and hours making a tutorial only to have it doubted without reasonable reasons as to why, if you can't show me a frame-by-frame comparison with the same bitrate and/or similar settings to strengthen what you're suggesting is better, then don't bother.
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: VaNilla on August 18, 2011, 07:17:29 AM
I have serious doubts about that, H.264 (also known as MPEG4-Part10) is a compilation of video compression techniques and H.264 without a codec is "RAW'er" than video compressed by x264 which is a codec based on these video compression techniques and a collection of the parameters it can and should offer you.
There's a reason BluRay's use H.264 at 50mbps* rather than x264 as it's less compressed and therefore less has to be decompressed which takes up more space but is still easier on the decoder.

X.264 is a program designed to encode H.264, I don't see your point. The reason Blu Ray discs are encoded at 30-50mpbs is that it looks a lot better, this is nothing to do with being easier on the decoder as far as I'm aware. This is the same reason you see news programs encoded as low as 15mbps when there is a lack of motion, and up to 50mpbs in sports; nothing to do with decoding. Maybe I've mis-understood the way you're distinguishing X.264 to H.264, because X.264 isn't a codec as you seem to be half suggesting.

I chose to use MKV instead of MP4 because, yes they're but containers but MP4 is a commercial one and thus a lot more limited as it for instance won't accept FLAC audio and it therefore has more restrictions that are problematic for editors.

It's not worth using FLAC audio, most people watching your videos will watch them on YouTube, where audio is recompressed anyway. And most people downloading your videos wont have the hardware to hear a huge difference between AAC vs FLAC; most wont care either.

Also CRF (Constant Rate Factor) is VBR, except you're telling the codec what quality you're after rather than having to input a guessed bitrate which means it'll be far more accurate in terms of what your standards are.
The codec uses variable bitrates throughout the video and it's more hand-tailored for it.

Misread your changes as being changed from VBR to CBR.

Although I'm for discussions like this, please refrain from making assumptions like that based on nothing next time, I don't spend hours and hours making a tutorial only to have it doubted without reasonable reasons as to why, if you can't show me a frame-by-frame comparison with the same bitrate and/or similar settings to strengthen what you're suggesting is better, then don't bother.

It's not based on assumptions, I'm a working editor/media assistant and I do this kind of rendering almost every day. It's not practical to run an uncompressed render all the way into MeGUI just for an MKV vs the ease of rendering an MP4 in my opinion, it's certainly a waste of time for most editors. The only time you would bother rendering out an uncompressed or lossless video in general is to use it in an advanced compression program, and MeGUI doesn't offer a lot of compression versus your standard NLE. Maybe if you're using hugely expensive compression programs that can convert an hour long video down to 500mb, but not here. There's a reason nobody working in the industry actually uses MeGUI or the like, it's not worth it.
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Daffy on August 19, 2011, 01:40:13 PM
X.264 is a program designed to encode H.264, I don't see your point. The reason Blu Ray discs are encoded at 30-50mpbs is that it looks a lot better, this is nothing to do with being easier on the decoder as far as I'm aware. This is the same reason you see news programs encoded as low as 15mbps when there is a lack of motion, and up to 50mpbs in sports; nothing to do with decoding.
The reason BluRay discs are encoded at 20-30 (40 is extremely rare, average bitrate that is it might peak at 50 sometimes sure)are because it's encoded using H.264 Level 3.1 limitations thus limiting the encoding options available for easier decoding but adding extra bitrate to compensate for the quality that would be lost.
The reason why news programs or programs with static cameras/backgrounds are encoded at lower bitrates are because of the reference frames which gather information from the previous frames where the pixels has the same RGB (or whatever color space) values since the same quality can be achieved using those reference frames.
Forcing more bitrate on it then would be futile as the quality would not increase at least to the naked eye and it's therefore logical to not go above that.
You adjust the bitrate depending on what the nature of the source footage is and how the current technology available is able to compress it.
This tutorial and most MKV rips (except WEB-DL things you find on the net which are H.264 Level 3.1) use Level 4.1 because you can use more x264 (H.264 based) options than the 3.1 levels offers you such as the number of reference frames (4.1=9 as opposed to 3.1=5) and from what I've read from the x264 developers (for instance Dark Shikari who wrote the PSY-RDO part of x264) x264 is very much optimized for Level 4.1 encoding.
If you're wondering why I've limited it to L4.1 as well as the developers, it's because almost all hardware accelerated decoding support stops at that level.

Maybe I've mis-understood the way you're distinguishing X.264 to H.264, because X.264 isn't a codec as you seem to be half suggesting.
I'd love to see you explain how x264 isn't a codec as it's even in this list of H.264 based codecs.
http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Software_encoder_feature_comparison (http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Software_encoder_feature_comparison)

It's not worth using FLAC audio, most people watching your videos will watch them on YouTube, where audio is recompressed anyway. And most people downloading your videos wont have the hardware to hear a huge difference between AAC vs FLAC; most wont care either.
Sure but what about those who do, should I neglect their expectations for the best possible quality?
Also I would be neglecting the very probably possibility that people are going to upgrade their hardware thus raising the requirement for lossless audio, in other words using FLAC as opposed to MP3/OGG/AAC/WMA means it still holds the same audio quality years from now as opposed to lossy formats.
And when I edit with FLAC audio recompression it means however insubstantial extra effort on my part which is unnecessary.
I think all editors wants to present their video with the best possible quality though someone are willing to go further for this than others this involves no extra effort whatsoever.

It's not based on assumptions, I'm a working editor/media assistant and I do this kind of rendering almost every day. It's not practical to run an uncompressed render all the way into MeGUI just for an MKV vs the ease of rendering an MP4 in my opinion, it's certainly a waste of time for most editors. The only time you would bother rendering out an uncompressed or lossless video in general is to use it in an advanced compression program
You're forgetting that the file formats .mp4 and .mkv are just containers which both contain video coded using a codec based on the H.264 video standards be iit x264 or the one that comes with your NLE (Non-Linear Editing System).
H.264 can be encoded with Vegas and still be used in a .mkv container if remuxed so claiming the lossless rendering is just for a .mkv file has no basis in reality whatsoever.
The point here is that this is a not business/industry environment in which we edit which means we have to encode several version so people with different hardware setups are able to watch it with as good quality as possible.
And when you're going to render a 1080p, 720p and a SD version of a video you don't want to have to wait through Vegas having to render all the filters applied several times as some of them are quite heavy.
Thus rendering the lossless once means you are speed efficient in terms of getting your video rendered and prepared for release making it the favorable option.
Also another advantage of having the lossless .avi rendered means you can re-render new versions if need be and/or when there's options for achieving even better visual quality out there, so some people including me tend to store them on a backup drive just in case.

MeGUI doesn't offer a lot of compression versus your standard NLE.
"A lot of" is a lose term here and too open to interpretation so I won't comment on that.
However it does offer more options and is therefor more flexible than Vegas which is why I choose to use x264 in MeGUI as opposed to Vegas to encode the different versions of the video.
One thing that's also important to mention is that everyone isn't using Vegas or a similar NLE where the options for rendering/encoding are as broad so this actually gives those who for instance use Ulead or Pinnacle's solutions the same options in terms of output quality and/or control over it.

Maybe if you're using hugely expensive compression programs that can convert an hour long video down to 500mb, but not here. There's a reason nobody working in the industry actually uses MeGUI or the like, it's not worth it.
The primary reason the industry uses certain range of software is because everyone in the industry knows them and to introduce a new "unknown" one would be to introduce confusion into the environment.
It's the same reason the industry (at least where I live) use either Adobe Premiere, Avid or Final Cut, because everyone knows them and even though I personally prefer Vegas because of it's logically structured GUI and even more though if a lot of industry editors where given the option to try it without prejudice they would probably prefer it but it would be too much of an inconvenience to get everyone to switch to Vegas and it would cause a halt in the production flow of current projects not even to mention the license costs thus they're sticking to the standards.
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: VaNilla on August 19, 2011, 03:36:15 PM
The reason BluRay discs are encoded at 20-30 (40 is extremely rare, average bitrate that is it might peak at 50 sometimes sure)are because it's encoded using H.264 Level 3.1 limitations thus limiting the encoding options available for easier decoding but adding extra bitrate to compensate for the quality that would be lost.
The reason why news programs or programs with static cameras/backgrounds are encoded at lower bitrates are because of the reference frames which gather information from the previous frames where the pixels has the same RGB (or whatever color space) values since the same quality can be achieved using those reference frames.
Forcing more bitrate on it then would be futile as the quality would not increase at least to the naked eye and it's therefore logical to not go above that.
You adjust the bitrate depending on what the nature of the source footage is and how the current technology available is able to compress it.
This tutorial and most MKV rips (except WEB-DL things you find on the net which are H.264 Level 3.1) use Level 4.1 because you can use more x264 (H.264 based) options than the 3.1 levels offers you such as the number of reference frames (4.1=9 as opposed to 3.1=5) and from what I've read from the x264 developers (for instance Dark Shikari who wrote the PSY-RDO part of x264) x264 is very much optimized for Level 4.1 encoding.
If you're wondering why I've limited it to L4.1 as well as the developers, it's because almost all hardware accelerated decoding support stops at that level.

I don't disagree with you on that, all I was doing is giving the simple reason rather than the drawn out version.

I'd love to see you explain how x264 isn't a codec as it's even in this list of H.264 based codecs.
http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Software_encoder_feature_comparison (http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Software_encoder_feature_comparison)

X.264 is open source software designed to encode H.264, that's what I mean. I can see that I didn't make that clear though.

Sure but what about those who do, should I neglect their expectations for the best possible quality?
Also I would be neglecting the very probably possibility that people are going to upgrade their hardware thus raising the requirement for lossless audio, in other words using FLAC as opposed to MP3/OGG/AAC/WMA means it still holds the same audio quality years from now as opposed to lossy formats.
And when I edit with FLAC audio recompression it means however insubstantial extra effort on my part which is unnecessary.
I think all editors wants to present their video with the best possible quality though someone are willing to go further for this than others this involves no extra effort whatsoever.

This is a matter of opinion really, but I don't think the benefit of rendering FLAC versus the highest quality AAC format is worth it. Especially when it's one of few reasons you'd render your file out of Vegas into MeGUI. If you're not using Vegas (I use Premiere Pro/Avid at home) then you don't have to do that to render FLAC audio, so only then does it become a viable option. Even then though I can't imagine most would bother with using FLAC, because it's practically inaudible gain to most people. Nobody ever complains about the quality of audio on Blu-ray discs (also compressed), so why bother to use FLAC for stunting videos? That's my take on it.

You're forgetting that the file formats .mp4 and .mkv are just containers which both contain video coded using a codec based on the H.264 video standards be iit x264 or the one that comes with your NLE (Non-Linear Editing System).
H.264 can be encoded with Vegas and still be used in a .mkv container if remuxed so claiming the lossless rendering is just for a .mkv file has no basis in reality whatsoever.
The point here is that this is a not business/industry environment in which we edit which means we have to encode several version so people with different hardware setups are able to watch it with as good quality as possible.
And when you're going to render a 1080p, 720p and a SD version of a video you don't want to have to wait through Vegas having to render all the filters applied several times as some of them are quite heavy.
Thus rendering the lossless once means you are speed efficient in terms of getting your video rendered and prepared for release making it the favorable option.
Also another advantage of having the lossless .avi rendered means you can re-render new versions if need be and/or when there's options for achieving even better visual quality out there, so some people including me tend to store them on a backup drive just in case.

The problem is that rendering lossless files just to render different file-types potentially adds hours to your overall rendering time. That's why most NLE's give you the option to 'render' clips within the timeline. Not only does this allow you to play back your clips without any lag, but you can speed up the rendering process of your video by using the pre-rendered clips from your timeline. As far as I know the most recent versions of Vegas are capable of doing this too (most other programs certainly are). If not then lossless rendering could be a solution to this problem. However, the time spent rendering a lossless video is usually longer than you would spend rendering out the effects in your timeline, especially when rendering lower quality videos. In fact these days, I don't bother rendering low quality downloads, because most computers are capable of playing 720p videos at least, as long as they're rendered properly. The time spent rendering a 480p video and then uploading it for such a small minority is pointless when it's much easier to watch/download a video from YouTube.

"A lot of" is a lose term here and too open to interpretation so I won't comment on that.
However it does offer more options and is therefor more flexible than Vegas which is why I choose to use x264 in MeGUI as opposed to Vegas to encode the different versions of the video.
One thing that's also important to mention is that everyone isn't using Vegas or a similar NLE where the options for rendering/encoding are as broad so this actually gives those who for instance use Ulead or Pinnacle's solutions the same options in terms of output quality and/or control over it.

Good point, but I don't think the audience Ulead/Pinnacle/WMM targets with their programs are really interested in the extra options MeGUI gives you when they can render a HD WMV/MP4 right out of their software package. And you'd be challenged to find an editor striving for the best quality using any of those programs, let alone the gaming community which predominantly uses Sony Vegas Pro.

The primary reason the industry uses certain range of software is because everyone in the industry knows them and to introduce a new "unknown" one would be to introduce confusion into the environment.
It's the same reason the industry (at least where I live) use either Adobe Premiere, Avid or Final Cut, because everyone knows them and even though I personally prefer Vegas because of it's logically structured GUI and even more though if a lot of industry editors where given the option to try it without prejudice they would probably prefer it but it would be too much of an inconvenience to get everyone to switch to Vegas and it would cause a halt in the production flow of current projects not even to mention the license costs thus they're sticking to the standards.

The reason Sony Vegas hasn't been adopted into the industry (let alone formed a majority) is because of its lack of stability, the lack of speed you have when managing a lot of files, the lack of a three point editing system (which makes Vegas easy to use, but slow to edit with) and its lack of easy integration with local area networks and industry standard programs like After Effects. It's not because of prejudice towards the program, if it offered any advantage over other programs then people would be using it, especially given the price. There's things I love about Sony Vegas (text tool, pan and crop) that are miles better than the same features in programs like Final Cut Pro, but the reason I switched to mainly using Adobe Premiere at home is because of the reasons I gave before, as well as on the fly rendering which Sony Vegas doesn't have.

I think we're going off topic now, but I don't think there's any advantage of using MeGUI versus Sony Vegas for 99% of the people you made the tutorial for. You've made a fantastic tutorial, and some will find it extremely useful, but that's the point I was making :). I don't mean to undermine the work you've put in or anything along those lines, it's just that I think this makes rendering a slower process than it needs to be for most.
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Beat on August 19, 2011, 07:04:52 PM
I swear to god I won't EVER.. consider reading that :L! What the hell? :cheersad:

Actually I did read it now, I was so curious... how can someone write so much :|
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Daffy on August 20, 2011, 05:53:43 AM
I think we're going off topic now, but I don't think there's any advantage of using MeGUI versus Sony Vegas for 99% of the people you made the tutorial for. You've made a fantastic tutorial, and some will find it extremely useful, but that's the point I was making :). I don't mean to undermine the work you've put in or anything along those lines, it's just that I think this makes rendering a slower process than it needs to be for most.
Sure, I think we can both agree we've given good reasons for why both are good options but the bottom line is that no one is forced to use the method this tutorial gives people, it remains an option and it's up to people to decide which is why I think this was a healthy discussion and I apologize if I came across as harsh or aggressive to begin with which I probably did with good reasons as I spent a long, long time learning how the different parameters within x264 works and what they do to make a tutorial as optimized as possible for the best output quality.

This tutorial has worked and worked well for a lot of people including me (and I think you too) who are interested in the continued use of it, if it remains up to date which I work hard to do.
The difference between the option you're giving to this is that your method offers minor speed improvements while mine offers minor quality improvements and it's up to each and everyone to decide.
I also agree on the point that those who watches a video in SD quality is most likely to do it on YouTube as the differences quality wise are not that substantial but when it comes to HD, especially 1080p YouTube's quality just doesn't cut it compared to a well rendered/encoded local file.
Editors who renders and encodes a 1080p knows this and when they're doing so I think it makes sense for them to encode it with the intentions of getting the best possible output quality to make the effort worthwhile.

Concerning Vegas I agree about the stability issues which makes sense and is quite a shame since if those weren't the case plus the network support and so on for industry related editing Vegas would become a strong candidate but it isn't which is the main reason I've never put any effort working within the industry as I despise how much the NLE's that are used slows down how I edit.
This might be me who's stubborn or even inhabit a diva tendency or two and need to get out of my comfort zone but that's subjective and I don't quote know why I'm soul-searching here now so I'll leave it at this.
I would however like to see as I first stated a frame comparison of the output quality of the two methods at the same bitrate so bias becomes irrelevant but I won't put that burden on you, I'll do it myself to satisfy my own curiosity next time I'm editing a video.
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: VaNilla on August 20, 2011, 07:18:50 AM
Sure, I think we can both agree we've given good reasons for why both are good options but the bottom line is that no one is forced to use the method this tutorial gives people, it remains an option and it's up to people to decide which is why I think this was a healthy discussion and I apologize if I came across as harsh or aggressive to begin with which I probably did with good reasons as I spent a long, long time learning how the different parameters within x264 works and what they do to make a tutorial as optimized as possible for the best output quality.

It's a very well optimized tutorial :). You did come across as harsh but I understand that because here I am telling you that I don't think it's the right method to use, so don't worry about it. I just think focusing on minute details like FLAC for the time taken isn't the right thing to do in the interest of time, but if time isn't an issue for you then obviously there's no problem with doing that.

This tutorial has worked and worked well for a lot of people including me (and I think you too) who are interested in the continued use of it, if it remains up to date which I work hard to do.
The difference between the option you're giving to this is that your method offers minor speed improvements while mine offers minor quality improvements and it's up to each and everyone to decide.
I also agree on the point that those who watches a video in SD quality is most likely to do it on YouTube as the differences quality wise are not that substantial but when it comes to HD, especially 1080p YouTube's quality just doesn't cut it compared to a well rendered/encoded local file.
Editors who renders and encodes a 1080p knows this and when they're doing so I think it makes sense for them to encode it with the intentions of getting the best possible output quality to make the effort worthwhile.

Again I completely agree with you, it's just a question of whether to render in 1080p this way, or direct from whatever NLE you're using. I think 1080p on YouTube looks like ass compared to the original file generally (but still not bad) :P. The interesting thing is that we all use around 12-15 VBR max when it comes to 1080p files, but when you've got a big blu-ray disc or a satellite to broadcast over you can send 50mbps with no trouble, it's a shame we can't buy the compression programs all the major broadcasters use and render 5 minute videos at 50mbps and still have it be about 150mb :(.

Concerning Vegas I agree about the stability issues which makes sense and is quite a shame since if those weren't the case plus the network support and so on for industry related editing Vegas would become a strong candidate but it isn't which is the main reason I've never put any effort working within the industry as I despise how much the NLE's that are used slows down how I edit.
This might be me who's stubborn or even inhabit a diva tendency or two and need to get out of my comfort zone but that's subjective and I don't quote know why I'm soul-searching here now so I'll leave it at this.

Well yeah, there's things about those NLE's which suck hard. I hate doing text in Final Cut Pro because it's an awful tool with awkward controls, and I'd love Premiere Pro's text tool if it weren't for the fact that when you re-open the same text file, it shows the default values for your text controls (size, tracking etc) despite them being set differently. So every time you open the text file, you have to click back on the number in order for it to show up correctly, which is slow as hell. Obviously this is different to FCP as the latter is just a bug, but you see what I mean.

I can relate to you thinking that other programs slow you down, at first I hated using the three point editing in other programs because I couldn't just copy clips exactly where I wanted or fade files without first selecting the correct layer to use, and you can't drag clips over each other to crossfade in any other program. However I find that once you get used to it it makes more sense to have it like that, because then you only have to press one button to make a crossfade, you can copy exactly where you want, and you can replace a whole section of an edit without any effort. You also get tools such as roll tools which don't exist in Sony Vegas, which allows you to to change the in and out points of a clip on the timeline without dragging out the exact length of the clip again on a different layer. I'd never go back to Vegas unless it introduced features like these, because once you get used to them they make things so much easier to edit, making it hard to justify going back to the simplified system Vegas has.

I would however like to see as I first stated a frame comparison of the output quality of the two methods at the same bitrate so bias becomes irrelevant but I won't put that burden on you, I'll do it myself to satisfy my own curiosity next time I'm editing a video.

I've never looked for one honestly, but based on testing I've done by eye in the past I'd say Vegas's MP4 renders look slightly worse than the same thing from MeGUI, but Premiere Pro/FCP/Avid's look better than both.
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: PK on March 02, 2012, 04:13:30 AM
I remember I read a while back about something using MeGUI + VirtualDub. What is VirtualDub exactly for? And what does it have to do with MeGUI or any .mkv rendering?
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Squeak on March 02, 2012, 05:56:51 AM
...still reading.
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Shingetsu on July 14, 2012, 10:41:28 PM
Help me , i has been an Error : (http://i1112.photobucket.com/albums/k483/DarkwingSWS/nhchpmnhnh_2012-07-15_124013.png)
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Daffy on July 15, 2012, 03:51:26 AM
Post your script.
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Shingetsu on July 15, 2012, 05:06:46 AM
Here , i tryed in my PC before i re-install windows 7 . it's work , but now it's isn't work

Code: [Select]
DirectShowSource("C:\video.avi")
#Spline64Resize(1280,720)
Converttoyv12()
l = gradfun2dbmod(1.4)
c = gradfun2dbmod(2.2).addgrainc(0.0,1.0)
mt_merge(l,c,c,y=2,chroma="copy second")
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Shingetsu on July 16, 2012, 07:24:31 PM
up
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Daffy on July 17, 2012, 12:06:05 AM
Make sure you have the AddGrainC and Gradfun2dbmod filters added to the program files\avisynth\plugins directory.
http://www.sendspace.com/file/2lftai (http://www.sendspace.com/file/2lftai)
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Shingetsu on July 19, 2012, 12:29:47 AM
I Re-Installed windows and now it's work , maybe is error of Ghost version
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Shingetsu on July 21, 2012, 02:58:34 AM
 Can you re-upload Huffyuv Codec OS x64 version ?
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: PK on September 27, 2012, 08:58:36 AM
The additional files download link is broken.
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Shingetsu on September 28, 2012, 02:11:04 AM
The additional files download link is broken.
I re-uploaded , i think use mediafire better than sendspace ( Sendspace broken files faster :( )

 Here u are : http://www.sendspace.com/file/2h71sg (http://www.sendspace.com/file/2h71sg)
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Artifex on July 20, 2013, 03:04:20 AM
Can someone upload the Additonal files and Huffyuff codec x32 for me ?  :cc_detective:
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Shingetsu on July 20, 2013, 07:44:31 AM
Can someone upload the Additonal files and Huffyuff codec x32 for me ?  :cc_detective:
I'll upload it when i'm at home .
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Daffy on July 20, 2013, 12:46:58 PM
Use Lagarith instead of Huffyuv, encodes faster and compresses better.
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Shingetsu on July 21, 2013, 12:23:43 AM
Use Lagarith instead of Huffyuv, encodes faster and compresses better.
rendering time faster too ?
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Daffy on July 21, 2013, 02:02:16 AM
Use Lagarith instead of Huffyuv, encodes faster and compresses better.
rendering time faster too ?
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Art   on September 22, 2013, 03:36:39 AM
bumping for additional files, link in the first post is dead
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Shingetsu on September 22, 2013, 02:34:04 PM
https://mega.co.nz/#!MFAjEIJD!eTAjnxxT7B7LBLKhR6jTRg8B_NY0BsB31hOUSBz1omo
Title: Re: Tutorial: Matroska x264 Encoding 2.2
Post by: Daffy on September 25, 2013, 02:14:07 AM
Thanks for those files, I needed them myself though I think those are outdated.
I might update this pretty soon :)
Title: Re: Tutorial: Matroska x264 Encoding 2.3
Post by: Daffy on December 30, 2013, 05:29:10 AM
Updated.
Title: Re: Tutorial: Matroska x264 Encoding 2.3
Post by: Mati on January 30, 2014, 01:09:45 PM
Quote
bumping for additional files, link in the first post is dead
Title: Re: Tutorial: Matroska x264 Encoding 2.3
Post by: Daffy on February 07, 2014, 03:53:34 AM
Here's an alternative link until DropBox enables my links again.
http://www.sendspace.com/file/2nx8fg (http://www.sendspace.com/file/2nx8fg)
Title: Re: Tutorial: Matroska x264 Encoding 2.3
Post by: D.JacK on February 09, 2014, 05:13:54 AM
Yea,I done! thanks for the Tutorial.  :wub:
Title: Re: Tutorial: Matroska x264 Encoding 2.3
Post by: STREEM on March 30, 2014, 03:05:29 AM
Additional Files anyone.. ?
Title: Re: Tutorial: Matroska x264 Encoding 2.3
Post by: __JREN on April 29, 2014, 10:08:21 AM
I have been encoding with no problems so far, but today, when I imported the AviSynth Script into MeGUI, this error showed up:

(https://dl.dropboxusercontent.com/u/24703693/avisynthscript_error.jpg)

Anyone knows anything about it?

EDIT:
OK, apparently the resize line has to be a comment (#) no matter what.

2ndEDIT:
The error continues to appear if the video is not 1280*720px
In this case I'm using a video that it 950*536px

3rdEDIT (FIXED):
The final resolution or the first resolution have to be a True 16:9 one:
http://pacoup.com/2011/06/12/list-of-true-169-resolutions/ (http://pacoup.com/2011/06/12/list-of-true-169-resolutions/)
Title: Re: Tutorial: Matroska x264 Encoding 2.3
Post by: Mati on November 13, 2015, 06:50:13 AM
What if I want to render 60fps film?
SimplePortal 2.3.7 © 2008-2024, SimplePortal