Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd September 2018, 16:19   #1341  |  Link
locotus
Registered User
 
Join Date: Nov 2005
Posts: 112
Quote:
Originally Posted by RandomEngy View Post
Can you export one of the problematic presets and share it with me? I'm having trouble identifying the problem just by testing manually.
As far as I'd noticed the problem is in the last
beta version (4.13) not so in 3.16.

Anyhow I just have the need of yadif very rarely being in NTSC land.

Hope this may help ping-pointing the bug.
locotus is offline   Reply With Quote
Old 23rd September 2018, 16:30   #1342  |  Link
RandomEngy
VidCoder Author
 
RandomEngy's Avatar
 
Join Date: Sep 2003
Posts: 702
Released VidCoder 4.14 Beta:
  • Disabled "play" and "open in containing folder" options for failed files.
  • Increased hit target size of completed queue items button.
  • Fixed "resume encoding on restart" functionality.
  • Made source panel more friendly to screen readers.
  • Added space and enter shortcuts for toggling audio or subtitle tracks.
  • Fixed a few keyboard navigation issues.
  • Added more error logging for remote operation failure on the encode process.
  • Fixed crash on choosing "open containing folder" on completed item when the folder or file is no longer there.
  • Fixed handling for queue items from older versions.
  • Fixed the "Restored from queue" temporary preset not getting added to the preset tree and getting removed on opening the encoding settings window.
  • Refactored total queue work tracking code. Added diagnostic log dump if an invalid percentage is detected.
  • Removed old .NET framework targeting element in app config, which should fix a framework detection issue in some versions of Windows.
RandomEngy is offline   Reply With Quote
Old 23rd September 2018, 16:41   #1343  |  Link
RandomEngy
VidCoder Author
 
RandomEngy's Avatar
 
Join Date: Sep 2003
Posts: 702
Quote:
Originally Posted by locotus View Post
As far as I'd noticed the problem is in the last
beta version (4.13) not so in 3.16.

Anyhow I just have the need of yadif very rarely being in NTSC land.

Hope this may help ping-pointing the bug.
What would help pin-pointing the bug would be to go to Import/Export -> Export Preset and share the file with me.
RandomEngy is offline   Reply With Quote
Old 23rd September 2018, 17:21   #1344  |  Link
locotus
Registered User
 
