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

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

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th August 2024, 11:27   #121  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,076
Quote:
Originally Posted by Kurt.noise View Post
- Switched update development tools server to the fork one - mainly x64 binaries in there at this time.
Now in Options->Extended we can select between:
- Use development update server
- Use custom update server

Use the second one (custom) because if you select the development when select Tools->Update you get very old server versions not recommended:
Attached Images
 
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 24th August 2024, 12:00   #122  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,076
Quote:
Originally Posted by Kurt.noise View Post
- Introduced svt-av1-psy Video Encoder (https://github.com/gianni-rosato/svt-av1-psy)
We need download manualy the encoder and put it in:

...\MeGUI_66\tools\svtav1psy\SvtAv1EncApp.exe

Because it is not included in the Tools->Update

Even the message if you try encode to AV1 without the manual download:
Attached Images
 
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 24th August 2024, 14:45   #123  |  Link
Kurt.noise
Registered User
 
Join Date: Nov 2022
Location: Aix en Provence, France
Posts: 52
Quote:
Originally Posted by tebasuna51 View Post
Sorry but still don't work:
Code:
-[Information] Log for job2 (audio, 4_2-2.ac3 -> 4_2-2.flac)
--[Information] [24/08/2024 10:53:19] MediaInfo
---[Information] File: C:\tmp\4_2-2.ac3
----[Information] ChannelLayout: L R Ls Rs    ANY
...
--[Information] [24/08/2024 10:53:24] Job command line: C:\Portablz\MeGUI_66\tools\flac\flac.exe -5 - -o "C:\tmp\4_2-2.flac"
--[Information] [24/08/2024 10:53:24] MediaInfo
---[Information] File: C:\tmp\4_2-2.flac
----[Information] ChannelsString: 4 channels  RESPECT NUM-CHAN
----[Information] ChannelLayout: L            ALWAYS ONLY L
The avs script work fine, the problem is how MeGUI send the AviSynth STDOUT WAV_FORMAT_EXTENSIBLE file to the encoder.

And not only with flac encoder, also don't work with a recode with ffmpeg:

Code:
-[Information] Log for job2 (audio, 4_2-1.1.ac3 -> 4_2-1.1_new.ac3)
---[Information] File: C:\tmp\4_2-1.1.ac3
----[Information] ChannelLayout: L R Cb LFE   ANY
...
--[Information] [24/08/2024 11:08:40] Job command line: C:\Portablz\MeGUI_66\tools\ffmpeg\ffmpeg.exe -i - -y -acodec ac3 -ab 384k "C:\tmp\4_2-1.1_new.ac3"
---[Information] [24/08/2024 11:08:40] [aist#0:0/pcm_s24le @ 000001c10c0ee6c0] Guessed Channel Layout: 4.0
...
---[Information] File: C:\tmp\4_2-1.1_new.ac3
----[Information] ChannelLayout: L R C Cb     ALWAYS THE FFMPEG DEFAULT Guessed Channel Layout: 4.0
Of course a direct:
ffmpeg.exe -i "C:\tmp\4_2-1.1.ac3" -acodec ac3 -ab 384k "C:\tmp\4_2-1.1_new.ac3"
preserve the ChannelLayout correctly
And also using BeHappy work fine (with manual set of MaskChannel)
Well ok...may I missed something. Will check.

Quote:
Now in Options->Extended we can select between:
- Use development update server
- Use custom update server

Use the second one (custom) because if you select the development when select Tools->Update you get very old server versions not recommended:
Yes, thats why I recommend to install this new release into a new folder and update components afterwards.

I get this on my side using development server :


Quote:
We need download manualy the encoder and put it in:

...\MeGUI_66\tools\svtav1psy\SvtAv1EncApp.exe

Because it is not included in the Tools->Update

Even the message if you try encode to AV1 without the manual download:
Its because you have downloaded the release from yesterday, right ? I've made a silent build this morning in order to prevent that.
Kurt.noise is offline   Reply With Quote
Old 24th August 2024, 14:55   #124  |  Link
charliedj
Registered User
 
charliedj's Avatar
 
Join Date: Nov 2012
Posts: 2
I have this error and i don't know how to resolve:



It happens both when trying to make the index file (with FFMSIndex or L-SMASH Works) and if I load an avs script (without filters of any kind).
I use Avisynth AviSynthPlus_3.7.3_20230715, windows 11 pro, AvsPmod_v2.7.7.8, VisualCppRedist_AIO_x86_x64.
I had no problems with the MeGui.x64-6666.1007 version. I only rip to x264.

Can anyone help me?
Thanks
charliedj is offline   Reply With Quote
Old 24th August 2024, 17:08   #125  |  Link
Kurt.noise
Registered User
 
Join Date: Nov 2022
Location: Aix en Provence, France
Posts: 52
LWlibavVideoSource() from lsmash-works can't be used to open avs scripts. Did you have both bborders.avsi & bbmodY.avsi in your plugins avisynth folder ? Did you really need that ? Also, retry with a short name.

Last edited by Kurt.noise; 24th August 2024 at 17:12.
Kurt.noise is offline   Reply With Quote
Old 24th August 2024, 18:22   #126  |  Link
charliedj
Registered User
 
charliedj's Avatar
 
Join Date: Nov 2012
Posts: 2
Quote:
Originally Posted by Kurt.noise View Post
LWlibavVideoSource() from lsmash-works can't be used to open avs scripts. Did you have both bborders.avsi & bbmodY.avsi in your plugins avisynth folder ? Did you really need that ? Also, retry with a short name.
Thanks for you help.


The procedure I use to make the index file to create the avi script is: Megui - Tools - File indexer - Inpunt file - FFMSIndex or L-Smash.
I removed bborders.avsi and bbmodY.avsi , which I was using anyway, the result is this (with the short name):


The same crash is created if, by recalling a previously created avs script, I try to launch the encode and the same window appears.
In my opinion there is a problem with the latest version of MeGUi. If I try to install the old ones it updates and I'm all over again.
charliedj is offline   Reply With Quote
Old 25th August 2024, 04:01   #127  |  Link
Kurt.noise
Registered User
 
Join Date: Nov 2022
Location: Aix en Provence, France
Posts: 52
How would I know ?
Kurt.noise is offline   Reply With Quote
Old 27th August 2024, 09:32   #128  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,076
Quote:
Originally Posted by Kurt.noise View Post
...
Its because you have downloaded the release from yesterday, right ? I've made a silent build this morning in order to prevent that.
Ok now, thanks.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 27th August 2024, 13:11   #129  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,992
Quote:
Originally Posted by Kurt.noise View Post
Hi,

A new fresh build has been released :

- Introduced svt-av1-psy Video Encoder (https://github.com/gianni-rosato/svt-av1-psy)
- Added FFV1 Video Encoder (https://ffmpeg.org/)
- Switched update development tools server to the fork one - mainly x64 binaries in there at this time.
- Added 10bits encoding setting for x265
- Fixed WAV_FORMAT_EXTENSIBLE for multichannel sources for FLAC transcodings.



Enjoy.
Ooooo, lovely!
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 27th August 2024, 13:30   #130  |  Link
kalehrl
Registered User
 
Join Date: Feb 2011
Posts: 345
Does MeGUI autoload all plugins from \tools\avisynth_plugin?
I'm using the included avisynth+

Last edited by kalehrl; 27th August 2024 at 14:14.
kalehrl is offline   Reply With Quote
Old 27th August 2024, 14:12   #131  |  Link
Kurt.noise
Registered User
 
Join Date: Nov 2022
Location: Aix en Provence, France
Posts: 52
Quote:
Originally Posted by kalehrl View Post
Does MeGUI autoloads all plugins from \tools\avisynth_plugin?
I'm using the included avisynth+
normally, yes...except bestsource for Audio decoding.
Kurt.noise is offline   Reply With Quote
Old 29th August 2024, 09:51   #132  |  Link
kalehrl
Registered User
 
Join Date: Feb 2011
Posts: 345
When you switch from stable to development server and restart, you will get an update notification to downgrade tools.
Switching back to stable will not fix the issue.
So, once you change the server, you will always get annoying downgrade notification.
kalehrl is offline   Reply With Quote
Old 29th August 2024, 12:45   #133  |  Link
Kurt.noise
Registered User
 
Join Date: Nov 2022
Location: Aix en Provence, France
Posts: 52
yes, I'm looking at it. Anyway, I think I will drop definitively the "stable" server from my fork for easier maintenance.
Kurt.noise is offline   Reply With Quote
Old 30th August 2024, 20:36   #134  |  Link
kalehrl
Registered User
 
Join Date: Feb 2011
Posts: 345
I get this error when I try to encode with ffmpeg aac:
Code:
[Error] [30.8.2024. 21:31:11] An error occurred
-[Error] [30.8.2024. 21:31:11] Exception message: The pipe has been ended.
-[Error] [30.8.2024. 21:31:11] Stacktrace
--[NoImage]    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
--[NoImage]    at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
--[NoImage]    at MeGUI.AviSynthAudioEncoder.Encode() in C:\Users\LionelDUCHATEAU\Downloads\megui_git\megui\packages\audio\AudioEncoderInterface.cs:line 552
-[Error] [30.8.2024. 21:31:11] Inner exception: null
kalehrl is offline   Reply With Quote
Old 16th September 2024, 04:06   #135  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,898
Following are highlights from the log file created by MeGUI when using the HD Streams Extractor (MeGUI 6666.2308 and eac3to 3.352).

Code:
[Warning] HD Streams Extractor
-[Information] [16/09/2024 12:43:07 pm] Input: M:\NVME1\gap.mkv
-[Information] [16/09/2024 12:43:07 pm] Arguments: "M:\NVME1\gap.mkv"
-[Warning] Unknown line: "Running in normal mode"
-[Warning] Unknown line: "Removing dialnorm"
-[Information] [16/09/2024 12:43:08 pm] MKV, 1 video track, 1 audio track, 0:09:55, 30p/1.001
-[Information] [16/09/2024 12:43:08 pm] 1: h264/AVC, English, 720p30/1.001 (16:9)
-[Information] [16/09/2024 12:43:08 pm] MediaInfo
--[Information] File: M:\NVME1\gap.mkv
--[Information] General
---[Information] Format: Matroska
---[Information] FileSize: 906449307
---[Information] PlayTime: 00:09:54.504
--[Information] Video
---[Information] ID: 1
.
.
-[Information] [16/09/2024 12:43:08 pm] 2: AAC, English, 2.0 channels, 48kHz, dialnorm: 0dB, 20ms
-[Information] [16/09/2024 12:43:08 pm] Feature Retrieval Completed

[Warning] Log for job1 (ext, gap.mkv -> NVME2)
-[Information] [16/09/2024 12:43:14 pm] Started handling job
-[Information] [16/09/2024 12:43:14 pm] Preprocessing
-[Information] [16/09/2024 12:43:14 pm] Job command line: "C:\Program Files\MeGUI\tools\eac3to\eac3to.exe"
"M:\NVME1\gap.mkv" 1:"M:\NVME2\gap_T1_Video - English.mkv" 2:"M:\NVME2\gap_T2_Audio - English.aac" -keepDialnorm -progressnumbers
-[Information] [16/09/2024 12:43:14 pm] Process started
-[Warning] [16/09/2024 12:43:14 pm] Standard output stream
--[Information] [16/09/2024 12:43:14 pm] Running in normal mode                                                         
--[Information] [16/09/2024 12:43:14 pm] Keeping dialnorm                                                               
--[Information] [16/09/2024 12:43:15 pm] MKV, 1 video track, 1 audio track, 0:09:55, 30p/1.001                          
--[Information] [16/09/2024 12:43:15 pm] 1: h264/AVC, English, 720p30/1.001 (16:9)                                      
--[Information] [16/09/2024 12:43:15 pm] 2: AAC, English, 2.0 channels, 48kHz, dialnorm: 0dB, 20ms                      
--[Information] [16/09/2024 12:43:15 pm] v01 Extracting video track number 1...                                         
--[Information] [16/09/2024 12:43:15 pm] a02 Extracting audio track number 2...                                         
--[Information] [16/09/2024 12:43:15 pm] a02 Applying AAC delay...                                                      
--[Information] [16/09/2024 12:43:15 pm] a02 A remaining delay of -1ms could not be fixed.                              
--[Information] [16/09/2024 12:43:15 pm] v01 Muxing video to Matroska...                                                
--[Information] [16/09/2024 12:43:15 pm] a02 Creating file "M:\NVME2\gap_T2_Audio - English.aac"...                     
--[Information] [16/09/2024 12:43:21 pm] Added fps value (30/1.001) to MKV header.                                      
--[Information] [16/09/2024 12:43:21 pm] Video track 1 contains 17798 frames.                                           
--[Information] [16/09/2024 12:43:21 pm] eac3to processing took 6 seconds.                                              
--[Information] [16/09/2024 12:43:21 pm] Done.                                                                          
--[Warning] [16/09/2024 12:43:22 pm] [a02] Audio has a gap of 585ms at playtime 0:03:11.  <WARNING>
-[Information] [16/09/2024 12:43:14 pm] Standard error stream
-[Information] [16/09/2024 12:43:22 pm] Postprocessing
-[Information] [16/09/2024 12:43:22 pm] Job completed
Does MeGUI pay any attention to the new eac3to ini file? It's just that for version 1405 I thought it might have changed what MeGUI was doing. I'm sure at some point the HD Streams Extractor section in the log still contained the warning but -keepDialnorm wasn't in the command line. I was probably confused....
I was trying to find out why eac3to no longer fixes audio gaps so I changed MeGUI and eac3to versions a couple of times.

Thanks.
hello_hello is offline   Reply With Quote
Old 16th September 2024, 07:49   #136  |  Link
Kurt.noise
Registered User
 
Join Date: Nov 2022
Location: Aix en Provence, France
Posts: 52
Quote:
Originally Posted by hello_hello View Post
Does MeGUI pay any attention to the new eac3to ini file?
nope...
Kurt.noise is offline   Reply With Quote
Old 16th September 2024, 10:29   #137  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,076
Quote:
Originally Posted by hello_hello View Post
Following are highlights from the log file created by MeGUI when using the HD Streams Extractor (MeGUI 6666.2308 and eac3to 3.352).
Maybe 3.52

Quote:
Does MeGUI pay any attention to the new eac3to ini file?
Like Kurt say "nope..." and show warnings for "Unknown line...", but eac3to yes.

BTW check your eac3to.ini file like I say you in eac3to no longer fixes audio gaps

Can you upload your sample file? to make test by command line (out of HDStreamsExtractor) to confirm the behaviour.

Or execute in command line, and put the log:

"C:\Program Files\MeGUI\tools\eac3to\eac3to.exe" "M:\NVME1\gap.mkv" 2:"M:\NVME2\gap_T2_Audio - English.aac"
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 16th September 2024 at 10:36. Reason: add info
tebasuna51 is offline   Reply With Quote
Old 16th September 2024, 14:09   #138  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,898
Yes I made a boo boo as I meant version 3.52.

If only I'd read your post 10 minutes earlier.... I thought it'd be easy to make another sample until eac3to 3.36 decided to ignore the gap too. There must be a minimum size or duration before it's interested as the first couple of samples I made were only about 30 seconds long.

As you can see for these two, foobar2000 is able to pretend there's no gap and report different audio durations for each, but it's the same audio. I split the sample in half, delayed the audio in the second half by 1500ms, then put the two halves back together. If you extract the AAC from 1500ms.mkv without accounting for the gap, when you stick the AAC into a container again foobar2000 will display 01:16.800 as the duration instead of 01:18.300.

Naturally 1500ms.mkv will lose A/V sync about half way through.

Gap Sample.zip



Code:
eac3to v3.36
command line: "C:\Program Files\MeGUI\tools\eac3to\eac3to.exe" "M:\NVME1\1500ms.mkv"
1:"M:\NVME2\1500ms_T1_Video - English.mkv" 2:"M:\NVME2\1500ms_T2_Audio - English.aac" -progressnumbers
------------------------------------------------------------------------------
MKV, 1 video track, 1 audio track, 0:01:18, 50p
1: h264/AVC, English, 1080p50 (16:9)
2: AAC, English, 2.0 channels, 48kHz
[v01] Extracting video track number 1...
[a02] Extracting audio track number 2...
[v01] Muxing video to Matroska...
[a02] Creating file "M:\NVME2\1500ms_T2_Audio - English.aac"...
[a02] Audio has a gap of 1500ms at playtime 0:00:32.  <WARNING>
[a02] Starting 2nd pass...
[a02] Extracting audio track number 2...
[a02] Realizing AAC gaps...
[a02] Creating file "M:\NVME2\1500ms_T2_Audio - English.aac"...
Added fps value (50) to MKV header.
Video track 1 contains 3840 frames.
eac3to processing took 1 second.
Done.
I tried appending the delayed section to the end of the original MKV to see if maybe a longer duration would make a difference, but according to the log file eac3to 3.52 noticed the gaps but didn't fix them. I deleted the eac3to ini file first.

Code:
[Warning] [16/09/2024 10:48:40 pm] Standard output stream
-[Information] [16/09/2024 10:48:40 pm] Running in normal mode                                                         
-[Information] [16/09/2024 10:48:40 pm] Keeping dialnorm                                                               
-[Information] [16/09/2024 10:48:40 pm] MKV, 1 video track, 1 audio track, 0:30:06, 50p                                
-[Information] [16/09/2024 10:48:40 pm] 1: h264/AVC, English, 1080p50 (16:9)                                           
-[Information] [16/09/2024 10:48:40 pm] 2: AAC, English, 2.0 channels, 48kHz, dialnorm: 0dB                            
-[Information] [16/09/2024 10:48:40 pm] v01 Extracting video track number 1...                                         
-[Information] [16/09/2024 10:48:40 pm] a02 Extracting audio track number 2...                                         
-[Information] [16/09/2024 10:48:40 pm] v01 Muxing video to Matroska...                                                
-[Information] [16/09/2024 10:48:41 pm] a02 Creating file "M:\NVME2\A-001 (1)_T2_Audio - English.aac"...               
-[Information] [16/09/2024 10:48:53 pm] Added fps value (50) to MKV header.                                            
-[Information] [16/09/2024 10:48:53 pm] Video track 1 contains 90242 frames.                                           
-[Information] [16/09/2024 10:48:53 pm] eac3to processing took 13 seconds.                                             
-[Information] [16/09/2024 10:48:53 pm] Done.                                                                          
-[Warning] [16/09/2024 10:48:54 pm] [a02] Audio has a gap of 18ms at playtime 0:28:48.  <WARNING>
-[Warning] [16/09/2024 10:48:54 pm] [a02] Audio has a gap of 1500ms at playtime 0:29:20.  <WARNING>

Last edited by hello_hello; 16th September 2024 at 14:35.
hello_hello is offline   Reply With Quote
Old 17th September 2024, 12:42   #139  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 7,076
Not related at all with MeGUI or HDStreamsExtractor, is a eac3to problem present from v3.40.
More info in thread eac3to no longer fixes audio gaps
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 30th September 2024, 01:57   #140  |  Link
LouieChuckyMerry
Registered User
 
LouieChuckyMerry's Avatar
 
Join Date: Feb 2014
Posts: 407
Kurt.noise: Thank you for your MeGUI 6666 work . A couple questions:

1) I was able to simply copy-paste my standard MeGUI's x264 and QAAC profiles to their corresponding folders in your version without issue, but copying-pasting my AviSynth profiles results in the error message "The file could not be loaded: 'PATH... .xml' It will be moved to the backup directory: 'PATH...' for each individual profile when I start MeGUI 6666. Any idea why?

2) All attempts to downmix audio results in MeGUI 6666 crashing, regardless of the "Preferred Decoder" selected.

Thanks for any help.
LouieChuckyMerry is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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

Forum Jump


All times are GMT +1. The time now is 07:49.


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