Handbrake forcing non-existant 1088p resolution

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
UrielDagda
Posts: 16
Joined: Thu Aug 29, 2013 8:50 am

Handbrake forcing non-existant 1088p resolution

Post by UrielDagda »

I can't batch folders of game footage to compress with Handbrake that were recorded at 1920x1080.. Handbrake forces everything to 1088p, a resolution that doesn't exist, resulting in it chopping the bottom of all the videos off..

I'm forced to type in 1920x1080 by hand and disable Keep Aspect Ratio.. But this setting won't apply to a batch, I have to do this for EVERY INDIVIDUAL VIDEO. So instead of quickly compressing 20 videos, I have to take a half an hour to load each one in by hand, typing in all the information.

Is there any way to fix this? I can't use Handbrake like this...

Weird thing is, I used to be able to set Strict Anamorphic and it would encode properly, but it seems like that no longer works with 0.9.9.5530

*EDIT*I did find the setting for Modulus 8, which selects 1080p... But it's a setting that can't be saved, and still has to be done for each file individually... Can't save for a batch.

Code: Select all

HandBrake 0.9.9.5530 - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Ram: 16326 MB, Screen: 1920x1080
Temp Dir: C:\Users\TARDIS\AppData\Local\Temp\
Install Dir: F:\Program Files\Handbrake
Data Dir: C:\Users\TARDIS\AppData\Roaming\HandBrake\HandBrake\0.9.9.5530

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

CLI Query:  -i "D:\Fraps Raw\Wow 2014-02-01 08-28-35-86.avi" -t 1 --angle 1 -c 1 -o "E:\Compressed videos\Wow 2014-02-01 08-28-35-86-1.m4v"  -f mp4  -4  -w 1920 -l 1088 --modulus 16 -e x264 -q 20 --vfr -a 1 -E faac -6 dpl2 -R Auto -B 160 -D 0 --gain 0 --audio-fallback ffac3 --markers="C:\Users\TARDIS\AppData\Local\Temp\Wow 2014-02-01 08-28-35-86-1-1-chapters.csv" --x264-preset=veryfast  --x264-profile=main  --h264-level="4.0"  --verbose=1
User Query: False

[15:46:40] hb_init: starting libhb thread
HandBrake 0.9.9 (2013052900) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening D:\Fraps Raw\Wow 2014-02-01 08-28-35-86.avi...
[15:46:40] hb_scan: path=D:\Fraps Raw\Wow 2014-02-01 08-28-35-86.avi, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Fraps Raw\Wow 2014-02-01 08-28-35-86.avi/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Fraps Raw\Wow 2014-02-01 08-28-35-86.avi/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(D:\Fraps Raw\Wow 2014-02-01 08-28-35-86.avi) failed (0000000001BBE6A0)
[15:46:40] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[15:46:40] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from 'D:\Fraps Raw\Wow 2014-02-01 08-28-35-86.avi':
  Duration: 00:00:11.68, start: 0.000000, bitrate: 654328 kb/s
    Stream #0.0: Video: fraps, yuvj420p, 1920x1080, 59.94 fps, 59.94 tbr, 60 tbn
    Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[15:46:40] scan: decoding previews for title 1
[15:46:40] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 Unknown (pcm_s16le) (2.0 ch)
Scanning title 1 of 1, preview 4, 40.00 %
Scanning title 1 of 1, preview 10, 100.00 %[15:46:41] scan: 10 previews, 1920x1080, 60.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[15:46:41] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: D:\Fraps Raw\Wow 2014-02-01 08-28-35-86.avi
  + duration: 00:00:11
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 60.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:00:11
  + audio tracks:
    + 1, Unknown (pcm_s16le) (2.0 ch) (iso639-2: und)
  + subtitle tracks:
