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

Poutnik
8th January 2013, 16:47
I had a dream......
In my dream the AVS cutter was integrated into the AVS Script Creator. It had been added to the script creator as an additional tab.

This may be related... #447 AVS creator Interlace analysis after AVS cutting (https://sourceforge.net/p/megui/feature-requests/447/)
But I was told by Zathor he is very probably not going to implement it.

Currently I launch AVS creator once to save just dummy AVS to provide raw source.
Than I run AVS cutter.
Than I run AVS creator again over cut Video as if it was original one.

Zathor
8th January 2013, 23:28
I am not sure if do anything incorrectly ( using last stable MeGUI )..
I have 2 OneClick jobs in queue ( M2Vindexing1 + OneClick1 + M2Vindexing2 + OneClick2 )
It frequently ( always? ) happens they are processed simultaneously, what I do not want.
I did not play with different workers at all.
Are you sure you are not using several workers? Please check the workers summary. Also you can try the recent development build.

MeGUI core 2337 Adaptive Muxer
even if I untick "and Close", it always closes when I hit the "Queue" button.
Thx, fixed in 2274

If I edit project, on windows "AudioEncodingWindows" I see a two bottons overlap
Thx, fixed in 2273

Poutnik
9th January 2013, 01:20
Are you sure you are not using several workers? Please check the workers summary. Also you can try the recent development build.

I have just made trial reencode of 2 already finished mp4 projects..
I used oneclick with checked And open next.

After queue start both projects started.
I have not set any explicit workers, and owner column in job overview was empty.

BUT - workers summary has shown both W1 and W2 are working.
Strange, from my point of view...

I will try latest development 2272.... It does the same.

When I have explicitly set for all 4 jobs Worker 1,
it started sequentially as expected.
But after indexing of the first project
it started Worker 2 as before...

Hotpocketdeath
9th January 2013, 05:42
Ouch, something got broken in the latest builds (2272).

I've lost all ability to mux my encodes into MP4's. Tried 2 movies so far, one of them muxes, no errors, but the video is size is way off. Video starts as 3.5GB and audio is 400MB, but result is only 2.4GB and won't play.

The second video won't even mux at all. I get this error.

-[Information] [1/8/2013 11:25:56 PM] Job commandline: "C:\MeGUI\tools\mp4box\mp4box.exe" -add "E:\DVDs\movie\F1_T2_Video - .mkv.264#trackID=1:fps=23.976" -add "E:\DVDs\movie\F1_T4_Audio -
English.mp4#trackID=1:lang=en" -chap "E:\DVDs\movie\F1_T1_Chapter - .txt" -tmp "R:\\MeGUI" -new "E:\DVDs\movie.mp4"
-[Information] [1/8/2013 11:25:56 PM] Muxing started
-[Error] [1/8/2013 11:25:56 PM] Error line: Error parsing SeqInfo
-[Error] [1/8/2013 11:25:56 PM] Error line: Error parsing SeqInfo
-[Error] [1/8/2013 11:25:56 PM] Error line: Error importing E:\DVDs\movie\F1_T2_Video - .mkv.264#trackID=1:fps=23.976: BitStream Not Compliant
-[Error] [1/8/2013 11:25:56 PM] Process exits with error: 1
-[Information] [1/8/2013 11:25:56 PM] Standard output stream
-[Information] [1/8/2013 11:25:56 PM] Standard error stream
--[NoImage] Error parsing SeqInfo
--[NoImage] Error parsing SeqInfo
--[NoImage] Error importing E:\DVDs\movie\F1_T2_Video - .mkv.264#trackID=1:fps=23.976: BitStream Not Compliant

I'm using the same settings I've always used. Switched over to YAMB and was able to mux them fine.


Also, has the bug with the temporary workers been fixed? I haven't seen a changelog that addressed the issue I've been having with them.

I have a hefty computer that I can't fully get to 100% cpu useage for certain jobs, so I tend to send a lot of jobs to temporary workers. Lately, if I send a group of jobs to a temporary worker, it was running the first job and then just stopping. Refused to continue to any more jobs until I deleted the worker. Before, I would usually have 2 or 3 seperate complete encodes going at once (audi,video,mux) So without the workers working right, it really cripples my productivity.

