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

kuchikirukia
5th July 2018, 12:21
@kuchikirukia
To avoid a mistake between tracks the 00003-002.m4a is english or japanese?

English. It's choosing the English 2.0 track instead of the first Japanese 5.1 DTS-MA track.

The BDMV\STREAM\00003-002.mkv is a mix of m2ts?
In BD's is possible have a m2ts intro 5.1 and after m2ts only 2.0.


maybe the DTS-MA is

The mkv is a mux of the 5.1 DTS-MA from the JP BD with the English of the US BD. The DTS-MA is the 2nd track of the JP BD, since that m2ts also includes a 2.0 Japanese LPCM track. I cut that out since it's redundant.
The DTS-MA is entirely 5.1.

tebasuna51
5th July 2018, 22:04
English. It's choosing the English 2.0 track instead of the first Japanese 5.1 DTS-MA track.

Then
LWLibavAudioSource("F:\Video\BDMV\STREAM\00003-002.mkv")
don't work as expected selecting the first audio track showed by MediaInfo.

You can try this avs, changing the stream_index parameter until select the japanese track:

ClearAutoloadDirs()
AddAutoloadDir("C:\Program Files (x86)\MeGUI\tools\avs\plugins")
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\lsmash\LSMASHSource.dll")
LWLibavAudioSource("F:\Video\BDMV\STREAM\00003-002.mkv", stream_index=1)

kuchikirukia
5th July 2018, 23:11
Then
LWLibavAudioSource("F:\Video\BDMV\STREAM\00003-002.mkv")
don't work as expected selecting the first audio track showed by MediaInfo.

You can try this avs, changing the stream_index parameter until select the japanese track:

Yes, I said that above:




Encoding from an avisynth script with just the LWLibavAudioSource line comes back with no errors but it's still 2 channels, and shows detected 2 channels in the log's avisynth script instead of 6 like before.
Adding stream_index=1 encodes the DTS-MA track.

So it indicates a problem with LSMASH's default -1 for stream_index (pick the first audio track), no?

imsrk48
6th July 2018, 04:35
Again, and again, and again:

You "hardcode" subtitles into the contained video stream, using the AVS Script Creator. Not into a container. If you see the subtitles in the preview window of MeGUI, they will also be contained in your newly encoded video. Even if you first create a raw video stream without any container; it doesn't matter.

ASS is a text script just like SRT. And the AVS Script Creator provides several different text subtitle filters, some of them supporting ASS better than others. Test it using the preview window of MeGUI before encoding.okay I'll try and if not work then???

Sent from my P4 using Tapatalk

imsrk48
6th July 2018, 04:36
I swear all of his posts have been like this. It's like he doesn't even bother finding out anything about video encoding himself, comes here to be given out everything on a silver platter and then throws the platter out the window.Sorry for this Sir it's not happen again

Sent from my P4 using Tapatalk

imsrk48
6th July 2018, 04:37
I swear all of his posts have been like this. It's like he doesn't even bother finding out anything about video encoding himself, comes here to be given out everything on a silver platter and then throws the platter out the window.I'll tried then I'm come here not before testing

Sent from my P4 using Tapatalk

LigH
6th July 2018, 07:44
@imsrk48: It's all guessing and hear-say without MeGUI log files. With a log, we could possibly point you at a specific line and tell you: "Here, look, you did not include subtitles in your AviSynth script, that's why they don't appear" or such ... often it's just a simple mistake, but hard to discover if all we have is your promise that you did it all as you said.

tebasuna51
6th July 2018, 08:54
Yes, I said that above:

Sorry, I don't see your last post edition:


Adding stream_index=1 encodes the DTS-MA track.

So it indicates a problem with LSMASH's default -1 for stream_index (pick the first audio track), no?

Yes, seems a problem with that.

To be sure please load 00003-002.mkv in MkvToolNix to know if the track order is the same than MediaInfo say:
- Video
- DTS-MA
- AAC
- ASS
- ASS