Reading chapter markers from file C:\Users\TARDIS\AppData\Local\Temp\Wow 2014-02-01 08-28-35-86-1-1-chapters.csv
[15:46:41] 1 job(s) to process
[15:46:41] starting job
[15:46:41] work: sanitizing track 1 mixdown Dolby Pro Logic II to Stereo
[15:46:41] sync: expecting 700 video frames
[15:46:41] work: only 1 chapter, disabling chapter markers
[15:46:41] job configuration:
[15:46:41]  * source
[15:46:41]    + D:\Fraps Raw\Wow 2014-02-01 08-28-35-86.avi
[15:46:41]    + title 1, chapter(s) 1 to 1
[15:46:41]    + container: avi
[15:46:41]    + data rate: 654328 kbps
[15:46:41]  * destination
[15:46:41]    + E:\Compressed videos\Wow 2014-02-01 08-28-35-86-1.m4v
[15:46:41]    + container: MPEG-4 (.mp4 and .m4v)
[15:46:41]      + 64-bit formatting
[15:46:41]  * video track
[15:46:41]    + decoder: fraps
[15:46:41]    + frame rate: same as source (around 60.000 fps)
[15:46:41]    + filters
[15:46:41]      + Framerate Shaper (0:27000000:450000)
[15:46:41]        + frame rate: same as source (around 60.000 fps)
[15:46:41]      + Crop and Scale (1920:1088:0:0:0:0)
[15:46:41]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1088
[15:46:41]    + dimensions: 1920 * 1088, mod 16
[15:46:41]    + encoder: H.264 (x264)
[15:46:41]      + x264 preset: veryfast
[15:46:41]      + h264 profile: main
[15:46:41]      + h264 level: 4.0
[15:46:41]      + quality: 20.00 (RF)
[15:46:41]  * audio track 1
[15:46:41]    + decoder: Unknown (pcm_s16le) (2.0 ch) (track 1, id 0x1)
[15:46:41]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[15:46:41]    + mixdown: Stereo
[15:46:41]    + encoder: AAC (faac)
[15:46:41]      + bitrate: 160 kbps, samplerate: 48000 Hz
[15:46:41] reader: first SCR 0 id 0x0 DTS 0
[15:46:41] encx264: min-keyint: 60, keyint: 600
[15:46:41] encx264: Encoding at constant RF 20.000000
[15:46:41] hb_apply_h264_level [warning]: framerate (60.000) too high for level 4.0 at 1920x1088 (max. 30.118)
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [warning]: MB rate (489600) > level limit (245760)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI1 BMI2
x264 [info]: profile Main, level 4.0
[15:46:58] reader: done. 1 scr changes
[15:46:59] work: average encoding speed for job is 40.711681 fps
[15:46:59] sync: got 701 frames, 700 expected
[15:46:59] render: lost time: 0 (0 frames)
[15:46:59] render: gained time: 0 (0 frames) (0 not accounted for)
[15:46:59] fraps-decoder done: 701 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:2     Avg QP:19.89  size:243763  PSNR Mean Y:43.03 U:45.35 V:46.09 Avg:43.75 Global:43.72
x264 [info]: frame P:189   Avg QP:21.16  size: 16131  PSNR Mean Y:41.29 U:44.09 V:44.92 Avg:42.12 Global:42.02
x264 [info]: frame B:510   Avg QP:25.19  size:  3154  PSNR Mean Y:41.25 U:44.19 V:45.02 Avg:42.10 Global:42.03
x264 [info]: consecutive B-frames:  2.1%  0.6%  6.0% 91.3%
x264 [info]: mb I  I16..4: 13.3%  0.0% 86.7%
x264 [info]: mb P  I16..4:  2.7%  0.0%  1.6%  P16..4: 11.8%  5.4%  2.5%  0.0%  0.0%    skip:75.9%
x264 [info]: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  4.0%  1.5%  0.4%  direct: 0.9%  skip:93.1%  L0:41.2% L1:45.1% BI:13.8%
x264 [info]: coded y,uvDC,uvAC intra: 54.7% 40.6% 14.3% inter: 2.5% 1.4% 0.2%
x264 [info]: i16 v,h,dc,p: 28% 35% 26% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 27% 19%  7%  6%  5%  8%  5%  7%
x264 [info]: i8c dc,h,v,p: 57% 23% 17%  3%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: SSIM Mean Y:0.9793516 (16.851db)
x264 [info]: PSNR Mean Y:41.268 U:44.165 V:44.996 Avg:42.109 Global:42.028 kb/s:3522.83
[15:47:00] pcm_s16le-decoder done: 0 frames, 0 decoder errors, 0 drops
[15:47:00] mux: track 0, 701 frames, 5144728 bytes, 3522.78 kbps, fifo 1024
[15:47:00] mux: track 1, 548 frames, 233785 bytes, 160.08 kbps, fifo 1024
[15:47:00] libhb: work result = 0
Encode done!
HandBrake has exited.
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: Handbrake forcing non-existant 1088p resolution

Post by mduell »

