Log in

View Full Version : MeGUI: bug reports and feature requests


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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 [127] 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147

Zathor
8th September 2018, 17:55
MKVToolNix v26.0.0 is released.
MediaInfo v18.08 is released.
xy-VSFilter / XySubFilter v3.1.0.801 is released by pinterf

https://forum.doom9.org/showthread.php?p=1850600#post1850600
https://github.com/pinterf/xy-VSFilter/releases/tag/3.1.0.801

Thanks, updated

#Bug - MediaInfo.dll (x64) v18.08 causes an unhandled error in HD Stream Extractor (MeGUI 2872 x64).
Everything works fine with the old 18.05 MediaInfo.dll x64 (using "obsolete_mediainfo-18.05-64.7z" from "update_cache" folder).
Thanks, fixed in 2873

Zathor
8th September 2018, 17:55
Sorry for dumb question but why meGUI using ffmpeg to pipe instead of avs4x26x?

To support high bit depth formats.

tuanden0
8th September 2018, 17:59
To support high bit depth formats.
:thanks: I didn't think about this :thanks:

Zathor
8th September 2018, 18:56
Running an Xvid first pass results in an error (as opposed to an automated 2 pass). When the output selected is something other than RAWASP the following happens. Also, it's not possible to change the output location unless the encoder is configured for running something other than a first pass. I don't know if that's expected behavior.

Two jobs are added to the queue, implying an output video will be written and then remuxed by ffmpeg, but the second job fails as the output file doesn't exist.
Thanks, fixed in 2875

Zathor
8th September 2018, 19:00
2875 [Video Encoder] do not create a mux job if a manual 1st pass is created
2874 [Video Encoder] improved AVS pre-check (regression of 2871)
2873 [MediaInfo] added support for MediaInfo 18.08
[HD Streams Extractor] improved language detection support

EDIT: the support for the new MediaInfo 18.08 is still not fully there as I have just noticed. Some subtitle format/codec values have changed and I do have to adjust MeGUI. Expect a fix for that in the next 24h.

videoh
8th September 2018, 20:39
Thank you, Zathor! Your work is greatly appreciated.

locotus
8th September 2018, 20:44
Sorry to bring bad news, but the file indexer and One click stop indexing, ifo files, vob files and proper dvd folders in each case.

Thanks.

Zathor
8th September 2018, 21:06
Sorry to bring bad news, but the file indexer and One click stop indexing, ifo files, vob files and proper dvd folders in each case

Could you please post a log? I suspect the Mediainfo change to be the root cause.

Gser
8th September 2018, 21:21
Unexpected behavior is perhaps an understatement but the latest development version creates a large file in the MeGUI folder while encoding that then proceeds to fill up the entire hard drive, so far it has gotten up to 101GB, yes you read right gigabits. The name of the file is adl. I could upload it somewhere but it might take a couple of weeks. This file does not go away after encoding is complete or after I close MeGUI.

Melan
8th September 2018, 21:31
After last update:

