Oh Well… looks like I’m on my own. That’s OK I’ll figure it out. When I do I’ll post the solution here. Thanks for your help.
BTW: Plex can handle 4K HDR x265 10bit just fine, the free demo/videos from this website work great (direct play). http://demo-uhd3d.com/ It’s my own 4K HDR videos I’m running through HandBrake that are giving me problems.
Has anyone taken the DVD.plist and HD.plist that @JuiceWSA posted on the first page of this thread and converted it to something that HandBrakeCLI can use? I need to run my conversions headless (no GUI) so I can’t use regular HandBrake.
Alternately, if someone has the options that are passed directly to ffmpeg for these settings, that would be fine too. Thanks!
Not sure if this will help, but here is that enormously long string of settings (taken from MediaInfo) in the most recent encode that’s working fine. I would suggest you use your own interpretation of what ‘bitrate=4250’ should be.
@JuiceWSA
Hey I Need help with a movie.
The Resolution is 1920x1080 but I have black bars left and right.
Is there a way I can eliminate the bars with Handbrake so I have full Screen and maybe 1920x1080 ?
The bonehead that encoded that item encoded the black bars right in with the video because 4:3 content at 1080p is correctly displayed as 1440x1080 and is correctly displayed ‘Pillar Boxed’. Some varying degrees of Cinema Scope, Vista Vision, etc will also have varying degrees of Pillar Boxing. When you attempt to remove these black bars you end up stretching the picture out of proportion - and you’re on your own. I don’t do it. I watch material in the intended Aspect Ratio.
I prefer Ingrid Bergman to look like Ingrid Bergman - not Rosanne Barr.
I suggest you:
turn down the room lighting
and/or
adjust the display brightness
in order to:
view the intended Aspect Ratio without concentrating on those ‘gray bars’ (display brightness too high) or being able to see the difference between ‘gray bars’ and the Black TV Frame. Train your eyeballs to watch the content, not what’s around the content.
You can fiddle with cropping and forcing an end product that is totally out of whack if you want to - and may God have mercy on your soul.
@JuiceWSA
Ok.Ok…
I thought there is a way around it. But before I end up in hell… I will darker the room and burn a candle and watch the movie as it is
I hope the handbrake issue gets fixed soon (as such things are measured) since having the PAR adjustments is such a data blessing once you figured out how to use them. In the meantime I HAD been living with it. Now I know what to do to get it back, if I don’t need the other new features more.
But seriously, the Xmedia Recode… I wish I’d known about this 2 years ago. Extracting audio for use in an audio program to normalize it and then resync it back into the original video was just too much of an additional task chain for me to contemplate. That I’ve gotten used to camping the volume control while watching things doesn’t much please the rest of the family when they are watching things (shocking I know). Now I can fix my whole library, it won’t be the end of the world and we’ll all be happy (except the volume control which will now be almost always lonely).
There doesn’t seem to be a one size fits all program for someone on a budget, which is a drag. But if you don’t mind fiddling around you can pretty easily find a solution you can live with in a reasonable set of programs. Which wasn’t even close to true 8 years ago.
Again, thanks for giving me a lead on another toolbox that I can use and actually want to.
I just started fiddling around with Version 1.0.7 and it seems to be fine.
Custom Anamorphic is gone, but… use Auto and it is possible to encode a DVD properly at 720x480, but have it displayed properly at 849x480 (16:9).
So far it’s behaving nicely.
I’m using a Custom Profile and have removed ALL those others.
Basically if you’ve seen the old UI, the new one isn’t that different, but after a time I’ll update the screenshots and text as warranted.
@JuiceWSA said:
I just started fiddling around with Version 1.0.7 and it seems to be fine.
Custom Anamorphic is gone, but… use Auto and it is possible to encode a DVD properly at 720x480, but have it displayed properly at 849x480 (16:9).
So far it’s behaving nicely.
I’m using a Custom Profile and have removed ALL those others.
Basically if you’ve seen the old UI, the new one isn’t that different, but after a time I’ll update the screenshots and text as warranted.
Hi. I am trying to convert a pal dvd. And You mentioned before about 1024 being the magic display number for 16:9 tvs. But I cannot figure out how to achieve this in handbrake since they took away custom…how do i input the disply to be 1024? Any tips appreciated…thanks
I assume if the base/original has anamorphic flag (as my test files did) when using Auto they’ll just work (as my test files did).
I can see you are having some difficulty in that region.
I also assume since the base/original is 720x576, Handbrake will magically know that the display size will end up being 1024 (or something close) if you use Auto. Looks like you’re going to have to use a custom crop, get those numbers back up to original and also try to set an anamorphic flag properly before you bring it in to handbrake… or something.
You may have to back up a version.
This bit is pretty new to me - and it’s kinda clear Handbrake hasn’t exactly figured it out - if asshat moves like this are in play.
You’ll also want to tic the Web Optimized box for MP4/M4V
Ok… disregard some of that… we’ll work out which bits later… lol
Start with the Legacy - High Profile profile…
Drag your file onto Handbrake… you should see the 576 bit is greyed out, but now chose Automatic from the Anamorphic Dropdown. 576 should now snap in and you should get new info in the Display Size area - like I did:
What’d you get?
Right now I’m creating a DVD Profile 'cause I’ll want my files to be MKV, AC3 Audio, etc - and apparently it really depends where you start BEFORE a file lands in Handbrake.
Still kinda ignernt, if you ask me, but it is what it is.
@JuiceWSA said:
I just started fiddling around with Version 1.0.7 and it seems to be fine.
Custom Anamorphic is gone, but… use Auto and it is possible to encode a DVD properly at 720x480, but have it displayed properly at 849x480 (16:9).
So far it’s behaving nicely.
I’m using a Custom Profile and have removed ALL those others.
Basically if you’ve seen the old UI, the new one isn’t that different, but after a time I’ll update the screenshots and text as warranted.
An updated guide for the next “approved by JuiceWSA” version would be great! I’m in the preparation stages of re-encoding my media library to be more compatible with my current devices (mostly Plex/Roku). A lot of them were done back when I had WD Live devices (2009?) and probably picked bad presets. I have 1.0.7 installed on my new encoding box, but that was before I came across your guide.
@JuiceWSA said:
I assume if the base/original has anamorphic flag (as my test files did) when using Auto they’ll just work (as my test files did).
I can see you are having some difficulty in that region.
I also assume since the base/original is 720x576, Handbrake will magically know that the display size will end up being 1024 (or something close) if you use Auto. Looks like you’re going to have to use a custom crop, get those numbers back up to original and also try to set an anamorphic flag properly before you bring it in to handbrake… or something.
You may have to back up a version.
This bit is pretty new to me - and it’s kinda clear Handbrake hasn’t exactly figured it out - if asshat moves like this are in play.
You’ll also want to tic the Web Optimized box for MP4/M4V
Ok… disregard some of that… we’ll work out which bits later… lol
Start with the Legacy - High Profile profile…
Drag your file onto Handbrake… you should see the 576 bit is greyed out, but now chose Automatic from the Anamorphic Dropdown. 576 should now snap in and you should get new info in the Display Size area - like I did:
What’d you get?
Right now I’m creating a DVD Profile 'cause I’ll want my files to be MKV, AC3 Audio, etc - and apparently it really depends where you start BEFORE a file lands in Handbrake.
Still kinda ignernt, if you ask me, but it is what it is.
THANKS JUICE! But I did what you said..high profile legacy and I still get 716 * 572..pic attached..nothing is greyed out…Pal sourced dvd
There is no (good) reason to use 265 - and if you do you are totally on your own.
Something isn’t right with your source. It must not have an anamorphic flag (guessing). I’d like to see a mediainfo report of it.
Here’s mine:
! General
! Complete name : G:\TV SciFi\Stargate SG-1\Season 01\Stargate SG-1 - S01E01 - Children of the Gods.mp4
! Format : MPEG-4
! Format profile : Base Media / Version 2
! Codec ID : mp42 (isom/iso2/avc1/mp41)
! File size : 1.74 GiB
! Duration : 1 h 36 min
! Overall bit rate mode : Variable
! Overall bit rate : 2 568 kb/s
! Encoded date : UTC 2016-06-14 21:05:14
! Tagged date : UTC 2016-06-14 21:05:14
! Writing application : HandBrake 0.10.5 2016021100
!
! Video
! ID : 1
! Format : AVC
! Format/Info : Advanced Video Codec
! Format profile : High@L4.1
! Format settings : CABAC / 5 Ref Frames
! Format settings, CABAC : Yes
! Format settings, RefFrames : 5 frames
! Codec ID : avc1
! Codec ID/Info : Advanced Video Coding
! Duration : 1 h 36 min
! Bit rate : 2 239 kb/s
! Width : 720 pixels
! Height : 480 pixels
! Display aspect ratio : 16:9
! Original display aspect ratio : 16:9
! Frame rate mode : Variable
! Frame rate : 24.139 FPS
! Minimum frame rate : 9.761 FPS
! Maximum frame rate : 29.970 FPS
! Color space : YUV
! Chroma subsampling : 4:2:0
! Bit depth : 8 bits
! Scan type : Progressive
! Bits/(Pixel*Frame) : 0.268
! Stream size : 1.52 GiB (87%)
! Writing library : x264 core 142 r2479 dd79a61
! Encoding settings : cabac=1 / ref=5 / 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=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_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=4 / 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=40 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
! Encoded date : UTC 2016-06-14 21:05:14
! Tagged date : UTC 2016-06-14 21:05:14
! Color range : Limited
! Color primaries : BT.601 NTSC
! Transfer characteristics : BT.709
! Matrix coefficients : BT.601
! Menus : 3
!
! Audio
! ID : 2
! Format : AAC
! Format/Info : Advanced Audio Codec
! Format profile : LC
! Codec ID : mp4a-40-2
! Duration : 1 h 36 min
! Bit rate mode : Variable
! Bit rate : 321 kb/s
! Channel(s) : 2 channels
! Channel positions : Front: L R
! Sampling rate : 48.0 kHz
! Frame rate : 46.875 FPS (1024 SPF)
! Compression mode : Lossy
! Stream size : 223 MiB (13%)
! Title : Stereo / Stereo
! Language : English
! Default : Yes
! Alternate group : 1
! Encoded date : UTC 2016-06-14 21:05:14
! Tagged date : UTC 2016-06-14 21:05:14
! Menus : 3
!
! Menu
! ID : 3
! Codec ID : text
! Duration : 1 h 36 min
! Language : English
! Encoded date : UTC 2016-06-14 21:05:14
! Tagged date : UTC 2016-06-14 21:05:14
! Menu For : 1,2
! 00:00:00.000 : Chapter 1
! 00:05:37.859 : Chapter 2
! 00:09:15.543 : Chapter 3
! 00:11:37.752 : Chapter 4
! 00:16:23.637 : Chapter 5
! 00:22:23.730 : Chapter 6
! 00:26:32.212 : Chapter 7
! 00:28:24.558 : Chapter 8
! 00:34:35.094 : Chapter 9
! 00:38:20.887 : Chapter 10
! 00:41:24.470 : Chapter 11
! 00:44:50.442 : Chapter 12
! 00:48:35.768 : Chapter 13
! 00:50:58.410 : Chapter 14
! 00:54:22.948 : Chapter 15
! 00:59:55.780 : Chapter 16
! 01:04:31.389 : Chapter 17
! 01:07:47.718 : Chapter 18
! 01:10:05.690 : Chapter 19
! 01:13:37.401 : Chapter 20
! 01:20:13.463 : Chapter 21
! 01:26:45.555 : Chapter 22
! 01:32:55.124 : Chapter 23
! 01:35:43.559 : Chapter 24
! Bit rate mode : VBR
The important bits are probably:
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Original display aspect ratio : 16:9
I’m guessing, but this must tell Handbrake how to react while in Automatic Mode because for me it results in a correct output display size of 849x480. Ideally for you it would be 1024x576, but, for some reason, that’s not happening on your end.
This whole area right here is a bit screwy. You may have to back up a version, or use Loose, or something, and force a 1024x576 with no anamorphic setting (which would really suck).
@JuiceWSA said:
There is no (good) reason to use 265 - and if you do you are totally on your own.
Something isn’t right with your source. It must not have an anamorphic flag (guessing). I’d like to see a mediainfo report of it.
Here’s mine:
! General
! Complete name : G:\TV SciFi\Stargate SG-1\Season 01\Stargate SG-1 - S01E01 - Children of the Gods.mp4
! Format : MPEG-4
! Format profile : Base Media / Version 2
! Codec ID : mp42 (isom/iso2/avc1/mp41)
! File size : 1.74 GiB
! Duration : 1 h 36 min
! Overall bit rate mode : Variable
! Overall bit rate : 2 568 kb/s
! Encoded date : UTC 2016-06-14 21:05:14
! Tagged date : UTC 2016-06-14 21:05:14
! Writing application : HandBrake 0.10.5 2016021100
!
! Video
! ID : 1
! Format : AVC
! Format/Info : Advanced Video Codec
! Format profile : High@L4.1
! Format settings : CABAC / 5 Ref Frames
! Format settings, CABAC : Yes
! Format settings, RefFrames : 5 frames
! Codec ID : avc1
! Codec ID/Info : Advanced Video Coding
! Duration : 1 h 36 min
! Bit rate : 2 239 kb/s
! Width : 720 pixels
! Height : 480 pixels
! Display aspect ratio : 16:9
! Original display aspect ratio : 16:9
! Frame rate mode : Variable
! Frame rate : 24.139 FPS
! Minimum frame rate : 9.761 FPS
! Maximum frame rate : 29.970 FPS
! Color space : YUV
! Chroma subsampling : 4:2:0
! Bit depth : 8 bits
! Scan type : Progressive
! Bits/(Pixel*Frame) : 0.268
! Stream size : 1.52 GiB (87%)
! Writing library : x264 core 142 r2479 dd79a61
! Encoding settings : cabac=1 / ref=5 / 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=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_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=4 / 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=40 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
! Encoded date : UTC 2016-06-14 21:05:14
! Tagged date : UTC 2016-06-14 21:05:14
! Color range : Limited
! Color primaries : BT.601 NTSC
! Transfer characteristics : BT.709
! Matrix coefficients : BT.601
! Menus : 3
!
! Audio
! ID : 2
! Format : AAC
! Format/Info : Advanced Audio Codec
! Format profile : LC
! Codec ID : mp4a-40-2
! Duration : 1 h 36 min
! Bit rate mode : Variable
! Bit rate : 321 kb/s
! Channel(s) : 2 channels
! Channel positions : Front: L R
! Sampling rate : 48.0 kHz
! Frame rate : 46.875 FPS (1024 SPF)
! Compression mode : Lossy
! Stream size : 223 MiB (13%)
! Title : Stereo / Stereo
! Language : English
! Default : Yes
! Alternate group : 1
! Encoded date : UTC 2016-06-14 21:05:14
! Tagged date : UTC 2016-06-14 21:05:14
! Menus : 3
!
! Menu
! ID : 3
! Codec ID : text
! Duration : 1 h 36 min
! Language : English
! Encoded date : UTC 2016-06-14 21:05:14
! Tagged date : UTC 2016-06-14 21:05:14
! Menu For : 1,2
! 00:00:00.000 : Chapter 1
! 00:05:37.859 : Chapter 2
! 00:09:15.543 : Chapter 3
! 00:11:37.752 : Chapter 4
! 00:16:23.637 : Chapter 5
! 00:22:23.730 : Chapter 6
! 00:26:32.212 : Chapter 7
! 00:28:24.558 : Chapter 8
! 00:34:35.094 : Chapter 9
! 00:38:20.887 : Chapter 10
! 00:41:24.470 : Chapter 11
! 00:44:50.442 : Chapter 12
! 00:48:35.768 : Chapter 13
! 00:50:58.410 : Chapter 14
! 00:54:22.948 : Chapter 15
! 00:59:55.780 : Chapter 16
! 01:04:31.389 : Chapter 17
! 01:07:47.718 : Chapter 18
! 01:10:05.690 : Chapter 19
! 01:13:37.401 : Chapter 20
! 01:20:13.463 : Chapter 21
! 01:26:45.555 : Chapter 22
! 01:32:55.124 : Chapter 23
! 01:35:43.559 : Chapter 24
! Bit rate mode : VBR
The important bits are probably:
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Original display aspect ratio : 16:9
I’m guessing, but this must tell Handbrake how to react while in Automatic Mode because for me it results in a correct output display size of 849x480. Ideally for you it would be 1024x576, but, for some reason, that’s not happening on your end.
This whole area right here is a bit screwy. You may have to back up a version, or use Loose, or something, and force a 1024x576 with no anamorphic setting (which would really suck).
Thanks again. I’m using mediainfo but not to skilled at parsing the info. Here’'s the main page…
Yea, I’m not sure what 4:3 is going to be @ 576p. I could figure it out, but am crosseyed right now after 6 hours on Autocad. Maybe later…
4:3 for 480p is 640x480. I have some of those and will run them in later and see if Automatic does the right thing for me.
Do you really need all those txt streams?
B)
To get what I showed with Mediainfo - export a txt sheet - then copy and paste the contents. I threw it in a Spoiler Block to cut down on the eyeball bleeding.