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 2013, 01:22   #3761  |  Link
TECK
Registered User
 
Join Date: Apr 2005
Posts: 175
Converting a MKV container to MP4 always forces a video encode.
Converting a MP4 container to MKV never encodes the video.

This is confirmed by myself and another user.
__________________
Floren Munteanu
@yqed | why queued - my blog
TECK is offline   Reply With Quote
Old 21st December 2013, 07:11   #3762  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,929
Probably because mkvmerge accepts MP4 as input and certainly supports any content MP4 may contain; but the other way round, you cannot be certain that an MKV will contain MP4 compliant content. Only from the more specific to the more generic format.

If you first extract the MKV to elementary streams, they may be used to multiplex a new MP4 if compliant. MeGUI contains references to mkvextract; but I don't remember any feature which uses it explicitly...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 21st December 2013, 12:20   #3763  |  Link
luke83
Registered User
 
luke83's Avatar
 
Join Date: Oct 2010
Posts: 109
MeGui takes a lot of time when i load an hfyu_<title>.avs file in the main window

luke83 is offline   Reply With Quote
Old 21st December 2013, 12:23   #3764  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,929
Depends on the script. If it includes audio normalization, the whole audio stream is decoded and scanned while loading the script.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 21st December 2013, 12:35   #3765  |  Link
luke83
Registered User
 
luke83's Avatar
 
Join Date: Oct 2010
Posts: 109
Quote:
Originally Posted by LigH View Post
Depends on the script. If it includes audio normalization, the whole audio stream is decoded and scanned while loading the script.
that was the script resulting from the pre-rendering job. As it takes too much time, i run first pre-rendering job and then, another day, the avs -> 264 encoding.

The avs file is this

Code:
LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\ffms\ffms2.dll")
FFVideoSource("K:\Temp\Temp Megui\hfyu_amore.avi")
The avi file is about 22GB. However I've updated MeGui this morning. Before updating I never had problems. It took its time but not so much :/
luke83 is offline   Reply With Quote
Old 22nd December 2013, 03:30   #3766  |  Link
Wam7
Registered User
 
Join Date: Sep 2002
Location: U.K
Posts: 114
Quote:
Originally Posted by hello_hello View Post
Isn't that what the "never" option in the Encode dropdown box does (under Audio)? Or there's "encode if codec does not match".
Many thanks for pointing out my oversight!
Wam7 is offline   Reply With Quote
Old 22nd December 2013, 10:05   #3767  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,929
FFMS2 will index the AVI file for the first time loading it, and because it is a losslessly encoded video, it will have a lot of key frames, resulting in a big index file.

I remember that FFMS2 used to be not the best choice for uncompressed or losslessly compressed AVIs; AviSource may be preferable here.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 23rd December 2013, 11:06   #3768  |  Link
luke83
Registered User
 
luke83's Avatar
 
Join Date: Oct 2010
Posts: 109
Anyway, after megui reboot, it works as fast as before
luke83 is offline   Reply With Quote
Old 23rd December 2013, 11:10   #3769  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,929
Possibly because the index file now already existed.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 23rd December 2013, 11:36   #3770  |  Link
luke83
Registered User
 
luke83's Avatar
 
Join Date: Oct 2010
Posts: 109
Quote:
Originally Posted by LigH View Post
Possibly because the index file now already existed.
yes, sure, but before update it didn't take so much time :/
However, it works even if it takes a lot of time. Just this matters. I was worried it loaded forever :P
luke83 is offline   Reply With Quote
Old 23rd December 2013, 16:24   #3771  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,929
I am not certain if earlier MeGUI versions preferred AviSource over FFMS2 for all AVIs, or if earlier versions of FFMS2 indexed lossless AVIs less thoroughly (even buggy)... Well possible that there are differences.

If a newer version of MeGUI would prefer L-SMASH Source, the indexing timing may vary again.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 23rd December 2013, 20:05   #3772  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,402
Quote:
Originally Posted by LigH View Post
If a newer version of MeGUI would prefer L-SMASH Source...
Still on the list - but no time so far. Btw when to use LSMASHVideoSource and when LWLibavVideoSource (different demuxer as I can see)? Are there any specific switches/settings I should take care of?
Zathor is offline   Reply With Quote
Old 23rd December 2013, 20:13   #3773  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,929
I only know little about it, but what I discovered from the readme: L-SMASH is a demultiplexer only for MP4. It has an additional stream parameter. May be useful for MP4 files with some multiple stream configurations...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 24th December 2013, 04:42   #3774  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 3,969
For some reason when encoding with Xvid, MeGUI always seems to create an AVI with a FourCC of Xvid, even when choosing a different FourCC such as DX50. I'm using MeGUI version 2418.
Thanks.
hello_hello is offline   Reply With Quote
Old 24th December 2013, 06:01   #3775  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,929
MeGUI doesn't create the content by itself, it only lets the required encoder (xvid_encraw) run.