[Error] Log
-[Information] Versions
--[Information] MeGUI: 2875 x64
--[Information] Update Check: development update server
--[Information] System Information
---[Information] Operating System: Windows 7 Professional x64 SP1 (6.1.65536.7601)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.6.x (4.6.00081)
---[Information] Redistributables
----[Information] Microsoft Visual C++ 2010 x86: 10.0.30319
----[Information] Microsoft Visual C++ 2013 x86: 12.0.21005
----[Information] Microsoft Visual C++ 2015 x64: 14.0.24215
----[Information] Microsoft Visual C++ 2015 x86: 14.0.24215
---[Information] DPI: 100% (96/96)
---[Information] Monitor 1
----[Information] Resolution: 1920x1080
----[Information] Primary Screen: True
--[Information] Component Information
---[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
---[Information] Haali DSS2: (14-04-2013)
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 18.05.0.0 (08-05-2018)
---[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
---[Information] 7z: 9.20 (18-11-2010)
--[Information] AviSynth Information
---[Information] AviSynth Wrapper
----[Information] Version: 1.0.2847.0
----[Information] Date: 06-05-2018
----[Information] Interface: 3
---[Information] AviSynth
----[Information] AviSynth Status: ignored as portable build is forced
---[Information] AviSynth portable
----[Information] File Version: 0.1
----[Information] File Date: 02-07-2018
----[Information] File Name: AviSynth+ 0.1 (r2728, MT, x86_64)
----[Information] File Path: c:\program files\megui-x64\avisynth.dll
----[Information] AviSynth Version: AviSynth+ 0.1 (r2728, MT, x86_64)
----[Information] AviSynth+: true
----[Information] AviSynth MT: true
----[Information] AviSynth Status: active
-[Error] Update detection
--[Information] [2018-09-08 22:25:33] Connected to server: http://megui.tmebi.de/test/
--[Information] [2018-09-08 22:25:34] There is 1 package which can be updated: MediaInfo
--[Information] [2018-09-08 22:25:34] redist files copied: 2017_x64
--[Information] [2018-09-08 22:25:35] There is 1 package which can be updated: MediaInfo
--[Information] [2018-09-08 22:25:39] 1/1 - updating package MediaInfo
--[Error] [2018-09-08 22:25:40] Failed to download package MediaInfo: File cannot be found on the server.
--[Information] [2018-09-08 22:25:42] Connected to server: http://megui.tmebi.de/test/
--[Error] [2018-09-08 22:25:42] Packages which have not been successfully updated: 1
-[Warning] FileIndexer
--[Warning] [2018-09-08 22:26:01] MediaInfo
---[Information] [2018-09-08 22:26:01] File: C:\Users\Dell\Desktop\Ripping\swat\TVP1 HD-09082018-2025.pvr\data0001.ts
---[Information] General
----[Information] Format: BDAV
----[Information] FormatString: BDAV
----[Information] FileSize: 1536393216
----[Information] PlayTime: 00:51:40.386
---[Information] Video
----[Information] ID: 102
----[Information] StreamOrder: 0-0
----[Information] CodecID: 27
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameCount: 77509
----[Information] FrameRate: 25.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode:
----[Information] ScanType: Interlaced
----[Information] Bits Depth: 8
----[Information] Format: AVC
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay: 41153940.000
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 103
----[Information] StreamOrder: 0-1
----[Information] CodecID: 3
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Format: MPEG Audio
----[Information] FormatProfile: Layer 2
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: CBR
----[Information] Delay: 41152728.000
----[Information] Title:
----[Information] Language: pl
----[Information] LanguageString: Polish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 104
----[Information] StreamOrder: 0-3
----[Information] CodecID: 6
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Format: E-AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay: 41152780.000
----[Information] Title:
----[Information] Language: qaa
----[Information] LanguageString: qaa
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Warning] Audio
----[Information] ID: 108
----[Information] StreamOrder: 0-5
----[Information] CodecID: 6
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Format: E-AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2: 2/0/0
----[Information] BitRateMode: CBR
----[Information] Delay: 41152940.000
----[Information] Title:
----[Information] Language: aux
----[Information] LanguageString: aux
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
----[Warning] [2018-09-08 22:26:02] The language information "aux/aux" is unknown. The default MeGUI language has been selected instead.
---[Information] Text
----[Information] ID: 106
----[Information] StreamOrder: 0-4
----[Information] CodecID: 6
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Delay:
----[Information] Title:
----[Information] Language: pl
----[Information] LanguageString: Polish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
-[Warning] MediaInfo
--[Warning] [2018-09-08 22:26:01] The language information "aux/aux" is unknown. The default MeGUI language has been selected instead.
-[Warning] Log for job1 (idx, data0001.ts -> data0001.ts.lwi)
--[Information] [2018-09-08 22:26:06] Started handling job
--[Information] [2018-09-08 22:26:06] Preprocessing
--[Information] [2018-09-08 22:26:06] AviSynth script
---[NoImage] LoadPlugin("C:\Program Files\MeGUI-x64\tools\lsmash\LSMASHSource.dll")
---[NoImage] LWLibavVideoSource("C:\Users\Dell\Desktop\Ripping\swat\TVP1 HD-09082018-2025.pvr\data0001.ts")
--[Warning] [2018-09-08 22:26:16] MediaInfo
---[Information] [2018-09-08 22:26:16] File: C:\Users\Dell\Desktop\Ripping\swat\TVP1 HD-09082018-2025.pvr\data0001.ts.lwi
---[Information] Indexed File: C:\Users\Dell\Desktop\Ripping\swat\TVP1 HD-09082018-2025.pvr\data0001.ts
---[Information] General
----[Information] Format: BDAV
----[Information] FormatString: BDAV
----[Information] FileSize: 1536393216
----[Information] PlayTime: 00:51:40.386
---[Information] Video
----[Information] ID: 102
----[Information] StreamOrder: 0-0
----[Information] CodecID: 27
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameCount: 77509
----[Information] FrameRate: 25.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode:
----[Information] ScanType: Interlaced
----[Information] Bits Depth: 8
----[Information] Format: AVC
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay: 41153940.000
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 103
----[Information] StreamOrder: 0-1
----[Information] CodecID: 3
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Format: MPEG Audio
----[Information] FormatProfile: Layer 2
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: CBR
----[Information] Delay: 41152728.000
----[Information] Title:
----[Information] Language: pl
----[Information] LanguageString: Polish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 104
----[Information] StreamOrder: 0-3
----[Information] CodecID: 6
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Format: E-AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay: 41152780.000
----[Information] Title:
----[Information] Language: qaa
----[Information] LanguageString: qaa
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Warning] Audio
----[Information] ID: 108
----[Information] StreamOrder: 0-5
----[Information] CodecID: 6
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Format: E-AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2: 2/0/0
----[Information] BitRateMode: CBR
----[Information] Delay: 41152940.000
----[Information] Title:
----[Information] Language: aux
----[Information] LanguageString: aux
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
----[Warning] [2018-09-08 22:26:16] The language information "aux/aux" is unknown. The default MeGUI language has been selected instead.
---[Information] Text
----[Information] ID: 106
----[Information] StreamOrder: 0-4
----[Information] CodecID: 6
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Delay:
----[Information] Title:
----[Information] Language: pl
----[Information] LanguageString: Polish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [2018-09-08 22:26:16] Postprocessing
---[Information] [2018-09-08 22:26:25] Deleting intermediate files
--[Information] [2018-09-08 22:26:26] Job completed
-[Warning] MediaInfo
--[Warning] [2018-09-08 22:26:06] The language information "aux/aux" is unknown. The default MeGUI language has been selected instead.
-[Warning] MediaInfo
--[Warning] [2018-09-08 22:26:17] The language information "aux/aux" is unknown. The default MeGUI language has been selected instead.
-[Warning] MediaInfo
--[Warning] [2018-09-08 22:26:25] The language information "aux/aux" is unknown. The default MeGUI language has been selected instead.
-[Warning] MediaInfo
--[Warning] [2018-09-08 22:26:25] The language information "aux/aux" is unknown. The default MeGUI language has been selected instead.
-[Warning] MediaInfo
--[Warning] [2018-09-08 22:26:53] The language information "aux/aux" is unknown. The default MeGUI language has been selected instead.
-[Warning] MediaInfo
--[Warning] [2018-09-08 22:27:05] The language information "aux/aux" is unknown. The default MeGUI language has been selected instead.
-[Error] MediaInfo
--[Error] [2018-09-08 22:27:29] Error parsing media file C:\Users\Dell\Desktop\Ripping\swat\TVP1 HD-09082018-2025.pvr\data0001.ts.avs
---[NoImage] System exception - Illegal Instruction
---[NoImage] (C:\Users\Dell\Desktop\Ripping\swat\TVP1 HD-09082018-2025.pvr\data0001.ts.avs, line 4)
-[Error] Unhandled error
--[Information] [2018-09-08 22:27:46] Exception message
---[NoImage] The file C:\Users\Dell\Desktop\Ripping\swat\TVP1 HD-09082018-2025.pvr\data0001.ts.avs cannot be opened.
---[NoImage] Error message for your reference: System exception - Illegal Instruction
---[NoImage] (C:\Users\Dell\Desktop\Ripping\swat\TVP1 HD-09082018-2025.pvr\data0001.ts.avs, line 4)
--[Information] [2018-09-08 22:27:46] Stacktrace
---[NoImage] w MeGUI.JobUtil.GetAllInputProperties(String video, UInt64& nbOfFrames, Double& framerate, Int32& framerate_n, Int32& framerate_d, Int32& hRes, Int32& vRes, Dar& dar, AviSynthColorspace& colorspace)
---[NoImage] w MeGUI.VideoEncodingComponent.queueVideoButton_Click(Object sender, EventArgs e)
---[NoImage] w System.Windows.Forms.Control.OnClick(EventArgs e)
---[NoImage] w System.Windows.Forms.Button.OnClick(EventArgs e)
---[NoImage] w System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
---[NoImage] w System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
---[NoImage] w System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage] w System.Windows.Forms.ButtonBase.WndProc(Message& m)
---[NoImage] w System.Windows.Forms.Button.WndProc(Message& m)
---[NoImage] w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Error] [2018-09-08 22:27:46] Inner exception
---[Error] [2018-09-08 22:27:46] Exception message
----[NoImage] System exception - Illegal Instruction
----[NoImage] (C:\Users\Dell\Desktop\Ripping\swat\TVP1 HD-09082018-2025.pvr\data0001.ts.avs, line 4)
---[Error] [2018-09-08 22:27:46] Stacktrace
----[NoImage] w MeGUI.AviSynthClip..ctor(String func, String arg, Boolean bRequireRGB24)
----[NoImage] w MeGUI.AvsFile..ctor(String script, Boolean parse, Boolean bRequireRGB24)
----[NoImage] w MeGUI.JobUtil.GetAllInputProperties(String video, UInt64& nbOfFrames, Double& framerate, Int32& framerate_n, Int32& framerate_d, Int32& hRes, Int32& vRes, Dar& dar, AviSynthColorspace& colorspace)
---[Error] [2018-09-08 22:27:46] Inner exception: null