Zathor
9th January 2013, 08:22
When I have explicitly set for all 4 jobs Worker 1,
it started sequentially as expected.
But after indexing of the first project
it started Worker 2 as before...
Idle workers will always be used - in my opinion this is the correct behaviour and it is has been corrected some weeks ago. If you do not want a worker to process jobs you have to delete it or set it to stopped.

if I send a group of jobs to a temporary worker, it was running the first job and then just stopping. Refused to continue to any more jobs until I deleted the worker. Before, I would usually have 2 or 3 seperate complete encodes going at once (audi,video,mux) So without the workers working right, it really cripples my productivity.
Thx for the report - that problem is new for me. I will try to reproduce and fix it. It may be related to some of the other worker changes.

I've lost all ability to mux my encodes into MP4's. Tried 2 movies so far, one of them muxes, no errors, but the video is size is way off. Video starts as 3.5GB and audio is 400MB, but result is only 2.4GB and won't play.

The used mp4box is broken. Please switch back to the old one. I cannot force it at the moment for everyone as I have no access from here to the update server.

TSoft
9th January 2013, 10:14
Zathor is this normal:

DVD9 PAL 720 x 576 with AR 1,777:1
http://i45.tinypic.com/1ig2eo.jpg

A resize to 624 x 352 is perfect with AR 1,777:1 ( 624 / 352 = 1,772727272727273 )

Poutnik
9th January 2013, 10:31
Idle workers will always be used - in my opinion this is the correct behaviour and it is has been corrected some weeks ago. If you do not want a worker to process jobs you have to delete it or set it to stopped.

Hm, this is strange.

At least it would be good if one could set default behavior, like disabling Worker 2, or disabling trigerring it implicitly....

It would make sense for 1 core audio encoding, but MeGUI seems refusing in my case more audio encoding jobs, at least with NeroAACenc.(possibly related to used audio AVS plugins )

If there are IO intensive jobs, like indexing,de/muxing or wav encoding, simultaneous jobs are rather obstacle each other. ( Analogically to 2 independent file copying tasks, what is bad idea as well, especially if file fragmentation is considered )

If there are CPU intensive jobs, like MT AVS together with MT X264 encoding, the resulting performance will be probably lower.

It is like if you would use for e.g. dual core 4-6 threads instead of 2-3 in AVS a/o X264, what is not recommended. It would make more sense in this case if single threaded AVS/X264 would be used, but it would loose sense if only one encoding left.

Combination of IO and CPU intesive tasks makes sense,
as well as the user wish to avoid parallel video encodings.
I may do not want to have 2 movies in 6 hours, but in 3 + 3 hours.

There could be also sideeffects, like FFT3DGPU encodings, I do not use it now, having failed G card now, but I remember I had such issues. Possibly other plugins not allowing/working properly in multitasking can have issues as well.

AFAIK If I use the "smaller automation" ( I forgot name, not having MeGUI handy), I thing there was not such workers issue. But as you say , you have changed it recently ( or just for OneClick ) ?

Kurtnoise
9th January 2013, 11:13
I've lost all ability to mux my encodes into MP4's. Tried 2 movies so far, one of them muxes, no errors, but the video is size is way off. Video starts as 3.5GB and audio is 400MB, but result is only 2.4GB and won't play.
Use revision 4275 or higher from here (http://gpac.wp.mines-telecom.fr/downloads/gpac-nightly-builds/#Windows%2032%20bits)...That should be fixed your issue.

I'll upload a new build on megui server tonight...

Poutnik
9th January 2013, 11:18
Idle workers will always be used ........... If you do not want a worker to process jobs you have to delete it or set it to stopped.

What is recommended procedure to add jobs to already running queue, without having them launched immediately ?

Not having MeGUI handy, but I think there is settings if to run queue immediately, but not if jobs can be added in stopped state.
And if there is, do they run when it is their turn ?

tebasuna51
9th January 2013, 11:23
Zathor is this normal:

DVD9 PAL 720 x 576 with AR 1,777:1

A resize to 624 x 352 is perfect with AR 1,777:1 ( 624 / 352 = 1,772727272727273 )

But you have selected a Input DAR: ITU 16:9 PAL (1.823361)
and a 720x576 must be resized to 720x394.875
after the crop, 720x572 must be resized to 720x392.133 (AR 1.8361)

The AR error is (1.7727/1.8361) - 1 = -0,03452 = -3,452%

If you are sure than your Input DAR is 1,777, select them in the Input DAR box.

Poutnik
9th January 2013, 11:39
Idle workers will always be used - in my opinion this is the correct behaviour and it is has been corrected some weeks ago. If you do not want a worker to process jobs you have to delete it or set it to stopped.

Even if I do not like it, I understand it is your intended default behavior. But why MeGUI ignores explicit setting ? It is the only chance for user to tell MeGUI he wants it by other way.

Edit: could it be that partial Oneclick jobs do not inherit worker ( they should ) settings from mother Oneclick Job ? ( cannot check now )

TSoft
9th January 2013, 15:14
But you have selected a Input DAR: ITU 16:9 PAL (1.823361)
and a 720x576 must be resized to 720x394.875
after the crop, 720x572 must be resized to 720x392.133 (AR 1.8361)

The AR error is (1.7727/1.8361) - 1 = -0,03452 = -3,452%

If you are sure than your Input DAR is 1,777, select them in the Input DAR box.


Thank you ;)

