Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1001 | Link | ||
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,244
|
Quote:
Quote:
In case of a crash, it is not easy to figure out what exactly caused it, because the problem may be the result of a specific plug-in combination and/or a specific Avisynth version/variant. (Especially the "MT" and "x64" forks of Avisynth are anything but rock stable)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 31st January 2013 at 03:28. |
||
![]() |
![]() |
![]() |
#1003 | Link | |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,244
|
Quote:
![]() Generally you would simply pick the slowest possible Preset you can afford (speed-wise) and then choose the highest possible CRF you can accept (quality-wise). You can then save your personal choice as a Template, for convenience. As for Youtube: They are going to re-encode your clip anyway, so all you can do is provide a "decent" quality source and hope that they won't mess it up too bad. It's not worth to worry about the details, because their re-encoding is going to hurt the quality anyway... (The only thing for which I think pre-defined "Templates" could be useful is BluRay encoding, because that requires not-so-trivial combination of parameters)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
![]() |
![]() |
![]() |
#1004 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,457
|
Quote:
Code:
--bluray-compat --profile high --level 4.1 --vbv-maxrate 40000 --vbv-bufsize 30000 --keyint 24 --slices 4 --open-gop --colorprim bt709 --transfer bt709 --colormatrix bt709 --b-pyramid strict --fake-interlaced --aud
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
|
![]() |
![]() |
![]() |
#1005 | Link |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,244
|
"Fake Interlaced" is needed where you want N fps progressive (because you have a progressive source at N fps), but the BluRay standard only allows for N fps interlaced (i.e. 2xN fields/second) - not N fps progressive. x264 will then create an "interlaced" stream (to make BluRay happy), but simply code all blocks as "progressive". That's possible because even in "interlaced mode" H.264 still allows to select between interlaced/progressive for each block (MBAFF). And about the "--bluray-compat" option: It is required but not sufficient to get 100% BluRay compatibility. I guess that's because there are some things that are always needed for BluRay compat and other things that need to be adjusted.
For details see: http://www.x264bluray.com/
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 6th February 2013 at 02:19. |
![]() |
![]() |
![]() |
#1006 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,457
|
Many thanks for your reply. But "Authoring a professional Blu-ray Disc with x264" page doesn't have much information. It specifies only that --fps 24000/1001 --force-cfr must be used if the source has not the correct frame rate. Nothing else. I suppose I'll have to search for "blu-ray" in http://mewiki.project357.com/wiki/X264_Settings
[EDIT] Oops, found how to use the site. The information is in other pages. Thanks again!
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
![]() |
![]() |
![]() |
#1007 | Link |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,244
|
It has very detailed info. Just choose your type of source from the left-side menu
![]()
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
![]() |
![]() |
![]() |
#1008 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,457
|
Yes, I figured it. I have updated my previous post, but you haven't seen the edit. Anyway, it's perfect. Thanks again.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
![]() |
![]() |
![]() |
#1009 | Link |
Registered User
Join Date: Sep 2011
Posts: 241
|
Avisynth colour changes double the bitrate
I'm fixing VHS-to-DVD conversions with Avisynth. I've found that CRF 17 gives the lowest file size and I've been encoding videos for ages without problems - if I use a higher setting then I can see artefacts.
The problem is that I've got some videos that have a darkness problem that I need to fix with this Avisynth code: ColorYUV(gamma_y=200, off_y=-32) But when I encode a video the bitrate is double than what it would be if I didn't use that code. These are just colour corrections so I don't understand why this happens? |
![]() |
![]() |
![]() |
#1010 | Link | |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,244
|
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
![]() |
![]() |
![]() |
#1011 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,457
|
I have a frame rate problem with some versions of x264. The versions included with your launcher work perfectly, but some versions downloaded from x264.nl are not so good. The problem, when the .nl version is used, is that MkvMerge cannot find the frame rate in the h264 stream, and it assumes 25p. When you mux such a x264 file manually with MkvMerge GUI (mmg.exe), it issues a warning that explains that the frame rate must be specified, but I want to automate the encoding and muxing and mkvmerge.exe (CLI) doesn't issue that warning. When the same video is encoded with Simple x264 launcher (or with the exes in your toolbox), there is no warning, and the correct frame rate is used.
Is it a fix included only in some builds, or starting with a specific version number? Where do you download the versions included in your toolbox? Is it possible to test if the user of a GUI uses a version that sets correctly the frame rate in the video stream? Sorry to ask this question here, as your tool works perfectly, but I think you know certainly what's the origin of that problem, and how to avoid it.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
![]() |
![]() |
![]() |
#1012 | Link | |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,244
|
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
![]() |
![]() |
![]() |
#1013 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,457
|
Hum, strange. There IS a difference when I encode with the 64bit 8bit-depth version downloaded from x264.nl, and with your x264_8bit_x64.exe. I don't have to specify the frame rate when muxing (with mkvmerge.exe) the files encoded with your version, but I must specify it if I encode with the .nl version (except if the frame rate is 25fps of course). So, there must be a difference.
Your version: Code:
x264 0.128.2216 198a7ea (libswscale 2.1.101) (libavformat 54.25.105) (ffmpegsource 2.17.2.1) built by Komisar on Sep 6 2012, gcc: 4.7.1 (multilib.generic.Komisar) configuration: --bit-depth=8 --chroma-format=all x264 license: GPL version 2 or later libswscale/libavformat/ffmpegsource license: GPL version 2 or later The .nl version: Code:
x264 0.130.2273 b3065e6 (libswscale 2.1.1) (libavformat 54.21.2) (ffmpegsource 2.17.3.0) built on Feb 27 2013, gcc: 4.7.2 configuration: --bit-depth=8 --chroma-format=all x264 license: GPL version 2 or later libswscale/libavformat/ffmpegsource license: LGPL version 2.1 or later Of course, I've used the same encoding and muxing parametres in both cases. I agree. But it seems that mkvmerge can find the correct frame rate in one case, and it defaults to 25fps in the other case. Why? I'm puzzled.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV Last edited by r0lZ; 8th March 2013 at 18:17. |
![]() |
![]() |
![]() |
#1014 | Link |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,244
|
Well, you are comparing x264 r2216 to x264 r2273. You should compare the same revisions to be sure. Also I have updated "my" package to x264 r2273 (again Komisar build) too.
(Furthermore, adding "--force-cfr" might help, but I'm not sure)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
![]() |
![]() |
![]() |
#1015 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,457
|
--force-cfr is in my settings.
I'll do other tests later, but it seems that it's not related to the version number. (Or should I consider that the newer version did a regression?) I'll post here if I can understand the problem. Anyway, thanks for your help.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
![]() |
![]() |
![]() |
#1016 | Link |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,244
|
As long as you are comparing two different versions, we cannot know whether this has something to do with changes in x264 or with the different builds, but I'd say the former is more likely...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
![]() |
![]() |
![]() |
#1017 | Link | ||
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,457
|
OK, I did comparisons with the latest versions. Still same problem.
Komisar version (distributed with your launcher): Quote:
The version downloaded from x264.nl: Quote:
I suppose the bug is caused by libavformat v54.21.2, as the version of ffmpegsource is identical in both builds. I haven't tested the 32-bit exes, and the 10-bit depth exes, but I suppose they have the same bug. Anyway, the Komisar version is the one to keep. (It gives also a slightly better compression with identical parameters, and it is slightly faster.) Keep that version for your launcher! Can you confirm that your versions are the KMod builds from this page? [EDIT] I don't need a reply for that question. They are the "clear" builds.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV Last edited by r0lZ; 9th March 2013 at 16:52. |
||
![]() |
![]() |
![]() |
#1018 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,457
|
OK, I've downloaded and tested all versions from Komisar's page, and none of them have the frame rate bug.
I've also noticed that the KMod builds have a different output for the progress lines, and I guess they are not compatible with your launcher, for that reason. (I had to modify my PgcEdit plugin to support them.) I'll stick with the Komisar clear builds for now, as I know that they work well. Thanks again for your inputs. [EDIT] Tested also all versions from http://x264.nl/, and all of them have the frame rate bug. So, it seems that it's not a problem with the x32/x64 or 8/10-bit depth versions, but a problem with the libraries used by the author of that builds. (I don't know who he is and how to contact him.)
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV Last edited by r0lZ; 9th March 2013 at 19:38. |
![]() |
![]() |
![]() |
#1019 | Link |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,244
|
Okay, so from your go log we can see that it's actually the FFMS2 (FFmpegSource2) detecting different frame rates for your original input to x264!
That's probably the result of different versions of the FFMS2/Libav libraries being used in those builds. Looks like they both use the same FFMS version (2.17.3.0), but the Komisar build was made using as lightly never Libav version (54.63.100 -vs- 54.21.2).
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 10th March 2013 at 14:29. |
![]() |
![]() |
![]() |
#1020 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,457
|
Yes, that was my conclusion too. The x264 code itself is not the culprit. But it is a fact that it's a very big difference, although both versions have the same build number.
Anyway, you can't help. Sorry for having polluted your thread!
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|