With upcoming changes to data protection and privacy laws in Europe coming into effect soon, we thought this would be a good time to remind everyone that we do have a privacy policy.
This applies to all users and visitors world-wide.

We have made a few changes to the language to make it clearer in relation to this new regulation but fundamentally, the terms and your rights are unchanged.

If you have any questions about this, please feel free to ask in the General Forum

Bizarre request - move letterbox black bars to bottom

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.
jcwillia1
Posts: 13
Joined: Tue May 15, 2018 2:28 pm

Bizarre request - move letterbox black bars to bottom

Post by jcwillia1 » Tue May 15, 2018 2:33 pm

Description of problem or question:

I have a home theater where height is an issue. I would like to project 2.35:1 movies at the top of the 16:9 range instead of in the middle.

Is there a flag that I can use in handbrake to create 1920x1080 movies where the top of the frame is the movie and the bottom is blank?

I think this would fool plex into thinking it's projecting a 1920x1080 image but the bottom third would just be black. (I would mask this with fabric on my screen)


Steps to reproduce the problem (If Applicable):

unsure if can be reproduced


HandBrake version (e.g., 1.0.0):

any


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

Win10


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

Code: Select all

not applicable - looking for suggestions

User avatar
Rodeo
HandBrake Team
Posts: 11849
Joined: Tue Mar 03, 2009 8:55 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by Rodeo » Tue May 15, 2018 6:49 pm

We do have a padding filter now, so it should be possible. Haven't been keeping up with latest developments though, I'm not sure if it's exposed in the graphical user interface yet.

User avatar
BradleyS
Moderator
Posts: 1202
Joined: Thu Aug 09, 2007 12:16 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by BradleyS » Thu May 17, 2018 2:24 pm

If your source is letterboxed (black bars top and bottom) you could try cropping only the top bar.

Otherwise, you will need to use the pad filter from the command line interface (see the --help). Eventually it will be available in the graphical interface, but this is dependent on a coming overhaul of the dimensions tab that could be months or years out.

jcwillia1
Posts: 13
Joined: Tue May 15, 2018 2:28 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by jcwillia1 » Fri May 18, 2018 1:01 pm

can someone provide an example of what the CLI should be in order for this to work? I'm a relative newbie with this although I do have some experience working in DOS (20 years ago)

User avatar
BradleyS
Moderator
Posts: 1202
Joined: Thu Aug 09, 2007 12:16 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by BradleyS » Fri May 18, 2018 3:36 pm

Sure. If your source is letterboxed 1920x1080, the automatic cropping will remove the black borders. Then pad with black again to 1920x1080 pixels and orient the image to be at the top (plus 2 pixels offset because of a bug in the current pad filter).

Code: Select all

HandBrakeCLI -i source_file --preset-import-gui --preset="Fast 1080p30" --pad="width=1920:height=1080:y=2" -o destination_file
You may need additional options if you're working from a disc. Descriptions of the CLI parameters are part of the --help, which is also here: https://handbrake.fr/docs/en/1.1.0/cli/cli-guide.html

Good luck. I'll do my best to answer further questions.

jcwillia1
Posts: 13
Joined: Tue May 15, 2018 2:28 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by jcwillia1 » Sat May 19, 2018 12:14 pm

BradleyS wrote:
Fri May 18, 2018 3:36 pm
Sure. If your source is letterboxed 1920x1080, the automatic cropping will remove the black borders. Then pad with black again to 1920x1080 pixels and orient the image to be at the top (plus 2 pixels offset because of a bug in the current pad filter).

Code: Select all

HandBrakeCLI -i source_file --preset-import-gui --preset="Fast 1080p30" --pad="width=1920:height=1080:y=2" -o destination_file
You may need additional options if you're working from a disc. Descriptions of the CLI parameters are part of the --help, which is also here: https://handbrake.fr/docs/en/1.1.0/cli/cli-guide.html

Good luck. I'll do my best to answer further questions.
thank you - so to do this the easiest way possible, rip using makemkv to mkv from disc, then run your script below?

does the "30" in 1080p30 matter? Most of my stuff is 24 or 23.976 or whatever nonsense...

also does the "fast" part matter? I want a pure blu-ray transfer so if it needs to take a bit longer to transfer every bit, so be it.