Hotpocketdeath
9th January 2013, 17:32
The used mp4box is broken. Please switch back to the old one. I cannot force it at the moment for everyone as I have no access from here to the update server.

Use revision 4275 or higher from here (http://gpac.wp.mines-telecom.fr/downloads/gpac-nightly-builds/#Windows%2032%20bits)...That should be fixed your issue.

I'll upload a new build on megui server tonight...

Cool, glad to see that you guys know where the problem is. I'll give the updated build a shot when I see it.

Zathor
9th January 2013, 19:20
At least it would be good if one could set default behavior, like disabling Worker 2, or disabling trigerring it implicitly....

Sorry, you have written a little too much so I will describe how the workers should work from my point of view (simplified):
- An idle worker will process any waiting tasks which are not assigned to other workers. This will be triggered when a job is completed (also from other workers!) or new jobs are assigned but not when a worker is shut down or sent to stop after the current jobs.
- A temporary worker will process only the assigned jobs and will be deleted afterwards
- Stopped workers will not process any jobs until started again
- You can at any time disable / delete a worker (immediately or after the assigned jobs are finished)

Why do you need idle workers which are not processing any jobs? Why are you not deleting/disabling them? Why are you not using temporary workers?
EDIT: I am not asking why you need more than one worker - the reasons are clear.

hello_hello
9th January 2013, 19:25
Currently I launch AVS creator once to save just dummy AVS to provide raw source.
Than I run AVS cutter.
Than I run AVS creator again over cut Video as if it was original one.

I hadn't really considered de-interlacing issues as the video I was working with was purely interlaced, but as I was wanting to apply different filtering and cropping to each section of the video I tried quite a few different methods to get there. So far the easiest seems to be to tell MeGUI not to close the Script Creator window when I save the script, preview the first section of video and apply the relevant filtering/cropping etc, manually add Trim(), save the script as "part 1", delete Trim(), move onto the next section, adjust the filtering/cropping as necessary, add the second Trim(), save the script as "part 2", delete Trim(), move onto the next section..... finally I'd create a new script from scratch to import the individual scripts and encode them as a whole. I also tried adding multiple trims to the same script then applying different copping/filter to each and appending them together, but either way if the video is split into more than a few sections it's a slow process. I tried using AvsPmod instead but it didn't seem to make it any less painful. If there's an easier way to do it I'm definitely open to suggestions.

Poutnik
9th January 2013, 21:05
.......... Why do you need idle workers which are not processing any jobs? Why are you not deleting/disabling them? Why are you not using temporary workers?
EDIT: I am not asking why you need more than one worker - the reasons are clear.

Hm, I stand corrected, I have not seen anywhere settings of worker numbers, and I forgot / never knew I can even disable/delete one... :)
I probably created 2nd one in past and forgot it.

So, nothing to solve, thanks for a hint, sorry for wasting your time ....

Poutnik
9th January 2013, 21:09
I hadn't really considered de-interlacing issues as the video I was working with was purely interlaced, but as I was wanting to apply different filtering and cropping to each section of the video I tried quite a few different methods to get there.

That is the reason I have written my problem is just related, i.e. cutter to be in the creator..... :)

Zathor
9th January 2013, 23:02
So, nothing to solve, thanks for a hint, sorry for wasting your time ....
Welcome - no problem at all.