Join Date: Nov 2005
Posts: 112
This is the preset:
Code:
{
  "Version": 20,
  "Preset": {
    "Name": "B & N 1.36",
    "FolderId": 0,
    "IsBuiltIn": false,
    "IsModified": false,
    "IsQueue": false,
    "EncodingProfile": {
      "ContainerName": "av_mkv",
      "PreferredExtension": "Mp4",
      "IncludeChapterMarkers": true,
      "Optimize": false,
      "AlignAVStart": true,
      "IPod5GSupport": false,
      "SizingMode": "Manual",
      "Width": 656,
      "Height": 480,
      "CroppingType": "Automatic",
      "Cropping": {
        "Top": 4,
        "Bottom": 8,
        "Left": 10,
        "Right": 8
      },
      "Padding": {
        "Top": 0,
        "Bottom": 0,
        "Left": 0,
        "Right": 0,
        "IsZero": true
      },
      "PadColor": null,
      "PaddingMode": "None",
      "UseAnamorphic": true,
      "ScalingMode": "DownscaleOnly",
      "PixelAspectX": 1,
      "PixelAspectY": 1,
      "Modulus": 2,
      "Rotation": "None",
      "FlipHorizontal": false,
      "FlipVertical": false,
      "Detelecine": "off",
      "CustomDetelecine": "plane=0:skip-bottom=4:skip-left=1:skip-right=1:skip-top=4",
      "DeinterlaceType": "Yadif",
      "DeinterlacePreset": "custom",
      "CustomDeinterlace": "mode=2",
      "CombDetect": "default",
      "CustomCombDetect": "block-height=16:block-thresh=40:block-width=16:filter-mode=2:mode=3:motion-thresh=1:spatial-metric=2:spatial-thresh=1",
      "DenoiseType": "NLMeans",
      "DenoisePreset": "light",
      "DenoiseTune": "film",
      "CustomDenoise": null,
      "SharpenType": "LapSharp",
      "SharpenPreset": "medium",
      "SharpenTune": "film",
      "CustomSharpen": null,
      "Deblock": 5,
      "Grayscale": true,
      "UseAdvancedTab": true,
      "VideoEncoder": "x264",
      "VideoOptions": "level=4.1:vbv-bufsize=78125:vbv-maxrate=62500:rc-lookahead=30:ref=5:bframes=5:b-adapt=2:direct=temporal:me=umh:trellis=2:psy-rd=1.0,0.15:deblock=-1,-1",
      "VideoProfile": "high",
      "VideoPreset": "fast",
      "VideoLevel": "4.1",
      "VideoTunes": [
        "film"
      ],
      "QsvDecode": false,
      "VideoEncodeRateType": "TargetSize",
      "Quality": 22.0,
      "TargetSize": 1500,
      "VideoBitrate": 6000,
      "TwoPass": true,
      "TurboFirstPass": false,
      "Framerate": 0.0,
      "ConstantFramerate": true,
      "AudioEncodings": [
        {
          "InputNumber": 0,
          "Encoder": "av_aac",
          "PassthroughIfPossible": false,
          "EncodeRateType": "Bitrate",
          "Bitrate": 96,
          "Quality": 0.0,
          "Compression": -1.0,
          "Mixdown": "stereo",
          "SampleRate": null,
          "SampleRateRaw": 0,
          "Gain": 0,
          "Drc": 0.0,
          "Name": null
        }
      ],
      "AudioCopyMask": [
        {
          "Codec": "aac",
          "Enabled": true
        }
      ],
      "AudioEncoderFallback": "av_aac"
    }
  }
}
locotus is offline   Reply With Quote
Old 24th September 2018, 17:50   #1345  |  Link
RandomEngy
VidCoder Author
 
RandomEngy's Avatar
 
Join Date: Sep 2003
Posts: 702
Thanks. It looks like HandBrake has its own custom values for deinterlace settings that it translates to the yadif avfilter settings. The "mode" value is translated, and there is no "auto" property. For HandBrake, "0" is an invalid mode, and "auto" is an invalid property. I haven't been able to track down documentation yet for the HB settings.

https://github.com/HandBrake/HandBrake/issues/1603
RandomEngy is offline   Reply With Quote
Old 24th September 2018, 20:30   #1346  |  Link
RandomEngy
VidCoder Author
 
RandomEngy's Avatar
 
Join Date: Sep 2003
Posts: 702
The only place the documentation exists is inside the code:

/* Deinterlace Settings
* mode:parity
*
* mode - yadif deinterlace mode
* parity - field parity
*
* Modes:
* 1 = Enabled
* 2 = Spatial
* 4 = Bob
* 8 = Selective
*
* Parity:
* 0 = Top Field First
* 1 = Bottom Field First
* -1 = Automatic detection of field parity
*
*/

Note that the mode is a "flags" enum so bob+spatial is Enabled (1) + Spatial (2) + Bob (4) = 7.
RandomEngy is offline   Reply With Quote
Old 28th September 2018, 06:43   #1347  |  Link
RandomEngy
VidCoder Author
 
RandomEngy's Avatar
 
Join Date: Sep 2003
Posts: 702
Released VidCoder 4.15 Beta:
  • Updated VidCoder to be much more friendly to screen readers.
  • Updated installer to give better error message when installing .NET Framework fails.
RandomEngy is offline   Reply With Quote
Old 2nd October 2018, 07:27   #1348  |  Link
RandomEngy
VidCoder Author
 
RandomEngy's Avatar
 