User avatar
s55
HandBrake Team
Posts: 9043
Joined: Sun Dec 24, 2006 1:05 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by s55 » Sat May 19, 2018 12:39 pm

HandBrake doesn't do pure bluray transfers. It's going to re-encode the content always. There is no passthru support.

Framerates are always peak, so it doesn't matter.

jcwillia1
Posts: 13
Joined: Tue May 15, 2018 2:28 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by jcwillia1 » Sat May 19, 2018 12:58 pm

s55 wrote:
Sat May 19, 2018 12:39 pm
HandBrake doesn't do pure bluray transfers. It's going to re-encode the content always. There is no passthru support.

Framerates are always peak, so it doesn't matter.
ok so how do I re-encode to full blu-ray bit rate? or does the provided string do that?

User avatar
s55
HandBrake Team
Posts: 9043
Joined: Sun Dec 24, 2006 1:05 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by s55 » Sat May 19, 2018 1:10 pm

That's the last thing you want to do. It also doesn't maintain quality of the bluray doing that.
H.264 is lossy, not lossless compression. Every time you run it, you lose some quality.

Your best bet is to accept quality loss and use CRF of around 20~21 (most people won't be able to tell the difference at this level anyway)
So, the Fast Preset is probably fine, but if you can tolerate slower encodes, do choose the HQ or Super HQ versions as they are a better optimised at the expense of speed.

User avatar
BradleyS
Moderator
Posts: 1202
Joined: Thu Aug 09, 2007 12:16 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by BradleyS » Sat May 19, 2018 3:16 pm

--preset=“Super HQ 1080p30 Surround” should work more than fine for your needs.

jcwillia1
Posts: 13
Joined: Tue May 15, 2018 2:28 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by jcwillia1 » Sun May 20, 2018 11:43 pm

BradleyS wrote:
Sat May 19, 2018 3:16 pm
--preset=“Super HQ 1080p30 Surround” should work more than fine for your needs.
Ok thanks. All of my stuff is inaccessible at the moment (basement construction). I might try this with a DVD with different settings obviously .

jcwillia1
Posts: 13
Joined: Tue May 15, 2018 2:28 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by jcwillia1 » Thu May 24, 2018 11:13 pm

from a different forum :

" Handbrake says the quality is "lossless" when RF=0"

where would I use that in the string provided?

jcwillia1
Posts: 13
Joined: Tue May 15, 2018 2:28 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by jcwillia1 » Thu May 24, 2018 11:40 pm

I don't have access to my BR drive so I tried it with a DVD - didn't work...

ok I did something wrong because the bottom bar is there but there's no top bar and the bottom bar isn't big enough - it didn't pad out properly...

Code: Select all

Microsoft Windows [Version 10.0.17134.48]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\jcwil>cd "C:\Program Files\HandBrake\Handbrake CLI"

C:\Program Files\HandBrake\Handbrake CLI>HandBrakeCLI -i "D:\Video\HP7_DEATHLY_HALLOWS_PART_1\title00.mkv" --preset-import-gui --preset="Super HQ 1080p30 Surround" --pad="width=720:height=405:y=2" -o "C:\Users\jcwil\Videos\title00.mkv"
[18:38:13] hb_init: starting libhb thread
[18:38:13] thread 5c88120 started ("libhb")
HandBrake 1.1.0 (2018040700) - MinGW x86_64 - https://handbrake.fr
4 CPUs detected
Opening D:\Video\HP7_DEATHLY_HALLOWS_PART_1\title00.mkv...
[18:38:13] CPU: Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz
[18:38:13]  - Intel microarchitecture Haswell
[18:38:13]  - logical processor count: 4
[18:38:13] Intel Quick Sync Video support: no
[18:38:13] hb_scan: path=D:\Video\HP7_DEATHLY_HALLOWS_PART_1\title00.mkv, title_index=1
Scanning title 1 of 1, 0.00 %udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Video\HP7_DEATHLY_HALLOWS_PART_1\title00.mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[18:38:14] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[18:38:14] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\Video\HP7_DEATHLY_HALLOWS_PART_1\title00.mkv':
  Duration: 02:26:04.50, start: 0.000000, bitrate: N/A
    Chapter #0:0: start 0.000000, end 258.725133
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 258.725133, end 587.386800
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 587.386800, end 916.382133
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 916.382133, end 1153.785967
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1153.785967, end 1564.312750
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1564.312750, end 1898.029467
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1898.029467, end 2143.391250
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 2143.391250, end 2497.495000
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 2497.495000, end 2745.876467
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 2745.876467, end 3014.311300
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 3014.311300, end 3302.932967
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 3302.932967, end 3511.307800
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 3511.307800, end 3821.617800
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 3821.617800, end 4202.331467
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 4202.331467, end 4471.433633
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 4471.433633, end 4729.024300
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 4729.024300, end 4937.732800
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 4937.732800, end 5095.223467
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 5095.223467, end 5283.411467
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 5283.411467, end 5554.348800
    Metadata:
      title           : Chapter 20
    Chapter #0:20: start 5554.348800, end 5860.487967
    Metadata:
      title           : Chapter 21
    Chapter #0:21: start 5860.487967, end 6157.784967
    Metadata:
      title           : Chapter 22
    Chapter #0:22: start 6157.784967, end 6474.234433
    Metadata:
      title           : Chapter 23
    Chapter #0:23: start 6474.234433, end 6828.288133
    Metadata:
      title           : Chapter 24
    Chapter #0:24: start 6828.288133, end 7051.177467
    Metadata:
      title           : Chapter 25
    Chapter #0:25: start 7051.177467, end 7288.247633
    Metadata:
      title           : Chapter 26
    Chapter #0:26: start 7288.247633, end 7542.334800
    Metadata:
      title           : Chapter 27
    Chapter #0:27: start 7542.334800, end 7782.825050
    Metadata:
      title           : Chapter 28
    Chapter #0:28: start 7782.825050, end 7994.786800
    Metadata:
      title           : Chapter 29
    Chapter #0:29: start 7994.786800, end 8087.712967
    Metadata:
      title           : Chapter 30
    Chapter #0:30: start 8087.712967, end 8764.505750
    Metadata:
      title           : Chapter 31
    Stream #0:0(eng): Video: mpeg2video (Main)
      yuv420p, tv, 720x480 [PAR 32:27 DAR 16:9], 7500 kb/s, PAR 186:157 DAR 279:157
      29.97 fps, 1k tbn
    Metadata:
      BPS-eng         : 4288108
      DURATION-eng    : 02:26:04.505750000
      NUMBER_OF_FRAMES-eng: 210157
      NUMBER_OF_BYTES-eng: 4697893307
      SOURCE_ID-eng   : 0100E0
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.2 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-05-23 23:44:26
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: ac3
      48000 Hz, 5.1, fltp, 384 kb/s (default)
    Metadata:
Scanning title 1 of 1, 0.00 %      title           : Surround 5.1
      BPS-eng         : 384000
      DURATION-eng    : 02:26:04.480000000
      NUMBER_OF_FRAMES-eng: 273890
      NUMBER_OF_BYTES-eng: 420695040
      SOURCE_ID-eng   : 0180BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.2 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-05-23 23:44:26
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[18:38:14] scan: decoding previews for title 1
[18:38:14] scan: audio 0x1: ac3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
[18:38:14] scan: 10 previews, 720x480, 29.970 fps, autocrop = 58/62/0/0, aspect 16:9, PAR 32:27
Scanning title 1 of 1, preview 10, 100.00 %[18:38:14] libhb: scan thread found 1 valid title(s)
+ Using preset: Super HQ 1080p30 Surround
+ title 1:
  + stream: D:\Video\HP7_DEATHLY_HALLOWS_PART_1\title00.mkv
  + duration: 02:26:04
  + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 29.970 fps
  + autocrop: 58/62/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:04:19
    + 2: cells 0->0, 0 blocks, duration 00:05:29
    + 3: cells 0->0, 0 blocks, duration 00:05:29
    + 4: cells 0->0, 0 blocks, duration 00:03:57
    + 5: cells 0->0, 0 blocks, duration 00:06:51
    + 6: cells 0->0, 0 blocks, duration 00:05:34
    + 7: cells 0->0, 0 blocks, duration 00:04:05
    + 8: cells 0->0, 0 blocks, duration 00:05:54
    + 9: cells 0->0, 0 blocks, duration 00:04:08
    + 10: cells 0->0, 0 blocks, duration 00:04:28
    + 11: cells 0->0, 0 blocks, duration 00:04:49
    + 12: cells 0->0, 0 blocks, duration 00:03:28
    + 13: cells 0->0, 0 blocks, duration 00:05:10
    + 14: cells 0->0, 0 blocks, duration 00:06:21
    + 15: cells 0->0, 0 blocks, duration 00:04:29
    + 16: cells 0->0, 0 blocks, duration 00:04:18
    + 17: cells 0->0, 0 blocks, duration 00:03:29
    + 18: cells 0->0, 0 blocks, duration 00:02:37
    + 19: cells 0->0, 0 blocks, duration 00:03:08
    + 20: cells 0->0, 0 blocks, duration 00:04:31
    + 21: cells 0->0, 0 blocks, duration 00:05:06
    + 22: cells 0->0, 0 blocks, duration 00:04:57
    + 23: cells 0->0, 0 blocks, duration 00:05:16
    + 24: cells 0->0, 0 blocks, duration 00:05:54
    + 25: cells 0->0, 0 blocks, duration 00:03:43
    + 26: cells 0->0, 0 blocks, duration 00:03:57
    + 27: cells 0->0, 0 blocks, duration 00:04:14
    + 28: cells 0->0, 0 blocks, duration 00:04:00
    + 29: cells 0->0, 0 blocks, duration 00:03:32
    + 30: cells 0->0, 0 blocks, duration 00:01:33
    + 31: cells 0->0, 0 blocks, duration 00:11:17
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 384000bps
  + subtitle tracks:
[18:38:14] 1 job(s) to process
[18:38:14] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 160,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "av_aac",
                "Gain": 0.0,
                "Mixdown": "dpl2",
                "NormalizeMixLevel": false,
                "PresetEncoder": "av_aac",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            },
            {
                "Bitrate": 0,
                "DRC": 0.0,
                "Encoder": "copy:ac3",
                "Mixdown": "none",
                "PresetEncoder": "copy:ac3",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac",
            "copy:ac3"
        ],
        "FallbackEncoder": "av_aac"
    },
    "Destination": {
        "AlignAVStart": true,
        "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"
            },
            {
                "Name": "Chapter 26"
            },
            {
                "Name": "Chapter 27"
            },
            {
                "Name": "Chapter 28"
            },
            {
                "Name": "Chapter 29"
            },
            {
                "Name": "Chapter 30"
            },
            {
                "Name": "Chapter 31"
            }
        ],
        "ChapterMarkers": true,
        "File": "C:\\Users\\jcwil\\Videos\\title00.mkv",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 3,
                "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": 4,
                "Settings": {
                    "mode": "7"
                }
            },
            {
                "ID": 6,
                "Settings": {
                    "mode": 2,
                    "rate": "27000000/900000"
                }
            },
            {
                "ID": 11,
                "Settings": {
                    "crop-bottom": 62,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 58,
                    "height": 360,
                    "width": 720
                }
            },
            {
                "ID": 16,
                "Settings": {
                    "height": "405",
                    "width": "720",
                    "y": "2"
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 27,
        "Num": 32
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "D:\\Video\\HP7_DEATHLY_HALLOWS_PART_1\\title00.mkv",
        "Range": {
            "End": 31,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorMatrixCode": 0,
        "Encoder": "x264",
        "Level": "4.0",
        "Options": "ref=5:bframes=5",
        "Preset": "veryslow",
        "Profile": "high",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Quality": 18.0,
        "Tune": "",
        "Turbo": false,
        "TwoPass": false
    }
}
[18:38:14] starting job
[18:38:14] decomb filter thread started for segment 0
[18:38:14] decomb filter thread started for segment 1
[18:38:14] decomb filter thread started for segment 2
[18:38:14] decomb filter thread started for segment 3
[18:38:14] decomb check thread started for segment 0
[18:38:14] decomb check thread started for segment 1
[18:38:14] decomb check thread started for segment 2
[18:38:14] mask filter thread started for segment 1
[18:38:14] mask filter thread started for segment 0
[18:38:14] decomb check thread started for segment 3
[18:38:14] mask filter thread started for segment 2
[18:38:14] mask filter thread started for segment 3
[18:38:14] mask erode thread started for segment 0
[18:38:14] mask erode thread started for segment 1
[18:38:14] mask erode thread started for segment 2
[18:38:14] mask erode thread started for segment 3
[18:38:14] mask dilate thread started for segment 0
[18:38:14] mask dilate thread started for segment 1
[18:38:14] job configuration:
[18:38:14] mask dilate thread started for segment 3
[18:38:14] yadif thread started for segment 0
[18:38:14] yadif thread started for segment 1
[18:38:14] yadif thread started for segment 2
[18:38:14] yadif thread started for segment 3
[18:38:14] mask dilate thread started for segment 2
[18:38:14]  * source
[18:38:14]    + D:\Video\HP7_DEATHLY_HALLOWS_PART_1\title00.mkv
[18:38:14]    + title 1, chapter(s) 1 to 31
[18:38:14]    + container: matroska,webm
[18:38:14]  * destination
[18:38:14]    + C:\Users\jcwil\Videos\title00.mkv
[18:38:14]    + container: Matroska (libavformat)
[18:38:14]      + align initial A/V stream timestamps
[18:38:14]      + chapter markers
[18:38:14]  * video track
[18:38:14]    + decoder: mpeg2video
[18:38:14]      + bitrate 7500 kbps
[18:38:14]    + filters
[18:38:14]      + 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)
[18:38:14]      + Decomb (mode=39)
[18:38:14]      + Framerate Shaper (mode=2:rate=27000000/900000)
[18:38:14]        + frame rate: 29.970 fps -> peak rate limited to 30.000 fps
[18:38:14]      + Crop and Scale (width=720:height=360:crop-top=58:crop-bottom=62:crop-left=0:crop-right=0)
[18:38:14]        + source: 720 * 480, crop (58/62/0/0): 720 * 360, scale: 720 * 360
[18:38:14]      + avfilter (pad='width=720:height=405:x=(out_w-in_w)/2:y=2')
[18:38:14]        + pad: width=720, height=405, x=(out_w-in_w)/2, y=2
[18:38:14]    + Output geometry
[18:38:14]      + storage dimensions: 720 x 404
[18:38:14]      + pixel aspect ratio: 32 : 27
[18:38:14]      + display dimensions: 853 x 404
[18:38:14]    + encoder: H.264 (libx264)
[18:38:14]      + preset:  veryslow
[18:38:14]      + options: ref=5:bframes=5
[18:38:14]      + profile: high
[18:38:14]      + level:   4.0
[18:38:14]      + quality: 18.00 (RF)
[18:38:14]  * audio track 1
[18:38:14]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[18:38:14]      + bitrate: 384 kbps, samplerate: 48000 Hz
[18:38:14]    + mixdown: Dolby Pro Logic II
[18:38:14]    + encoder: AAC (libavcodec)
[18:38:14]      + bitrate: 160 kbps, samplerate: 48000 Hz
[18:38:14]  * audio track 2
[18:38:14]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[18:38:14]      + bitrate: 384 kbps, samplerate: 48000 Hz
[18:38:14]    + AC3 Passthru
[18:38:14] sync: expecting 262672 video frames
[18:38:14] encx264: min-keyint: 30, keyint: 300
[18:38:14] encx264: encoding at constant RF 18.000000
[18:38:14] encx264: unparsed options: ref=5:bframes=5:level=4.0:b-adapt=2:direct=auto:analyse=all:me=umh:merange=24:subme=10:trellis=2:vbv-bufsize=31250:vbv-maxrate=25000:rc-lookahead=60
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile High, level 4.0
[18:38:14] sync: first pts video is 0
[18:38:14] sync: first pts audio 0x1 is 2970
[18:38:14] sync: first pts audio 0x1 is 2970
[18:38:14] sync: "Chapter 1" (1) at frame 4 time 11946
Encoding: task 1 of 1, 0.03 %[18:38:15] 3.002267s: Video -> Film
Encoding: task 1 of 1, 0.10 %
Last edited by Rodeo on Fri May 25, 2018 12:03 pm, edited 1 time in total.
Reason: Logs in [code][/code] blocks please

