stopping handbrake from adding -1 to the end of a title?

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
allsop1
Posts: 1
Joined: Sun Nov 18, 2018 9:18 am

stopping handbrake from adding -1 to the end of a title?

Post by allsop1 »

I am using 1.1.2 . on an A.M.D 1700x with 16 gig of ram . i am currently shrinking my movies i ripped years ago down to size. I love handbrake, the speed of the program and sheer number of configurations is mind blowing. However it adds a -1 to the end of all titles reencoded. i.e Se7en.mkv becomes Se7en-1.mkv . is there anyway to change this? i am somewhat computer knowledgeable yet this escapes my grasp.

thank you for your help to what is likely ---hopefully an easy fix. (plex doesnt like the -1 at the end of the title)

Pfc. A.L Watkins

i have tried to copy the system logs and came away with this

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: OpenClipboard Failed (Exception from HRESULT: 0x800401D0 (CLIPBRD_E_CANT_OPEN))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Windows.Clipboard.Flush()
at System.Windows.Clipboard.CriticalSetDataObject(Object data, Boolean copy)
at HandBrakeWPF.ViewModels.LogViewModel.CopyLog() in D:\HandBrake\win\CS\HandBrakeWPF\ViewModels\LogViewModel.cs:line 83
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Caliburn.Micro.ActionMessage.<>c.<.cctor>b__33_0(ActionExecutionContext context)
at Caliburn.Micro.ActionMessage.Invoke(Object eventArgs)
at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate

after a bit of digging i got the log


OS: Microsoft Windows NT 10.0.18282.0 - 64bit
CPU: AMD Ryzen 7 1700X Eight-Core Processor
Ram: 8085 MB,
GPU Information:
NVIDIA GeForce GTX 1050 - 25.21.14.1681
Screen: 1280x1024
Temp Dir: C:\Users\tonyl\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\tonyl\AppData\Roaming\HandBrake

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


# Starting Encode ...

