Question about video height - 576 DVD results in 552

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
ScaryButler
Posts: 2
Joined: Mon Sep 30, 2024 11:45 am

Question about video height - 576 DVD results in 552

Post by ScaryButler »

Description of problem or question:
Hi all first time poster so be gentle,

I had a query about my PAL Firehouse Dog (2007) DVD i recently encoded if you dont mind.
First i used MakeMKV first to get an untouched mkv. I used Mediainfo to check the video height - it was 720*576. This informed me to use the stock Handbrake H.265 MKV 576p25 profile. I went ahead and encoded using the default settings of the profile.

However when i ran the file back through Mediainfo i discovered that the dimensions were now 720*552

I took a look at the dimensions tab - resolution and scalinng and saw Anamorphic set to automatic, optimal size was checked and upscaling was unchecked. When i checked upscaling the pixel aspects changed but more importantly the height went from 552 back to 576.

My questions are:
1) Should i be using the upscaling button?
2) Will there be any issues down the line keeping my 720*552 video? e.g. players/software


FYI:
Ive since gone back and dropped all of my DVD encodes into Mediainfo and i can see many of them are not perfectly 480 or 576 in height
Also I noticed filebot, through their own calculations deems the video height (vf) for Firehouse Dog to be 480 so maybe some player software will think its an NTSC DVD down the line when its actually a PAL. I just dont want to do my encodes "wrong" before i get too far down the rabbit hole.

Any thoughts?



Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):
1.8.2



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10 Pro



HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

Please replace this text with the contents of your log file between the two code tags - OR -  provide a pastebin URL in place of these 3 lines.
If you are unable to do so, please state why so we can help you.
mduell
Veteran User
Posts: 8330
Joined: Sat Apr 21, 2007 8:54 pm

Re: Question about video height - 576 DVD results in 552

Post by mduell »

An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
ScaryButler
Posts: 2
Joined: Mon Sep 30, 2024 11:45 am

Re: Question about video height - 576 DVD results in 552

Post by ScaryButler »

Code: Select all

HandBrake 1.8.2 (2024081000)
OS: Microsoft Windows NT 10.0.19045.0
CPU: Intel(R) Core(TM) i7-6820HK CPU @ 2.70GHz
Ram: 24396 MB, 
GPU Information:
  NVIDIA GeForce GTX 980M - 32.0.15.6094
  Intel(R) HD Graphics 530 - 21.20.16.4678 - (Unsupported Driver Detected)
Screen: 1920x1080
Temp Dir: C:\Users\Karl\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\Karl\AppData\Roaming\HandBrake

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

 # Starting Encode ...