User avatar
BradleyS
Moderator
Posts: 1202
Joined: Thu Aug 09, 2007 12:16 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by BradleyS » Thu May 24, 2018 11:50 pm

You need height 480 in the pad string.

Do not use RF 0; it does not do what you think and your file sizes will be much larger than the originals.

jcwillia1
Posts: 13
Joined: Tue May 15, 2018 2:28 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by jcwillia1 » Fri May 25, 2018 12:01 am

BradleyS wrote:
Thu May 24, 2018 11:50 pm
You need height 480 in the pad string.

Do not use RF 0; it does not do what you think and your file sizes will be much larger than the originals.
roger on #2

on #1 why is it 480? 720/16 * 9 = 404?

edit that checks out - still don't understand.

User avatar
BradleyS
Moderator
Posts: 1202
Joined: Thu Aug 09, 2007 12:16 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by BradleyS » Fri May 25, 2018 12:05 am

The source is anamorphic at 720x480 stored pixels and 640x480 displayed pixels, black bars and all. You only want the picture part to be 16:9, and the storage dimensions with the new letterboxing to match the original.

jcwillia1
Posts: 13
Joined: Tue May 15, 2018 2:28 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by jcwillia1 » Fri May 25, 2018 9:49 am

the file got cut down from 5GB to 1.5GB - isn't there any setting we can use to make it more of a pass through?