There are two different FourCCs: a) which encoder created the video stream {xvid}, b) which decoder should be used to decode it {DX50|XVID|...}. VfW based editors and analysis tools usually refer to the first one, while DirectShow based PC software players and also consumer players should refer to the second.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 24th December 2013, 07:59   #3776  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,402
Quote:
Originally Posted by hello_hello View Post
For some reason when encoding with Xvid, MeGUI always seems to create an AVI with a FourCC of Xvid, even when choosing a different FourCC such as DX50.
I just had a quick look into the code and it seems that the fourcc value is never used. So it must be a problem existing for years. Also I do not know how to change it. xvid encraw cannot change it (or is there a hidden switch?). Only "solution" is to hide this selection box in the GUI.
Zathor is offline   Reply With Quote
Old 24th December 2013, 08:08   #3777  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,929
Now that's interesting ... did you plan to support a FourCC changer (which ever)? Or is it left from trying to use mencoder, the name base of MeGUI?

Anyway, merry Christmas. And thank you for your continuing efforts to provide the most useful video converter GUI.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 24th December 2013, 09:38   #3778  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,402
Quote:
Originally Posted by LigH View Post
Now that's interesting ... did you plan to support a FourCC changer (which ever)? Or is it left from trying to use mencoder, the name base of MeGUI?
No clue - is it needed to change the FourCC at all? Nobody has noticed that the option is buggy for a long, long time.

Quote:
Originally Posted by LigH View Post
Anyway, merry Christmas. And thank you for your continuing efforts to provide the most useful video converter GUI.
Thank you very much - Merry Christmas to you, too and everyone else!
And thanks for your support to MeGUI and this forum.
Zathor is offline   Reply With Quote
Old 24th December 2013, 11:02   #3779  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 3,969
Quote:
Originally Posted by Zathor View Post
No clue - is it needed to change the FourCC at all? Nobody has noticed that the option is buggy for a long, long time.
Probably not. The only reason I even noticed myself is due to a discussion in another forum regarding non Divx certified DVD/Bluray players and their possible unwillingness to play video with a Divx FourCC, so I thought I'd create a few test files from scratch with MeGUI.
The Xvid Home Theatre profile automatically selects DX50 in MeGUI's encoder configuration so I expected that's what'd be used, but I can't think of a reason why it'd be necessary. I checked a bunch of old AVIs encoded with AutoGK (hardware compatibility option enabled) and the FourCC used was Xvid.

For the record, of the two Bluray players in this house the Sony player refuses to play AVIs with a DX50 FourCC, but it'll play the same video fine if I change the FourCC to Xvid. The Samsung Bluray player will play either, so it appears of the two, an Xvid FourCC will be compatible with more players.

Merry Xmas.
hello_hello is offline   Reply With Quote
Old 24th December 2013, 16:27   #3780  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,402
Code:
2431 [Update] optional packages will only be downloaded/enabled if needed
              therefore during first use of such packages an online connection may be required
	      if a package is not used in 60 days it will be disabled again
	      currently the following packages are disabled by default (more to come):
	      DGIndexNV, FFmpeg, MKVMerge, NeroAACenc, QAAC, x264, x264_10b, x265
	      DGIndexNV, NeroAACenc, QAAC and x265 still need to be enabled in the MeGUI settings
	      NeroAACenc, QAAC and x265 need a restart of MeGUI so that the presets are enabled
2430 [OneClick] fixed unnecessary resize/crop in some cases (regression of 2357)
2429 [Update] version/date information will be shown also for disabled packages
2428 [Update] disabled packages are not hidden anymore
Please test if the update feature works as intended. E.g. if you do not use MKVMerge the dedicated tools folder can be deleted and the update check will not force to download it again. But as soon as you use MKVMerge it will be checked and then the folder is of course required.

Last edited by Zathor; 24th December 2013 at 16:31.
Zathor 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 03:13.


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