Output wants to add pixels to width of input file.

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
DBenz
Posts: 3
Joined: Sun Oct 13, 2019 3:23 pm

Output wants to add pixels to width of input file.

Post by DBenz »

Description of problem or question:
First use of Handbrake, I drag drop my 720x586 .avi file and output says 768x576
This appears to be a default response to what was just added as a file, I also see this in wondershare converter.
This is larger than SD then which is 720 and I was to place this into a 720 wide 'window' in a HD size frame in video editor to force flat screen TV to play it at its intended physical size as then it looks fantastic. (If only flat screens had such an option rather than stretch it massive bigger than intended original viewing size.
Why does handbrake add pixels to my SD width, losing its proportions ?
I als saw crop saying 2 2 2 2 eyt why should I want it to crop my video ?
I simply want to get rid of the toothcomb effect on what was filmed on a Hi8 camcorder and stills from it have the comb teeth.
I dont want to spoil the 720x576 sized SD footage and gain size in one direction, which will alter its shape, circles might cease to be circles etc.

What is handbrake doing, and what settings should I be using ?



Steps to reproduce the problem (If Applicable):

drag drop any sd footage 720x576 into handbrake !


HandBrake version (e.g., 1.0.0):

1.2.2


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

windows 7 64bit 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: 7135
Joined: Sat Apr 21, 2007 8:54 pm

Re: Output wants to add pixels to width of input file.

Post by mduell »

Your very much not general question would need an activity log to tell us what's going on in your specific situation.

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

Re: Output wants to add pixels to width of input file.

Post by rollin_eng »

Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html

DBenz
Posts: 3
Joined: Sun Oct 13, 2019 3:23 pm

Re: Output wants to add pixels to width of input file.

Post by DBenz »

Hi,
doesnt say how to get the log into the post I made though.
I have no choice other than to paste it into the actual thread window itself, as there also is on edit post option for my post.

Having dabbled with the settings trying to resolve it, its now offering me 720 x 534 and i cant get it up to its former offer of 768 width, it wont go above 720 now, dont understand why it cant just offer me same px w x h as source.

here is the log:-

HandBrake 1.2.2 (2019022300)
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
Ram: 32629 MB,
GPU Information:
Intel(R) HD Graphics 4600 - 10.18.10.3907
NVIDIA GeForce GTX 970 - 26.21.14.3160
Screen: 1920x1200
Temp Dir: C:\Users\DBenz\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\DBenz\AppData\Roaming\HandBrake

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


# Starting Encode ...

[21:17:15] hb_init: starting libhb thread
[21:17:15] 1 job(s) to process
[21:17:15] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": true,
"File": "M:\\TestHandbrakeDeinterlacing\\CamcorderFilmingSettings3.m4v",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "mp4"
},
"Filters": {
"FilterList": [
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"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": 11,
"Settings": {
"crop-bottom": "8",
"crop-left": "2",
"crop-right": "2",
"crop-top": "2",
"height": "534",
"width": "720"
}
},
{
"ID": 6,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 63724,
"Den": 63675
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "G:\\from IDE_HD02 N\\PremiereCapture\\CamcorderFilm_SD.avi"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "x264",
"Level": "4.0",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "fast",
"Profile": "main",
"Quality": 22.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[21:17:15] CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
[21:17:15] - Intel microarchitecture Haswell
[21:17:15] - logical processor count: 8
[21:17:15] Intel Quick Sync Video support: yes
[21:17:15] - Intel Media SDK hardware: API 1.10 (minimum: 1.3)
[21:17:15] - H.264 encoder: yes
[21:17:15] - preferred implementation: hardware (any) via D3D11
[21:17:15] - capabilities (hardware): breftype vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[21:17:15] - H.265 encoder: no
[21:17:15] hb_scan: path=G:\from IDE_HD02 N\PremiereCapture\CamcorderFilm_SD.avi, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image G:\from IDE_HD02 N\PremiereCapture\CamcorderFilm_SD.avi
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
[21:17:15] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[21:17:15] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from 'G:\from IDE_HD02 N\PremiereCapture\CamcorderFilm_SD.avi':
Duration: 00:07:47.18, start: 0.000000, bitrate: 28864 kb/s
Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 27324 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
[21:17:15] scan: decoding previews for title 1
[21:17:15] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 Unknown (pcm_s16le) (2.0 ch)
[21:17:15] scan: 10 previews, 720x576, 25.000 fps, autocrop = 2/8/2/2, aspect 4:3, PAR 16:15
[21:17:15] libhb: scan thread found 1 valid title(s)
[21:17:15] Skipping subtitle scan. No suitable subtitle tracks.
[21:17:15] starting job
[21:17:15] decomb filter thread started for segment 0
[21:17:15] decomb filter thread started for segment 1
[21:17:15] decomb filter thread started for segment 2
[21:17:15] decomb filter thread started for segment 3
[21:17:15] decomb filter thread started for segment 4
[21:17:15] decomb filter thread started for segment 5
[21:17:15] decomb filter thread started for segment 6
[21:17:15] decomb filter thread started for segment 7
[21:17:15] decomb check thread started for segment 0
[21:17:15] decomb check thread started for segment 1
[21:17:15] decomb check thread started for segment 2
[21:17:15] decomb check thread started for segment 3
[21:17:15] decomb check thread started for segment 4
[21:17:15] decomb check thread started for segment 5
[21:17:15] decomb check thread started for segment 6
[21:17:15] decomb check thread started for segment 7
[21:17:15] mask filter thread started for segment 0
[21:17:15] mask filter thread started for segment 1
[21:17:15] mask filter thread started for segment 2
[21:17:15] mask filter thread started for segment 3
[21:17:15] mask filter thread started for segment 4
[21:17:15] mask filter thread started for segment 5
[21:17:15] mask filter thread started for segment 6
[21:17:15] mask filter thread started for segment 7
[21:17:15] mask erode thread started for segment 0
[21:17:15] mask erode thread started for segment 1
[21:17:15] mask erode thread started for segment 2
[21:17:15] mask erode thread started for segment 3
[21:17:15] mask erode thread started for segment 4
[21:17:15] mask erode thread started for segment 5
[21:17:15] mask erode thread started for segment 6
[21:17:15] mask erode thread started for segment 7
[21:17:15] mask dilate thread started for segment 0
[21:17:15] mask dilate thread started for segment 1
[21:17:15] mask dilate thread started for segment 2
[21:17:15] mask dilate thread started for segment 3
[21:17:15] mask dilate thread started for segment 4
[21:17:15] mask dilate thread started for segment 5
[21:17:15] mask dilate thread started for segment 6
[21:17:15] yadif thread started for segment 0
[21:17:15] mask dilate thread started for segment 7
[21:17:15] yadif thread started for segment 1
[21:17:15] yadif thread started for segment 2
[21:17:15] yadif thread started for segment 3
[21:17:15] yadif thread started for segment 4
[21:17:15] yadif thread started for segment 5
[21:17:15] yadif thread started for segment 6
[21:17:15] yadif thread started for segment 7
[21:17:15] work: only 1 chapter, disabling chapter markers
[21:17:15] job configuration:
[21:17:15] * source
[21:17:15] + G:\from IDE_HD02 N\PremiereCapture\CamcorderFilm_SD.avi
[21:17:15] + title 1, chapter(s) 1 to 1
[21:17:15] + container: avi
[21:17:15] + data rate: 28864 kbps
[21:17:15] * destination
[21:17:15] + M:\TestHandbrakeDeinterlacing\CamcorderFilmingSettings3.m4v
[21:17:15] + container: MPEG-4 (libavformat)
[21:17:15] + align initial A/V stream timestamps
[21:17:15] * video track
[21:17:15] + decoder: dvvideo
[21:17:15] + bitrate 27324 kbps
[21:17:15] + filters
[21:17:15] + 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)
[21:17:15] + Decomb (mode=39)
[21:17:15] + Framerate Shaper (mode=1)
[21:17:15] + frame rate: 25.000 fps -> constant 25.000 fps
[21:17:15] + Crop and Scale (width=720:height=534:crop-top=2:crop-bottom=8:crop-left=2:crop-right=2)
[21:17:15] + source: 720 * 576, crop (2/8/2/2): 716 * 566, scale: 720 * 534
[21:17:15] + Output geometry
[21:17:15] + storage dimensions: 720 x 534
[21:17:15] + pixel aspect ratio: 63724 : 63675
[21:17:15] + display dimensions: 720 x 534
[21:17:15] + encoder: H.264 (libx264)
[21:17:15] + preset: fast
[21:17:15] + profile: main
[21:17:15] + level: 4.0
[21:17:15] + quality: 22.00 (RF)
[21:17:15] + color profile: 6-1-6
[21:17:15] * audio track 1
[21:17:15] + decoder: Unknown (pcm_s16le) (2.0 ch) (track 1, id 0x1)
[21:17:15] + bitrate: 1536 kbps, samplerate: 48000 Hz
[21:17:15] + mixdown: Stereo
[21:17:15] + dither: none
[21:17:15] + encoder: AAC (libavcodec)
[21:17:15] + bitrate: 160 kbps, samplerate: 48000 Hz
[21:17:15] sync: expecting 11679 video frames
[21:17:15] encx264: encoding at constant RF 22.000000
[21:17:15] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=63724/63675
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[21:17:15] sync: first pts video is 0
[21:17:15] sync: "Chapter 1" (1) at frame 1 time 0
[21:17:15] sync: first pts audio 0x1 is 0
[21:18:49] reader: done. 1 scr changes
[21:18:50] work: average encoding speed for job is 117.822495 fps
[21:18:50] comb detect: heavy 9742 | light 212 | uncombed 1126 | total 11080
[21:18:50] decomb: deinterlaced 9742 | blended 212 | unfiltered 1126 | total 11080
[21:18:50] vfr: 11679 frames output, 0 dropped and 599 duped for CFR/PFR
[21:18:50] vfr: lost time: 0 (0 frames)
[21:18:50] vfr: gained time: 0 (0 frames) (0 not accounted for)
[21:18:50] pcm_s16le-decoder done: 21959 frames, 0 decoder errors
[21:18:50] dvvideo-decoder done: 11080 frames, 0 decoder errors
[21:18:50] sync: got 11080 frames, 11679 expected
[21:18:50] sync: framerate min 0.205 fps, max 25.000 fps, avg 23.718 fps
x264 [info]: frame I:52 Avg QP:20.74 size: 51899
x264 [info]: frame P:2944 Avg QP:23.77 size: 15111
x264 [info]: frame B:8683 Avg QP:27.44 size: 5020
x264 [info]: consecutive B-frames: 0.8% 0.1% 0.1% 98.9%
x264 [info]: mb I I16..4: 9.4% 0.0% 90.6%
x264 [info]: mb P I16..4: 1.5% 0.0% 7.8% P16..4: 43.1% 26.4% 12.7% 0.0% 0.0% skip: 8.6%
x264 [info]: mb B I16..4: 2.0% 0.0% 2.2% B16..8: 24.9% 9.2% 0.7% direct:36.9% skip:24.2% L0:42.9% L1:41.1% BI:16.0%
x264 [info]: coded y,uvDC,uvAC intra: 75.5% 80.1% 25.2% inter: 23.2% 72.2% 1.1%
x264 [info]: i16 v,h,dc,p: 26% 36% 27% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 16% 13% 6% 8% 9% 8% 6% 5%
x264 [info]: i8c dc,h,v,p: 51% 33% 8% 8%
x264 [info]: Weighted P-Frames: Y:5.6% UV:2.4%
x264 [info]: ref P L0: 54.7% 45.3%
x264 [info]: ref B L0: 70.7% 29.3%
x264 [info]: ref B L1: 89.5% 10.5%
x264 [info]: kb/s:1554.46
[21:18:50] mux: track 0, 11679 frames, 90770495 bytes, 1554.29 kbps, fifo 2048
[21:18:50] mux: track 1, 21899 frames, 8980974 bytes, 153.78 kbps, fifo 4096
[21:18:50] libhb: work result = 0

# Encode Completed ...



DBenz

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

Re: Output wants to add pixels to width of input file.

Post by Woodstock »

Code: Select all

[21:17:15] + Crop and Scale (width=720:height=534:crop-top=2:crop-bottom=8:crop-left=2:crop-right=2)
[21:17:15] + source: 720 * 576, crop (2/8/2/2): 716 * 566, scale: 720 * 534
[21:17:15] + Output geometry
[21:17:15] + storage dimensions: 720 x 534
[21:17:15] + pixel aspect ratio: 63724 : 63675
[21:17:15] + display dimensions: 720 x 534
Rather strange Pixel Aspect Ratio, but... Your video actually only has 534 lines of resolution, after were probably "guard bands" are removed. If retaining them is important to you, you can disable auto-crop, and set all crop values to zero, which will retain the black bars.

You should probably turn interlace detect off, and let all frames be deinterlaced. Depending on the results, I might change the deinterlace method to "BoB", but that's my preference.

Post Reply