locotus
8th September 2018, 21:34
Could you please post a log? I suspect the Mediainfo change to be the root cause.
Here's the log, though no error to my view, message in screen said no compressor found for this type of file.
[Information] Log
-[Information] Versions
--[Information] MeGUI: 2875 x86
--[Information] Update Check: development update server
--[Information] System Information
---[Information] Operating System: Windows 10 Home 1803 x64 (10.0.17134.228)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.7 (4.7.03056)
---[Information] Redistributables
----[Information] Microsoft Visual C++ 2010 x64: 10.0.40219
----[Information] Microsoft Visual C++ 2010 x86: 10.0.40219
----[Information] Microsoft Visual C++ 2012 x64: 11.0.61030
----[Information] Microsoft Visual C++ 2012 x86: 11.0.61030
----[Information] Microsoft Visual C++ 2013 x64: 12.0.30501
----[Information] Microsoft Visual C++ 2013 x86: 12.0.30501
----[Information] Microsoft Visual C++ 2015 x64: 14.0.24210
----[Information] Microsoft Visual C++ 2015 x86: 14.0.24210
---[Information] DPI: 100% (96/96)
---[Information] Monitor 1
----[Information] Resolution: 1440x900
----[Information] Primary Screen: True
--[Information] Component Information
---[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
---[Information] Haali DSS2: (14-04-2013)
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 18.08.0.0 (31-08-2018)
---[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
---[Information] 7z: 9.20 (18-11-2010)
--[Information] AviSynth Information
---[Information] AviSynth Wrapper
----[Information] Version: 1.0.2847.0
----[Information] Date: 06-05-2018
----[Information] Interface: 3
---[Information] AviSynth
----[Information] AviSynth Status: ignored as portable build is forced
---[Information] AviSynth portable
----[Information] File Version: 0.1
----[Information] File Date: 02-07-2018
----[Information] File Name: AviSynth+ 0.1 (r2728, MT, i386)
----[Information] File Path: c:\megui\avisynth.dll
----[Information] AviSynth Version: AviSynth+ 0.1 (r2728, MT, i386)
----[Information] AviSynth+: true
----[Information] AviSynth MT: true
----[Information] AviSynth Status: active
-[Information] Update detection
--[Information] [9/8/2018 2:38:41 PM] Using cached update config and server: http://megui.tmebi.de/test/
--[Information] [9/8/2018 2:38:41 PM] No package requires an update
--[Information] [9/8/2018 2:38:42 PM] redist files copied: 2017_x86
--[Information] [9/8/2018 2:40:28 PM] Marked file as obsolete: mediainfo-18.05-32.7z
-[Information] FileIndexer
--[Information] [9/8/2018 2:39:02 PM] MediaInfo
---[Information] [9/8/2018 2:39:02 PM] File: D:\Downloads\Old\07 Waterloo\VIDEO_TS\VTS_01_0.IFO
---[Information] General
----[Information] Format: DVD Video
----[Information] FormatString: DVD Video
----[Information] FileSize: 40960
----[Information] PlayTime: 00:48:09.040
----[Information] PGCCount: 1
----[Information] PGCNumber: 1
---[Information] Video
----[Information] ID: 224
----[Information] StreamOrder:
----[Information] CodecID:
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Width: 720
----[Information] Height: 576
----[Information] FrameCount: 72226
----[Information] FrameRate: 25.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode:
----[Information] ScanType:
----[Information] Bits Depth:
----[Information] Format: MPEG Video
----[Information] AspectRatio: 1.333
----[Information] AspectRatioString: 4:3
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 128 (0x80)
----[Information] StreamOrder:
----[Information] CodecID:
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode:
----[Information] Delay:
----[Information] Title:
----[Information] Language: es
----[Information] LanguageString: Spanish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 129 (0x81)
----[Information] StreamOrder:
----[Information] CodecID:
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode:
----[Information] Delay:
----[Information] Title:
----[Information] Language: en
----[Information] LanguageString: English
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 0
----[Information] CodecID: Vobsub
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Spanish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Chapters
----[Information] 00:00:00.000: Chapter 1
----[Information] 00:12:24.600: Chapter 2
----[Information] 00:24:54.000: Chapter 3
----[Information] 00:37:03.600: Chapter 4
--[Information] [9/8/2018 2:39:42 PM] MediaInfo
---[Information] [9/8/2018 2:39:42 PM] File: D:\Downloads\Old\07 Waterloo\VIDEO_TS\VTS_01_0.IFO
---[Information] General
----[Information] Format: DVD Video
----[Information] FormatString: DVD Video
----[Information] FileSize: 40960
----[Information] PlayTime: 00:48:09.040
----[Information] PGCCount: 1
----[Information] PGCNumber: 1
---[Information] Video
----[Information] ID: 224
----[Information] StreamOrder:
----[Information] CodecID:
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Width: 720
----[Information] Height: 576
----[Information] FrameCount: 72226
----[Information] FrameRate: 25.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode:
----[Information] ScanType:
----[Information] Bits Depth:
----[Information] Format: MPEG Video
----[Information] AspectRatio: 1.333
----[Information] AspectRatioString: 4:3
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 128 (0x80)
----[Information] StreamOrder:
----[Information] CodecID:
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode:
----[Information] Delay:
----[Information] Title:
----[Information] Language: es
----[Information] LanguageString: Spanish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 129 (0x81)
----[Information] StreamOrder:
----[Information] CodecID:
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode:
----[Information] Delay:
----[Information] Title:
----[Information] Language: en
----[Information] LanguageString: English
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 0
----[Information] CodecID: Vobsub
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Spanish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Chapters
----[Information] 00:00:00.000: Chapter 1
----[Information] 00:12:24.600: Chapter 2
----[Information] 00:24:54.000: Chapter 3
----[Information] 00:37:03.600: Chapter 4
--[Information] [9/8/2018 2:40:17 PM] MediaInfo
---[Information] [9/8/2018 2:40:17 PM] File: D:\Downloads\Grandes Batallas de la Historia 1ª Parte\07 Waterloo\VIDEO_TS\VTS_01_0.IFO
---[Information] General
----[Information] Format: DVD Video
----[Information] FormatString: DVD Video
----[Information] FileSize: 40960
----[Information] PlayTime: 00:48:09.040
----[Information] PGCCount: 1
----[Information] PGCNumber: 1
---[Information] Video
----[Information] ID: 224
----[Information] StreamOrder:
----[Information] CodecID:
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Width: 720
----[Information] Height: 576
----[Information] FrameCount: 72226
----[Information] FrameRate: 25.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode:
----[Information] ScanType:
----[Information] Bits Depth:
----[Information] Format: MPEG Video
----[Information] AspectRatio: 1.333
----[Information] AspectRatioString: 4:3
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 128 (0x80)
----[Information] StreamOrder:
----[Information] CodecID:
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode:
----[Information] Delay:
----[Information] Title:
----[Information] Language: es
----[Information] LanguageString: Spanish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 129 (0x81)
----[Information] StreamOrder:
----[Information] CodecID:
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode:
----[Information] Delay:
----[Information] Title:
----[Information] Language: en
----[Information] LanguageString: English
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 0
----[Information] CodecID: Vobsub
----[Information] CodecIDString:
----[Information] CodecIDInfo:
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Spanish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Chapters
----[Information] 00:00:00.000: Chapter 1
----[Information] 00:12:24.600: Chapter 2
----[Information] 00:24:54.000: Chapter 3
----[Information] 00:37:03.600: Chapter 4

locotus
8th September 2018, 21:45
Zathor:I suspect the Mediainfo change to be the root cause.
Get back to 2860 and re-updated to 2875 except mediainfo but same error happened..

Zathor
8th September 2018, 22:15
You do have to use MeGUI 2872 with MediaInfo 18.05 to get back to a working state. I have just forced a downgrade as I do not have the time to fix it right now.

locotus
8th September 2018, 22:47
I couldn't get back right now to 2872 because I guess it's still not ready to download.
I'll wait and report back when done.

Thanks

locotus
9th September 2018, 03:13
Back to 2872 and all working.

Zathor
9th September 2018, 12:32
Unexpected behavior is perhaps an understatement but the latest development version creates a large file in the MeGUI folder while encoding that then proceeds to fill up the entire hard drive, so far it has gotten up to 101GB, yes you read right gigabits. The name of the file is adl. I could upload it somewhere but it might take a couple of weeks. This file does not go away after encoding is complete or after I close MeGUI.

Could you please upload a log? And is it also fixed when switching back to 2872?

Zathor
9th September 2018, 20:17
To explain a bit what is going on. MediaInfo does provide several attributes which MeGUI does use. MediaInfo 18.08 did make these changes:

"Codec" was removed and replaced by "CodecID" and "Format*". While the "depracated" was there for "Codec" for a long time, it has still worked up to now. It is not a simple replacement as the content of the newer attributes is different from what "Codec" has shown before.
The audio track codecs have even changed more. Before the "FormatProfile" was e.g. "E-AC-3+Atmos / E-AC-3" is now "Blu-ray Disc" and in "Format" you do find "E-AC-3 JOC" and in "Format_Commercial" there is "Dolby Digital Plus with Dolby Atmos"


Therefore I will proceed in two steps.
Step one (2876) is now available with the first change mentioned above. It already may have a huge impact on track detection. It does still use MediaInfo 18.05.
For the second part I do have to check all my audio files (especially the ones which do have a core) and see how I can detect them now. This change will be released together with MediaInfo 18.08.

Both changes do have a high risk that something will break. I simply cannot test all codec combinations which are out there.
Please report if anything does not work anymore. Each report must contain the log (especially the MediaInfo details of the file in question).

Zetti
10th September 2018, 13:56
MediaInfo v18.08.1 is released.

Melan
10th September 2018, 15:01
(...)
Therefore I will proceed in two steps.
Step one (2876) is now available with the first change mentioned above. It already may have a huge impact on track detection. It does still use MediaInfo 18.05.
For the second part I do have to check all my audio files (especially the ones which do have a core) and see how I can detect them now. This change will be released together with MediaInfo 18.08.

Both changes do have a high risk that something will break. I simply cannot test all codec combinations which are out there.
Please report if anything does not work anymore. Each report must contain the log (especially the MediaInfo details of the file in question).

My audio file. :)
https://www43.zippyshare.com/v/E4MYnI3E/file.html

LigH
10th September 2018, 15:29
When DirectShowSource is enabled, opening anything except AVIs (which displays a choice with 3 buttons, the rightmost is "AviSource") makes MeGUI crash in module StackHash_2264 for me.

MeGUI 2876 does not crash anymore for one "example.ts" file; instead, it displays the dialog:

---------------------------
DirectShow Error
---------------------------
Unable to render the file.

You probably don't have the correct filters installed.
---------------------------
OK
---------------------------

But a simple script
DirectShowSource("example.ts", audio=false)
can be opened in VirtualDub2 (32 bit).

An MP4 file still crashes MeGUI. Just as well, a simple DSS avs script opens in VirtualDub2 (32 bit).

Trying to open these AviSynth scripts in MeGUI's main window as custom video source crashes MeGUI too.

Archive with some files (https://www.ligh.de/tmp/MeGUI_crash_Stackhash_2264.7z) (example.ts was a bit large, but the MP4 is small; will upload it too after testing it on another PC).

I suspect this is an issue on only one specific PC, as I did not find any crashing media files on the other yet.

Zathor
10th September 2018, 17:54
My audio file. :)
https://www43.zippyshare.com/v/E4MYnI3E/file.html

What kind of issue do you have with that file?

Zathor
10th September 2018, 18:13
MeGUI 2876 does not crash anymore for one "example.ts" file; instead, it displays the dialog:

I just tried to reproduce it, but it does work for me. Do you see the input choice box open at all (OneClick, FileIndexer, DSS)? Btw. how do you do it? You drag the file into the AVS Script Creator input?

LigH
10th September 2018, 19:44
I do not see the input choice box. Maybe except for the flashing in a fraction of a second? I am not sure which dialog flashes before the crash.

I use the [...] button to open a source file in the AVS Script Creator dialog.

I was afraid it would work for you. It works on my other PC too. Must be specific to the way how MeGUI uses DirectShow internally. Does it have own filters similar to its own set of AviSynth plugins?

And only you may know where StackHash_2264 exists.

I could try a complete reinstallation if you don't have a clue.

Zathor
10th September 2018, 20:16
If you enable DSS in the settings when opening a file there it will always be tried to open the file with DSS before you do see that screen to check if DSS should be shown or not. So if your DSS has an issue it should always crash (depending on filters used in DSS). MeGUI does not do anything special there, it just loads the dss.dll and open the file with a DSS() command.

StackHash_2264 is not from MeGUI.

Btw MeGUI does use a try/catch around the call and if it does crash completly this crash does not happen in managed code and therefore I would point to AviSynth/DSS. Do not ask me why it does not happen outside. Do you have the "use internal avisynth" checkbox ticked? What happens if you change that (to enabled/disabled)?

LigH
10th September 2018, 20:33
So why does MeGUI crash when opening a DirectShowSource based script, but VirtualDub2 plays it? ... Maybe because MeGUI tries to jump into the middle, and VirtualDub2 starts at the beginning?

I put MeGUI logs into the linked archive (full content (https://www.mediafire.com/file/ig50co9599sx924/MeGUI_crash_Stackhash_2264.7z/file)). You can see that I'm using the latest system-installed AviSynth+ MT (pinterf release), not the internal "portable" copy.

On the second PC, I can open the MP4 with the system-installed AviSynth+ as well as with the internal "portable" AviSynth+. In both cases, an input choice with 3 buttons appears (DSS as 3rd).

I can check the first PC tomorrow ...

Zathor
10th September 2018, 21:57
So why does MeGUI crash when opening a DirectShowSource based script, but VirtualDub2 plays it? ... Maybe because MeGUI tries to jump into the middle, and VirtualDub2 starts at the beginning?
That initial check does not do anything with the picture. It only opens the script with the AviSynth wrapper and close it afterwards.

I put MeGUI logs into the linked archive (full content (https://www.mediafire.com/file/ig50co9599sx924/MeGUI_crash_Stackhash_2264.7z/file)). You can see that I'm using the latest system-installed AviSynth+ MT (pinterf release), not the internal "portable" copy.
Please try it also with the included AviSynth (should not change a thing, but who knows..)

LigH
11th September 2018, 11:38
Same crashes with the internal AviSynth+.

And AVSMeter (32 bit) crashes too. But not AVSMeter64. Seems I need to find a tool that helps me to clean my DirectShow system. Or avoid using DS in 32 bit. The latter appears easier, but my main intention was helping to solve a question in the VideoHelp forum (https://forum.videohelp.com/threads/390174-megui) (no comment about the thread title)...

I really wonder how VirtualDub2 manages not to crash. The MP4 starts with a gray frame, though, but it is displayed when I jump back to the beginning.

hello_hello
11th September 2018, 12:06
Sorry for dumb question but why meGUI using ffmpeg to pipe instead of avs4x26x?

To support high bit depth formats.

Zathor,
would that be why specifying a timecodes file via --tcfile-in for x264 appears not to work on a 64 bit version of Windows?

It works perfectly for me on 32 bit XP, although I only tested with an 8 bit source and Avisynth 2.6, but I tried in vain to help someone use a timecodes file on 64 bit Windows.

I assumed it was an avs4x26x issue, not realising ffmpeg was probably piping instead. Does it handle timecodes files?

The thread in question and the steps we went through can be found below. There's MediaInfo information for the source file in the opening post, which is 8 bit. There's only a portion of a log file in the post I linked to as the poster didn't return so I could ask him for a more extensive one, but it seems there's probably a timecodes issue on 64 bit Windows.
https://forum.doom9.org/showthread.php?p=1850237#post1850237

Cheers.

LigH
11th September 2018, 15:08
I used the "Codec Tweak Tool" to force LAV Video as preferred 32 bit decoder for most video formats; this "fixed" the crash for me. Still, there must be a broken DS video filter somewhere in my system... anyway, case closed for now.

imsrk48
12th September 2018, 12:18
please fix bugs when encoding .ts into .mkv

Sent from my P4 using Tapatalk

LigH
12th September 2018, 13:16
Are there bugs? And I mean - bugs which are not caused by corrupt video data in the received broadcast? Or where does the TS come from? And what kind of "bugs" do you have? Any technical details? MediaInfo reports? Decodability tests? Different decoders?

Help us help you.

hello_hello
12th September 2018, 15:10
Yeah, that would have to be the closest I've seen anyone get to enquiring about the length of a piece of string in quite a while.

StainlessS
12th September 2018, 16:15
Yeh, that bug was fixed in last version, re-download and try again, if it still dont work, repeat and try again.

Morku
13th September 2018, 17:28
Hi,

do you have any idea, how I can extra a full 7.1 E-AC3 audiostream? DTS, AC3, THD all work fine, but I always run into trouble with E-AC3.
I found that Bugreport, but it is marked as solved: https://sourceforge.net/p/megui/bugs/870/

This is the log: https://pastebin.com/XTwyaJAT

(or just alternative way how to encode into AAC...)

Zathor
13th September 2018, 18:24
You do have selected in the HD Streams Extractor the EAC3_CORE option? If not please try it with that one. Eac3to has a bug so that some e-ac3 tracks cannot be extracted without -core.

Morku
13th September 2018, 19:31
Sure, this is possible, but it's only 5.1. To bad that there is still no solution. Thank you for help.

tebasuna51
13th September 2018, 20:22
Sometimes the EAC3 7.1 can be extracted adding the parameter -keepDialnorm (now you can't use HD Streams Extractor). Try:

"D:\Sonstiges\Videotools\MeGUI\tools\eac3to\eac3to.exe" "D:\Temp\BluRay\THE_LAST_JEDI\BDMV\PLAYLIST\00801.mpls" 4:"D:\Temp\BluRay\star\00801_T4_Audio - German.eac3" -keepDialnorm

Zathor
13th September 2018, 22:14
would that be why specifying a timecodes file via --tcfile-in for x264 appears not to work on a 64 bit version of Windows?
I assumed it was an avs4x26x issue, not realising ffmpeg was probably piping instead. Does it handle timecodes files?
Let me test that, it should work.
Btw how do you add timestamps/timecodes to mp4 files?

Zathor
13th September 2018, 22:15
Sometimes the EAC3 7.1 can be extracted adding the parameter -keepDialnorm (now you can't use HD Streams Extractor). Try:

"D:\Sonstiges\Videotools\MeGUI\tools\eac3to\eac3to.exe" "D:\Temp\BluRay\THE_LAST_JEDI\BDMV\PLAYLIST\00801.mpls" 4:"D:\Temp\BluRay\star\00801_T4_Audio - German.eac3" -keepDialnorm

Thanks, should I add that for all eac3 extractions where the -core option is not specified?
Btw. you can add the -keepdialdorm option in the HD Streams Extractor as a custom option

Morku
13th September 2018, 22:23
This worked indeed! Thank you very much. I will keep that option in mind in future. Is there any downside for the parameter?

But when I load the result into MeGUI und encode to aac, it is double the playtime? Maybe related to LSMASH?
https://pastebin.com/33x5Nrbn (I aborted the encoding)

So I encoded with:

D:\Sonstiges\Videotools\MeGUI\tools\ffmpeg\ffmpeg -i German.eac3 -acodec pcm_f32le -f wav - | D:\Sonstiges\Videotools\MeGUI\tools\qaac\qaac --ignorelength --native-resampler=bats,127 -o German.aac

Seems fine :)

hello_hello
14th September 2018, 01:35
Let me test that, it should work.
Btw how do you add timestamps/timecodes to mp4 files?

I've no idea.

In case you missed it in the thread I linked to, x264 appears not to accept a timecodes file with a timestamp heading, which is how they seem to be extracted now, at least for a recently muxed MKV.

# timestamp format v2

It needs to be this:

# timecode format v2

Anyway, I suggested he try telling x264 to write an MKV, as it comes with timecodes included, and I assume ffmpeg could remux that as an MP4 with the timecodes intact and therefore without the need to add a separate timecodes file (hopefully). Unfortunately though, he couldn't get that far.

As a side note, I was discussing IVTC in another thread, and I wondered if it'd be relatively simple to give MeGUI some variable frame rate encoding abilities.
ffms2 effectively assumes VFR by default (ignoring repeat field flags) and can be told to output a timecodes file when indexing. No need for 2 passes, so in theory MeGUI, or OneClick, could include instructions for creating a timecodes file in the indexing command line and add it to the x264 command line. For VFR sources such as MKVs or MP4s, that's generally the entire process.

tebasuna51
14th September 2018, 02:47
Thanks, should I add that for all eac3 extractions where the -core option is not specified?
Seems necesary with EAC3 7.1 with

4: E-AC3, German, 7.1 channels, 896kbps, 48kHz, dialnorm: -28dB

eac3to crash when try remove the dialnorm (by default), with a strange message:

a04 Extracting audio track number 4...
a04 Removing AC3 dialog normalization...
Applying (E-)AC3 delay failed.a04
Aborted at file position 1048576.


Btw. you can add the -keepdialdorm option in the HD Streams Extractor as a custom option
Sorry, seems now we need Settings -> Enable Custom Options
And the old +Options column appears, to add the -keepdialdorm

This worked indeed! Thank you very much. I will keep that option in mind in future. Is there any downside for the parameter?
Not big, if you want recode after the eac3 use:

...ffmpeg -drc_scale 0 -i German.eac3 ...

But when I load the result into MeGUI und encode to aac, it is double the playtime? Maybe related to LSMASH?

I don't see playtimes info in the log, btw in the log MediaInfo and LWLibavAudioSource() show only 6 channels seems is only the EAC3 core.

Use always ffmpeg to decode EAC3 7.1

LigH
14th September 2018, 11:49
Zathor – from which development stage of the available encoders (aomenc / rav1e) onwards would you consider supporting AV1 encoding in MeGUI? CLI option set stability and user-friendly encoding speed will probably both be important factors?

Morku
14th September 2018, 18:19
@tebasuna51

thank you for the tip. What is the standardsetting for drc_scale and why ffmpeg touch the range when it's not defined by myself? Should I choose this option for any AC3 source or only which are extracted with dialnorm?
Personally, I always want keep the properties of the audio, just compress.

Anyway, for the reference when I encode with MeGUI:
Input file:
Format : E-AC-3
Format/Info : Enhanced AC-3
Commercial name : Dolby Digital Plus
Format profile : Blu-ray Disc
Duration : 2 h 31 min
Bit rate mode : Constant
Bit rate : 896 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 973 MiB (100%)
Service kind : Complete Main

Result:
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 5 h 3 min
Bit rate mode : Variable
Bit rate : 441 kb/s
Maximum bit rate : 600 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 958 MiB (100%)

Log: https://pastebin.com/JMQ2FjCa

= doubled the length.

Zathor
14th September 2018, 18:38
In case you missed it in the thread I linked to, x264 appears not to accept a timecodes file with a timestamp heading, which is how they seem to be extracted now, at least for a recently muxed MKV.

# timestamp format v2

It needs to be this:

# timecode format v2

That is correct, based on the source it has to be timecode for x264:
https://github.com/mstorsjo/x264/blob/master/input/timecode.c

I wonder what it does at all:
--tcfile-in <string> Force timestamp generation with timecode file

I tested it with x64 when the file is named in the required way and it does encode without issues.

As a side note, I was discussing IVTC in another thread, and I wondered if it'd be relatively simple to give MeGUI some variable frame rate encoding abilities.
ffms2 effectively assumes VFR by default (ignoring repeat field flags) and can be told to output a timecodes file when indexing. No need for 2 passes, so in theory MeGUI, or OneClick, could include instructions for creating a timecodes file in the indexing command line and add it to the x264 command line. For VFR sources such as MKVs or MP4s, that's generally the entire process.
I do have it implemented now for mkv source and mkv target - and I will only support it for the moment with OneClick.
To add it to x264 seems to be not necessary. I just extract it with mkvextract and mux it lateron with mkvmerge.
EDIT: found a way also for mp4

Danette
14th September 2018, 19:00
With the One-Click encoder, single files can be directed to a chosen output folder. However, when a folder input (for batch jobs) is selected, the output field does not function correctly. A desired location can not be chosen for the batch jobs. The entire output of the batch process is placed in the source folder (or whatever folder is set as default output for all MeGUI jobs).

Zathor
14th September 2018, 19:04
With the One-Click encoder, single files can be directed to a chosen output folder. However, when a folder input (for batch jobs) is selected, the output field does not function correctly. A desired location can not be chosen for the batch jobs. The entire output of the batch process is placed in the source folder (or whatever folder is set as default output for all MeGUI jobs).

All settings for a batch job have to be specified in the OneClick profile. Please set therefore in the profile in "other" your desired output path.

tebasuna51
14th September 2018, 20:04
What is the standardsetting for drc_scale and why ffmpeg touch the range when it's not defined by myself? Should I choose this option for any AC3 source or only which are extracted with dialnorm?

The standard is respect the drc included in the Dolby stream, if exist the volume can be reduced assuming the Dialog Normalization.
With drc_scale 0 the volume is decoded without reduction.

To be sure is recommended use always drc_scale 0.

Personally, I always want keep the properties of the audio, just compress.

But compress with other not Dolby codec can't preserve Dialog Normalization or Dynamic Range Compression.

If DN or DRC is applied when decode you can't recover the original audio volume. DN/DRC is intended to use at play time with the user control, is not recommended when recode.

Anyway, for the reference when I encode with MeGUI:
Well, seems than MediaInfo 18.05 can't recognize the 8 EAC3 channels, only the 6 core channels:

File: D:\tmp\00925.m2ts_4eng.eac3
...
Channels: 6

18.08 seems work fine with the same sample:

Complete name : D:\tmp\00925.m2ts_4eng.eac3
...
Channel(s) : 8

The decoders LWLibavAudioSource or FFAudioSource seems don't work with EAC3 7.1 only output 6 channels with double length.

hello_hello
15th September 2018, 01:52
I wonder what it does at all:
--tcfile-in <string> Force timestamp generation with timecode file


I'm not sure I understand the question.

I do have it implemented now for mkv source and mkv target - and I will only support it for the moment with OneClick.
To add it to x264 seems to be not necessary. I just extract it with mkvextract and mux it lateron with mkvmerge.
EDIT: found a way also for mp4

Technically, at least, I think giving x264 the timecodes should have a positive effect on quality compared to just muxing them later, due to x264 being frame rate aware.

A quick test encoding 1000 frames at 30fps and again at 24fps.
I think the maths is correct.

30 fps, 1961.73 kb/s, 65384 kb, 8.1 MB
24 fps, 1812.14 kb/s, 75493 kb, 9.4 MB

You'd expect the bitrates to be different as the durations aren't the same, but the total number of bits used to encode the same 1000 frames increased when the frame rate decreased. Or am I looking at it all wrong?

I'm pretty sure ffms2 and Lsmash output the average frame rate, so at least x264 knows the correct duration, and the bitrate in the log file will be correct, so that's probably the next best thing to encoding with the timecodes.

There's also a need to create a timebase for VFR encoding and x264 seems pretty good at it. I don't understand how the timebase works exactly but it can make a difference to playback.

As an example, I encoded some NTSC DVDs recently after deblending the film sections back to 25fps and deinterlacing the video, so they were combinations of 25fps and 59.94fps (I manually created the timecodes file). Maybe it's more luck than design, but the timebase x264 decides on causes MPC-HC to behave as though the encoded video is a constant 25fps to a cerain extent, even though the frames display for the correct durations. Reclock does the same. When decoding with ffdshow and enabling it's on-screen display, ffshow gives each frame in the PAL sections a unique number, but for the video sections it repeats the frame numbers in a 3:2-like pattern so it's only incrementing frame numbers at a rate of 25fps. When I play the encoded video and Reclock adjusts the playback speed, it's constant from start to finish.

None of that happened when I tried specifying a timebase. Even for combinations of 23.976fps and 59.94fps I think it resulted in playback oddness and x264 knew best.

When you specify a timecodes file and an MKV as the output format, you can play the output file without remuxing it and the audio will be in sync.

I know people encode and mux the timecodes later all the time and the world keeps turning, but you asked :)

Zathor
15th September 2018, 15:14
2877 [OneClick] added support for VFR input files (requires mkv/mp4 output)
[FFMS Indexer] added support for VFR input files
[MKV Muxer] added detection of timestamp files (must be in the format "videoinputfilename".timestamp.txt)
[MP4 Muxer] added mp4fpsmod tool to mux timecodes into mp4 files
[x264] added support for --tc-in