[01:27:07] hb_init: starting libhb thread
[01:27:07] 1 job(s) to process
[01:27:07] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": 65536,
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 48000,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
1073807360,
1073743872,
1074003968,
1073750016,
1090519040,
1074790400,
1074266112,
1107296256
],
"FallbackEncoder": 2048
},
"Destination": {
"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"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "D:\\OUTPUT\\Movies\\The Astronaut Farmer-1.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": 2097152
},
"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": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "480",
"width": "720"
}
},
{
"ID": 6,
"Settings": {
"mode": "2",
"rate": "27000000/900000"
}
}
]
},
"PAR": {
"Num": 8,
"Den": 9
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 27
},
"Title": 1,
"Path": "Y:\\movies\\THE_ASTRONAUT_FARMER.m4v"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": 65536,
"Level": "4.0",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "fast",
"Profile": "main",
"Quality": 20.0,
"Tune": "fastdecode",
"HWDecode": false,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[01:27:07] CPU:
[01:27:07] - logical processor count: 16
[01:27:07] Intel Quick Sync Video support: no
[01:27:07] hb_scan: path=Y:\movies\THE_ASTRONAUT_FARMER.m4v, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image Y:\movies\THE_ASTRONAUT_FARMER.m4v
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
[01:27:07] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[01:27:07] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Y:\movies\THE_ASTRONAUT_FARMER.m4v':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isomavc1
creation_time : 2012-03-05 03:41:15
encoder : HandBrake 0.9.5 2011010300
Duration: 01:44:06.44, start: 0.000000, bitrate: 4635 kb/s
Chapter #0:0: start -0.197722, end 186.800811
Metadata:
title : Chapter 1
Chapter #0:1: start 186.800811, end 389.386533
Metadata:
title : Chapter 2
Chapter #0:2: start 389.386533, end 798.128200
Metadata:
title : Chapter 3
Chapter #0:3: start 798.128200, end 1052.832644
Metadata:
title : Chapter 4
Chapter #0:4: start 1052.832644, end 1230.009644
Metadata:
title : Chapter 5
Chapter #0:5: start 1230.009644, end 1381.878033
Metadata:
title : Chapter 6
Chapter #0:6: start 1381.878033, end 1586.749367
Metadata:
title : Chapter 7
Chapter #0:7: start 1586.749367, end 1823.936311
Metadata:
title : Chapter 8
Chapter #0:8: start 1823.936311, end 2022.184367
Metadata:
title : Chapter 9
Chapter #0:9: start 2022.184367, end 2300.462367
Metadata:
title : Chapter 10
Chapter #0:10: start 2300.462367, end 2479.474533
Metadata:
title : Chapter 11
Chapter #0:11: start 2479.474533, end 2890.334978
Metadata:
title : Chapter 12
Chapter #0:12: start 2890.334978, end 3119.780867
Metadata:
title : Chapter 13
Chapter #0:13: start 3119.780867, end 3290.618200
Metadata:
title : Chapter 14
Chapter #0:14: start 3290.618200, end 3403.681144
Metadata:
title : Chapter 15
Chapter #0:15: start 3403.681144, end 3570.347644
Metadata:
title : Chapter 16
Chapter #0:16: start 3570.347644, end 3735.512644
Metadata:
title : Chapter 17
Chapter #0:17: start 3735.512644, end 3974.468033
Metadata:
title : Chapter 18
Chapter #0:18: start 3974.468033, end 4155.315367
Metadata:
title : Chapter 19
Chapter #0:19: start 4155.315367, end 4389.382533
Metadata:
title : Chapter 20
Chapter #0:20: start 4389.382533, end 4752.612067
Metadata:
title : Chapter 21
Chapter #0:21: start 4752.612067, end 4981.173733
Metadata:
title : Chapter 22
Chapter #0:22: start 4981.173733, end 5178.704400
Metadata:
title : Chapter 23
Chapter #0:23: start 5178.704400, end 5426.285067
Metadata:
title : Chapter 24
Chapter #0:24: start 5426.285067, end 5669.828367
Metadata:
title : Chapter 25
Chapter #0:25: start 5669.828367, end 5893.885533
Metadata:
title : Chapter 26
Chapter #0:26: start 5893.885533, end 6246.443556
Metadata:
title : Chapter 27
Stream #0:0(und): Video: h264 (Main) [avc1 / 0x31637661]
yuv420p, tv, smpte170m/smpte170m/bt709
720x480 [PAR 8:9 DAR 4:3], 4469 kb/s, PAR 8:9 DAR 4:3
20.83 fps, 90k tbn (default)
Metadata:
creation_time : 2012-03-05 03:41:15
encoder : JVT/AVC Coding
Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
48000 Hz, stereo, fltp, 159 kb/s (default)
Metadata:
creation_time : 2012-03-05 03:41:15
Stream #0:2(und): Subtitle: mov_text
Metadata:
creation_time : 2012-03-05 03:41:15
[01:27:07] scan: decoding previews for title 1
[01:27:07] scan: audio 0x1: aac, rate=48000Hz, bitrate=159742 English (AAC) (2.0 ch)
[01:27:08] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 8:9
[01:27:08] scan: supported video decoders: avcodec qsv
[01:27:08] libhb: scan thread found 1 valid title(s)
[01:27:08] Skipping subtitle scan. No suitable subtitle tracks.
[01:27:08] starting job
[01:27:08] decomb filter thread started for segment 0
[01:27:08] decomb filter thread started for segment 1
[01:27:08] decomb filter thread started for segment 2
[01:27:08] decomb filter thread started for segment 3
[01:27:08] decomb filter thread started for segment 4
[01:27:08] decomb filter thread started for segment 5
[01:27:08] decomb filter thread started for segment 6
[01:27:08] decomb filter thread started for segment 12
[01:27:08] decomb filter thread started for segment 8
[01:27:08] decomb filter thread started for segment 9
[01:27:08] decomb filter thread started for segment 10
[01:27:08] decomb filter thread started for segment 11
[01:27:08] decomb check thread started for segment 0
[01:27:08] decomb check thread started for segment 1
[01:27:08] decomb filter thread started for segment 14
[01:27:08] decomb filter thread started for segment 15
[01:27:08] decomb filter thread started for segment 7
[01:27:08] decomb filter thread started for segment 13
[01:27:08] decomb check thread started for segment 2
[01:27:08] decomb check thread started for segment 6
[01:27:08] decomb check thread started for segment 4
[01:27:08] decomb check thread started for segment 5
[01:27:08] decomb check thread started for segment 3
[01:27:08] decomb check thread started for segment 7
[01:27:08] decomb check thread started for segment 8
[01:27:08] decomb check thread started for segment 9
[01:27:08] decomb check thread started for segment 10
[01:27:08] decomb check thread started for segment 11
[01:27:08] decomb check thread started for segment 14
[01:27:08] decomb check thread started for segment 13
[01:27:08] decomb check thread started for segment 12
[01:27:08] decomb check thread started for segment 15
[01:27:08] mask filter thread started for segment 0
[01:27:08] mask filter thread started for segment 1
[01:27:08] mask filter thread started for segment 2
[01:27:08] mask filter thread started for segment 3
[01:27:08] mask filter thread started for segment 4
[01:27:08] mask filter thread started for segment 5
[01:27:08] mask filter thread started for segment 6
[01:27:08] mask filter thread started for segment 7
[01:27:08] mask filter thread started for segment 8
[01:27:08] mask filter thread started for segment 9
[01:27:08] mask filter thread started for segment 10
[01:27:08] mask filter thread started for segment 11
[01:27:08] mask filter thread started for segment 12
[01:27:08] mask filter thread started for segment 13
[01:27:08] mask filter thread started for segment 14
[01:27:08] mask filter thread started for segment 15
[01:27:08] mask erode thread started for segment 0
[01:27:08] mask erode thread started for segment 1
[01:27:08] mask erode thread started for segment 2
[01:27:08] mask erode thread started for segment 3
[01:27:08] mask erode thread started for segment 4
[01:27:08] mask erode thread started for segment 5
[01:27:08] mask erode thread started for segment 6
[01:27:08] mask erode thread started for segment 7
[01:27:08] mask erode thread started for segment 8
[01:27:08] mask erode thread started for segment 9
[01:27:08] mask erode thread started for segment 10
[01:27:08] mask erode thread started for segment 11
[01:27:08] mask erode thread started for segment 12
[01:27:08] mask erode thread started for segment 13
[01:27:08] mask erode thread started for segment 14
[01:27:08] mask erode thread started for segment 15
[01:27:08] mask dilate thread started for segment 0
[01:27:08] mask dilate thread started for segment 1
[01:27:08] mask dilate thread started for segment 2
[01:27:08] mask dilate thread started for segment 3
[01:27:08] mask dilate thread started for segment 4
[01:27:08] mask dilate thread started for segment 5
[01:27:08] mask dilate thread started for segment 6
[01:27:08] mask dilate thread started for segment 7
[01:27:08] mask dilate thread started for segment 8
[01:27:08] mask dilate thread started for segment 9
[01:27:08] mask dilate thread started for segment 10
[01:27:08] mask dilate thread started for segment 11
[01:27:08] mask dilate thread started for segment 12
[01:27:08] mask dilate thread started for segment 13
[01:27:08] mask dilate thread started for segment 14
[01:27:08] mask dilate thread started for segment 15
[01:27:08] yadif thread started for segment 0
[01:27:08] yadif thread started for segment 1
[01:27:08] yadif thread started for segment 2
[01:27:08] yadif thread started for segment 3
[01:27:08] yadif thread started for segment 4
[01:27:08] yadif thread started for segment 5
[01:27:08] yadif thread started for segment 6
[01:27:08] yadif thread started for segment 7
[01:27:08] yadif thread started for segment 8
[01:27:08] yadif thread started for segment 9
[01:27:08] yadif thread started for segment 10
[01:27:08] yadif thread started for segment 11
[01:27:08] yadif thread started for segment 12
[01:27:08] yadif thread started for segment 13
[01:27:08] yadif thread started for segment 14
[01:27:08] yadif thread started for segment 15
[01:27:08] work: track 1, dithering not supported by codec
[01:27:08] job configuration:
[01:27:08] * source
[01:27:08] + Y:\movies\THE_ASTRONAUT_FARMER.m4v
[01:27:08] + title 1, chapter(s) 1 to 27
[01:27:08] + container: mov,mp4,m4a,3gp,3g2,mj2
[01:27:08] + data rate: 4635 kbps
[01:27:08] * destination
[01:27:08] + D:\OUTPUT\Movies\The Astronaut Farmer-1.mkv
[01:27:08] + container: Matroska (libavformat)
[01:27:08] + chapter markers
[01:27:08] * video track
[01:27:08] + decoder: h264
[01:27:08] + bitrate 4469 kbps
[01:27:08] + filters
[01:27:08] + 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)
[01:27:08] + Decomb (mode=39)
[01:27:08] + Framerate Shaper (mode=2:rate=27000000/900000)
[01:27:08] + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[01:27:08] + Crop and Scale (width=720:height=480:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[01:27:08] + source: 720 * 480, crop (0/0/0/0): 720 * 480, scale: 720 * 480
[01:27:08] + Output geometry
[01:27:08] + storage dimensions: 720 x 480
[01:27:08] + pixel aspect ratio: 8 : 9
[01:27:08] + display dimensions: 640 x 480
[01:27:08] + encoder: H.264 (libx264)
[01:27:08] + preset: fast
[01:27:08] + tune: fastdecode
[01:27:08] + profile: main
[01:27:08] + level: 4.0
[01:27:08] + quality: 20.00 (RF)
[01:27:08] * audio track 1
[01:27:08] + decoder: English (AAC) (2.0 ch) (track 1, id 0x1)
[01:27:08] + bitrate: 159 kbps, samplerate: 48000 Hz
[01:27:08] + mixdown: Stereo
[01:27:08] + encoder: AAC (libavcodec)
[01:27:08] + bitrate: 160 kbps, samplerate: 48000 Hz
[01:27:08] sync: expecting 149764 video frames
[01:27:08] encx264: min-keyint: 24, keyint: 240
[01:27:08] encx264: encoding at constant RF 20.000000
[01:27:08] encx264: unparsed options: level=4.0:ref=2:weightb=0:no-deblock=1:cabac=0:8x8dct=0:weightp=0:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=8/9
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0
[01:27:08] sync: first pts video is 0
[01:27:08] sync: "Chapter 1" (1) at frame 1 time 0
[01:27:08] sync: first pts audio 0x1 is 0
[01:27:23] sync: "Chapter 2" (2) at frame 4477 time 16811322
[01:27:41] sync: "Chapter 3" (3) at frame 9334 time 35044037
[01:28:14] sync: "Chapter 4" (4) at frame 19134 time 71830787
[01:28:35] sync: "Chapter 5" (5) at frame 25241 time 94754938
[01:28:50] sync: "Chapter 6" (6) at frame 29489 time 110700868
[01:29:03] sync: "Chapter 7" (7) at frame 33130 time 124368272
[01:29:19] sync: "Chapter 8" (8) at frame 38042 time 142806692
[01:29:40] sync: "Chapter 9" (9) at frame 43729 time 164154268
[01:29:59] sync: "Chapter 10" (10) at frame 48482 time 181995842
[01:30:22] sync: "Chapter 11" (11) at frame 55154 time 207040862
[01:30:36] sync: "Chapter 12" (12) at frame 59446 time 223151957
[01:31:10] sync: "Chapter 13" (13) at frame 69297 time 260130148
[01:31:30] sync: "Chapter 14" (14) at frame 74798 time 280779527
rollin_eng
Veteran User
Posts: 4859
Joined: Wed May 04, 2011 11:06 pm

Re: stopping handbrake from adding -1 to the end of a title?

Post by rollin_eng »

Go to Tools-> Preferences-> Output Files.

File format is what you need to change, try removing -{title}
Post Reply