imsrk48
6th July 2018, 13:31
@imsrk48: It's all guessing and hear-say without MeGUI log files. With a log, we could possibly point you at a specific line and tell you: "Here, look, you did not include subtitles in your AviSynth script, that's why they don't appear" or such ... often it's just a simple mistake, but hard to discover if all we have is your promise that you did it all as you said.okay great I'll send log file after some time

Sent from my P4 using Tapatalk

Zathor
7th July 2018, 11:15
After upgrading to 2867, it stopped running
https://i.imgur.com/1G4nYvU.png

Please check the test build and report back:
https://sourceforge.net/p/megui/bugs/924/

Zetti
11th July 2018, 23:10
FFmpeg v4.0.1 is released.

Zetti
12th July 2018, 21:15
MKVToolNix v25.0.0 is released.

Zathor
19th July 2018, 13:43
MKVToolNix v25.0.0 is released.
FFmpeg v4.0.1 is released.

Thanks, updated! Also AVS+ has been updated.

hello_hello
24th July 2018, 00:28
Zathor,
I tried outputting an MP4 due to a question in another thread, and discovered when the aspect ratio is 15:11, or when 10:11 is set as the SAR in the encoder configuration (and the resolution is 720x480), MeGUI uses 8:9 as the PAR when muxing. Here's an example encoder command line followed by the muxing job from MeGUI's log file:

"C:\Program Files\MeGUI\tools\x264\x264.exe" --keyint 300 --sar 10:11 --frames 201 --output "D:\test.264" "D:\test.avs"

"C:\Program Files\MeGUI\tools\mp4box\mp4box.exe" -add "D:\test.264#trackID=1:fps=29.97:par=8:9:name=" -tmp "D:" -new "D:\test.mp4"

As a quick test I tried 64:45 for a SAR and it was also used for muxing, but when I set 20:11 as the display aspect ratio for anamorphic encoding, a SAR of 40:33 was correctly used for encoding, but the generic par of 32:27 was used when muxing.

"C:\Program Files\MeGUI\tools\x264\x264.exe" --keyint 300 --sar 40:33 --frames 201 --output "D:\test.264" "D:\test.avs"
"C:\Program Files\MeGUI\tools\mp4box\mp4box.exe" -add "D:\test.264#trackID=1:fps=29.97:par=32:27:name=" -tmp "D:" -new "D:\test.mp4"

I tried a couple of non-standard aspect ratios and the SAR used for encoding and the PAR used for muxing were fairly close. To a couple of decimal places. All of the above tests were for a video with a 720x480 resolution.

Zetti
26th July 2018, 13:05
FFmpeg v4.0.2 is released.

imsrk48
26th July 2018, 20:33
when releasing new MeGui with .ts audio mismatch problems fixed

Sent from my P4 using Tapatalk

Zathor
29th July 2018, 13:47
Have you tried the suggestions found here?
https://forum.doom9.org/showthread.php?p=1845778#post1845778

In any case I need more details = your log file.

Zathor
29th July 2018, 13:48
FFmpeg v4.0.2 is released.
Thanks, updated!

Zathor
2nd August 2018, 11:46
2872 [x26x] changed the log level for ffmpeg from warning to error
2871 [Video Encoder] added high bit depth support to the AVS pre-check
2870 [x264] added --aq-mode 3. feature request #639

Hotpocketdeath
3rd August 2018, 15:44
Was there a reason for the change in the "File Indexer" that the output file directory no longer updates according to the input file directory?

When I was doing a series, I broke up each episode into their own sub directory so that each episode's work files were all separate. So when I wanted to load a bunch of episodes into the indexer, I would load the input, hit queue, load the next input, hit queue, rinse and repeat.

Now, when I want to load a series, I have to make sure the output file is set to where the input file is and it adds in a bunch of tedious steps. I liked it better before it was changed, when the output would update itself each time I loaded the input file.

LeXXuz
4th August 2018, 16:28
Hi.

Any chance the GUI to the x265 encoder will get more options to set? Right now I have to set qpfiles manually to the command line. Would love to have an option to do this just with a few clicks.

greatfinders
11th August 2018, 23:36
i have an issue for some time for no reason but megui don t want to analyse interlace for all vob no matter the one i use when i click on analyse with the last version it crash or failed analysis

