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 21st December 2020, 06:03   #9101  |  Link
MrBonk
Registered User
 
Join Date: Aug 2015
Posts: 18
NVM seemed to have figured it out.

Last edited by MrBonk; 21st December 2020 at 06:52.
MrBonk is offline   Reply With Quote
Old 24th December 2020, 11:58   #9102  |  Link
Pringles
Registered User
 
Pringles's Avatar
 
Join Date: Jan 2004
Posts: 106
I'm having a performance issue with MeGui and a new computer build that is 7 times slower for AC3 encoding than my 10y old computer.

I'm drag n' dropping an mkv file with audio/video into the "Audio input" field, selected FFmpeg AC3 with these settings (nothing fancy) and that's about it.


With my new AMD 3900XT, B550, 64GB 3200MHz DDR4, SSD nvme, Win10 it takes about 8 minutes to process.



With my 10y old i7 2600K, P8P67, 16GB of RAM @ 1600MHz and 7200rpm HDD, Win7, it takes about 50 seconds:



I ran several performance benchmarks (Cinebench R20, Prime95, OCCT, memtest and userbenchmark) and it seems like everything is working like it should. Yet, it's 8 times slower with MeGui AC3 encoding.

Is the issue with MeGui or my computer? Can it be an Intel vs AMD thing?

Last edited by Pringles; 24th December 2020 at 12:11.
Pringles is offline   Reply With Quote
Old 24th December 2020, 12:27   #9103  |  Link
jlw_4049
Registered User
 
Join Date: Sep 2018
Posts: 328
Quote:
Originally Posted by Pringles View Post
I'm having a performance issue with MeGui and a new computer build that is 7 times slower for AC3 encoding than my 10y old computer.

I'm drag n' dropping an mkv file with audio/video into the "Audio input" field, selected FFmpeg AC3 with these settings (nothing fancy) and that's about it.


With my new AMD 3900XT, B550, 64GB 3200MHz DDR4, SSD nvme, Win10 it takes about 8 minutes to process.



With my 10y old i7 2600K, P8P67, 16GB of RAM @ 1600MHz and 7200rpm HDD, Win7, it takes about 50 seconds:



I ran several performance benchmarks (Cinebench R20, Prime95, OCCT, memtest and userbenchmark) and it seems like everything is working like it should. Yet, it's 8 times slower with MeGui AC3 encoding.

Is the issue with MeGui or my computer? Can it be an Intel vs AMD thing?
Is your core boosting during this time?

Sent from my SM-G986U1 using Tapatalk
jlw_4049 is offline   Reply With Quote
Old 24th December 2020, 12:47   #9104  |  Link
Pringles
Registered User
 
Pringles's Avatar
 
Join Date: Jan 2004
Posts: 106
Quote:
Originally Posted by jlw_4049 View Post
Is your core boosting during this time?

Sent from my SM-G986U1 using Tapatalk
It looks like it is if I'm not mistaken:


EDIT: tried the same encoding several times, it yields the same results -> 8 minutes

EDIT2: Tried your program and it's way faster so my understanding is that the issue comes from MeGui.


Last edited by Pringles; 24th December 2020 at 14:10.
Pringles is offline   Reply With Quote
Old 24th December 2020, 14:01   #9105  |  Link
jlw_4049
Registered User
 
Join Date: Sep 2018
Posts: 328
Quote:
Originally Posted by Pringles View Post
It looks like it is if I'm not mistaken:


EDIT: tried the same encoding several times, it yields the same results -> 8 minutes

EDIT2: Tried your program and it's way faster so my understanding is that the issue comes from MeGui.



EDIT3: but your program only encoded 59 minutes instead of the 2 hours for some reason
Is this only an issue with this file?

Im curious, could you potentially send me the file in question so I can mess with it later?

Sent from my SM-G986U1 using Tapatalk
jlw_4049 is offline   Reply With Quote
Old 24th December 2020, 14:27   #9106  |  Link
Pringles
Registered User
 
Pringles's Avatar
 
Join Date: Jan 2004
Posts: 106
Quote:
Originally Posted by jlw_4049 View Post
Is this only an issue with this file?

