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.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > DVD & BD Rebuilder

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th July 2016, 20:41   #24561  |  Link
Ch3vr0n
Registered User
 
Join Date: Jan 2009
Posts: 1,368
Well excluded entire bdrb folder, still don't work. Even disabling AV entirely doesn't fix it. Doubt it is the issue, it wasn't back when i was on win7

Last edited by Ch3vr0n; 24th July 2016 at 20:56.
Ch3vr0n is offline   Reply With Quote
Old 24th July 2016, 20:41   #24562  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
... just an added thought...

That is why I was so interested in trying the x265 Archive feature. I basically want the best way to archive (back up) my Blu-rays with a high quality (CRF 18 or so) but with as small as a file size as I can. And, I THOUGHT that with the new x265 backup, that would result in even smaller file sizes than with that standard x264.

But again, when I tried to do that with these archive settings (I'm not sure about the last one):

ARCHIVE_ENABLE=1
ARCHIVE_LIMIT=1
ARCHIVE_CRF=16
ARCHIVE_265=0

... and I believe with the 'High' default setting, I got just about the exact same size of the original Blu-ray, but with the added pleasure of waiting like 12 hours for it!

So, I'm gonna TRY to run another encode now. I'm using about a 19 Gig Blu-ray. We'll see how it goes and I'll post that last command deal.
Lathe is offline   Reply With Quote
Old 24th July 2016, 20:45   #24563  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
Oh yeah... since I always use LAVF for the encoder, I cannot choose CRF encoding, so that means, and I THINK I had to do this last time I tried this, I need to switch it to DirectShow, right?

Thanks!

Also, how do I get it to do a CRF encode and set the value and NOT set the output size...??? It doesn't LOOK like I can do that, but can only do what you were telling me about by setting CRF and the BD-25 size to SEE what the resulting CRF is. But, how do I actually set the CRF and discount the output size...? (BTW, now that I think of it, that COULD have been my trouble before because I may have inadvertently left the output size set to BD-25 )

Last edited by Lathe; 24th July 2016 at 20:48.
Lathe is offline   Reply With Quote
Old 24th July 2016, 20:56   #24564  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Quote:
Originally Posted by Lathe View Post
Oh yeah... since I always use LAVF for the encoder, I cannot choose CRF encoding, so that means, and I THINK I had to do this last time I tried this, I need to switch it to DirectShow, right?

Thanks!

Also, how do I get it to do a CRF encode and set the value and NOT set the output size...??? It doesn't LOOK like I can do that, but can only do what you were telling me about by setting CRF and the BD-25 size to SEE what the resulting CRF is. But, how do I actually set the CRF and discount the output size...? (BTW, now that I think of it, that COULD have been my trouble before because I may have inadvertently left the output size set to BD-25 )
Look for FIXED_CRF in HIDDENOPTS.TXT.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 24th July 2016, 21:10   #24565  |  Link
soneca
Registered User
 
Join Date: Feb 2008
Location: Brazil
Posts: 753
For the record, the hundreds of encoders I did a film called "The Adventurer: The Curse of the Midas Box" was the winner in terms of compressibility. If they were all like this, I save a lot on hard disk!
The only explanation for difficult sources to be compressed for no apparent reason, that is already highly compressed.

Only the movie on Blu-ray.
(preset slower - crf 18)

Code:
General
ID                                       : 0 (0x0)
Complete name                            : D:\BLU-RAY\O_AVENTUREIRO_A_MALDICAO_DA_CAIXA_DE_MIDAS\BDMV\STREAM\00023.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 28.3 GiB
Duration                                 : 1 h 39 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 40.7 Mb/s
Maximum Overall bit rate                 : 48.0 Mb/s

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : 27
Duration                                 : 1 h 39 min
Bit rate mode                            : Variable
Bit rate                                 : 36.8 Mb/s
Maximum bit rate                         : 37.5 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.741
Stream size                              : 25.6 GiB (90%)


MKV

General
Unique ID                                : 248300777067398407366783915511877430750 (0xBACCFD7C3B43619A819C8E04BAB76DDE)
Complete name                            : E:\VIDEOS\O_AVENTUREIRO_A_MALDICAO_DA_CAIXA_DE_MIDAS.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 4.12 GiB
Duration                                 : 1 h 39 min
Overall bit rate                         : 5 929 kb/s
Movie name                               : O_AVENTUREIRO_A_MALDICAO_DA_CAIXA_DE_MIDAS
Encoded date                             : UTC 2016-07-24 18:49:16
Writing application                      : mkvmerge v9.3.1 ('Mask Machine') 32bit
Writing library                          : libebml v1.3.4 + libmatroska v1.4.5

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 8 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1 h 39 min
Bit rate                                 : 3 641 kb/s
Width                                    : 1 920 pixels
Height                                   : 820 pixels
Display aspect ratio                     : 2.35:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.096
Stream size                              : 2.53 GiB (61%)
Writing library                          : x264 core 148 r2694 3b70645
Encoding settings                        : cabac=1 / ref=8 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 /
 psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / f
ast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / 
interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / 
weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / 
rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default                                  : Yes
Forced                                   : No

Last edited by jdobbs; 24th July 2016 at 21:16.
soneca is offline   Reply With Quote
Old 24th July 2016, 21:12   #24566  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
Quote:
Originally Posted by jdobbs View Post
Look for FIXED_CRF in HIDDENOPTS.TXT.
Yep, just NOW found that... DOHHHHHH!

Gee, I wonder if that is why ALL of my bloody CRF encodes have come out the size of a full Blu-ray...???
Lathe is offline   Reply With Quote
Old 24th July 2016, 21:25   #24567  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
Hmmm, I added this to the config file:

FIXED_CRF=18

But, it is still showing the selected output size as BD-25...???
Lathe is offline   Reply With Quote
Old 24th July 2016, 21:30   #24568  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
Quote:
Originally Posted by soneca View Post
For the record, the hundreds of encoders I did a film called "The Adventurer: The Curse of the Midas Box" was the winner in terms of compressibility. If they were all like this, I save a lot on hard disk!
The only explanation for difficult sources to be compressed for no apparent reason, that is already highly compressed.

Only the movie on Blu-ray.
(preset slower - crf 18)

Code:
General
ID                                       : 0 (0x0)
Complete name                            : D:\BLU-RAY\O_AVENTUREIRO_A_MALDICAO_DA_CAIXA_DE_MIDAS\BDMV\STREAM\00023.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 28.3 GiB
Duration                                 : 1 h 39 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 40.7 Mb/s
Maximum Overall bit rate                 : 48.0 Mb/s

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : 27
Duration                                 : 1 h 39 min
Bit rate mode                            : Variable
Bit rate                                 : 36.8 Mb/s
Maximum bit rate                         : 37.5 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.741
Stream size                              : 25.6 GiB (90%)


MKV

General
Unique ID                                : 248300777067398407366783915511877430750 (0xBACCFD7C3B43619A819C8E04BAB76DDE)
Complete name                            : E:\VIDEOS\O_AVENTUREIRO_A_MALDICAO_DA_CAIXA_DE_MIDAS.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 4.12 GiB
Duration                                 : 1 h 39 min
Overall bit rate                         : 5 929 kb/s
Movie name                               : O_AVENTUREIRO_A_MALDICAO_DA_CAIXA_DE_MIDAS
Encoded date                             : UTC 2016-07-24 18:49:16
Writing application                      : mkvmerge v9.3.1 ('Mask Machine') 32bit
Writing library                          : libebml v1.3.4 + libmatroska v1.4.5

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 8 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1 h 39 min
Bit rate                                 : 3 641 kb/s
Width                                    : 1 920 pixels
Height                                   : 820 pixels
Display aspect ratio                     : 2.35:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.096
Stream size                              : 2.53 GiB (61%)
Writing library                          : x264 core 148 r2694 3b70645
Encoding settings                        : cabac=1 / ref=8 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 /
 psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / f
ast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / 
interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / 
weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / 
rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default                                  : Yes
Forced                                   : No
Interesting Soneca, thanks!

This looks like a nicely reduced MKV encode that likely retains a lot of quality. I cannot use the 'Slower' setting because the resulting encode would not be compliant with my OPPO player. But, this is an excellent example.
Lathe is offline   Reply With Quote
Old 24th July 2016, 21:37   #24569  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
I also noticed that this hidden option is no longer listed:

AVCHD=1

What did that do again?
Lathe is offline   Reply With Quote
Old 24th July 2016, 21:43   #24570  |  Link
Ch3vr0n
Registered User
 
Join Date: Jan 2009
Posts: 1,368
afaik that setting forces strict AVCHD compliance
Ch3vr0n is offline   Reply With Quote
Old 24th July 2016, 21:45   #24571  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
Okay, the only way I could see to eliminate the output size was to chose the 'Archive' mode (x264) But, isn't that pretty much the same as the normal setting as if you were doing a 1-pass CRF encode with no output size specified...?
Lathe is offline   Reply With Quote
Old 24th July 2016, 21:45   #24572  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
Quote:
Originally Posted by Ch3vr0n View Post
afaik that setting forces strict AVCHD compliance
Yeah, makes sense...
Lathe is offline   Reply With Quote
Old 24th July 2016, 22:18   #24573  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
DirectShow produces an error. LAVF does not...

Okay, here is a real puzzler...

So, since I cannot seem to use CRF encoding with LAVF, I went ahead and changed it to DirectShow. I ran the Blu-ray movie file (m2ts) and I got this error:


[07/24/16] BD Rebuilder v0.50.17
[14:01:33] Source: __VID_00000
- Input BD size: 19.72 GB
- Approximate total content: [01:39:06.523]
- Target BD size: 10.45 GB
- Windows Version: 6.2 [9200]
- MOVIE-ONLY mode enabled
- Quality: High Quality (Default), Two Pass
- X264 Tweak(s) enabled
- Decoding/Frame serving: DirectShow
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=192
[14:01:34] PHASE ONE, Encoding
- [14:01:34] Processing: VID_00000 (1 of 1)
- [14:01:34] Extracting A/V streams [VID_00000]
- [14:04:16] Reencoding video [VID_00000]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 23.976fps, 142,574 frames
- Bitrate: 11,860 Kbs
- [14:04:16] Reencoding: VID_00000, Pass 1 of 2
- Encode failed. Aborting.
- BD-Rebuilder v0.50.17
- Windows Version: 6.2 [9200]
- Working Path Free Space: 73.04GB
- AVISYNTH Version: 2.6.0.6, Ok
- LAVFILTERS: Ok
- AnyDVD Remove Short Titles: Incompatible
- X264: Ok
- AFTEN: Ok
- FAAC: Ok
- MP4BOX: Ok
- WAVI: Ok
- TSMUXER: Ok
- FRIMEncode: Ok
- FRIMDecode: Ok
[14:04:17] - Failed video encode, aborted


Now, I NEVER use that feature with AnyDVD and besides, this is only the movie m2ts file, so there are no 'titles' short or otherwise. I first tried this with the Archive function using CRF and I got the error. Then I did it again, but this time NOT using the Archive function but using the normal 2 pass, selected output size, etc. I got basically the same error (the above log file)

Okay, so now I'm thinking that I normally only use LAVF, but I can't use the CRF 1-pass, so I leave EVERYTHING exactly the same as the above FAILED encode, but I change back to LAVF. And, guess what...??? NOW, the encode is proceeding just fine with NO errors!

So.... WHY...??!

Here is the current log file with the ONLY difference is that I went from DirectShow back to LAVF:


[07/24/16] BD Rebuilder v0.50.17
[14:05:41] Source: __VID_00000
- Input BD size: 19.72 GB
- Approximate total content: [01:39:06.523]
- Target BD size: 10.45 GB
- Windows Version: 6.2 [9200]
- MOVIE-ONLY mode enabled
- Quality: High Quality (Default), Two Pass
- X264 Tweak(s) enabled
- Decoding/Frame serving: X264/LAVF
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=192
[14:05:44] PHASE ONE, Encoding
- [14:05:44] Processing: VID_00000 (1 of 1)
- [14:05:44] Extracting A/V streams [VID_00000]
- [14:08:02] Reencoding video [VID_00000]
- Source Video: MPEG-4 (AVC), 1920x1080
- Rate/Length: 23.976fps, 142,574 frames
- Bitrate: 11,860 Kbs
- [14:08:02] Reencoding: VID_00000, Pass 1 of 2


***EDIT

So, in other words, if I could bloody USE LAVF with the CRF 1-pass encoding, I should be fine and be able to archive like I've been asking about. BUT... since I can't and apparently HAVE to use DirectShow, I get an error...

So, now what...???

Last edited by Lathe; 24th July 2016 at 22:21.
Lathe is offline   Reply With Quote
Old 24th July 2016, 22:28   #24574  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,213
@Lathe
If you have FIXED_CRF=18 set then select the two items in the screencap and you can disregard the size.
Select your own preset if you wish
Attached Images
 
gonca is offline   Reply With Quote
Old 24th July 2016, 22:32   #24575  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
Quote:
Originally Posted by gonca View Post
@Lathe
If you have FIXED_CRF=18 set then select the two items in the screencap and you can disregard the size.
Select your own preset if you wish
Thanks Gonca, but I will have to wait until your picture is 'Approved' until I can see it. BTW, I already DO have that in my config file as I mentioned earlier.
Lathe is offline   Reply With Quote
Old 24th July 2016, 23:23   #24576  |  Link
soneca
Registered User
 
Join Date: Feb 2008
Location: Brazil
Posts: 753
Quote:
Originally Posted by Lathe View Post
Interesting Soneca, thanks!

This looks like a nicely reduced MKV encode that likely retains a lot of quality. I cannot use the 'Slower' setting because the resulting encode would not be compliant with my OPPO player. But, this is an excellent example.
Why not? Just adapt the preset making it compatible with the Oppo features.
I'm no expert but this example profile below based on preset slower never had problems between AVCHD discs(1080p) and players of various brands.

--preset slower --bluray-compat --tune film --level 4.0 --keyint 24 --min-keyint 1 --ipratio 1.2 --vbv-bufsize 14500 --vbv-maxrate 15000 --me umh --b-adapt 2 --ref 4 --bframes 3 --pic-struct --colorprim "bt709" --transfer "bt709" --colormatrix "bt709"
soneca is offline   Reply With Quote
Old 25th July 2016, 02:10   #24577  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Quote:
Originally Posted by Lathe View Post
Hmmm, I added this to the config file:

FIXED_CRF=18

But, it is still showing the selected output size as BD-25...???
That's ok. All targeting is out the window when CRF is selected and FIXED_CRF is set.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 25th July 2016, 02:11   #24578  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
Quote:
Originally Posted by jdobbs View Post
That's ok. All targeting is out the window when CRF is selected and FIXED_CRF is set.
Oh, so you mean that even though the output size is still showing before encoding, as soon as I start the encode it will bypass or ignore the output size?
Lathe is offline   Reply With Quote
Old 25th July 2016, 02:11   #24579  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Quote:
Originally Posted by Lathe View Post
I also noticed that this hidden option is no longer listed:

AVCHD=1

What did that do again?
It's not a hidden option -- it is set from within SETUP.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net
jdobbs is offline   Reply With Quote
Old 25th July 2016, 02:13   #24580  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,100
Also too, did you have a chance to see where I got the error (AnyDVD error, although doesn't apply) with Directshow, and then with the EXACT same settings it ran just fine when I switched to LAVF...???

I included the two logs above.

Sure is weird...

It WOULD be nice if I could us LAVF AND still use 1 pass CRF 18, but BDRB doesn't allow it though...
Lathe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.