rollin_eng
Veteran User
Posts: 2712
Joined: Wed May 04, 2011 11:06 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by rollin_eng » Fri May 25, 2018 9:52 am

Why do you want a bigger file?

Is there something wrong with the new video?

jcwillia1
Posts: 13
Joined: Tue May 15, 2018 2:28 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by jcwillia1 » Fri May 25, 2018 9:58 am

rollin_eng wrote:
Fri May 25, 2018 9:52 am
Why do you want a bigger file?

Is there something wrong with the new video?
ok so I don't know anything about video compression but to me, if the file is smaller, that means that data was removed.

I'm blowing these movies up to 12' wide and playing the audio through a 7 channel surround system. I want it to be as close to perfect as humanly possible. Any sort of compression, video or audio, is bound to leave some artifact that will be noticeable. This is a nonsense argument with a DVD but less so with blu-ray and even less with UHD.

The real solve is that I need a PJ with better vertical shift (i.e. Epson 4000) but in the meantime, I was hoping to find a shortcut.

rollin_eng
Veteran User
Posts: 2712
Joined: Wed May 04, 2011 11:06 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by rollin_eng » Fri May 25, 2018 10:21 am

Do you see artifacts in the encode?

jcwillia1
Posts: 13
Joined: Tue May 15, 2018 2:28 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by jcwillia1 » Fri May 25, 2018 10:23 am

