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. |
8th May 2008, 09:50 | #1 | Link |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
x264 BluRay Profil - Special grain retention
Here x264 profil for extra quality BluRay compliant encoding:
http://jfl1974.free.fr/upload/x264_H264.rar Special x264 compilation: Code:
patch < x264_console.diff -p0 patch < x264_fgo.01.826.diff -p1 patch < x264_hrd_pulldown.04.diff -p0 patch < x264_2pass_vbv.8.diff -p1 configure --enable-avis-input --enable-mp4-output --enable-pthread --extra-cflags="-Ic:/gpac/include" --extra-ldflags="-Lc:/gpac/bin/gcc" make Special BluRay profil in the pack: Code:
@REM ----------------------------------------------------------- @REM @REM Profil BluRay 1080p23.976 extra high quality @REM @REM ----------------------------------------------------------- @REM Source file name (suffit de mettre la source ici) set E_SRC=Encodage_HD_NTSC_1080p.avs @REM Set of quality (ici la qualité 1-50) set E_BR=24 @REM Set of max bitrate (ici le bitrate max) set MAX_BR=24000 @REM Set of Buffer (ici le buffer) set BUF_BR=30000 @REM Set credit (frame de début du générique) set CRE_FR=150000 @REM Set end credit (frame de fin du générique) set END_FR=160000 @REM Profil x264.exe --threads auto --thread-input --keyint 24 --min-keyint 2 --crf %E_BR% --vbv-maxrate %MAX_BR% --vbv-bufsize %BUF_BR% --mvrange 511 --level 4.1 --bframe 3 --b-pyramid --b-rdo --bime --weightb --ref 3 --mixed-refs --direct auto --deblock -2:-2 --ipratio 1.10 --pbratio 1.10 --partitions "all" --8x8dct --me "umh" --subme 7 --trellis 0 --no-fast-pskip --no-dct-decimate --aud --nal-hrd --sar 1:1 --cqmfile Sagittaire.cfg --deadzone-intra 10 --deadzone-inter 10 --aq-strength 1.00 --aq-mode 2 --fgo 10 --zone %CRE_FR,%END_FR%,b=0.33 --progress -o 1080p_Q.h264 %E_SRC% pause Code:
@REM ----------------------------------------------------------- @REM @REM Profil BluRay 1080p23.976 3 passes extra high quality @REM @REM ----------------------------------------------------------- @REM Source file name (suffit de mettre la source ici) set E_SRC=Encodage_HD_NTSC_1080p.avs @REM Set of bitrate (ici le bitrate) set E_BR=6900 @REM Set of max bitrate (ici le bitrate max) set MAX_BR=20000 @REM Set of Buffer (ici le buffer) set BUF_BR=30000 @REM Profil x264.exe --threads 1 --thread-input --keyint 24 --min-keyint 2 --bitrate %E_BR% --vbv-maxrate %MAX_BR% --vbv-bufsize %BUF_BR% --mvrange 511 --level 4.1 --bframe 3 --b-pyramid --bime --weightb --ref 1 --mixed-refs --direct auto --deblock -2:-2 --pass 1 --stats "x264_stat.log" --ipratio 1.10 --pbratio 1.10 --partitions "all" --8x8dct --me "hex" --subme 5 --aud --nal-hrd --sar 1:1 --cqmfile Sagittaire.cfg --deadzone-intra 10 --deadzone-inter 10 --aq-strength 0.00 --aq-mode 0 --progress -o NUL %E_SRC% x264.exe --threads auto --thread-input --keyint 24 --min-keyint 2 --bitrate %E_BR% --vbv-maxrate %MAX_BR% --vbv-bufsize %BUF_BR% --mvrange 511 --level 4.1 --bframe 3 --b-pyramid --b-rdo --bime --weightb --ref 3 --mixed-refs --direct auto --deblock -2:-2 --pass 3 --stats "x264_stat.log" --ipratio 1.10 --pbratio 1.10 --partitions "all" --8x8dct --me "umh" --subme 7 --trellis 0 --no-fast-pskip --no-dct-decimate --aud --nal-hrd --sar 1:1 --cqmfile Sagittaire.cfg --deadzone-intra 10 --deadzone-inter 10 --aq-strength 1.00 --aq-mode 2 --fgo 10 --progress -o 1080p_2.h264 %E_SRC% @REM Make third pass only if second pass produce bad quality x264.exe --threads auto --thread-input --keyint 24 --min-keyint 2 --bitrate %E_BR% --vbv-maxrate %MAX_BR% --vbv-bufsize %BUF_BR% --mvrange 511 --level 4.1 --bframe 3 --b-pyramid --b-rdo --bime --weightb --ref 3 --mixed-refs --direct auto --deblock -2:-2 --pass 3 --stats "x264_stat.log" --ipratio 1.10 --pbratio 1.10 --partitions "all" --8x8dct --me "tesa" --subme 7 --trellis 1 --no-fast-pskip --no-dct-decimate --aud --nal-hrd --sar 1:1 --cqmfile Sagittaire.cfg --deadzone-intra 10 --deadzone-inter 10 --aq-strength 1.00 --aq-mode 2 --fgo 10 --progress -o 1080p_3.h264 %E_SRC% pause
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 Last edited by Sagittaire; 20th May 2008 at 19:54. |
8th May 2008, 10:54 | #4 | Link | ||
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Quote:
Quote:
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 |
||
8th May 2008, 10:57 | #5 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,803
|
You will get better quality if you remove those stupid lines
--keyint 24 --min-keyint 2 Tested works on PS3 and others (standalone players)
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
8th May 2008, 11:06 | #6 | Link | |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Quote:
1) --keyint 24 Max IDR must be 24 frames if you want compliant BD profil. All the BD authoring soft want compliant GOP. Moreover 24 frame is a relative long GOP: very long GOP at 240 frames will produce less than 5% quality improvement. It's 1 sec for the max gop and anything else for Blu Ray. 2) --min-keyint 2 Usefull if you want make BluRay -> HDDVD flag convertion with H264info for example. Moreover by default minkeyint at 10 can be problemtic with scenecut detection with GOP at 24. Consecutive IFrame can be problematic with authoring software (frame drop with cinevision for example) PS3 profil (with mp4) is not a compliant BluRay profil. --keyint 24 --min-keyint 2 produce the best possible compliant stream.
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 Last edited by Sagittaire; 8th May 2008 at 11:18. |
|
8th May 2008, 13:35 | #7 | Link | |
Registered User
Join Date: Nov 2007
Posts: 449
|
Quote:
I don't use them anymore, because I only want to watch my video on the PS3, but if I want to add menus.. that will be another story. it's what I think |
|
8th May 2008, 13:37 | #8 | Link | |
Registered User
Join Date: Nov 2007
Posts: 449
|
Quote:
I had trouble with crf 20 on anime with ripbot in the past, so I stop using crf to replace by 2pass. |
|
3rd August 2008, 15:55 | #11 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
nope, just some players or old softwares. i excluded b-pyramid from the megui presets for that reason (not that it is a big advantage in quality by using it though). also i found a typo --min-keint 1 instead of 2 in the blu-ray and avc-hd presets (while HD-DVD was correctly set at 2), so i will update them asap.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! Last edited by Sharktooth; 3rd August 2008 at 15:58. |
3rd August 2008, 17:08 | #12 | Link | |
Registered User
Join Date: Mar 2006
Posts: 1,538
|
Quote:
|
|
3rd August 2008, 19:19 | #13 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
not at all.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
4th August 2008, 18:19 | #15 | Link | |
Registered User
Join Date: Jan 2004
Posts: 849
|
Quote:
__________________
Geforce GTX 260 Windows 7, 64bit, Core i7 MPC-HC, Foobar2000 |
|
4th August 2008, 18:44 | #16 | Link |
Registered User
Join Date: Dec 2005
Posts: 1,460
|
If you want do try the new megui profiles no one is stopping you. They are available, you just won't get them via auto-update until they are finished.
|
4th August 2008, 21:28 | #17 | Link |
Registered User
Join Date: Jan 2004
Posts: 849
|
Oh, I wasn't hurrying people along, I just noticed a patter of Shark saying he'll update x264 profiles, and then MeGUI updating audio profile and not x264. I thought that maybe megui wasn't grabbing the right one, i.e. something wrong with autoupdate. And since this is the latest of Sharks posts on the subject I thought I'd ask. I have my own edit of Shark's PSP profile that works fine for this.
__________________
Geforce GTX 260 Windows 7, 64bit, Core i7 MPC-HC, Foobar2000 |
5th August 2008, 02:22 | #18 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
yep, the presets are not yet published in the megui auto-update but they're available at the link nurbs posted.
that way they can be tested and tweaked before being added to megui automatic updates.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
5th August 2008, 12:03 | #19 | Link | |
Registered User
Join Date: Feb 2006
Posts: 1,076
|
Quote:
I'll try encoding an AVCHD with b-pyramids tomorrow and see if my panasonic will play AVCHD's with b-pyramids. Last edited by G_M_C; 5th August 2008 at 12:05. |
|
5th August 2008, 12:42 | #20 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
yes, but not by some old players and old software decoders.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
Thread Tools | Search this Thread |
Display Modes | |
|
|