[04:01:03] base preset: KR 576p PAL DVD to H.265 10-bit (CQ20 EL4.1 Slow)
[04:01:03] Remote Process started with Process ID: 12964 using port: 8037. Max Allowed Instances: 1
[04:01:03] Worker: Starting HandBrake Engine ...
[04:01:03] Worker: Parent Process Id 148
[04:01:03] Worker: Starting Web Server on port 8037 ...
[04:01:03] Worker: Starting Listener: 1
[04:01:03] Worker: Server Started
[04:01:03] Worker: Disconnected worker monitoring enabled!
[04:01:03] Compile-time hardening features are enabled
[04:01:03] nvenc: version 12.2 is available
[04:01:03] nvdec: is available
[04:01:03] CUDA Version: 5.2
[04:01:03] vcn: not available on this system
[04:01:03] qsv: not available on this system
] hb_init: starting libhb thread
[04:01:03] Starting work at: Thu Sep 26 04:01:03 2024
[04:01:03] 1 job(s) to process
[04:01:03] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0,
        "Encoder": "copy:ac3",
        "Gain": 0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Name": "Surround 5.1",
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:ac3",
      "copy:eac3",
      "copy:dts"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      },
      {
        "Name": "Chapter 2"
      },
      {
        "Name": "Chapter 3"
      },
      {
        "Name": "Chapter 4"
      },
      {
        "Name": "Chapter 5"
      },
      {
        "Name": "Chapter 6"
      },
      {
        "Name": "Chapter 7"
      },
      {
        "Name": "Chapter 8"
      },
      {
        "Name": "Chapter 9"
      },
      {
        "Name": "Chapter 10"
      },
      {
        "Name": "Chapter 11"
      },
      {
        "Name": "Chapter 12"
      },
      {
        "Name": "Chapter 13"
      },
      {
        "Name": "Chapter 14"
      },
      {
        "Name": "Chapter 15"
      },
      {
        "Name": "Chapter 16"
      },
      {
        "Name": "Chapter 17"
      },
      {
        "Name": "Chapter 18"
      },
      {
        "Name": "Chapter 19"
      },
      {
        "Name": "Chapter 20"
      },
      {
        "Name": "Chapter 21"
      },
      {
        "Name": "Chapter 22"
      },
      {
        "Name": "Chapter 23"
      },
      {
        "Name": "Chapter 24"
      },
      {
        "Name": "Chapter 25"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\Temp\\Handbrake\\Movies\\Firehouse Dog T00 KR 576p PAL DVD to H.265 10-bit (CQ20 EL4.1 Slow).mkv",
    "Options": {
      "IpodAtom": false,
      "Optimize": false
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 6,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 4,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 20,
        "Settings": {
          "crop-bottom": "12",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "12",
          "height": "552",
          "width": "720"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 64,
    "Den": 45
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 25
    },
    "Title": 6,
    "Path": "D:\\Temp\\MakeMKV\\Movies\\Firehouse Dog_t00.mkv",
    "HWDecode": 4
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 1,
        "Offset": 0,
        "Track": 0
      }
    ]
  },
  "Video": {
    "Encoder": "x265_10bit",
    "Level": "4.1",
    "MultiPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "strong-intra-smoothing=0:rect=0:aq-mode=1:rd=4:psy-rd=0.75:psy-rdoq=4.0:rdoq-level=1:rskip=2",
    "Preset": "slow",
    "Profile": "main10",
    "Quality": 20,
    "QSV": {
      "Decode": false
    },
    "HardwareDecode": 0
  }
}
[04:01:03] CPU: Intel(R) Core(TM) i7-6820HK CPU @ 2.70GHz
[04:01:03]  - Intel microarchitecture Skylake
[04:01:03]  - logical processor count: 8
[04:01:03] Intel Quick Sync Video support: no
[04:01:03] hb_scan: path=D:\Temp\MakeMKV\Movies\Firehouse Dog_t00.mkv, title_index=6
Input #0, matroska,webm, from 'D:\Temp\MakeMKV\Movies\Firehouse Dog_t00.mkv':
  Metadata:
    title           : Firehouse Dog
    encoder         : libmakemkv v1.17.7 (1.3.10/1.5.2) win(x64-release)
    creation_time   : 2024-09-06T12:16:55.000000Z
  Duration: 01:46:39.60, start: 0.000000, bitrate: 5942 kb/s
  Chapters:
    Chapter #0:0: start 0.080000, end 366.680000
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 366.680000, end 676.920000
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 676.920000, end 1142.040000
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 1142.040000, end 1486.440000
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1486.440000, end 1669.200000
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 1669.200000, end 1914.880000
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 1914.880000, end 2371.520000
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 2371.520000, end 2596.880000
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 2596.880000, end 3195.560000
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 3195.560000, end 3352.160000
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 3352.160000, end 3547.200000
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 3547.200000, end 3980.840000
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 3980.840000, end 4335.440000
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 4335.440000, end 4475.360000
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 4475.360000, end 4664.840000
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 4664.840000, end 4868.800000
      Metadata:
        title           : Chapter 16
    Chapter #0:16: start 4868.800000, end 5030.240000
      Metadata:
        title           : Chapter 17
    Chapter #0:17: start 5030.240000, end 5362.640000
      Metadata:
        title           : Chapter 18
    Chapter #0:18: start 5362.640000, end 5473.680000
      Metadata:
        title           : Chapter 19
    Chapter #0:19: start 5473.680000, end 5566.080000
      Metadata:
        title           : Chapter 20
    Chapter #0:20: start 5566.080000, end 5656.720000
      Metadata:
        title           : Chapter 21
    Chapter #0:21: start 5656.720000, end 5764.880000
      Metadata:
        title           : Chapter 22
    Chapter #0:22: start 5764.880000, end 5916.120000
      Metadata:
        title           : Chapter 23
    Chapter #0:23: start 5916.120000, end 6398.840000
      Metadata:
        title           : Chapter 24
    Chapter #0:24: start 6398.840000, end 6399.600000
      Metadata:
        title           : Chapter 25
  Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, progressive), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 1k tbn
      Metadata:
        BPS-eng         : 5486476
        DURATION-eng    : 01:46:39.600000000
        NUMBER_OF_FRAMES-eng: 159990
        NUMBER_OF_BYTES-eng: 4388906648
        SOURCE_ID-eng   : 0100E0
        _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.7 win(x64-release)
        _STATISTICS_WRITING_DATE_UTC-eng: 2024-09-06 12:16:55
        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      Side data:
        cpb: bitrate max/min/avg: 7500000/0/0 buffer size: 1835008 vbv_delay: N/A
  Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
      Metadata:
        title           : Surround 5.1
        BPS-eng         : 448000
        DURATION-eng    : 01:46:39.584000000
        NUMBER_OF_FRAMES-eng: 199987
        NUMBER_OF_BYTES-eng: 358376704
        SOURCE_ID-eng   : 0180BD
        _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.7 win(x64-release)
        _STATISTICS_WRITING_DATE_UTC-eng: 2024-09-06 12:16:55
        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:2(eng): Subtitle: dvd_subtitle (dvdsub), 720x576 (default)
      Metadata:
        BPS-eng         : 2814
        DURATION-eng    : 01:45:56.671111111
        NUMBER_OF_FRAMES-eng: 1226
        NUMBER_OF_BYTES-eng: 2236176
        SOURCE_ID-eng   : 0120BD
        _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.7 win(x64-release)
        _STATISTICS_WRITING_DATE_UTC-eng: 2024-09-06 12:16:55
        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[04:01:03] scan: decoding previews for title 6