UrielDagda wrote:I can't batch folders of game footage to compress with Handbrake that were recorded at 1920x1080.. Handbrake forces everything to 1088p, a resolution that doesn't exist, resulting in it chopping the bottom of all the videos off..
1088p is indeed a valid resolution, and doesn't result in HandBrake chopping the bottom of your videos off.

You picked a preset with mod 16 in it so you got mod 16. If you want a different mod, change it and save a new preset with it.
UrielDagda
Posts: 16
Joined: Thu Aug 29, 2013 8:50 am

Re: Handbrake forcing non-existant 1088p resolution

Post by UrielDagda »

I switch to mod 8, click save, it doesn't save.

With 1088p my WoW videos basically give me small black bars on the side, and the icons at the bottom are cut off, because it's shrinking horizontally and expanding vertically a small amount.
Deleted User 13735

Re: Handbrake forcing non-existant 1088p resolution

Post by Deleted User 13735 »

change it and save a NEW PRESET with it.
UrielDagda
Posts: 16
Joined: Thu Aug 29, 2013 8:50 am

Re: Handbrake forcing non-existant 1088p resolution

Post by UrielDagda »

I just tried it.. Handbrake doesn't save the Modulus change, and it's reset to 16 when reloaded.
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: Handbrake forcing non-existant 1088p resolution

Post by HandyMan »

Recreate the preset from scratch then save it to a new preset
UrielDagda
Posts: 16
Joined: Thu Aug 29, 2013 8:50 am

Re: Handbrake forcing non-existant 1088p resolution

Post by UrielDagda »

It still defaults back to Modulus 16 if HandBrake is closed and reopened.

Everything else saves, but the Modulus is reset.
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: Handbrake forcing non-existant 1088p resolution

Post by HandyMan »

Sometimes presets get corrupted between upgrade, you could try to start from scratch by:

Exit Handbrake
Backup %appdata%Roaming\HandBrake\user_presets.xml to another location
rm user_presets.xml
Start Handbrake, it will create an empty user_presets.xml
Now try to recreate your specific preset, save it and see if it behave correctly.
UrielDagda
Posts: 16
Joined: Thu Aug 29, 2013 8:50 am

Re: Handbrake forcing non-existant 1088p resolution

Post by UrielDagda »

Now it just crashes when I try to open stuff. It doesn't recreate the user_preset.xml file.

Code: Select all

An Unknown Error has occured.
System.NullReferenceException: Object reference not set to an instance of an object.
   at HandBrakeWPF.ViewModels.PictureSettingsViewModel.SetSource(Title title, Preset preset, EncodeTask task) in c:\HandBrake\Hudson\workspace\Release_WindowsGui64\0.9.9.1\win\CS\HandBrakeWPF\ViewModels\PictureSettingsViewModel.cs:line 706
   at HandBrakeWPF.ViewModels.MainViewModel.SetupTabs() in c:\HandBrake\Hudson\workspace\Release_WindowsGui64\0.9.9.1\win\CS\HandBrakeWPF\ViewModels\MainViewModel.cs:line 1688
   at HandBrakeWPF.ViewModels.MainViewModel.set_SelectedTitle(Title value) in c:\HandBrake\Hudson\workspace\Release_WindowsGui64\0.9.9.1\win\CS\HandBrakeWPF\ViewModels\MainViewModel.cs:line 705
   at HandBrakeWPF.ViewModels.MainViewModel.<>c__DisplayClass1e.<ScanCompleted>b__1c() in c:\HandBrake\Hudson\workspace\Release_WindowsGui64\0.9.9.1\win\CS\HandBrakeWPF\ViewModels\MainViewModel.cs:line 1778
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: Handbrake forcing non-existant 1088p resolution

Post by HandyMan »

I just deleted user_presets, started HB and loaded a file, no crash with HandBrake svn6015 (Nightly Build), no problem on my side
It recreate user_presets when I add a preset.
UrielDagda
Posts: 16
Joined: Thu Aug 29, 2013 8:50 am

Re: Handbrake forcing non-existant 1088p resolution

Post by UrielDagda »

I just tried that and got it to make a new file.. It still won't remember modulus... Still defaults to 16.

Well, I mean, as long as I set it by hand it works, so it's just a matter of convenience.. I guess I'll just stick with adding the files separately.. Maybe a future build will work better.
HandyMan
Bright Spark User
Posts: 169
Joined: Tue Aug 07, 2012 10:52 pm

Re: Handbrake forcing non-existant 1088p resolution

Post by HandyMan »

Try the nightly build :-)
Post Reply