rollin_eng wrote:
Fri May 25, 2018 10:21 am
Do you see artifacts in the encode?
I don't have access to my theater Yet - basement construction

Ill have to test that later

User avatar
BradleyS
Moderator
Posts: 1202
Joined: Thu Aug 09, 2007 12:16 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by BradleyS » Fri May 25, 2018 10:23 am

Super HQ 480p30 Surround for DVD. Beyond that it’s mostly academic. The file size reduction you’re seeing is the difference between a 1990s video codec and a much more modern codec.

jcwillia1
Posts: 13
Joined: Tue May 15, 2018 2:28 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by jcwillia1 » Fri May 25, 2018 10:30 am

BradleyS wrote:
Fri May 25, 2018 10:23 am
Super HQ 480p30 Surround for DVD. Beyond that it’s mostly academic. The file size reduction you’re seeing is the difference between a 1990s video codec and a much more modern codec.
Someone on a different Forum suggested upgrading My Encodes to h265?

Woodstock
Veteran User
Posts: 2497
Joined: Tue Aug 27, 2013 6:39 am

Re: Bizarre request - move letterbox black bars to bottom

Post by Woodstock » Fri May 25, 2018 12:50 pm

Everyone is gung-ho on h265. Does your projector system support it? If not, it's a useless suggestion.

Not to mention that h265 isn't significantly better than h264 at lower resolutions. DVDs will not benefit as much as BDs will.

jcwillia1
Posts: 13
Joined: Tue May 15, 2018 2:28 pm

Re: Bizarre request - move letterbox black bars to bottom

Post by jcwillia1 » Fri May 25, 2018 1:13 pm

Woodstock wrote:
Fri May 25, 2018 12:50 pm
Everyone is gung-ho on h265. Does your projector system support it? If not, it's a useless suggestion.

Not to mention that h265 isn't significantly better than h264 at lower resolutions. DVDs will not benefit as much as BDs will.
Everything is routing through plex on my PC to my Xbox so I assume the answer is yes to both.

The DVD was just for testing purposes. All of my rips are BR

Post Reply