[04:01:03] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 English (AC3, 5.1 ch, 448 kbps)
[04:01:04] using bitstream PAR 64:45
[04:01:04] scan: 10 previews, 720x576, 25.000 fps, autocrop = 12/12/0/0, aspect 16:9, PAR 64:45, color profile: 5-1-6, chroma location: left
[04:01:04] scan: supported video decoders: avcodec hwaccel
[04:01:04] libhb: scan thread found 1 valid title(s)
[04:01:04] Starting Task: Encoding Pass
[04:01:04] job configuration:
[04:01:04]  * source
[04:01:04]    + D:\Temp\MakeMKV\Movies\Firehouse Dog_t00.mkv
[04:01:04]    + title 6, chapter(s) 1 to 25
[04:01:04]    + container: matroska,webm
[04:01:04]    + data rate: 5942 kbps
[04:01:04]  * destination
[04:01:04]    + D:\Temp\Handbrake\Movies\Firehouse Dog T00 KR 576p PAL DVD to H.265 10-bit (CQ20 EL4.1 Slow).mkv
[04:01:04]    + container: Matroska (libavformat)
[04:01:04]      + chapter markers
[04:01:04]  * video track
[04:01:04]    + decoder: mpeg2video 8-bit (yuv420p)
[04:01:04]    + filters
[04:01:04]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[04:01:04]      + Decomb (mode=39)
[04:01:04]      + Framerate Shaper (mode=1)
[04:01:04]        + frame rate: 25.000 fps -> constant 25.000 fps
[04:01:04]      + Crop and Scale (width=720:height=552:crop-top=12:crop-bottom=12:crop-left=0:crop-right=0)
[04:01:04]        + source: 720 * 576, crop (12/12/0/0): 720 * 552, scale: 720 * 552
[04:01:04]    + Output geometry
[04:01:04]      + storage dimensions: 720 x 552
[04:01:04]      + pixel aspect ratio: 64 : 45
[04:01:04]      + display dimensions: 1024 x 552
[04:01:04]    + encoder: H.265 10-bit (libx265)
[04:01:04]      + preset:  slow
[04:01:04]      + options: strong-intra-smoothing=0:rect=0:aq-mode=1:rd=4:psy-rd=0.75:psy-rdoq=4.0:rdoq-level=1:rskip=2
[04:01:04]      + profile: main10
[04:01:04]      + level:   4.1
[04:01:04]      + quality: 20.00 (RF)
[04:01:04]      + color profile: 5-1-6
[04:01:04]      + color range: tv
[04:01:04]      + chroma location: left
[04:01:04]  * subtitle track 1, English (VOBSUB) (track 0, id 0x2, Picture) -> Passthrough
[04:01:04]  * audio track 1
[04:01:04]    + name: Surround 5.1
[04:01:04]    + decoder: English (AC3, 5.1 ch, 448 kbps) (track 1, id 0x1)
[04:01:04]      + bitrate: 448 kbps, samplerate: 48000 Hz
[04:01:04]    + AC3 Passthru
[04:01:04] sync: expecting 159990 video frames
x265 [info]: HEVC encoder version 3.6+1-aa7f602f7
x265 [info]: build info [Windows][GCC 13.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [warning]: Specifying a decoder level with constant rate factor rate-control requires
x265 [warning]: enabling VBV with vbv-bufsize=50000kb vbv-maxrate=50000kbps. VBV outputs are non-deterministic!
x265 [info]: Main 10 profile, Level-4.1 (High tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(9 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-20.0 / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 50000 / 50000 / 0.900
x265 [info]: tools: limit-modes rd=4 psy-rd=0.75 rdoq=1 psy-rdoq=4.00
x265 [info]: tools: rskip mode=2 rskip-edge-threshold=0.05 signhide tmvp
x265 [info]: tools: deblock sao
[04:01:04] sync: first pts video is 0
[04:01:04] sync: first pts audio 0x1 is 0
[04:01:04] sync: "Chapter 1" (1) at frame 3 time 7200
[04:01:32] sync: first pts subtitle 0x2 is 3592800
[04:07:28] sync: "Chapter 2" (2) at frame 9168 time 33001200
[04:13:50] sync: "Chapter 3" (3) at frame 16924 time 60922800
[04:23:33] sync: "Chapter 4" (4) at frame 28552 time 102783600
[04:29:40] sync: "Chapter 5" (5) at frame 37162 time 133779600
[04:32:35] sync: "Chapter 6" (6) at frame 41731 time 150228000
[04:36:46] sync: "Chapter 7" (7) at frame 47873 time 172339200
[04:47:13] sync: "Chapter 8" (8) at frame 59289 time 213436800
[04:50:31] sync: "Chapter 9" (9) at frame 64923 time 233719200
[05:02:25] sync: "Chapter 10" (10) at frame 79890 time 287600400
[05:05:57] sync: "Chapter 11" (11) at frame 83805 time 301694400
[05:09:42] sync: "Chapter 12" (12) at frame 88681 time 319248000
[05:16:19] sync: "Chapter 13" (13) at frame 99522 time 358275600
[05:22:26] sync: "Chapter 14" (14) at frame 108387 time 390189600
[05:24:33] sync: "Chapter 15" (15) at frame 111885 time 402782400
[05:27:44] sync: "Chapter 16" (16) at frame 116622 time 419835600
[05:31:20] sync: "Chapter 17" (17) at frame 121721 time 438192000
[05:34:16] sync: "Chapter 18" (18) at frame 125757 time 452721600
[05:40:45] sync: "Chapter 19" (19) at frame 134067 time 482637600
[05:43:11] sync: "Chapter 20" (20) at frame 136843 time 492631200
[05:45:18] sync: "Chapter 21" (21) at frame 139153 time 500947200
[05:47:17] sync: "Chapter 22" (22) at frame 141419 time 509104800
[05:49:19] sync: "Chapter 23" (23) at frame 144123 time 518839200
[05:52:33] sync: "Chapter 24" (24) at frame 147904 time 532450800
[05:57:36] reader: done. 1 scr changes
[05:57:36] sync: "Chapter 25" (25) at frame 159972 time 575895600
[05:57:37] work: average encoding speed for job is 22.866255 fps
[05:57:37] comb detect: heavy 2145 | light 5788 | uncombed 152057 | total 159990
[05:57:37] decomb: deinterlaced 2145 | blended 5788 | unfiltered 152057 | total 159990
[05:57:37] vfr: 159990 frames output, 0 dropped and 0 duped for CFR/PFR
[05:57:37] vfr: lost time: 0 (0 frames)
[05:57:37] vfr: gained time: 0 (0 frames) (0 not accounted for)
[05:57:37] ac3-decoder done: 199987 frames, 0 decoder errors
[05:57:37] mpeg2video-decoder done: 159990 frames, 0 decoder errors
[05:57:37] sync: got 159990 frames, 159990 expected
[05:57:37] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x265 [info]: frame I:   2038, Avg QP:19.41  kb/s: 6650.58
x265 [info]: frame P:  37939, Avg QP:20.87  kb/s: 3435.34
x265 [info]: frame B: 120013, Avg QP:25.98  kb/s: 666.00
x265 [info]: Weighted P-Frames: Y:12.3% UV:9.5%
encoded 159990 frames in 6993.75s (22.88 fps), 1398.94 kb/s, Avg QP:24.69
[05:57:38] mux: track 0, 159990 frames, 1119721643 bytes, 1399.73 kbps, fifo 4096
[05:57:38] mux: track 1, 199987 frames, 358376704 bytes, 448.00 kbps, fifo 4096
[05:57:38] mux: track 2, 1226 frames, 2236176 bytes, 2.80 kbps, fifo 64
[05:57:38] Finished work at: Thu Sep 26 05:57:38 2024
[05:57:38] libhb: work result = 0

 # Job Completed!

DexKen
Posts: 25
Joined: Thu Dec 11, 2014 9:08 pm

Re: Question about video height - 576 DVD results in 552

Post by DexKen »

Code: Select all

{
        "ID": 20,
        "Settings": {
          "crop-bottom": "12",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "12",
          "height": "552",
          "width": "720"
        }
Set cropping to none in the dimensions tab
mduell
Veteran User
Posts: 8330
Joined: Sat Apr 21, 2007 8:54 pm

Re: Question about video height - 576 DVD results in 552

Post by mduell »

I wouldn't upscale unless you have a specific playback environment that requires some different resolution. They're not very common for contemporary playback environments, but people have all sorts of legacy crapgadgets so you never know.

Enjoy that the useless black bars on the top and bottom of the image have been removed.
Post Reply