Join Date: Sep 2003
Posts: 702
Released VidCoder 4.16 Beta:
  • Replaced ReactiveList with DynamicData. This should make batch job operations faster.
  • Added screen reader text to encode queue and finished items list.
  • Added screen reader label to "when done" combo box.
  • Added status to the end of completed log file name.
RandomEngy is offline   Reply With Quote
Old 20th October 2018, 21:53   #1349  |  Link
RandomEngy
VidCoder Author
 
RandomEngy's Avatar
 
Join Date: Sep 2003
Posts: 702
Released VidCoder 4.17 Beta:
  • Added Dark theme. This is automatically applied when the Dark app mode is selected in Windows 10
  • Fixed appearance in High Contrast mode.
  • Fixed padding color swatch always showing as black.
  • Fixed post-encode arguments being pulled from currently loaded source rather than the finished job. This also fixes a crash that could occur because of this.
  • Fixed broken drag/drop of queue items.
  • Fixed null reference exception when output directory could not be created.
  • Picked up some keyboard navigation bug fixes with new version of Fluent Ribbon library.
RandomEngy is offline   Reply With Quote
Old 21st October 2018, 07:26   #1350  |  Link
locotus
Registered User
 
Join Date: Nov 2005
Posts: 112
After updating to: VidCoder 4.17 Beta:

Code:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at VidCoder.Services.AppThemeService.GetWindowsTheme() in D:\git\VidCoder\VidCoder\Services\AppThemeService.cs:line 95
   at VidCoder.Services.AppThemeService..ctor() in D:\git\VidCoder\VidCoder\Services\AppThemeService.cs:line 83
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, Object[] args)
   at DryIoc.Scope.TryGetOrAdd(ImMap`1 items, Int32 id, CreateScopedValue createValue, Int32 disposalOrder)
   at DryIoc.Scope.GetOrAdd(Int32 id, CreateScopedValue createValue, Int32 disposalOrder)
   at DryIoc.ReflectionFactory.CreateServiceExpression(MemberInfo ctorOrMember, ExpressionInfo factoryExpr, ExpressionInfo[] paramExprs, Request request)
   at DryIoc.ReflectionFactory.CreateExpressionOrDefault(Request request)
   at DryIoc.Factory.GetExpressionOrDefault(Request request)
   at DryIoc.Factory.GetDelegateOrDefault(Request request)
   at DryIoc.Container.ResolveAndCacheDefaultFactoryDelegate(Type serviceType, IfUnresolved ifUnresolved)
   at DryIoc.Container.DryIoc.IResolver.Resolve(Type serviceType, IfUnresolved ifUnresolved)
   at DryIoc.Resolver.Resolve[TService](IResolver resolver, IfUnresolved ifUnresolved)
   at VidCoder.App.OnStartup(StartupEventArgs e) in D:\git\VidCoder\VidCoder\App.xaml.cs:line 146
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   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)
locotus is offline   Reply With Quote
Old 22nd October 2018, 15:55   #1351  |  Link
RandomEngy
VidCoder Author
 
RandomEngy's Avatar
 
Join Date: Sep 2003
Posts: 702
Released VidCoder 4.18 Beta:
  • Fixed null reference exception on start.
  • Changed "delete source files" confirmation prompt to be a Yes/No/Cancel to allow checking up on all the files that are going to be deleted.
  • Changed "clear single queue item" behavior to only happen if the job's source is still loaded.
  • Reset the "when done" to original state after executing the sleep/hibernate, to avoid accidental triggering on subsequent encodes.
  • Fixed padding color swatch (again).
RandomEngy is offline   Reply With Quote
Old 31st October 2018, 07:59   #1352  |  Link
RandomEngy
VidCoder Author
 
RandomEngy's Avatar
 
Join Date: Sep 2003
Posts: 702
Released VidCoder 4.19 Beta:
  • Added setting to manually change app theme.
  • Added button on encoding settings to apply the current settings to the queue.
  • Added option to apply current encoding settings to selected queue items.
  • Removed modal dialog asking if user wants to apply changes to queue.
  • Fixed crash on SRT subtitle.
  • Fixed inaccurate progress when adding a queue item while encoding.
RandomEngy is offline   Reply With Quote
Old 7th November 2018, 08:55   #1353  |  Link
RandomEngy
VidCoder Author
 
RandomEngy's Avatar
 
Join Date: Sep 2003
Posts: 702
Released VidCoder 4.20 Beta:
  • Added context menu option on queue to open source file directory.
  • Updated dark theme ribbon text to white.
  • Fixed issue where log file would not scroll to end on new entries in some cases.
  • Fixed behavior when queuing multiple files via drag/drop while a previous batch is scanning. It now properly adds the the scan queue rather than opening a paralell scan window.
  • Added fallback to av_aac for when presets are using fdk_aac but the current build of hb.dll doesn't support it.
  • Fixed issue where displayed custom cropping and actual cropping could be different.
  • Changed update download log message to output entire stack trace rather than just the exception message.
  • Updater now discards a downloaded update if a newer version is available.
  • When source audio bitrate is not known, we now display "unknown" instead of "0"
RandomEngy is offline   Reply With Quote
Old 20th November 2018, 15:54   #1354  |  Link
napouser
Registered User
 
Join Date: Nov 2018
Posts: 55
hi

i love ur app. made an acc here just for this

could u allow in presets or pickers the ability to choose specific times beforehand?
there is an option in picker settings for titles but i dunno what it does

i need to make some samples of 100 movies with QRF so i can guestimate the size before i start encoding the whole thing
i was doing 2xpass but i heard its worse quality due to smaller diviation

thanks


also some other things
there is a bug when u change presets without saving them first
i have 3-4 presets that i use for movies and some times i need to tweak them a bit
when i go to an other movie and an other movie the *preset msgs about want to save it . i say no. then a new message pops about saving the current. press ignore or no and boom huge error appears

finally 1 more thing

recently i reencoded a video i made with a ton of different audio tracks that had some hard sounds (high freq) at 640kbs . when i reencoded the movie lower and turned the sound down to 448 at some point it sounded horribly (latest handbrake) . trying with the old handbrake and with ur tool the sound was much better so it must be a bug with the last handbrake version

this brought me to find out about the fdk thing with lincences
so my question is how can i add the fdk codec instead of the stadard aac to ur tool?

do u have somewhere a binary that i can download?
thanks again
napouser is offline   Reply With Quote
Old 21st November 2018, 09:05   #1355  |  Link
RandomEngy
VidCoder Author
 
RandomEngy's Avatar
 
Join Date: Sep 2003
Posts: 702
Released VidCoder 4.21 Beta:
  • Fixed Advanced Video tab Dark theme support.
  • Fixed crash that could occur when switching away from a modified preset with the ribbon preset picker.
  • Added "VidCoderApplication" to app-level log file names to allow picking them out with a search.
RandomEngy is offline   Reply With Quote
Old 21st November 2018, 09:09   #1356  |  Link
RandomEngy
VidCoder Author
 
RandomEngy's Avatar
 
Join Date: Sep 2003
Posts: 702
Quote:
Originally Posted by napouser View Post
i love ur app. made an acc here just for this

could u allow in presets or pickers the ability to choose specific times beforehand?
there is an option in picker settings for titles but i dunno what it does

i need to make some samples of 100 movies with QRF so i can guestimate the size before i start encoding the whole thing
i was doing 2xpass but i heard its worse quality due to smaller diviation

thanks


also some other things
there is a bug when u change presets without saving them first
i have 3-4 presets that i use for movies and some times i need to tweak them a bit
when i go to an other movie and an other movie the *preset msgs about want to save it . i say no. then a new message pops about saving the current. press ignore or no and boom huge error appears

finally 1 more thing

recently i reencoded a video i made with a ton of different audio tracks that had some hard sounds (high freq) at 640kbs . when i reencoded the movie lower and turned the sound down to 448 at some point it sounded horribly (latest handbrake) . trying with the old handbrake and with ur tool the sound was much better so it must be a bug with the last handbrake version

this brought me to find out about the fdk thing with lincences
so my question is how can i add the fdk codec instead of the stadard aac to ur tool?

do u have somewhere a binary that i can download?
thanks again
Not sure what you mean by "choose specific times beforehand". Do you mean specific chapters or time ranges of the source video?

The "would you like to save the preset" bug should be fixed in 4.21 Beta.

As for fdk codec, due to licensing restrictions you need to build or obtain a version of hb.dll with FDK AAC included. Then you could replace VidCoder's bundled hb.dll with it.
RandomEngy is offline   Reply With Quote
Old 21st November 2018, 20:20   #1357  |  Link
napouser
Registered User
 
Join Date: Nov 2018
Posts: 55
"Not sure what you mean by "choose specific times beforehand". Do you mean specific chapters or time ranges of the source video?

"

ok here is the deal
i want to rencode a bunch of 2500 movies
i started with qrf then results vary alot in size so i went back to 2pass but the time is too long for me so when i found ur tool last week i decided to make some presets for automatic parsing and encode a small portion of each movie as a sample

this way i can try something small for qrf 25 22 28 until it goes to whatever bitrate i want
so

lets say u want a movie to have 1800kbs
this means if u encode 6:30 mins of the movie the result (with no sound) has to be 90mb

so u set up the preset choose lets say 25 encode after 5 mins of encoding u adapt go higher or lower etc until u find the sweetspot

the problem is that for every movie i have to pick start and end point for exactly 6:30 mins

is there a way to decide beforehand lets say grab from the picker then 1:00:00 to 1:06:30 mark?

i know ur picker has titles but i havent figured out what they do
regardless of title selection in the picker the picker picks the whole thing alwasy


automatically choosing chapters wouldnt help due to different times for chapters for each movie some movies have 10 min chapters some 4

% would be nice too for some people i think to guestimate the full size


thanks for the fix
i tried the old beta but got some errors
since then i have a huge queue with 100s of files so i am reluctant to swithc from stadart to beta mode (altho i prefer the dark theme)
can i load that queue into the beta and continue with the same settings?




as far as the fdk encoder
yea i ve read every1 says install linux and build handbrake urself
sadly i have neither the time nor the knowledge to do such a thing and most of all i dont want handbrake anymore since i found ur tool

so is there some way that i could find such version
could u post it somewhere private?
would be a shame to encode 2500 movies with an inferior codec (
thanks in advance
napouser is offline   Reply With Quote
Old 22nd November 2018, 09:03   #1358  |  Link
RandomEngy
VidCoder Author
 
RandomEngy's Avatar
 
Join Date: Sep 2003
Posts: 702
Okay I got it, you want an option on the Picker to pick a specific time range within the title? What would you want it to do when the time range falls outside of the video length? It sounds like you just want to make sure you get a certain length snippet?
RandomEngy is offline   Reply With Quote
Old 22nd November 2018, 16:12   #1359  |  Link
napouser
Registered User
 
Join Date: Nov 2018
Posts: 55
yeap thats it. the idea is that i can have 2 pickers . 1 for stadard with folders etc and 1 with temp folders no sounds and only a small portion of file selected
hmm in case of error mmm maybe select nothing so the user knows there is something wrong going on? or if u cant select nothing then fall back to the safest portion wich is the first x:xx mins of the file i suppose. and if the file is smaller than given value i dunno choose whatever length is available? or just pop a message that something went wrong

(personally i ll just put something like 1:00:00 - 1:06:30 where 99% of movies cover)


also an other bug (sort of)
all windows exept main are on top of main at all times regardless of what is active
but sometimes u need main to be on top to see the logs of completed and queued and settings are on top of it

also talking about main window log
its not a bug i assume every time the program closes forgets the place of log tab information order such as destination status codec elapsed time etc

generally i tent to rearrange them so i can visually see the samples from the fullencodes so putting the progress bar first instead of last and video quality so i can see what preset is each movie

is it possible to have an option to save the placement of collumns and not reset to default each time u run it?

an other thing altho it might be impossible
lately i think windows 10 explorer collums differ from windows7 explorer in the sense that values when exceed the size of a given collum size they appear as "..." on the left side instead of the right side like it used to be in windows 7

so for instance in a destination file value where u got a huge folder tree only the last portion of the adress will be shown instead of the beggining

that some times can be problematic
for instance when it comes to sizes only the last digits of the bytes of a file will shown instead of the first due to the system anchors the value from the right isntead of the left
so the result is u think a movie is 1.5gb instead of 15gb!

is it possible to switch this behaviour? i find it really annoying and gives me wrong info

Last edited by napouser; 22nd November 2018 at 16:15.
napouser is offline   Reply With Quote
Old 22nd November 2018, 17:34   #1360  |  Link
RandomEngy
VidCoder Author
 
RandomEngy's Avatar
 
Join Date: Sep 2003
Posts: 702
Quote:
Originally Posted by napouser View Post
yeap thats it. the idea is that i can have 2 pickers . 1 for stadard with folders etc and 1 with temp folders no sounds and only a small portion of file selected
hmm in case of error mmm maybe select nothing so the user knows there is something wrong going on? or if u cant select nothing then fall back to the safest portion wich is the first x:xx mins of the file i suppose. and if the file is smaller than given value i dunno choose whatever length is available? or just pop a message that something went wrong

(personally i ll just put something like 1:00:00 - 1:06:30 where 99% of movies cover)


also an other bug (sort of)
all windows exept main are on top of main at all times regardless of what is active
but sometimes u need main to be on top to see the logs of completed and queued and settings are on top of it
That's just the way WPF tool windows work. The idea is that you have the tool window open to the side of the main window. The alternative is to have them all be separate windows, but then they would not all come to the foreground at the same time and they would show up as separate in the task bar (which is much more annoying). Ideally I'd have some kind of docking capability but I haven't had time to put that in.

Quote:
also talking about main window log
its not a bug i assume every time the program closes forgets the place of log tab information order such as destination status codec elapsed time etc

generally i tent to rearrange them so i can visually see the samples from the fullencodes so putting the progress bar first instead of last and video quality so i can see what preset is each movie

is it possible to have an option to save the placement of collumns and not reset to default each time u run it?
Actually I didn't realize you could rearrange by dragging the column headers directly. It should save the order if you right click -> Customize Columns. But then you can't move the last "status" column.

Quote:
an other thing altho it might be impossible
lately i think windows 10 explorer collums differ from windows7 explorer in the sense that values when exceed the size of a given collum size they appear as "..." on the left side instead of the right side like it used to be in windows 7
I have custom logic to truncate the full file path. First it collapses folders in the middle, then all folders on the left, then it starts truncating the file name on the left. I could change it to truncate the file name itself from the right.

Quote:
so for instance in a destination file value where u got a huge folder tree only the last portion of the adress will be shown instead of the beggining

that some times can be problematic
The logic is designed to try to always show you the file name when it doesn't have space. Why is that problematic? The file name is what's going to be changing all the time, not the first root parts of the path.

Quote:
for instance when it comes to sizes only the last digits of the bytes of a file will shown instead of the first due to the system anchors the value from the right isntead of the left
so the result is u think a movie is 1.5gb instead of 15gb!

is it possible to switch this behaviour? i find it really annoying and gives me wrong info
What column does this happen on? Only the input / output path has the special truncate logic. It looks like all the others that I see truncate from the right.

Last edited by RandomEngy; 22nd November 2018 at 17:36.
RandomEngy is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:37.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.