Log in

View Full Version : VidCoder: Alternative HandBrake GUI for Windows


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22] 23 24 25 26 27 28 29 30 31 32

RandomEngy
4th July 2015, 05:32
Do you have enough space on your disk?

bmcelvan
21st July 2015, 16:18
Quick question. I just noticed it, I don't think I noticed it before but maybe I just didn't do the test. On 5 different titles just ran CQ16 VeryFast versus VerySlow and the VeryFast was always the smallest file type. After noticing that, on several different chapters from different sources did VeryFast, Faster, Fast, VerySlow, Medium and Slow. VeryFast was always the smallest file size.

So...I am trying to figure out what this means...it was my assumption that the whole CQ technique was to make the exact same quality when used at any speed.

Does this mean that VeryFast really is worse in quality (how can it not be - it is the smallest file size and is the quickest by far)...or does this mean all the others are really bloated in file size or actually are better than the CQ16 value? Does anyone have any thoughts?

Thanks

Ben

detmek
21st July 2015, 16:50
.it was my assumption that the whole CQ technique was to make the exact same quality when used at any speed.



Wrong assumption.

CRF only gives you nearly the same quality across multiple videos if you use same settings. Same CRF with differents settings produces different quality even with the same source.

bmcelvan
21st July 2015, 20:54
Wrong assumption.

CRF only gives you nearly the same quality across multiple videos if you use same settings. Same CRF with differents settings produces different quality even with the same source.

Ahhhh, thank you for clarifying this.

I don't want to assume again. Are the slower encoding speeds giving better quality than the faster speeds?

For example, Will a VerySlow CQ18 be "better" quality than medium which will be better than Fast?

Thanks

Ben

detmek
23rd July 2015, 11:22
Slower settings give you better compression ratio, better quality per bit(rate).

Because CRF produces different quality with different settings you can get 3 results for same CRF:

1. Better quality and bigger files
2. Better quality and smaller file
3. Lower quality and smaller file

Usually, you choose the slowest parameters that you can afford (encoding time wise) and then you choose CRF that gives you quality you want. You don't pick CRF first and settings later.

Ruriko
14th October 2015, 11:16
Can you add the ability to burn in all subtitles in the video file instead of making you select a language cause there's no option to burn-in subtitles if you select ALL

DJ-1
14th October 2015, 11:47
Hi is it possible to stretch or shrink audio with vidcoder?.... Ta

Sent from my LG-H815 using Tapatalk

RandomEngy
16th October 2015, 03:51
Stretch or shrink audio? You mean change with the duration? No, that's not possible using the HandBrake engine.

janot
25th October 2015, 20:02
@RandomEngy Hi, thanks for VidCoder

I have following problem with VidCoder which I've submitted to Codeplex issues https://vidcoder.codeplex.com/workitem/377:

Win10x64
This happens when encoding is in progress and I'm trying to open new webpage (this doesn't affect links from already opened pages) in every Blink-based browser (I've tried in Chrome, Opera, Vivaldi, incognito mode). Browser tries to load page, but nothing happens at all (there is no activity in "Developer Tools"->"Network", just icon "reload this page" changes to "stop loading") and page is never loaded or finally starts loading in ~ a minute. So, browsing is very annoying when VidCoder is encoding. Edge and IE behave normally, Handbrake also doesn't produce this issue. This bug is present in both latest stable and beta versions x64 (haven't tried x86).

Currently I have to pause encoding, wait for couple of seconds and reopen webpage.

Looks like not many people face it (I don't imagine how would it still exist in such case), so it would likely take long time to fix. So, I'm asking, if you have any ideas why is this happening and/or you can suggest some workaround?

Also what do you think about fixing that VidCoderWorker.exe doesn't allow to disconnect external HDD when encoding is paused (both source and destination are on that HDD). Or is that on Handbrake's side?

RandomEngy
28th October 2015, 05:28
Sorry I've kind of been letting the issues pile up as I focus on refactoring. Replied to your issue, but I think that the external HDD issue is something controlled by HandBrake. I just supply the source, destination and encode parameters and the engine handles opening the file.

JohnAStebbins
28th October 2015, 22:49
Also what do you think about fixing that VidCoderWorker.exe doesn't allow to disconnect external HDD when encoding is paused (both source and destination are on that HDD). Or is that on Handbrake's side?

When an encoding is paused, HandBrake is idling, but all contexts are still active. You need *all* context in order to resume. All files remain open all decoders and encoders remain alive (but idle). When you unplug a disk, the OS forces all associated file handles closed. This breaks the context information that is required to resume.

Saving all context would require deep changes to *all* the libraries used by HandBrake to allow them to serialize and save current context information. There are, quite literally, about a million lines of code in these libraries. So not a trivial task.

RandomEngy
5th November 2015, 09:30
Released VidCoder 2.6 Beta (https://vidcoder.codeplex.com/releases/view/618299):

Giant refactoring release.

* All internal storage for presets, pickers, queues and window placements changed from XML to JSON. Saved presets and queues are now stored as .vjpreset and .vjqueue JSON files which are associated with VidCoder.
* Updated .NET Framework to 4.6 and added the ability to download and install the framework as part of the VidCoder install. Hopefully this means faster start times on x64 due to the new RyuJit engine.
* Changed from MVVM Light to Reactive UI, refactoring every ViewModel, and changing every message to instead rely on Observables. Hopefully in the long run this means fewer bugs with things not updating when they should.
* Overhauled window manager to have a simpler interface and dynamically open windows based on available area, instead of having prescribed spots for them.
* Added script to copy translated resource files and add them to the project in a Translations subfolder to keep the root Resource folder clean.
* Ran all views through XAML Styler to clean them up.
* Queue import/export are now exposed on the CLI.

* Fixed two pass encoding not working with Target Size.
* Improved behavior of VidCoder window when importing a queue or preset.

GZZ
6th November 2015, 19:55
Its a really buggy release.

1) Loading a Bluray using the DVD/Bluray folder works first time, but if you try to reload the same disc it raise an exception.
2) Pressing OK in options menu only gray out the box, it dosnt close the window. This also happens in the Subtitle Edit window (OK and Cancel Button)
3) Encoding setting window is too smal. It clips the "iPod 5G support" checkbox. So you have to resize it. It shouldnt be needed to resize this window at all!
4) In subtitle Edit window, I have selected "Danish" subtitles by default (specified in my Picker to do so). But the Burn in button is checked and gray out (picker has Default selected) and if I try to click Default all the Checkbox (Default, Forced Only, Burn in) disappear.

This is on Windows 10 x64 using VidCoder 2.6 Beta X64 version.

Will do another test on next beta update as this one is too buggy for real testing.

RandomEngy
7th November 2015, 01:43
Thanks for testing. I changed a whole ton of code in the refactoring and am planning a fix-up release shortly.

1 and 2) Have a fix ready in 2.7
3) Will also fix. Going to move over the UI, shorten the container choices and make the window a bit bigger.
4) This is a limitation of the container. With MP4 for certain subtitles (Like PGS) you can only burn them in. The options disappear because clicking anywhere on the row toggles the subtitle on and off. You can use MKV if you need more subtitle tracks.

GZZ
7th November 2015, 08:41
Great RandomEngy

More of a feature. I guess the picker template is made to automatically choose the right, language for both subtitles and Audio. Could it be possible that you also can choose the preffered audio stream instead of it always choose English DTS and not English DTS-HD. I could be done with a priority list, so it first try to select English DTS-HD, if not existing, then choose english DTS track and if not exists, then try select english AC3 audio and so on...

It could also be nice if you could choose multiple Audio language. Lets say I have a cartoon, then I would like English and Danish Audio.


Another bug I found:

In Encoding Settings, when trying to save the preset it brings up a window to set a name for the preset, but the OK button is grayed out and cancel dosnt work either.

therube
7th November 2015, 17:02
* Updated .NET Framework to 4.6 and added the ability to download and install the framework as part of the VidCoder install.
Just to note, .NET 4.6 is required with 2.6 Beta.

(More on 4.6 itself, including links to the offline installer if you want that:
Installing the .NET Framework - .NET Framework 4.6 and 4.5. (https://msdn.microsoft.com/en-us/library/5a4x27ek%28v=vs.110%29.aspx))

therube
7th November 2015, 17:06
Bug:

On a 'File conflict', you can press 'Auto-rename', the box grays out, but that's the extent of things, so you cannot "auto-rename".
(You'd have to Cancel ['X', actually], manually rename the existing file, then proceed.)

RandomEngy
7th November 2015, 22:59
Released VidCoder 2.7 Beta (https://vidcoder.codeplex.com/releases/view/618336):

* Changed default worker process priority to Below Normal.
* Made all container options visible by moving UI over, shortening container display strings and slightly increasing the default window size.
* Fixed crash on trying to set a network share as the initial directory for the pick files dialog.
* Fixed crash on scanning second source or closing video source.
* Fixed some odd behavior that caused modifications while switching presets.
* Fixed crashes with previews < 100 pixels.
* Fixed cropping values not persiting.
* Fixed bug where the default clone instead of fast deep clone was used across the app.
* Added missing System.Reactive.Windows.Threading.dll to installer to fix non-closing dialogs.
* Fixed auto-set of width when Keep Display Aspect is checked.
* Fixed Display width setting for custom anamorphic. Due to API changes and code complexity this will no longer work with "Keep Display Aspect".

RandomEngy
7th November 2015, 23:02
Great RandomEngy

More of a feature. I guess the picker template is made to automatically choose the right, language for both subtitles and Audio. Could it be possible that you also can choose the preffered audio stream instead of it always choose English DTS and not English DTS-HD. I could be done with a priority list, so it first try to select English DTS-HD, if not existing, then choose english DTS track and if not exists, then try select english AC3 audio and so on...

It could also be nice if you could choose multiple Audio language. Lets say I have a cartoon, then I would like English and Danish Audio.


Another bug I found:

In Encoding Settings, when trying to save the preset it brings up a window to set a name for the preset, but the OK button is grayed out and cancel dosnt work either.

Bugs should be fixed in 2.7 Beta. As for your feature request, I've put it on the backlog.

GZZ
7th November 2015, 23:24
Thanks for considering my feature.

New Beta (2.7) is alot better. It did crash on me one time.

Upon install (fresh install) I loaded up a Bluray and did some Encoding Settings and upon saving my first preset it crashed with an exception (sorry didnt save it). I did restart the program and it seems it have saved my preset anyway and I couldn't reproduce the error, so you might test that bit a little more. Will get back if I find out how it to make it crash.

So far it was the only issue I could find, but will post more if I find anything.

GZZ
8th November 2015, 22:35
Another issue.

1) The video Codec is not saved in the preset template. So if you change it from default x264 to x265, save the preset and close the application and start it again, it will be back at x264.
2) It still crash if you try to load a Bluray folder twice. I get the following exception:

System.Exception: An OnError occurred on an object (usually ObservableAsPropertyHelper) that would break a binding or command. To prevent this, Subscribe to the ThrownExceptions property of your objects ---> System.NullReferenceException: Objektreferencen er ikke indstillet til en forekomst af et objekt.
ved VidCoder.ViewModel.MainViewModel.<>c.<.ctor>b__33_3(VideoSourceState videoSourceState, VCSubtitles currentSubtitles, SourceTitle selectedTitle) i D:\docs\projects\VidCoder\VidCoder\ViewModel\MainViewModel.cs:linje 94
ved System.Reactive.Linq.ObservableImpl.CombineLatestSink`1.Next(Int32 index)
ved ReactiveUI.RxApp.<>c__DisplayClass5.<.cctor>b__2()
ved System.Reactive.Concurrency.Scheduler.Invoke(IScheduler scheduler, Action action)
ved System.Reactive.Concurrency.DispatcherScheduler.<>c__DisplayClass1`1.<Schedule>b__0()
ved System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
ved System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

RandomEngy
10th November 2015, 08:42
Released VidCoder 2.8 Beta (https://vidcoder.codeplex.com/releases/view/618369):

* Fixed issue with video encoder changes not getting shown correctly.
* Fixed issue preventing Extra settings on video panel from being saved.
* Fixed crash that could occur on a second scan.

GZZ
10th November 2015, 17:40
It still crash on second scan (same bluray, also tried with different blurays) and getting the exact same exception as in post #1153

The two other things looks fixed.

RandomEngy
14th November 2015, 03:06
Released VidCoder 2.9 Beta (https://vidcoder.codeplex.com/releases/view/618441):

* Fixed crash on doing a second scan when a subtitle is selected.
* Added checks to prevent crash on switching containers with passthrough selected.
* Fixed missing audio output previews and erroneously marking a preset as modified.

GZZ
14th November 2015, 12:34
Seems more stable now, had a single freeze on reload of a bluray, but I couldnt reproduce it, so might not have been your code.

GZZ
14th November 2015, 21:50
The preset isnt working properly. If I choose x264 encoder and save my preset, it keeps using the x265 encoder.

RandomEngy
15th November 2015, 08:15
Released VidCoder 2.10 Beta (https://vidcoder.codeplex.com/releases/view/618452)

* Fixed Options window being unable to close when "Remember previously used files and folders" was checked.
* Fixed audio output preview not updating when window was opened after scan.
* Fixed preset expand/collapse button stopping working after closing and re-opening encoding settings window.

GZZ
15th November 2015, 09:41
There is still an issue with choosing the right encoder.

An example.

Load a bluray and set audio and subs. In my preset I have 2 near identical preset, only dif. is the encoder its x264 and the other x265.
If the x265 preset have been used, then I try change my x264 preset, but it still keeps using the x265 preset (or just the x265 encoder), like its not detecting that I have change my preset.

this error also exists in version 2.10.

Update: Just changing preset for different encode dosnt work, the same preset is used over and over..

Slitheen
20th November 2015, 11:05
Since the latest Beta update vidcoder crashes when I try and add a second job to the queue.

System.Exception: An OnError occurred on an object (usually ObservableAsPropertyHelper) that would break a binding or command. To prevent this, Subscribe to the ThrownExceptions property of your objects ---> System.NullReferenceException: Object reference not set to an instance of an object.
at VidCoder.Services.ProcessingService.<>c.<.ctor>b__28_9(Boolean hasVideoSource, VideoSource sourceData) in D:\docs\projects\VidCoder\VidCoder\Services\ProcessingService.cs:line 169
at System.Reactive.Linq.ObservableImpl.CombineLatest`3._.S.OnNext(TSecond value)
--- End of inner exception stack trace ---
at ReactiveUI.RxApp.<>c__DisplayClass5.<.cctor>b__2()
at System.Reactive.Concurrency.Scheduler.Invoke(IScheduler scheduler, Action action)
at System.Reactive.Concurrency.CurrentThreadScheduler.Trampoline.Run(SchedulerQueue`1 queue)
at System.Reactive.Concurrency.CurrentThreadScheduler.Schedule[TState](TState state, TimeSpan dueTime, Func`3 action)
at System.Reactive.Concurrency.LocalScheduler.Schedule[TState](TState state, Func`3 action)
at System.Reactive.Producer`1.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)
at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
at System.Windows.UIElement.OnMouseDownThunk(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.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 catchHandler)

Edit: I've just had a new update, perhaps this fixes it?

RandomEngy
24th November 2015, 22:27
Released VidCoder 2.11 Beta (https://vidcoder.codeplex.com/releases/view/618634):

* Added a built-in video player to the preview window. This can be disabled in Options -> General.

* Fixed issue where we missed upgrade actions on older files during the JSON conversion, which could corrupt them. Added code to clean up null container names.
* Fixed cropping values not updating when switching presets.
* Fixed issues with output directory, name format and encoder when switching pickers.

http://i.imgur.com/earmJny.png

http://i.imgur.com/IKxyEJ2.png

GZZ
29th November 2015, 08:26
There is still a issue with preset in version 2.11.

I have 3 preset added: x265 No Crop, x265 Auto Crop and x265 Custom Crop. The only difference is how the Crop setting is set in the preset corresponding to the name of the preset. The preset is arrange in the list so x265 Auto Crop is number one, then Custom Crop and last No Crop. The problem is that even if I select the No Crop preset on the main screen (Dropdown bellow setting button) and press Add to Queue it add my movie with the Auto crop preset and not the No Crop preset I have selected (I can see this in column preset in my queue list, as it shows the correct preset used when adding the movie)

I dont know where it goes wrong, but it seems if you change it, add a movie, then change it and add another movie, at some point it stops and just use the first preset in the list no matter what you change it to.

GZZ
29th November 2015, 12:48
A Cosmetic bug is that is shows Double %% in app header when encoding "Vidcoder 90,4 %%"

RandomEngy
1st December 2015, 08:00
Released VidCoder 2.12 Beta (https://github.com/RandomEngy/VidCoder/releases/tag/v2.12-beta):

* Added ability to send completed file to another program.
* Updated in-app links to new GitHub site.

The main project site has moved from Codeplex to http://vidcoder.net/

Source hosting has moved to GitHub (https://github.com/RandomEngy/VidCoder).

It appears Codeplex has been abandoned and I was getting a bit annoyed with having to enter in a CAPTCHA with every post as the project coordinator.

GZZ
2nd December 2015, 22:16
The issue I mention on the 29 is still not fixed.

Create 2 preset and save them with 2 diff. names. Lets say Preset1 and Preset2. Then on the main screen you select Preset1 and press add to queue on the loadet bluray. It will add the movie and preset name in the list will be Preset1. If you then change it to preset2 (from the dropdown below the setting button) and press Add to queue, then it will still say Preset1 in the list.

RandomEngy
3rd December 2015, 06:20
Yeah I didn't get to your bug quite yet; I've been wrapped up in the new site and GitHub transition.

RandomEngy
3rd December 2015, 07:53
GZZ: Just tried to reproduce the issue but all seems well here. Could you send me your %appdata%\VidCoder-Beta\VidCoder.sqlite file?

GZZ
3rd December 2015, 18:22
PM sent.

RandomEngy
4th December 2015, 08:03
GZZ: You have "x265 Auto Crop" set in your picker. That setting overrides the preset selected in the main UI.

RandomEngy
5th December 2015, 04:03
Released VidCoder 2.13 Beta (https://github.com/RandomEngy/VidCoder/releases/tag/v2.13-beta):

* Updated HandBrake core.
* Added Turkish.

* Fixed several crashes.

GZZ
5th December 2015, 15:16
GZZ: You have "x265 Auto Crop" set in your picker. That setting overrides the preset selected in the main UI.

I will have to put this on standby until I can reproduce it, at the moment I cant, so if nothing new from me, consider it fixed.

Wildfire
6th December 2015, 00:55
I'm running 2.13 beta (64-bit) and I cannot access the advanced video settings tab anymore. When I click the radio button 'Advanced Tab', VidCoder crashes. Just a generic 'stopped responding' window pops up and that's it.

Checking the Windows log files, I first see .NET Runtime as source with these details:


Toepassing: VidCoder.exe
Framework-versie: v4.0.30319
Beschrijving: het proces is beëindigd als gevolg van een onverwerkte uitzondering.
Uitzonderingsinformatie: System.AccessViolationException
bij HandBrake.ApplicationServices.Interop.HbLib.HBFunctions.hb_x264_param_unparse(System.String, System.String, System.String, System.String, System.String, Int32, Int32)
bij HandBrake.ApplicationServices.Interop.HandBrakeUtils.CreateX264OptionsString(System.String, System.Collections.Generic.IList`1<System.String>, System.String, System.String, System.String, Int32, Int32)
bij VidCoder.ViewModel.VideoPanelViewModel.<RegisterProfileProperties>b__16_3()
bij VidCoder.ViewModel.ProfileViewModelBase.UpdateProfileProperty[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Func`1<System.__Canon>, System.String, System.String, Boolean, Boolean)
bij VidCoder.ViewModel.ProfileViewModelBase.UpdateProfileProperty[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String, Boolean, Boolean)

Uitzonderingsinformatie: System.Reflection.TargetInvocationException
bij System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
bij System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
bij System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
bij System.Reflection.RuntimePropertyInfo.SetValue(System.Object, System.Object, System.Object[])
bij MS.Internal.Data.PropertyPathWorker.SetValue(System.Object, System.Object)
bij System.Windows.Data.BindingExpression.UpdateSource(System.Object)
bij System.Windows.Data.BindingExpressionBase.UpdateValue()
bij System.Windows.Data.BindingExpressionBase.ProcessDirty()
bij System.Windows.Data.BindingExpressionBase.Dirty()
bij System.Windows.Data.BindingExpressionBase.SetValue(System.Windows.DependencyObject, System.Windows.DependencyProperty, System.Object)
bij System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean)
bij System.Windows.DependencyObject.SetCurrentValueInternal(System.Windows.DependencyProperty, System.Object)
bij System.Windows.Controls.Primitives.ToggleButton.OnClick()
bij System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
bij System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
bij System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
bij System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
bij System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent)
bij System.Windows.UIElement.OnMouseUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
bij System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
bij System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
bij System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
bij System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
bij System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
bij System.Windows.Input.InputManager.ProcessStagingArea()
bij System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
bij System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
bij System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
bij System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
bij MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
bij MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
bij System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
bij System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
bij System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
bij MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
bij MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
bij System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
bij System.Windows.Application.RunDispatcher(System.Object)
bij System.Windows.Application.RunInternal(System.Windows.Window)
bij VidCoder.App.Main()


And immidiately next, an 'Application Error' is shown in the log:


Naam van toepassing met fout: VidCoder.exe, versie: 2.13.0.0, tijdstempel: 0x566251e1
Naam van module met fout: KERNELBASE.dll, versie: 10.0.10586.0, tijdstempel: 0x5632d1de
Uitzonderingscode: 0xe0434352
Foutmarge: 0x0000000000071f08
Id van proces met fout: 0x2f4c
Starttijd van toepassing met fout: 0x01d12fb7f3f439b2
Pad naar toepassing met fout: C:\Program Files\VidCoder-Beta\VidCoder.exe
Pad naar module met fout: C:\Windows\system32\KERNELBASE.dll
Rapport-id: 49ba63bd-a789-491f-bc4e-cf3ffadb2bfe
Volledige pakketnaam met fout:
Relatieve toepassings-id van pakket met fout:


I'm running a Dutch Windows 10 Pro, but given the error codes and filenames I think the info above should be clear enough.

RandomEngy
10th December 2015, 08:39
Released VidCoder 2.14 Beta (https://github.com/RandomEngy/VidCoder/releases/tag/v2.14-beta):


Updated HandBrake core.
Fixed Advanced tab crash.
Fixed crash related to a renamed H.264 native method.

Wildfire
10th December 2015, 10:11
Released VidCoder 2.14 Beta (https://github.com/RandomEngy/VidCoder/releases/tag/untagged-9ab57b2feae7cf0c142e):


Updated HandBrake core.
Fixed Advanced tab crash.
Fixed crash related to a renamed H.264 native method.


Your link doesn't work. I got the installer through the beta-link at vidcoder.net

GZZ
15th December 2015, 22:54
I have this log from a movie I encoded with ver. 2.14, but not sure its related to your app, its properly something in the handbreak code.

x265 [info]: HEVC encoder version 1.8
x265 [info]: build info [Windows][GCC 4.9.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: frame threads / pool features : 3 / wpp(13 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut : 24 / 240 / 40
x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / 0 / 0
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-20.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=0.30 signhide tmvp strong-intra-smoothing
x265 [info]: tools: deblock sao
[08:42:51] reader: first SCR 1044806 id 0x1011 DTS 1044806
[08:42:51] h264: "Chapter 1" (1) at frame 0 time 3754
[08:42:51] sync: first pts is 3754
[08:48:55] h264: "Chapter 2" (2) at frame 6524 time 24494751
[08:52:58] h264: "Chapter 3" (3) at frame 10996 time 41281521
[08:55:42] h264: "Chapter 4" (4) at frame 14544 time 54599826
[09:02:33] h264: "Chapter 5" (5) at frame 21932 time 82332531
[09:06:48] h264: "Chapter 6" (6) at frame 26778 time 100523203
[dca @ 000000362a176680] Invalid LFE value: 3
[09:16:29] h264: "Chapter 7" (7) at frame 37727 time 141623012
[09:22:59] h264: "Chapter 8" (8) at frame 45319 time 170121482
[09:27:36] h264: "Chapter 9" (9) at frame 50889 time 191029869
[09:36:47] h264: "Chapter 10" (10) at frame 63242 time 237399943
[09:39:35] h264: "Chapter 11" (11) at frame 66713 time 250429209
[09:44:18] h264: "Chapter 12" (12) at frame 71923 time 269986247
[09:49:20] h264: "Chapter 13" (13) at frame 77292 time 290140131
[09:52:05] h264: "Chapter 14" (14) at frame 79708 time 299209191
[09:55:23] h264: "Chapter 15" (15) at frame 83471 time 313334552
[09:58:35] h264: "Chapter 16" (16) at frame 87427 time 328184387
src/libbluray/bluray.c:716: Skipping broken unit at 20757086208
[09:59:26] reader: done. 2 scr changes
[09:59:30] work: average encoding speed for job is 19.274672 fps
[09:59:30] render: lost time: 0 (0 frames)
[09:59:30] render: gained time: 0 (0 frames) (0 not accounted for)
[09:59:30] stream: 88625 good frames, 0 errors (0%)
[09:59:31] dca-decoder done: 0 frames, 0 decoder errors, 0 drops
[09:59:31] h264-decoder done: 88624 frames, 0 decoder errors, 0 drops
[09:59:31] sync: got 88624 frames, 167012 expected
x265 [info]: frame I: 899, Avg QP:20.11 kb/s: 15630.98
x265 [info]: frame P: 19338, Avg QP:21.52 kb/s: 5877.80
x265 [info]: frame B: 68387, Avg QP:26.06 kb/s: 1262.24
x265 [info]: Weighted P-Frames: Y:5.8% UV:3.8%
x265 [info]: consecutive B-frames: 5.4% 2.0% 5.7% 23.0% 63.9%
encoded 88624 frames in 4600.00s (19.27 fps), 2415.12 kb/s, Avg QP:25.01
[09:59:31] mux: track 0, 88624 frames, 1116249124 bytes, 2415.83 kbps, fifo 512
[09:59:31] mux: track 1, 346464 frames, 1990044818 bytes, 4306.94 kbps, fifo 2048
[09:59:31] mux: track 2, 1511 frames, 19441639 bytes, 42.08 kbps, fifo 32
[09:59:31] libhb: work result = 0
# Job completed (Elapsed Time: 1h 16m)

The problem is that the encoder failed to encode, but still returned OK. The movie was only half way encoded. Can you make a extra check in the log and mark the movie with a "Finish with warnings". I'm thinking you can do a check on the line: [09:59:31] sync: got 88624 frames, 167012 expected and raise a warning if the sync and expected frames dosnt match ?

RandomEngy
16th December 2015, 06:43
Wildfire: Thanks, you caught a bug in my new release automation!
GZZ: There are a lot of times you get a "warning" and the encode actually finished fine. I used to surface those but there were just a ton of false positives reported from scary error messages that didn't actually affect the final result.

Wildfire
16th December 2015, 11:00
Wildfire: Thanks, you caught a bug in my new release automation!

No thanks, glad to be of service.

By the way, the VidCoder title bar still shows two percentage signs when encoding :)

RandomEngy
19th December 2015, 09:22
Released VidCoder 2.15 Beta (https://github.com/RandomEngy/VidCoder/releases/tag/v2.15-beta):


Refactored file drag/drop logic so it works on any window, not just the main and preview ones.



Fixed crash on clicking level dropdown. Disabled the level compatibility checking for now as that method is now missing from HandBrake due to their upcoming 10 bit support.
Fixed extra % showing up in main window title when encoding.
Fixed chapter .csv import button.

Wildfire
19th December 2015, 10:50
Released VidCoder 2.15 Beta (https://github.com/RandomEngy/VidCoder/releases/tag/v2.15-beta):


Refactored file drag/drop logic so it works on any window, not just the main and preview ones.



Fixed crash on clicking level dropdown. Disabled the level compatibility checking for now as that method is now missing from HandBrake due to their upcoming 10 bit support.
Fixed extra % showing up in main window title when encoding.
Fixed chapter .csv import button.


:)

Even the minor % issue has been fixed :P

Thanks! I'll keep on encoding :)

GZZ
20th December 2015, 13:40
Dont know if this is a bug or its just how it works, but it seems odd to me.

If you have a movie with TrueHD track (5.1 track) (not Atmos) and in my template under Audio I select Target: All. Codec: Passthrough. Scope: Any. Then FallBack is set to Flac 24 bit. If I then select a movie with TrueHD track and start encoding, I can see in my log that its trying to reencode audio to Flac:

[13:37:26] + decoder: English (TrueHD) (5.1 ch) (track 2, id 0x721100)
[13:37:26] + bitrate: 200 kbps, samplerate: 48000 Hz
[13:37:26] + mixdown: 5.1 Channels
[13:37:26] + encoder: FLAC 24-bit (libavcodec)
[13:37:26] + samplerate: 48000 Hz
[13:37:26] + compression level: 5.00

But If I change Scope from Any to TrueHD it will not reencode my track and shows this:

[13:33:37] * audio track 1
[13:33:37] + decoder: English (TrueHD) (5.1 ch) (track 2, id 0x721100)
[13:33:37] + bitrate: 200 kbps, samplerate: 48000 Hz
[13:33:37] + TrueHD Passthru


This only happens for TrueHD track, if my input is DTS MA, then it does it correctly and dosnt try to reencode.

Is this a bug or is there an explanation why TrueHD track is handled different then DTS MA when passthrough is selected ?

RandomEngy
27th December 2015, 06:13
Released VidCoder 2.16 Beta (https://github.com/RandomEngy/VidCoder/releases/tag/v2.16-beta):


Overhauled audio and subtitle selection. Allows specifying multiple languages and more flexibility in setting the default subtitle.
Now when choosing a preset in a picker, the preset is chosen in the main UI and locked. This keeps the UI in sync with the output and avoids confusion about what the feature is doing.
Fixed an issue where the * would not disappear from the picker button after reverting a picker.
Fixed bitrate being too high for previews when using Target Size.