2276 [QAAC] if CoreAudioToolbox.dll is missing an information will be displayed
2275 [Worker] fixed temporary worker only processing one job
2274 [Adaptive Muxer] fixed handling of the "and close" button
2273 [Audio Encoding Window] cosmetics

flebber
10th January 2013, 11:13
Error in 2276 with MKV muxing with mp4 input.

Using tools muxer -> Mkv muxer.

-[Information] Update detection
--[Information] [10/01/2013 9:03:54 PM] Connecting to server: http://megui.org/auto/
--[Information] [10/01/2013 9:04:00 PM] All files are up to date
-[Error] Error
--[Error] [10/01/2013 9:04:31 PM] XmlSerialize: C:\Rip\Megui\jobs\job1.xml
---[Error] [10/01/2013 9:04:31 PM] Exception message: There was an error generating the XML document.
---[Error] [10/01/2013 9:04:31 PM] Stacktrace
----[NoImage] at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
----[NoImage] at System.Xml.Serialization.XmlSerializer.Serialize(Stream stream, Object o, XmlSerializerNamespaces namespaces)
----[NoImage] at System.Xml.Serialization.XmlSerializer.Serialize(Stream stream, Object o)
----[NoImage] at MeGUI.core.util.Util.XmlSerialize(Object o, String path)
---[Error] [10/01/2013 9:04:31 PM] Inner exception
----[Error] [10/01/2013 9:04:31 PM] Exception message: Object reference not set to an instance of an object.
----[Error] [10/01/2013 9:04:31 PM] Stacktrace
-----[NoImage] at MeGUI.MuxJob.get_ContainerTypeString()
-----[NoImage] at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterTaggedJob.Write61_MuxJob(String n, String ns, MuxJob o, Boolean isNullable, Boolean needType)
-----[NoImage] at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterTaggedJob.Write71_Job(String n, String ns, Job o, Boolean isNullable, Boolean needType)
-----[NoImage] at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterTaggedJob.Write73_TaggedJob(String n, String ns, TaggedJob o, Boolean isNullable, Boolean needType)
-----[NoImage] at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterTaggedJob.Write74_TaggedJob(Object o)
----[Error] [10/01/2013 9:04:31 PM] Inner exception: null

Zathor
10th January 2013, 12:21
Error in 2276 with MKV muxing with mp4 input. Using tools muxer -> Mkv muxer.]
I am not at home and cannot verify that at the moment. Is that reproducable? What did you do (e.g. Adaptive Muxer, MKV Muxer?)

flebber
10th January 2013, 12:46
I am not at home and cannot verify that at the moment. Is that reproducable? What did you do (e.g. Adaptive Muxer, MKV Muxer?)

Actually any filename with a '.' in it will cause the MKV muxer to crash. Tools -> Muxer -> MKV muxer.

Enter an Mp4 video input with a '.' in the name into the video and audio fields and choose queue when it runs it will produce the xmlserialize error.

Zathor
10th January 2013, 22:03
Sorry, I cannot reproduce that:

-[Information] Log for job1 (mux, mod16.muxed.mp4 -> mod16.muxed-muxed.mkv)
--[Information] [10.01.2013 21:58:32] Started handling job
--[Information] [10.01.2013 21:58:33] Preprocessing
--[Information] [10.01.2013 21:58:33] MediaInfo
---[Information] File: D:\MeGUI\mod16.muxed.mp4
---[Information] General
----[Information] Format: MPEG-4
----[Information] FormatString: MPEG-4
----[Information] FileSize: 97509319
----[Information] PlayTime: 01:45:25.680
---[Information] Video
----[Information] ID: 1
----[Information] StreamOrder: 0
----[Information] Width: 1284
----[Information] Height: 544
----[Information] FrameCount: 3000
----[Information] FrameRate: 24.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode: CFR
----[Information] ScanType: Progressive
----[Information] Codec: AVC
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 2.360
----[Information] AspectRatioString: 2.35:1
----[Information] Delay: -83
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 2
----[Information] StreamOrder: 1
----[Information] Format: MPEG Audio
----[Information] FormatProfile: Layer 3
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: VBR
----[Information] Delay: 0
----[Information] Title: ¨©
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [10.01.2013 21:58:33] MediaInfo
---[Information] File: D:\MeGUI\mod16.muxed.mp4
---[Information] General
----[Information] Format: MPEG-4
----[Information] FormatString: MPEG-4
----[Information] FileSize: 97509319
----[Information] PlayTime: 01:45:25.680
---[Information] Video
----[Information] ID: 1
----[Information] StreamOrder: 0
----[Information] Width: 1284
----[Information] Height: 544
----[Information] FrameCount: 3000
----[Information] FrameRate: 24.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode: CFR
----[Information] ScanType: Progressive
----[Information] Codec: AVC
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 2.360
----[Information] AspectRatioString: 2.35:1
----[Information] Delay: -83
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 2
----[Information] StreamOrder: 1
----[Information] Format: MPEG Audio
----[Information] FormatProfile: Layer 3
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: VBR
----[Information] Delay: 0
----[Information] Title: ¨©
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [10.01.2013 21:58:34] Job commandline: "D:\MeGUI\tools\mkvmerge\mkvmerge.exe" -o "D:\MeGUI\mod16.muxed-muxed.mkv" --engage keep_bitstream_ar_info --default-duration 0:24fps "--compression" "0:none" -d "0" --no-chapters -A -S "D:\MeGUI\mod16.muxed.mp4" "--compression" "1:none" -a 1 --no-chapters -D -S "D:\MeGUI\mod16.muxed.mp4" --ui-language en
--[Information] [10.01.2013 21:58:34] Muxing started
--[Information] [10.01.2013 21:58:37] Standard output stream
---[NoImage] mkvmerge v5.9.0 ('On The Loose') built on Dec 31 2012 17:36:59
---[NoImage] 'D:\MeGUI\mod16.muxed.mp4': Using the demultiplexer for the format 'QuickTime/MP4'.
---[NoImage] 'D:\MeGUI\mod16.muxed.mp4': Using the demultiplexer for the format 'QuickTime/MP4'.
---[NoImage] 'D:\MeGUI\mod16.muxed.mp4' track 0: Using the output module for the format 'AVC/h.264'.
---[NoImage] 'D:\MeGUI\mod16.muxed.mp4' track 1: Using the output module for the format 'MP3'.
---[NoImage] The file 'D:\MeGUI\mod16.muxed-muxed.mkv' has been opened for writing.
---[NoImage] 'D:\MeGUI\mod16.muxed.mp4' track 0: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 1284/544.
---[NoImage] The cue entries (the index) are being written...
---[NoImage] Muxing took 4 seconds.
--[Information] [10.01.2013 21:58:37] Standard error stream
--[Information] [10.01.2013 21:58:37] MediaInfo
---[Information] File: D:\MeGUI\mod16.muxed-muxed.mkv
---[Information] General
----[Information] Format: Matroska
----[Information] FormatString: Matroska
----[Information] FileSize: 96970496
----[Information] PlayTime: 01:45:25.680
---[Information] Video
----[Information] ID: 1
----[Information] StreamOrder: 0
----[Information] Width: 1284
----[Information] Height: 544
----[Information] FrameCount: 151816
----[Information] FrameRate: 24.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode: CFR
----[Information] ScanType: Progressive
----[Information] Codec: V_MPEG4/ISO/AVC
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 2.360
----[Information] AspectRatioString: 2.35:1
----[Information] Delay: 0
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default: Yes
----[Information] DefaultString: Yes
----[Information] Forced: No
----[Information] ForcedString: No
---[Information] Audio
----[Information] ID: 2
----[Information] StreamOrder: 1
----[Information] Format: MPEG Audio
----[Information] FormatProfile: Layer 3
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: VBR
----[Information] Delay: 0
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default: Yes
----[Information] DefaultString: Yes
----[Information] Forced: No
----[Information] ForcedString: No
--[Information] [10.01.2013 21:58:37] Postprocessing
---[Information] Deleting intermediate files
--[Information] [10.01.2013 21:58:37] Job completed

flebber
10th January 2013, 23:53
Its got me I couldn't not do it last night. I even restarted and it still happened, same files this morning working I am not sure.

Kurtnoise
11th January 2013, 07:30
Remove all files from logs & jobs folders and retry...

