Changing display resolution height?

GeorgeKT83

New member
Hello,

I wanted to know it is possible to change the output display height?
My source is MP4 X264 640*480, I can change the width to any value that I want, like 708 but when I try to change the height from 480 to 478 it is don´t working for me and the output will be 480 again
I using the option to make a force reencode.

I want to change the height because I want to join multiple sources together without full reencoding.
Changing the bright has always worked for me but I have never try to change the height.

Is there any option or way, so I can change the height from 480 to 478, like the force reencode option?

Thanks in advance for any help

Kind regards George

EDIT

Original File Media Info
General
Complete name : C:\Users
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/isom/avc1)
File size : 308 MiB
Duration : 11 min 0 s
Overall bit rate mode : Variable
Overall bit rate : 3 912 kb/s
Encoded date : UTC 2014-08-04 00:39:35
Tagged date : UTC 2014-08-04 00:46:06
Writing application : HandBrake 0.9.9 2013052900

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 11 min 0 s
Bit rate : 3 748 kb/s
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.407
Stream size : 295 MiB (96%)
Writing library : x264 core 130 r2273 b3065e6
Encoding settings : cabac=1 / ref=1 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.25 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=6,6 / fast_pskip=1 / chroma_qp_offset=0 / threads=6 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=300 / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=18.8 / qcomp=0.80 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=25000 / vbv_bufsize=31250 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.10 / aq=1:0.50
Encoded date : UTC 2014-08-04 00:39:36
Tagged date : UTC 2014-08-04 00:46:06
Color range : Limited
Color primaries : BT.601 NTSC
Transfer characteristics : BT.709
Matrix coefficients : BT.601
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 11 min 0 s
Bit rate mode : Variable
Bit rate : 160 kb/s
Maximum bit rate : 191 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 12.6 MiB (4%)
Title : Stereo
Encoded date : UTC 2014-08-04 00:39:36
Tagged date : UTC 2014-08-04 00:46:05
 
Last edited:

jmc

Well-known member
OK, off the cuff...
Some of these changes must be divisible by a certain number to work.
Like 16 or 2 or something like that. (I'm thinking it's 16)
 

cp2

Member
I see that Handbrake is involved. Are you using this or does it arrive with you like that?
I mention it because I had a width problem with Handbrake, it was auto cropping 1920 to 1904 which was not helping my playback device. I resolved this by selecting the Dimension tab, switching cropping to Custom, setting the width crops to 0 and changing the Size to suit.
If you have control of the Handbrake step treating the height in a similar manner might sort it.
 

Dan203

Senior Developer
Staff member
H.264 has to be a multiple of 8. So you can change it to 472, but not 478.

If you really need 478 you can use the crop and border section to add -2 cropping to either the top or the bottom. (you can’t do 1ea because they require multiples of 2)
 

GeorgeKT83

New member
Thank you very much for all the answers, I have not really thought that I will get these problems.
I used handbrake with the settings Anarmorphic: Loose and get different outputs sometimes it was height 480 and now sometimes 478, width was always different too, the other source was already encoded with handbrake and have height 480.

I tried already before I have started the topic with crop and border section -2. It has shown me 478 but the output was still 480 after encoding and VideoRedo still say Major reencode required

So I think it will be better to make a complete reboot for the project and encoding all episodes again. I using as the main source DVD 720*480 and will try to keep the original resolution with handbrake this time 720*480. And will reencode the other sources VHS and TV recording captures with VideoRedo to 720*480.
I need to use DVD/VHS and TV recording captures, because the series is censored officially on DVD and need to splice multiple sources to get it Uncut.

Another question VideoReDo has in advanced settings "tuning": "Film" but the series is a cartoon from the 90´s, should I better make "tuning" to "Animation" when splicing and reencode to 720*480?
 

Dan203

Senior Developer
Staff member
Any time you crop or border it will recode. There is no way around that.

Also as I said H.264 requires resolutions to be divisible by 8. So if you set the crop to -2 it will add 2px of black to the top or bottom so that the actual video is 478 but the resolution is 480. The only reason to do this is if there is a noticeable stretch to the video. There is no way to output 478 from VideoReDo.

The tuning option is a feature of the x264 encoder. I don’t have a lot of experience with the various options. However if the show you're encoding is animated it does make sense to use the animation preset.
 

GeorgeKT83

New member
I can´t recommend using handbrake for ripping DVD and make cuts with VideoReDo. I have try a lot of different settings in Handbrake and everytime the file gets corrupt after cutting with VideoReDo at certain cut point. The video plays at the beginning with small, glitching artefacts in VideoRedoVLC/Windows Media Player and my Android TV Box show a black screen, with other resolution settings the edge on the right shows corrupted at the beginning.

Anyway, it is not the fault of VideoRedo, has tried the same thing with a file from MakeMKV. Created an MKV file with MakeMKV from my DVD and making the exact same cut points and there are no issues.
Luckily I note this problem and was not so far with my project have don´t checked yet all the other episodes but I think there will maybe similar issues.
So I will make better again a completely new start.

possibility1: I will using VideoRedo with setting force reencode resolution 720:420 to keep the original resolution and deeinterlace smart.
The DVD is interlaced so I think it will be better to deinterlace them and make it progressive. Hope the standard settings are fine header bit rate 6500 and maximum bitrate 9500.
Think I can trust VideoRedo and I don´t get the issues which I got with handbrake when I have finished the reencode to deinterlace it and setting my cut point.

possibility2: I just using MakeMKV to put the DVD in MKV container and keep them interlaced but I don´t know will it be a good idea to don´t deinterlace the files.
Did anyone know that Android VLC Media Player Version 3.3.4 app deinterlace the video and will make it progessive?
Or will VLC just play the video interlaced?

Thanks in advance.
 

Dan203

Senior Developer
Staff member
You don’t really need progressive. Most devices and players can handle interlaced these days. Your best bet for maximum quality is to keep the video as close to the original as possible.
 

cp2

Member
Handbrake seems to insist on recording everything it touches either using presets or after you’ve navigated the wide range of adjustments that are available. On the other hand MakeMkv rips a disc without as it is (with the possible exception of not reading “add-ons“ like Dolby Vision).
For that reason alone I would use MakeMKV.
Having said that I use both: MakeMKV to rip the disc then Handbrake to recode its output to the format that I want, H265.
 
Top Bottom