Search found 7 matches

by BaconKoss
Wed Mar 25, 2020 6:24 pm
Forum: Windows
Topic: Addition of letterboxing (AKA padding)
Replies: 14
Views: 354

Re: Addition of letterboxing (AKA padding)

Nevermind. I just learned about VidCoder and it did exactly what I wanted.

I like Handbrake, but it really needs more detailed documentation and a few more options.
by BaconKoss
Wed Mar 25, 2020 6:09 pm
Forum: Windows
Topic: Addition of letterboxing (AKA padding)
Replies: 14
Views: 354

Re: Addition of letterboxing (AKA padding)

Ah, you didn't tell it to use the preset you imported. -Z or --preset -Z only works with the presets available in Handbrake GUI ("Very Fast 1080p30" etc.). I used --preset-import-file "C:\Program Files\HandBrake\HandBrakeCLI\OHOHOHO.json". Why doesn't that work? Can somebody please just tell me EXA...
by BaconKoss
Wed Mar 25, 2020 4:40 pm
Forum: Windows
Topic: Addition of letterboxing (AKA padding)
Replies: 14
Views: 354

Re: Addition of letterboxing (AKA padding)

So I did this: HandBrakeCLI --preset-import-file "C:\Program Files\HandBrake\HandBrakeCLI\OHOHOHO.json" --pad="width=1296:height=1120:color=black:x=20:y=20" -i D:\SAMPLE.mkv -o D:\SAMPLE_1.mp4 OHOHOHO.json looks like this: https://pastebin.com/SEmE8DiD The bars were added, but the video bitrate is 3...
by BaconKoss
Wed Mar 25, 2020 1:52 pm
Forum: Windows
Topic: Addition of letterboxing (AKA padding)
Replies: 14
Views: 354

Re: Addition of letterboxing (AKA padding)

This is such a hassle. Can I just set everything up in the GUI, export the preset to JSON, open it in a text editor, set "x264UseAdvancedOptions" at the bottom to "true" and somehow input the "pad" command below? That way I'd only need to execute one script in CLI, as executing two JSONs (one with m...
by BaconKoss
Tue Mar 24, 2020 8:39 pm
Forum: Windows
Topic: Addition of letterboxing (AKA padding)
Replies: 14
Views: 354

Re: Addition of letterboxing (AKA padding)

Can't find a way to edit the previous post. I just want to say that the last line is supposed to have "1296" after "width=" and not just "1".
by BaconKoss
Tue Mar 24, 2020 8:35 pm
Forum: Windows
Topic: Addition of letterboxing (AKA padding)
Replies: 14
Views: 354

Re: Addition of letterboxing (AKA padding)

The PAD filter is only implemented in the CLI, so your experiment with the advanced options in the GUI wasn't going to work. If everything you want is set up in a preset, you can tell the CLI to load that, AND add the --pad command to that. Since you're only adding top/bottom padding, you should le...
by BaconKoss
Tue Mar 24, 2020 4:57 pm
Forum: Windows
Topic: Addition of letterboxing (AKA padding)
Replies: 14
Views: 354

Addition of letterboxing (AKA padding)

Description of problem or question: I have an AVC clip that's 1296x1080 and I want to add letterboxing at the top and the bottom, let's say 20px each. I tried the --pad command in the advanced options, but it doesn't seem to work. Supposedly padding only works with HandbrakeCLI for some reason. Can...