Im curious, could you potentially send me the file in question so I can mess with it later?

Sent from my SM-G986U1 using Tapatalk
Sorry I got mixed up with all the AC3 files I produced with MeGui and mixed up one MeGui aborted project with the result of your software which is working 100% fine and is way faster (about 30 seconds for this file).
Pringles is offline   Reply With Quote
Old 24th December 2020, 23:49   #9107  |  Link
jlw_4049
Registered User
 
Join Date: Sep 2018
Posts: 328
Quote:
Originally Posted by Pringles View Post
Sorry I got mixed up with all the AC3 files I produced with MeGui and mixed up one MeGui aborted project with the result of your software which is working 100% fine and is way faster (about 30 seconds for this file).
Glad mine is working good for you!

Sent from my SM-G986U1 using Tapatalk
jlw_4049 is offline   Reply With Quote
Old 20th January 2021, 22:31   #9108  |  Link
raymondjpg
Registered User
 
Join Date: Jan 2014
Posts: 116
Development Update Server is reporting FFMS uodate not available on server. Been a few days now.

--[Error] [21/01/2021 8:28:44 AM] Failed to download package FFMS: File cannot be found on the server.
--[Information] [21/01/2021 8:28:46 AM] Connected to server: http://megui.tmebi.de/test/
raymondjpg is offline   Reply With Quote
Old 21st January 2021, 06:53   #9109  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,194
Update the update.xml file in update_cache subfolder as
Code:
        <ffms type="file" requiredbuild="2624" build="64">
            <filepath date="2021-01-17" version="20201123">ffms2-20201123-64.7z</filepath>
        </ffms>
Kurtnoise is offline   Reply With Quote
Old 22nd January 2021, 05:31   #9110  |  Link
raymondjpg
Registered User
 
Join Date: Jan 2014
Posts: 116
Quote:
Originally Posted by Kurtnoise View Post
Update the update.xml file in update_cache subfolder as
Code:
        <ffms type="file" requiredbuild="2624" build="64">
            <filepath date="2021-01-17" version="20201123">ffms2-20201123-64.7z</filepath>
        </ffms>
That worked thank you.
raymondjpg is offline   Reply With Quote
Old 1st February 2021, 04:39   #9111  |  Link
tp9192
Registered User
 
Join Date: Jan 2021
Posts: 2
Hello, I used to encode videos to x264 with One Click Encoder, Constant Quality, in x264 config page, of around 22.0, and this 30 minute tv recording used to come out to around 900+ kbps and 200-250 MB. I encode the same exact show and now the end result is 600 kbps video and 70-80 MB and the video looks super bad.

Was there a recent change to the profiles or something? I ask because I recently upgraded MeGUI from 2828 to 2913. First time I upgraded it in like 2+ years I think. I am wondering if this related.
tp9192 is offline   Reply With Quote
Old 1st February 2021, 16:14   #9112  |  Link
jlw_4049
Registered User
 
Join Date: Sep 2018
Posts: 328
Quote:
Originally Posted by tp9192 View Post
Hello, I used to encode videos to x264 with One Click Encoder, Constant Quality, in x264 config page, of around 22.0, and this 30 minute tv recording used to come out to around 900+ kbps and 200-250 MB. I encode the same exact show and now the end result is 600 kbps video and 70-80 MB and the video looks super bad.



Was there a recent change to the profiles or something? I ask because I recently upgraded MeGUI from 2828 to 2913. First time I upgraded it in like 2+ years I think. I am wondering if this related.
Probably the x264 version change

Sent from my SM-G986U1 using Tapatalk
jlw_4049 is offline   Reply With Quote
Old 1st February 2021, 16:42   #9113  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,443
Quote:
Originally Posted by tp9192 View Post
Hello, I used to encode videos to x264 with One Click Encoder, Constant Quality, in x264 config page, of around 22.0, and this 30 minute tv recording used to come out to around 900+ kbps and 200-250 MB. I encode the same exact show and now the end result is 600 kbps video and 70-80 MB and the video looks super bad.