LigH
12th August 2018, 10:40
Don't open "a VOB file", use a d2v index file (DGMPGDec / MPEG2Source) instead.

greatfinders
12th August 2018, 17:22
Don't open "a VOB file", use a d2v index file (DGMPGDec / MPEG2Source) instead.

it's the same , usualy when i load the vob he make the d2v etc and then when i go to the part where it analyse interlacing it don't want to work i got this

https://nsa39.casimages.com/img/2018/08/12/180812063342764717.png

i have avisynth 2.6 on my system and all plugins work when i use avisynth

the things is that like the msg is with not comprehensive caracters i can't find the problem

LigH
12th August 2018, 17:29
Finally, useful details: apparently, LoadPlugin got an utterly wrong plugin name string ... and now please also publish the log file of this job, so we can inspect more details.

By the way: To get a screenshot of only the active window, press Alt-PrtScr.

greatfinders
12th August 2018, 19:05
Preliminary log file only. During closing of MeGUI the well formed log file will be written.

-[Information] Versions
--[Information] MeGUI: 2836 x86
--[Information] Update Check: stable update server
-[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.7 (4.7.03062)
-[Information] DPI: 100% (96/96)
-[Information] Resolution: 1600x900
-[Information] Primary Screen: True
-[Information] Monitor 1
--[Information] System Information
-[Information] Update detection
-[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
-[Information] Haali DSS2: not installed
-[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
-[Information] MediaInfo: 18.03.1.0 (26-03-2018)
-[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
-[Information] 7z: 9.20 (18-11-2010)
--[Information] Component Information
--[Information] [12/08/2018 18:18:42] Using cached update config and server: http://megui.org/auto/stable/
-[Information] Version: 1.0.2721.0
-[Information] Date: 29-04-2017
-[Information] Interface: 3
-[Information] AviSynth Wrapper
-[Information] File Version: 2.6.0.6
-[Information] Date: 31-03-2015
-[Information] Name: Avisynth 2.6
--[Information] [12/08/2018 18:18:42] No package requires an update
-[Information] Version: AviSynth 2.60, build:Mar 31 2015 [16:38:54]
-[Information] AviSynth+: false
-[Information] MT: false
-[Information] Status: active
-[Information] AviSynth
-[Information] File Version: 0.1
-[Information] Date: 28-03-2018
-[Information] Name: AviSynth+ 0.1 (r2664, MT, i386)
-[Information] Status: inactive
-[Information] AviSynth portable
--[Information] AviSynth Information
-[Information] AVS Script Creator
-[Error] Unhandled error
--[Information] [12/08/2018 18:20:19] Exception message: Object reference not set to an instance of an object.
-[NoImage] at MeGUI.AviSynthWindow.finishedAnalysis(SourceInfo info, Boolean error, String errorMessage)
-[NoImage] at MeGUI.SourceDetector.finishProcessing()
-[NoImage] at MeGUI.SourceDetector.Process(String scriptBlock)
-[NoImage] at MeGUI.SourceDetector.<>c__DisplayClass29_0.<runScript>b__0()
-[NoImage] at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
-[NoImage] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
-[NoImage] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
-[NoImage] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
-[NoImage] at System.Threading.ThreadHelper.ThreadStart()
--[Information] [12/08/2018 18:20:19] Stacktrace
--[Information] [12/08/2018 18:20:19] Inner exception: null

LigH
12th August 2018, 19:45
Please read the first line of this log file. The required workflow is as follows: Start MeGUI. Provoke this bug. Close all dialogs and MeGUI. Then post the log file when it is finished after closing MeGUI.

Optional: If you are able to find the generated *.avs script which was used to test for interlacing but failed, provide it as well; but I guess it may have been deleted by MeGUI right after.

Please use a CODE block to separate the log from the normal posting, and to format it with a monospaced font (or use an external "pastebin" service for very long logs).

greatfinders
12th August 2018, 20:17
i open megui load the d2v, then click sur analysis but as i have two error window (those i show before), then i can't close megui it crash himself so it's all i have, it's been few weeks i have this error,

the best i get is that , no avs, nothing


[Error] Log
-[Information] Versions
--[Information] MeGUI: 2836 x86
--[Information] Update Check: stable 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.7 (4.7.03062)
---[Information] DPI: 100% (96/96)
---[Information] Monitor 1
----[Information] Resolution: 1600x900
----[Information] Primary Screen: True
--[Information] Component Information
---[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
---[Information] Haali DSS2: not installed
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 18.03.1.0 (26-03-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.2721.0
----[Information] Date: 29-04-2017
----[Information] Interface: 3
---[Information] AviSynth
----[Information] File Version: 2.6.0.6
----[Information] Date: 31-03-2015
----[Information] Name: Avisynth 2.6
----[Information] Version: AviSynth 2.60, build:Mar 31 2015 [16:38:54]
----[Information] AviSynth+: false
----[Information] MT: false
----[Information] Status: active
---[Information] AviSynth portable
----[Information] File Version: 0.1
----[Information] Date: 28-03-2018
----[Information] Name: AviSynth+ 0.1 (r2664, MT, i386)
----[Information] Status: inactive
-[Information] Update detection
--[Information] [12/08/2018 21:16:30] Using cached update config and server: http://megui.org/auto/stable/
--[Information] [12/08/2018 21:16:30] No package requires an update
-[Information] AVS Script Creator
-[Error] Unhandled error
--[Information] [12/08/2018 21:16:57] Exception message: Object reference not set to an instance of an object.
--[Information] [12/08/2018 21:16:57] Stacktrace
---[NoImage] at MeGUI.AviSynthWindow.finishedAnalysis(SourceInfo info, Boolean error, String errorMessage)
---[NoImage] at MeGUI.SourceDetector.finishProcessing()
---[NoImage] at MeGUI.SourceDetector.Process(String scriptBlock)
---[NoImage] at MeGUI.SourceDetector.<>c__DisplayClass29_0.<runScript>b__0()
---[NoImage] at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
---[NoImage] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
---[NoImage] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
---[NoImage] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
---[NoImage] at System.Threading.ThreadHelper.ThreadStart()
--[Information] [12/08/2018 21:16:57] Inner exception: null

wthreex
12th August 2018, 21:40
can you please add Edit Button for preset name? this section:

https://i.imgur.com/7xK9CJh.png

if i want to change my preset name i have to delete whole preset and recreate it again.

hello_hello
13th August 2018, 05:29
can you please add Edit Button for preset name? this section:

https://i.imgur.com/7xK9CJh.png

if i want to change my preset name i have to delete whole preset and recreate it again.

You can copy an existing preset.
Select the preset you want to rename, click the "new" button, give it a new name and click okay. It'll save with the existing settings and then you can select the old preset and delete it.

Barough
13th August 2018, 14:03
New x264 :)

x264 0.157.2932 303c484 (http://www.mediafire.com/file/s7qa75yfy937d1z/) (32-bit GCC 7.3.0 / 64-bit GCC 8.2.0 8/10/12bit Multilib Windows Binaries)

LigH
13th August 2018, 14:20
Indeed (https://forum.doom9.org/showthread.php?p=1848545#post1848545); you too, Baroughtus. ;)

Barough
13th August 2018, 14:26
Indeed (https://forum.doom9.org/showthread.php?p=1848545#post1848545); you too, Baroughtus. ;)[emoji6][emoji106]

Sent from my SM-G965F via Tapatalk

imsrk48
14th August 2018, 05:22
HD Stream Extractor Not Getting .ts in Extraction Process then how can i Pre-Clean .TS??Have you tried the suggestions found here?
https://forum.doom9.org/showthread.php?p=1845778#post1845778

In any case I need more details = your log file.

Sent from my P4 using Tapatalk

laurentje
20th August 2018, 13:34
Situation:
Megui 64 bit (2872 Development Server-portable version) on Windows10.
I want to make a MKV from an image sequence. Only 10" total length.
On the main input tab, I introduce the name of the avs-file in the field "AviSynth Script".
It's this:
LoadPlugin("C:\programs\megui64\tools\avs\plugins\ImageSeq.dll")
ImageSource("C:\tmp\video\the_end\1920x1080fps50\%04d.png", 1, 500, 50)
ConvertToYV12(matrix="REC709")

In the field "Video Output" I changed the name of the output-file; field "Encoder settings": a preset crf 17 level4.2.
No audio. So I click on "Queue" in the "Video encoding frame".

I went to the "Queue tab" and I see now 2 jobs listed: x264-job + mux-job.
Click on "start". All goes well till nearly the end of the 1st job, no reaction of Megui. In windows I look in the log file it is this: see attachement "...10a.txt" and I see also at the last line "Job completed"... but Megui still hangs. With file manager I see also that the mkv is created and the .264-file deleted.
With Taskmanager I stopped Megui. Then I look into the log file: see attachment "...10b.txt". See the time jump in the log from 37:25 to 43:52 at the start of job2: the mux-job the moment I stopped Megui with Task manager.
When I restart Megui I see job 2 is waiting of execution.

I have tested Megui64b with other clips and the risk of hanging is about 14". So if my clip-length is longer than 14", I'ill use 32bit: with that version (2836) I have no problems with short clips.

My question is now: experience of others with Megui 64b and short clips?:confused:

Zetti
26th August 2018, 14:32
MKVToolNix v26.0.0 is released.

ryszardzonk
27th August 2018, 14:04
encoding using x265 regardless of encoder settings (even with defaults) does not work and fails right after recreating of lwi index file. Audio encoding on this file as well as encoding video with x264 works without any problems so no idea why would it complain about opening input file for x265.

SetMemoryMax(2048)
Import("C:\Software\Megui\tools\setmtmode.avsi")
LoadPlugin("C:\Software\Megui\tools\lsmash\LSMASHSource.dll")
LWLibavVideoSource("E:\kodowanie\20180826 2104 - TVP 2 HD - Wieden dla Kiepury.ts.lwi")
#
AudioDub(last, LWLibavAudioSource("E:\kodowanie\20180826 2104 - TVP 2 HD - Wieden dla Kiepury.ts.lwi", stream_index=1, av_sync=true))
Load_Stdcall_Plugin("C:\Software\Megui\tools\avisynth_plugin\yadifmod2.dll")
yadifmod2(order=-1)
crop(2, 2, -2, -2)
Spline16Resize(720,400) # Spline16 (Neutral)
Import("C:\Software\Megui\tools\denoise-min.avs")
Trim(7698, 82090)
Prefetch(8)

[Error] Log
-[Information] Versions
--[Information] MeGUI: 2872 x64
--[Information] Update Check: Disabled
--[Information] System Information
---[Information] Operating System: Windows 10 Pro 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] No redistributables found
---[Information] DPI: 100% (96/96)
---[Information] Monitor 1
----[Information] Resolution: 1280x960
----[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:\software\megui\avisynth.dll
----[Information] AviSynth Version: AviSynth+ 0.1 (r2728, MT, x86_64)
----[Information] AviSynth+: true
----[Information] AviSynth MT: true
----[Information] AviSynth Status: active
-[Information] Update detection
--[Information] [27.08.2018 14:55:43] Automatic update is disabled
--[Information] [27.08.2018 14:55:43] Using cached update config and server: http://megui.tmebi.de/test/
--[Information] [27.08.2018 14:55:43] No package requires an update
--[Information] [27.08.2018 14:55:44] redist files copied: 2017_x64
-[Error] Log for job1 (video, 20180826 2104 - TVP 2 HD - Wieden dla Kiepury.avs -> 20180826 2104 - TVP 2 HD - Wieden dla Kiepury.hevc)
--[Information] [27.08.2018 14:56:07] Started handling job
--[Information] [27.08.2018 14:56:07] Preprocessing
--[Information] [27.08.2018 14:56:07] AviSynth input script
---[NoImage] SetMemoryMax(2048)
---[NoImage] Import("C:\Software\Megui\tools\setmtmode.avsi")
---[NoImage] LoadPlugin("C:\Software\Megui\tools\lsmash\LSMASHSource.dll")
---[NoImage] LWLibavVideoSource("E:\kodowanie\20180826 2104 - TVP 2 HD - Wieden dla Kiepury.ts.lwi")
---[NoImage] #
---[NoImage] AudioDub(last, LWLibavAudioSource("E:\kodowanie\20180826 2104 - TVP 2 HD - Wieden dla Kiepury.ts.lwi", stream_index=1, av_sync=true))
---[NoImage] Load_Stdcall_Plugin("C:\Software\Megui\tools\avisynth_plugin\yadifmod2.dll")
---[NoImage] yadifmod2(order=-1)
---[NoImage] crop(2, 2, -2, -2)
---[NoImage] Spline16Resize(720,400) # Spline16 (Neutral)
---[NoImage] Import("C:\Software\Megui\tools\denoise-min.avs")
---[NoImage] Trim(7698, 82090)
---[NoImage] Prefetch(8)
--[Information] [27.08.2018 14:56:12] resolution: 720x400
--[Information] [27.08.2018 14:56:12] frame rate: 75070/3003
--[Information] [27.08.2018 14:56:12] frames: 74393
--[Information] [27.08.2018 14:56:12] length: 00:49:35.918
--[Information] [27.08.2018 14:56:12] aspect ratio: 9:5 (1.800)
--[Information] [27.08.2018 14:56:12] color space: I420
--[Information] [27.08.2018 14:56:13] Job command line: "cmd.exe" /c ""C:\Software\Megui\tools\ffmpeg\ffmpeg.exe" -loglevel level+error -i "E:\kodowanie\20180826 2104 - TVP 2 HD - Wieden dla Kiepury.avs" -strict -1 -f yuv4mpegpipe - | "C:\Software\Megui\tools\x265\x64\x265.exe" --sar 1:1 --output "E:\kodowanie\20180826 2104 - TVP 2 HD - Wieden dla Kiepury.hevc" --frames 74393 --y4m -"
--[Information] [27.08.2018 14:56:13] Process started
--[Information] [27.08.2018 14:56:13] Standard output stream
--[Error] [27.08.2018 14:56:13] Standard error stream
---[Error] [27.08.2018 14:56:20] x265 [error]: unable to open input file <->
--[Error] [27.08.2018 14:56:20] Process exits with error: 1
--[Information] [27.08.2018 14:56:20] Job completed

LigH
27th August 2018, 14:12
x265 [error]: unable to open input file <->

Sounds like this x265 build is unable to open a pipe as input when the input file name is "-"?

ryszardzonk
27th August 2018, 16:51
@LigH Anything can be done about it? I tried several different builds from https://builds.x265.eu/ with same result. Maybe it is MeGUI that feeds x265 wrong file location?

LigH
27th August 2018, 18:38
There is no file location if x265 gets the video stream piped from ffmpeg. It only exists in the RAM (more or less).

Why don't you rely on the x265 shipped with MeGUI? Is there any reason to take it from any other distributor?
__

If you are able, try to execute the whole job command line inside "cmd.exe" /c "..." (what matches ...) in a separate command window. In your case:

"C:\Software\Megui\tools\ffmpeg\ffmpeg.exe" -loglevel level+error -i "E:\kodowanie\20180826 2104 - TVP 2 HD - Wieden dla Kiepury.avs" -strict -1 -f yuv4mpegpipe - | "C:\Software\Megui\tools\x265\x64\x265.exe" --sar 1:1 --output "E:\kodowanie\20180826 2104 - TVP 2 HD - Wieden dla Kiepury.hevc" --frames 74393 --y4m -
Ahhh - wait, that may not work so easily. It won't have MeGUI's AviSynth environment.

ryszardzonk
27th August 2018, 23:14
I dodn't have any other x265 than that shipped by MeGUI. It actually worked just fine as I encoded about 200 videos using it, but I did not encode anything for several months. I updated MeGUI wth Ctrl+U and whoopsie something went south.

tebasuna51
28th August 2018, 10:53
The command line sintax work fine here.

Maybe the problem is in ffmpeg side than crash with this .avs and don't send the appropiate STDOUT to x265.

If previously work fine...
The last MeGUI change was ffmpeg to version 4.0.2, try recover the previous version from:
C:\Software\Megui\update_cache\_obsolete_ffmpeg-4.0-64.7z

BTW in your script there are a non-MeGUI standard avs call:
Import("C:\Software\Megui\tools\denoise-min.avs")
we can't know what happen with that.

When use that script to encode video (to be sended to x264/x265) please comment the AudioDub line:
#AudioDub(...)

ryszardzonk
28th August 2018, 12:43
To my suprise it is not downgrade of x265 not ffmpeg that helped, but changing MeGUI core to version 2855 (the previous one I had). Latest x265 with latest ffmpeg encodes now just fine.

As for AudioDub(...) it never really was the problem for thousands of encodes I did this way, although I realize for video part it is not required. It is simply faster that way to load one avs in main window as it would than show in both video and audio section.

I realized long time ago that setting denoise separately for each video or even having different avisynth profile for each video type is a bit error prone. Al my profiles have script that loads minimal denoise chain and if I need I simply change min to med/high/higher/highest. So my Import("C:\Software\Megui\tools\denoise-min.avs") actually loads file starting

LoadPlugin("C:\Software\Megui\tools\avisynth_extra\TTempSmooth\TTempSmooth.dll")
ttempsmooth()
LoadPlugin("C:\Software\Megui\tools\avisynth_extra\RgTools\RgTools.dll")
RemoveGrain(mode=1)

LouieChuckyMerry
28th August 2018, 16:21
To my suprise it is not downgrade of x265 not ffmpeg that helped, but changing MeGUI core to version 2855 (the previous one I had).

I'm still using version 2855--I turned off automatic updates and manually update everything but the MeGUI core--because this is the last version before Zathor made the switch from avs4x26x to ffmpeg, which somehow wreaked havoc on my MeGUI setup (https://forum.doom9.org/showthread.php?p=1843340#post1843340). I never could figure out exactly why but it's OK because I'm plenty happy with the quality of my encodes regardless :) .

P.S.--Actually, the above makes me wonder, since x264 Encoder r2932 was recently released: how would I update the x264 encoder in version 2855, ie, what does MeGUI version 2855 use to encode 10 bit x264 video? More simply, which .exe in the "Tools" folder would I need to update? Thanks for any help.

hello_hello
30th August 2018, 12:46
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.

--[Information] [30/08/18 9:34:48 PM] resolution: 640x480
--[Information] [30/08/18 9:34:48 PM] frame rate: 30000/1001
--[Information] [30/08/18 9:34:48 PM] frames: 1000
--[Information] [30/08/18 9:34:48 PM] length: 00:00:33.367
--[Information] [30/08/18 9:34:48 PM] aspect ratio: 4:3 (1.333)
--[Information] [30/08/18 9:34:48 PM] color space: YV12
--[Information] [30/08/18 9:34:48 PM] Job command line: "C:\Program Files\MeGUI\tools\xvid_encraw\xvid_encraw.exe" -i "D:\video.avs" -pass1 "D:\video.stats" -par 1
--[Information] [30/08/18 9:34:48 PM] Process started
--[Information] [30/08/18 9:34:48 PM] Standard output stream
---[Information] [30/08/18 9:34:51 PM] xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert
---[Information] [30/08/18 9:35:02 PM] Tot: enctime(ms) =5295.00, length(bytes) = 12638363
---[Information] [30/08/18 9:35:02 PM] Avg: enctime(ms) = 5.29, fps = 188.86, length(bytes) = 12638
---[Information] [30/08/18 9:35:02 PM] I frames: 6 frames, size = 33532/ 201192, quants = 2 / 2.00 / 2
---[Information] [30/08/18 9:35:02 PM] P frames: 406 frames, size = 24219/9833016, quants = 2 / 2.00 / 2
---[Information] [30/08/18 9:35:02 PM] B frames: 588 frames, size = 4428/2604155, quants = 4 / 4.00 / 4
--[Information] [30/08/18 9:34:48 PM] Standard error stream
---[Information] [30/08/18 9:35:02 PM] Trying to retrieve width and height from input header
---[Information] [30/08/18 9:35:02 PM] xvidcore build version: xvid-1.3.5
---[Information] [30/08/18 9:35:02 PM] Bitstream version: 1.3.5
---[Information] [30/08/18 9:35:02 PM] Detected CPU flags: ASM MMX MMXEXT SSE SSE2 SSE3 SSE41 TSC
---[Information] [30/08/18 9:35:02 PM] Detected 4 cpus, using 4 threads.
--[Information] [30/08/18 9:35:02 PM] Postprocessing
--[Information] [30/08/18 9:35:02 PM] Job completed
-[Error] Log for job2 (mux, video.m4v -> video.mkv)
--[Information] [30/08/18 9:35:02 PM] Started handling job
--[Information] [30/08/18 9:35:02 PM] Preprocessing
--[Error] [30/08/18 9:35:02 PM] Error starting job
---[Error] [30/08/18 9:35:02 PM] Exception message: Calling setup of processor failed with error 'Required file 'D:\video.m4v' is missing.'
---[Error] [30/08/18 9:35:02 PM] Stacktrace: at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
---[Error] [30/08/18 9:35:02 PM] Inner exception: null

Zetti
31st August 2018, 20:59
MediaInfo v18.08 is released.

Zetti
4th September 2018, 16:06
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

LigH
7th September 2018, 09:44
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.

Both VirtualDub2 in 32 and 64 bit can open the default DSS script via AviSynth+ MT r2728 and LAV Filters 0.72, so I would doubt the reason for the crash is in my DirectShow installation.

Preliminary log file only. During closing of MeGUI the well formed log file will be written.

-[Information] Versions
--[Information] MeGUI: 2872 x86
--[Information] Update Check: development update server
-[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.7 (4.7.03062)
-[Information] Microsoft Visual C++ 2008 x86: 9.0.21022
-[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.40660
-[Information] Microsoft Visual C++ 2013 x86: 12.0.40660
-[Information] Microsoft Visual C++ 2017 x64: 14.14.26405
-[Information] Microsoft Visual C++ 2017 x86: 14.14.26405
-[Information] Redistributables
-[Information] DPI: 100% (96/96)
-[Information] Resolution: 1920x1200
-[Information] Primary Screen: True
-[Information] Monitor 1
--[Information] System Information
-[Information] Update detection
-[Information] Haali Media Splitter: not installed
-[Information] Haali DSS2: not installed
-[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [07.09.2018 10:33:33] Using cached update config and server: http://megui.org/auto/
-[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] Component Information
-[Information] Version: 1.0.2847.0
-[Information] Date: 06-05-2018
-[Information] Interface: 3
-[Information] AviSynth Wrapper
-[Information] File Version: 0.1
-[Information] File Date: 02-07-2018
-[Information] File Name: AviSynth+ 0.1 (r2728, MT, i386)
-[Information] File Path: c:\windows\system32\avisynth.dll
-[Information] AviSynth Version: AviSynth+ 0.1 (r2728, MT, i386)
-[Information] AviSynth+: true
-[Information] AviSynth MT: true
-[Information] AviSynth
--[Information] AviSynth Information
--[Information] [07.09.2018 10:33:33] No package requires an update
-[Information] MediaInfoWrapper
-[Information] [07.09.2018 10:33:50] File: H:\Video\Test\example.ts
--[Information] sessions open: 1, id: 392232
-[Information] [07.09.2018 10:33:51] File: H:\Video\Test\example.ts
--[Information] sessions open: 0, id: 392232, close: True
-[Information] AviSynthWrapper
-[Information] [07.09.2018 10:33:51] Script: DirectShowSource("H:\Video\Test\example.ts", audio=false)
--[Information] sessions open: 1, id: 99936

Right before the crash, I believe to spot a small dialog flashing, possibly the size of the input choice.

thecrowler
8th September 2018, 14:06
#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).

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