TSoft
11th January 2013, 13:41
Again my old issue :(
With OneClick trying to encode an avi to mp4 (the audio have the audio track with a delay of 3600ms):

[Error] Log for job1 (idx, prova.avi -> prova.avi.ffindex)
--[Information] [11/01/2013 13:29:52] Started handling job
--[Information] [11/01/2013 13:29:52] Preprocessing
--[Information] [11/01/2013 13:29:52] Job commandline: "C:\Program Files (x86)\MeGUI_2153_x86\tools\ffms\ffmsindex.exe" -t -1 -f "C:\Users\root\Desktop\Rip\prova.avi" "C:\Users\root\Desktop\Rip\pmx5humk.c0l\prova.avi.ffindex"
--[Information] [11/01/2013 13:29:52] Indexing started
--[Error] [11/01/2013 13:29:53] Process exits with error: 1
--[Information] [11/01/2013 13:29:53] Standard output stream: Indexing error: Audio decoding error
--[Information] [11/01/2013 13:29:53] Standard error stream

I tried out with different version of ffmsindex :(

LigH
11th January 2013, 13:50
And again, no MediaInfo analysis of the AVI file telling us which format the audio stream has.

TSoft
11th January 2013, 14:28
Audio is AC3 format.

Kurtnoise
11th January 2013, 14:59
Upload a sample of your AVI please...

TSoft
11th January 2013, 15:37
Upload a sample of your AVI please...

I removed the avi file. To work around the error i adjust the delay from the AC3 track with BeHappy, then remux in avi and then encode again with MeGui - OneClick to mp4
Sorry :(
The next avi that have the some problem I will upload a sample.

Thanks for now.

hello_hello
12th January 2013, 04:13
Here's a sample where indexing fails when the audio is included in the indexing. (7MB (https://www.yousendit.com/download/UW16S3dpTk1iR0lsYzlVag))

It seems like an ffms problem to me. When I opened the AVI from which that sample came with MPC-HC via a script like this:
LoadPlugin("C:\Program Files\MeGUI\tools\ffms\ffms2.dll")
FFAudioSource("E:\video.avi")
The index file was created and MPC-HC displayed a "no audio found" message.

If I delete the index file and use this script, I get audio and video after it's indexed:
LoadPlugin("C:\Program Files\MeGUI\tools\ffms\ffms2.dll")
FFIndex("E:\video.avi")
AudioDub(FFVideoSource("E:\video.avi"), FFAudioSource("E:\video.avi"))

Without deleting the index file ffms created the second time, if I open the first script again using MPC-HC I get audio.

docholliday
12th January 2013, 08:02
I have a problem with MeGUI. when it finished Encoded Audio it dosent Encode Video suddenly error and stop. Does anybody knows?

Kurtnoise
12th January 2013, 08:34
Here's a sample where indexing fails when the audio is included in the indexing. (7MB (https://www.yousendit.com/download/UW16S3dpTk1iR0lsYzlVag))

It seems like an ffms problem to me. When I opened the AVI from which that sample came with MPC-HC via a script like this:
LoadPlugin("C:\Program Files\MeGUI\tools\ffms\ffms2.dll")
FFAudioSource("E:\video.avi")
The index file was created and MPC-HC displayed a "no audio found" message.

If I delete the index file and use this script, I get audio and video after it's indexed:
LoadPlugin("C:\Program Files\MeGUI\tools\ffms\ffms2.dll")
FFIndex("E:\video.avi")
AudioDub(FFVideoSource("E:\video.avi"), FFAudioSource("E:\video.avi"))

Without deleting the index file ffms created the second time, if I open the first script again using MPC-HC I get audio.
Remux your avi into mkv and retry indexing...some informations in the mp3 header are missing for ffms.

I have a problem with MeGUI. when it finished Encoded Audio it dosent Encode Video suddenly error and stop. Does anybody knows?
:logfile:

tebasuna51
12th January 2013, 13:11
The problem is the same with TSoft and hello-hello samples:
The audio stream don't begin with a valid audio header.

But seems have different origen:
- The hello-hello sample occurs always than cut a avi, the cut is at video frame boundary but at the middle of a audio frame.
A decoder must search, at least, along a frame size to found a valid header.

- The TSoft sample seems have a fake avi audio delay, along the first 3600 ms there are garbage in audio stream.
Here there are a question, how many bytes must a decoder search for a valid audio header?
With NicAc3Source I put a limit of 1 MB than allow 13 seconds delay for a 640 Kb/s AC3 or 21 seconds for 192 Kb/s AC3.

When the avi is muxed to mkv, MkvMerge detect and delete the initial garbage (I don't know if there are a limit) and put the equivalent delay in the mkv header info. Problem solved.

Another workaround is use AVIMux_GUI (supplied with MeGUI) to extract the avi audio and add the delay (detected by AVIMux_GUI) to the end mix.

hello_hello
12th January 2013, 13:16
Remux your avi into mkv and retry indexing...some informations in the mp3 header are missing for ffms.

Yeah, I've got into the habit of doing that. What about the AVI containing AC3 someone mentioned earlier. Same reason?

Given ffms and AVIs haven't played together nicely for as long as I can remember, could MeGUI get around it by using VirtualDubMod for demuxing AVI audio? StaxRip does it that way and I guess it's nice to have the audio stream demuxed anyway.

hello_hello
12th January 2013, 13:32
The problem is the same with TSoft and hello-hello samples:

The audio stream don't begin with a valid audio header.
Another workaround is use AVIMux_GUI (supplied with MeGUI) to extract the avi audio and add the delay (detected by AVIMux_GUI) to the end mix.

I forgot about AVIMux_GUI. I opened the AVI with it, it showed me the same 320 bytes of junk data MKVMergeGUI did, and after AVIMux_GUI resave the AVI as a new file ffmsindex was quite happy to play.

Can AVIMux_GUI demux audio streams from AVIs via a script as VirtualDubMod does?

tebasuna51
12th January 2013, 13:43
Can AVIMux_GUI demux audio streams from AVIs via a script as VirtualDubMod does?

AVIMux_GUI can do some jobs with .amg scripts (was used by MeGUI to mux avi) but I don't know how can demux audio (and inform about delay) with a .amg script.

Maybe someone than know better the .amg script languaje.

Zathor
12th January 2013, 16:10
2278 [OneClick] added option to reset the working/output directories in the profile
2277 [OneClick] mux AVI/MP4 input files into MKV for better audio/video processing support

TSoft
12th January 2013, 20:49
2278 [OneClick] added option to reset the working/output directories in the profile
2277 [OneClick] mux AVI/MP4 input files into MKV for better audio/video processing support
Ok now it works without error, but on mux in to mp4 container the delay is forgotten.

I have just now encoded an avi with an audio track ac3 2 channels 192 kbps witch has a delay of 500ms, to mp4 with audio aac 48 kbps.

OneClick now works without error, but, at the end, the encoded mp4 was out of syncro exact 500ms.

Sorry for my english.

Zathor
12th January 2013, 20:59
Please upload a sample.

LeMoi
12th January 2013, 21:16
MEGui doesn't detect Haali Media Splitter (installed thru CCCP) and doesn't allow the use of the DSS2 AVS plugin. Even if the box is checked in the AVS creation window, it's not used in the final AVS file

hello_hello
12th January 2013, 21:22
OneClick now works without error, but, at the end, the encoded mp4 was out of syncro exact 500ms.

Are you using MPC-HC?? If it's a MPC-HC bug it's been there for years and I guess nobody else has noticed (except one other poster over at videohelp) but I can't get MPC-HC to obey the audio delay in MP4 files no matter what I do and I've tried just about everything. I even dragged out the earliest version of MPC-HC I have (2008) and it's the same.

If you're using MPC-HC check the MP4 with MediaInfo to see if there's an audio delay specified in the file as there should be. If there is, try another player. VLC should play it correctly.

TSoft
12th January 2013, 21:44
Please upload a sample.

Sample (http://ul.to/4dsr61uw)

TSoft
12th January 2013, 21:53
Are you using MPC-HC?? If it's a MPC-HC bug it's been there for years and I guess nobody else has noticed (except one other poster over at videohelp) but I can't get MPC-HC to obey the audio delay in MP4 files no matter what I do and I've tried just about everything. I even dragged out the earliest version of MPC-HC I have (2008) and it's the same.

If you're using MPC-HC check the MP4 with MediaInfo to see if there's an audio delay specified in the file as there should be. If there is, try another player. VLC should play it correctly.

No I don't use MPC-HC, I used WMP and VLC and in both the audio was out of syncro.

Zathor
12th January 2013, 23:05
MEGui doesn't detect Haali Media Splitter (installed thru CCCP) and doesn't allow the use of the DSS2 AVS plugin. Even if the box is checked in the AVS creation window, it's not used in the final AVS file
Please post your versions log. Also have a look into your registry if HKLM\SOFTWARE\HaaliMkx and the key Install_Dir is available. If yes check if in the mentioned path the file avss.dll is available.

Zathor
13th January 2013, 00:15
I have just now encoded an avi with an audio track ac3 2 channels 192 kbps witch has a delay of 500ms, to mp4 with audio aac 48 kbps. OneClick now works without error, but, at the end, the encoded mp4 was out of syncro exact 500ms.

Thx for your sample. Please post your full log file so that I can compare it with my own tests.

I did several test encodes (also with own files with 5s delay) and I have the same problem as hello_hello. When encoding the audio file everything is fine as the delay is removed in the encoding step and the resulting delay in the mp4 is 0ms - but when muxing the audio the delay is applied to the MP4 (correctly regarding mediainfo) but MPC does not use the delay value.

LeMoi
13th January 2013, 01:43
Please post your versions log. Also have a look into your registry if HKLM\SOFTWARE\HaaliMkx and the key Install_Dir is available. If yes check if in the mentioned path the file avss.dll is available.

--[Warning] [13/01/2013 01:37:25] Haali Matroska Splitter: not installed
--[Warning] [13/01/2013 01:37:25] Haali DSS2: not installed

I don't have HaaliMkx in HKLM/Software, maybe that's the problem.. Can I manually create it for the plugin detection to work ?

Wam7
13th January 2013, 02:17
Something has gone wrong for me with 2277/78.

Files that transcoded perfectly fine before now fail with errors. Even files that were created with MeGUI. These are .mp4 files.

The error log strangely refers to the file as 'Test.mkv' when in fact the name is 'Test.mp4'

[Error] Log for job10 (ext, Test.mkv -> )
-[Information] [13/01/2013 01:12:48] Started handling job
-[Information] [13/01/2013 01:12:48] Preprocessing
-[Information] [13/01/2013 01:12:48] Job commandline: "C:\Program Files (x86)\MeGUI\tools\mkvmerge\mkvextract.exe" tracks "K:\MeGUI Working Folder\csfhmvnj.rgi\Test.mkv" --ui-language en 1:"K:\MeGUI Working Folder\csfhmvnj.rgi\Test - [1] English.aac" 2:"K:\MeGUI Working Folder\csfhmvnj.rgi\Test - [2] English.TIMED.unknown" 3:"K:\MeGUI Working Folder\csfhmvnj.rgi\Test - [3] English.TIMED.unknown"
-[Information] [13/01/2013 01:12:48] Extracting started
-[Error] [13/01/2013 01:12:48] An error occurred: Error: No track with the ID 2 was found in the source file.
-[Error] [13/01/2013 01:12:48] Process exits with error: 2
-[Information] [13/01/2013 01:12:48] Standard output stream
-[Information] [13/01/2013 01:12:48] Standard error stream
-[Information] [13/01/2013 01:12:48] Job completed

MOS-Marauder
13th January 2013, 02:40
Hi Zathor...

I found a little Bug in the AVS Script Creator.. Its not passing Nvidia Deinterlace settings to the AVS. (Deinterlace=x)

Mara

TSoft
13th January 2013, 08:08
Thx for your sample. Please post your full log file so that I can compare it with my own tests.

I did several test encodes (also with own files with 5s delay) and I have the same problem as hello_hello. When encoding the audio file everything is fine as the delay is removed in the encoding step and the resulting delay in the mp4 is 0ms - but when muxing the audio the delay is applied to the MP4 (correctly regarding mediainfo) but MPC does not use the delay value.

Here the full log (http://pastebin.com/TNSHM0aM) of OneClick

Zathor
13th January 2013, 09:22
I don't have HaaliMkx in HKLM/Software, maybe that's the problem.. Can I manually create it for the plugin detection to work ?
Likely, yes. But I never tested/did that before.

Something has gone wrong for me with 2277/78. Files that transcoded perfectly fine before now fail with errors. Even files that were created with MeGUI. These are .mp4 files.
Please upload the full log with every step of the OneClick job (from beginning till the error). If possible also upload a short sample.

I found a little Bug in the AVS Script Creator.. Its not passing Nvidia Deinterlace settings to the AVS. (Deinterlace=x)
Thx, I will have a look.