Was there a recent change to the profiles or something? I ask because I recently upgraded MeGUI from 2828 to 2913. First time I upgraded it in like 2+ years I think. I am wondering if this related.
Last year someone at VideoHelp upgraded to 2913 and complained about inconsistent file sizes when encoding the same video more than once.
https://forum.videohelp.com/threads/...rent-filesizes

Maybe the bundled x264 is broken, or whatever MeGUI uses to pipe the script output to the encoder these days (ffmpeg?).
I'm still on XP and for 32 bit windows there's no middle man. The script output is piped directly to the encoder. I'm using MeGUI 2913 though, and the file sizes are fine (although I think I rolled x264 back to the previous version as the bundled one no longer runs on XP).

I'd suggest rolling x264 back to the previous version and if that doesn't fix it, try rolling back ffmpeg or whatever MeGUI uses these days, assuming you're running a 64 bit version of Windows. 32 bit MeGUI encodes with 64 bit x264 on 64 bit Windows, and I think it uses ffmpeg to pipe the video to the encoder. I've no idea if the same applies to the 64 bit version of MeGUI.

Last edited by hello_hello; 1st February 2021 at 16:44.
hello_hello is offline   Reply With Quote
Old 3rd February 2021, 07:56   #9114  |  Link
Go
Registered User
 
Join Date: Jan 2021
Posts: 1
Hi,

1) I want to re-encode a lot of video files (FROM mpeg2-mkv TO avc-mkv). The only requirement is: output bitrate should be half of original (i.e. twice smaller).
All original files has different bitrate, so output bitrate should be calculated somehow. But how?

2) How to preserve tags (Movie name, Released date, Comment, DIRECTOR, Url, WRITTEN_BY) from original mkv-files? New encoded files doesn't contain these tags.

Thank you in advance!
Go is offline   Reply With Quote
Old 8th February 2021, 17:40   #9115  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 8,864
Go,
This don't comply with your requirements, but as no-one else replied I thought might be something to play with.
Maybe you can make some use of it.

Go.Bat [see REM's ie REMarks]
Code:
REM We DO NOT LIKE SPACES IN FILE NAMES (REM == REMark ie comment)
REM We DO NOT LIKE ACCENTS IN FILE NAMES.

setlocal

REM Where to Find ffmpeg
set FFMPEG="C:\BIN\ffmpeg.exe"

REM Where to get INPUT files, No terminating Backslash, "." = current directory (ie same as dir .bat file)
set INDIR="."


REM Where to place OUTPUT files, No terminating Backslash. "." would be same as .bat file, ".\OUTPUT" = OUTPUT folder in same directory as bat file.
set OUTDIR=".\OUTPUT"


REM OUTPUT:-  Video: codec=x264, Preset=Slow, CRF=23, Audio: aac 96Kb/s, Output in mkv container
SET VCODEC=libx264
SET PRESET=slow
SET CRF=23
SET ABITRATE=96K
SET CONTAINER=MKV

REM Below, can add INPUT extensions as eg *.avi (SPACE separated, Batch Processes all INPUT type files in INDIR)

FOR %%A IN (*.mpg *.mpeg *.mkv *.mp4) DO (
  %FFMPEG% -i "%INDIR%\%%A" -vcodec %VCODEC% -preset %PRESET% -crf %CRF%  -acodec aac -b:a %ABITRATE% "%OUTDIR%\%%~nxA.%CONTAINER%"
)

Pause
Try changing SET CRF=23 line, lower for higher quality and bitrate.
__________________
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 ???

Last edited by StainlessS; 8th February 2021 at 23:04.
StainlessS is offline   Reply With Quote
Old 9th February 2021, 04:49   #9116  |  Link
LouieChuckyMerry
Registered User
 
LouieChuckyMerry's Avatar
 
Join Date: Feb 2014
Posts: 333
Quote:
Originally Posted by Kurtnoise View Post
Update the update.xml file in update_cache subfolder as
Code:
        <ffms type="file" requiredbuild="2624" build="64">
            <filepath date="2021-01-17" version="20201123">ffms2-20201123-64.7z</filepath>
        </ffms>
Thanks for that.
LouieChuckyMerry is offline   Reply With Quote
Reply

Tags
megui

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 00:33.


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