View Full Version : AutoMKV 0.93a - (DVD/TS/AVI/AVS to X264/XviD/WVC1 into MKV/MP4/WMV) update 30/12/2007
Barleyman
10th October 2007, 23:05
I managed to mess up my codec/decodec setup by trying a media encoder based gui that installed k-lite. Things should be back to normal now :rolleyes:
However, audio normalization always stalls with no error messages but unresponsive "converting file" window. Same thing happens from virtualdubmod. Any ideas on that? Maybe it's ffdshow problem but I did set up the audio settings like the wiki says..
mkvaudio.avs looks like this:
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SoundOut.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FFmpegSource.dll")
DirectShowSource("E:\Movies-E\test\sample.mkv",fps=23.976,convertfps=true,video=false)
#Applying STEREO downmixing routines
function stereo(clip a)
{
flr = GetChannel(a, 1, 2)
fcc = GetChannel(a, 3)
lfe = GetChannel(a, 4)
lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
mix = MergeChannels(lfc, lfc)
lrc = MixAudio(flr, mix, 0.2929, 1.0)
blr = GetChannel(a, 5, 6)
Return MixAudio(lrc, blr, 1.0, 0.2929)
}
#
6==Audiochannels() ? stereo() : last
function addvideo(clip c) {
blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
Return audiodub(last,c)
}
Normalize()
ConvertAudioTo16bit()
Soundout(output="wav",type=1,autoclose=true,filename="audio.wav",showoutput=false)
and that's the log file up to that point..
01:01:23 0.90d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
01:01:23 Selected Input file: E:\Movies-E\test\sample.mkv
01:01:23 Selected Output dir: E:\Movies-E\test\temp\
01:01:23 Selected Final Name: sample
01:01:23 Selected Container type: WMV
01:01:23 Selected Encoder: WMV
01:01:23 Selected Size: Don't care about size / 1
01:01:23 Selected Profile: Constant_Quality.xml
01:01:23 Selected Resizer: NONE / Original
01:01:23 Selected Filters: RemoveGrain(mode=2)
01:01:23 Selected Deinterlacer: Progressive
01:01:23 Selected Field Order: AUTO
01:01:23 Specify Quality: 90
01:01:23 NeroAACEnc.exe: not present
01:01:23 Enabled CRF/CQ AutoRes at 90 value
01:01:23 Activate PGC Ripping: -1
01:01:23 Track Language 1: sample.mkv
01:01:23 Audio Codec 1: WMV
01:01:23 Audio Quality 1: 384
01:01:23 Audio Channel 1: Stereo
01:01:23 Advanced Audio Settings DUMP Track 1
01:01:23 Audio Track Language: und
01:01:23 Nero Option Profiles: AUTO --- Encoding Mode: Quality
01:01:23 CCT Option Profiles: AUTO --- Channel Options: AUTO
01:01:23 Lame Settings: ABR
01:01:23 Audio Normalization: 1
01:01:23 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
01:01:23 Advanced Audio Settings DUMP Track 2
01:01:23 Nero Option Profiles: AUTO --- Encoding Mode: Quality
01:01:23 CCT Option Profiles: AUTO --- Channel Options: AUTO
01:01:23 Lame Settings: ABR
01:01:23 Audio Normalization: 1
01:01:23 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
01:01:23
01:01:23 Avi engage mode not corrected, switched to DirectShowSource
01:01:24 !!! WARNING - Trying with FFmpegSource
01:01:25 Aspect ratio: 1.778
01:01:25 Number of Frames: 1473
01:01:25 Framerate: 23.976
01:01:25 Movie length in Seconds: 62
01:01:25 Movie Width/Height: 1280/720
01:01:25 Aspect ratio: 1.778
01:01:25 Number of Frames: 1473
01:01:25 Framerate: 23.976
01:01:25 Movie length in Seconds: 62
01:01:25 Movie Width/Height: 1280/720
01:01:25 Encoding E:\Movies-E\test\temp\ to WAV , as pre-process to WMV
leebo
11th October 2007, 02:47
@leebo
make sure you have installed all required softwares... and retry :)
BHH
I installed avisynth, and xvid. I'm afraid to instal ffdshow because I'm worried it will mess up my installed codecs.
buzzqw
11th October 2007, 06:54
@Zow
you can use the joining features of dvd2one or some other more evoluted software (like pgcedit)
BUT , personally, i prefere to make 2 movie, so the synch is assured, then join with mkvmerge
@Barleyman
the normalization process could be very long (about 15 min for 2 hour movies)
BUT for 62 sec clip.. is just a matter of seconds...
try this.. open mkvmaudio.avs, remove the soundout line and open the script in media player classic. Is played correctly ?
if not.. there is some issue on decoding part...
BHH
bisdelf
11th October 2007, 16:30
hi, i've some "gui fix" to suggest:
in basic settings, audio, if you choose "copy original" it will look better and more functional if the quality-bar becomes hidden.
log-tab:
the log will appear a lot more easier if all the options that are not used, are not displayed. for example:
17:13:51 Track Language 1: E:\audio.ac3
17:13:51 Audio Codec 1: Copy Original
17:13:51 Audio Quality 1: 0.35
17:13:51 Audio Channel 1: Stereo
17:13:51 Advanced Audio Settings DUMP Track 1
17:13:51 Nero Option Profiles: AUTO --- Encoding Mode: Quality
17:13:51 CCT Option Profiles: AUTO --- Channel Options: AUTO
17:13:51 Lame Settings: ABR
17:13:51 Audio Normalization: 1
17:13:51 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
17:13:51 Advanced Audio Settings DUMP Track 2
17:13:51 Nero Option Profiles: AUTO --- Encoding Mode: Quality
17:13:51 CCT Option Profiles: AUTO --- Channel Options: AUTO
17:13:51 Lame Settings: ABR
17:13:51 Audio Normalization: 1
17:13:51 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
i chose copy original and one track only, all these information are (imho) useless.
tell me what you think ;)
PS: i'll check other "style-issues"
Barleyman
11th October 2007, 18:12
try this.. open mkvmaudio.avs, remove the soundout line and open the script in media player classic. Is played correctly ?
if not.. there is some issue on decoding part...
Actually it's 18 second clip! And yeah, mkvaudio.avs makes mediaplayer classic, gspot and some other things stall. Interesting.
However the audio plays just fine when I play the clip on MPC (with internal filters disabled..)
EDIT: Okey dokey, the bad guy was haali media splitter. Get out of town!
Barleyman
11th October 2007, 19:37
Now some more about wmv encoding (yes yes, I'm still obsessed about figuring out how to make nice wmv's I can play with xbox 360 in 720p!)
.. It'd be nice if there was easier way to define I want "AC3-like" audio, ergo WMAPRO, 384 and 6 channels. With wmv8 2-pass vbr profile it's touch + go because the rate control slider doesn't know about 384 and so on.. I can't figure out how to edit the profiles to make those default either, it doesn't appear the bitrate and channel count are defined in profile..
Also the "constant quality"-profile appears to be WVC1 slooooow profile. How about a nice wmv8/wmv9 1-pass vbr quality-based profiles?
Choosing external subtitles is somewhat deceptive process. After you pick external subtitles, you get dialog that says they're loaded, but the pull-down dialog for the subs remains empty. I'm trying to burn the subs into the encode and I have ticked the "burn subs" box.. let's see if it actually happens..
buzzqw
11th October 2007, 19:53
@Barleyman
glad you found the bad guy!
WMAPRO, 384 and 6 channels
How about a nice wmv8/wmv9 1-pass vbr quality-based profiles?
let's me see if is possible somethings
let's see if it actually happens..
yes.. let's wait :)
BHH
Barleyman
11th October 2007, 20:14
It appears x360 doesn't like WMV8 videos or at least not VBR kind. Stutter stutter..
Not sure if the problem is WMV8 or VBR .. In any case, CBR gives yucky mosaic artifacts when the scene changes.
Let's try WMV9 now. Too bad it's SO slow wrt wmv8..
Edit: Same story with CBR WMV8 files too, so so much for that..
Barleyman
12th October 2007, 16:54
Holy cr*p!
I turned on 2-pass balanced wmv encode for 720p 42min when I went to work. Now, nine hours later it's STILL ON 1st PASS!
You sure there's not something funny in the profile that makes wmv9 run sloooooooooooow?
weaver4
12th October 2007, 23:31
@weaver4
please download http://www.64k.it/andres/data/a/AutoMKV090d.exe
and "finger crossed"
BHH
Did not fix it, anything else I should look at?
buzzqw
13th October 2007, 09:06
@Barleyman
i will look at wmv profiles
@weaver4
Did not fix it, anything else I should look at?
if so bautodeint isn't totally working for you. in linked build the deint analysis is launched in dos mode..
maybe some decoder/splitter filter
try removing haali media splitter (or install it if missing)
BHH
Barleyman
13th October 2007, 13:49
@Barleyman
i will look at wmv profiles
Appreciated.
In my 18-second-sample-clip compression tests the 2-pass balanced was actually a lot slower than "constant quality" wvc1 profile..
Started encode at 9am and it was finished 1am so 15h to encode 42 minutes.. Real shame X360 hates WMV8.
Oh, subs burned just fine. It'd be just nice if the UI gave some feedback what you have actually loaded..
Bigmango
13th October 2007, 16:58
Hi,
The mp4box.exe (v. 0.4.5-dev) which is installed with automkv always crashes when it finishes writing a file.
It "seems" that the mp4 files are written fine. But the problem is that if I queue 20 compression projects, the queue processing hangs at the end of the muxing for each file until I close the windows mp4box crash dialog.
I have replaced mp4box.exe with version 0.4.4 and it now works fine.
PS: I'm on vista x64.
buzzqw
13th October 2007, 17:18
@Bigmango
plase try this build http://kurtnoise.free.fr/index.php?dir=mp4tools/&file=MP4Box-0.4.5-dev.zip
and this build too http://kurtnoise.free.fr/index.php?dir=mp4tools/&file=MP4Box-0.4.4.zip
just relaung muxing.bat
do you confirm that 0.4.4 linked build doesn't crash ?
BHH
Bigmango
13th October 2007, 18:00
@Bigmango
plase try this build http://kurtnoise.free.fr/index.php?dir=mp4tools/&file=MP4Box-0.4.5-dev.zip
This build crashes, same crash as the build supplied with automkv.
and this build too http://kurtnoise.free.fr/index.php?dir=mp4tools/&file=MP4Box-0.4.4.zip
just relaung muxing.bat
This is the build I am talking about above. It works fine, I have tried it again after I tried the above 0.4.5.
do you confirm that 0.4.4 linked build doesn't crash ?
Yes, build 0.4.4 does not crash, it works fine.
Bigmango
13th October 2007, 19:11
Is there a memory leak in automkv ? It is using 1.1Gb of ram today.
I have started a 22 files queue encode (22 xvid+mp3 avi files I am converting to avc+aac mp4).
It is now encoding the 15th file:
- the x264.exe process in the middle of the 2nd pass is using about 190Mb and autoMKV090c.exe is using 1.1Gb and seems to be increasing slowly.
I am on vista x64 with 4Gb ram.
buzzqw
13th October 2007, 19:23
leak ? maybe
i think it is due to directshow interface when using mpeg4 files as input...
i think that using ffmpegsource could not cause this issue
i will try to reduce that leak.. but i cannot guarantee
BHH
Barleyman
14th October 2007, 12:58
By the way.. WME based encode360 can do 2-pass WMV9 encode of the same material in about 4-5 hours. So there's something iffy here. In particular it's a 3Mb/s average 5Mb/s peak CBR profile.
Why I'm not using it? Well, because the guys muxing scripts are kaput and give you 6kB file..
Bigmango
15th October 2007, 01:39
There is something fishy with the mp4 output. I have finished my 22 files mp4 encode (started encoding yesterday); using the PS3 profile + nero aac. The files play fine on the PC but the PS3 does not recognize them.
So I started everything over with nero recode, and now the PS3 can play the files.
I don't know if the problem is with the PS3 profile or with mp4box, but something's wrong.
buzzqw
15th October 2007, 06:27
please analyze with avinaptic both files (automkv and nero mp4)
and send me the analysis (mail is written in license.txt)
thanks
BHH
Bigmango
15th October 2007, 10:08
Could you please add nero aac abr 2 pass encoding ?
For 2 pass encoding nero needs a wave file as input. So the audio needs to be saved to a temporary wave file (with bepipe.exe for example).
Then, the options to encode the file are "-br -2pass".
This nice nero aac gui already does this (saving a temp wave with bepipe and encoding in 2 pass); the exe and the source are available here:
http://www.imcold.evilhosting.org/progs/sng/
2 pass is really useful on movie audio (usually has a lot of variations with silences,etc...) and low bitrates.
Thanks.
buzzqw
15th October 2007, 13:20
@Bigmango
Done.
wait next update
BHH
Barleyman
15th October 2007, 14:31
There's a new version of WMCmd.vbs out btw.
I wonder if it's possible somehow to see what settings the encode360 uses? You actually have to set them in the registry so I should be able to read the values during encoding? I just checked the wmv profiles myself and there's no obvious fun stuff there, but some of the settings are bit obscure and maybe have big performance hit.. should run some experiments on sample clip..
Bigmango
15th October 2007, 14:36
@Bigmango
Done.
wait next update
BHH
Wow ! So fast, you are awesome !
Thanks a lot :thanks:
buzzqw
15th October 2007, 14:41
i have redone most of wmv profiles (i hope making better)
the next update will be a full package that will include the new wmv profile AND the new wmcmd.vbs
for a sneak preview and some test (thanks!)
http://www.64k.it/andres/data/a/AutoMKV0.90d-wmv.rar
delete previus wmv profile folder and use the folder in rar package
update the wmcmd.vbs with one in rar package
..
and encode!
thanks for any test!
BHH
Bigmango
15th October 2007, 15:04
http://www.64k.it/andres/data/a/AutoMKV0.90d-wmv.rar
The 2 pass nero aac is there, but no working yet... still encoding in 1 pass even if the check box is set.
buzzqw
15th October 2007, 16:14
you must set also CBR or BR setting not auto (on advanced audio options)
BHH
buzzqw
15th October 2007, 16:31
@Bigmango
ok.. i have EXPLICITED... download this build http://www.64k.it/andres/data/a/AutoMKV090d-wmv.exe :)
BHH
Bigmango
15th October 2007, 17:25
please analyze with avinaptic both files (automkv and nero mp4)
and send me the analysis (mail is written in license.txt)
avinaptic crashes on startup:
Exception: STATUS_ACCESS_VIOLATION at eip=67FA76FD
eax=00853C68 ebx=00000000 ecx=00000000 edx=00000000 esi=02B92000 edi=004E5170
ebp=0027EFC8 esp=0027EF50 program=D:\tmp4\avinaptic\avinaptic.exe, pid 8052, thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
0027EFC8 67FA76FD (004E5170, 0027F014, 00000064, 0040E841)
0027F008 004E522B (00000001, 100911D8, 100900A8, 00000001)
0027F078 61005F34 (0027F090, FFFFFFFF, 7465EDA0, 510DDFFC)
0027FF58 6100614B (00000000, 00000000, 00000000, 00000000)
End of stack trace
I'm on vista x64
Bigmango
15th October 2007, 17:36
you must set also CBR or BR setting not auto (on advanced audio options)
BHH
This is what I did :) I have set br when selecting 2 passes; but I neither saw it saving a temporary wave file nor encoding a 2nd pass.
BTW:
There also was a bug: after setting the advanced audio options and then closing the window, when opening the options window again the options are lost (everything is set back to auto).
The correct behavior should be to keep the changed settings when opening the audio settings again.
ok.. i have EXPLICITED... download this build http://www.64k.it/andres/data/a/AutoMKV090d-wmv.exe
Now with this build, when I select 2 pass, this is what happens:
1. the check box is no checked (after selecting it should be checked)
2. BR is automatically selected, this is good !
3. automkv freezes: the windows freeze and turn grey.
buzzqw
15th October 2007, 19:43
but I neither saw it saving a temporary wave file nor encoding a 2nd pass.
the soundsout start and create audio.wav
then neroaacenc start and do its job
audio.wav is deleted
There also was a bug: after setting the advanced audio options and then closing the window, when opening the options window again the options are lost
that's not a bug but wanted.
I can ASSURE that settings are remembered TILL you reopen the advanced audio settings
1. the check box is no checked (after selecting it should be checked)
again, the flag is remembered, just DON'T reopen the advanced audio settings
3. automkv freezes: the windows freeze and turn grey.
just close the audio settings to free automkv
BHH
Bigmango
15th October 2007, 20:04
the soundsout start and create audio.wav
then neroaacenc start and do its job
audio.wav is deleted
Ahh, ok. Yes I remember when the encoding progress dialog opened, that there was a 10-20 seconds delay before the progress started to move. So this is when the wave is written ?
But while the aac encoding is in process, the wave should still be in the tempd dir, shouldn't it ? I didn't see any wave file there... (while encoding the audio).
that's not a bug but wanted.
I can ASSURE that settings are remembered TILL you reopen the advanced audio settings
From this I understand that if I re-open the advanced audio settings, then the setting is lost ?
In this case that is an unnatural behavior, a user who does not know about this will be lost like I was :) I think it would be a good thing to correct, when you have the time to do it, of course.
again, the flag is remembered, just DON'T reopen the advanced audio settings
Same comment as above :)
just close the audio settings to free automkv
BHH
I can't. As I said, everything freezes (the audio window and the main automkv window). It freezes as soon as the encoding mode is automatically changed to "BR".
Both windows and all of the widgets, except one, turn grey. The only widget that doesn't turn grey is the "BR" widget, but it is frozen too.
The app freezes, I can't close it. The only thing I can do is kill the process.
buzzqw
15th October 2007, 21:59
Ahh, ok. Yes I remember when the encoding progress dialog opened, that there was a 10-20 seconds delay before the progress started to move. So this is when the wave is written ?
at first soundout start (using virtualdubmod) and export audio.wav in temp folder
then start nero on the wav file created, after the encoding the wav file is deleted
I can't. As I said, everything freezes (the audio window and the main automkv window). It freezes as soon as the encoding mode is automatically changed to "BR".
on my win2k3 and winxp is all ok.. what os have you ?
BHH
Bigmango
15th October 2007, 22:01
at first soundout start (using virtualdubmod) and export audio.wav in temp folder
then start nero on the wav file created, after the encoding the wav file is deleted
Ok, I'll need to try some more.
on my win2k3 and winxp is all ok.. what os have you ?
Vista x64.
Barleyman
15th October 2007, 22:37
delete previus wmv profile folder and use the folder in rar package
update the wmcmd.vbs with one in rar package
..
Hmm..
From the top of my head -
Constant quality, you're using FAST profile and WVC1 codec.. Isn't that a bit counterintuitive?
Number of threads.. You're specifying explicitly "1", and the docs say:
[-v_numthreads] <threads>
Forces the encoder to use the specified number of threads for encoding.
Valid values are 1, 2 and 4. If not specified, encoder will match the
number of logical processors reported by the operating system.
Wouldn't it be best to leave it undefined so rich bastards can use their dual and quad-cores to the max?
Barleyman
15th October 2007, 23:27
Some fresh compression test results for new profiles and the same 18-second 720p clip
2 pass balanced, target original size =>
280 seconds (about 0.06x realtime), output video is garbage! Just blocks of noise.
Copied 2 pass balanced to 2-pass CBR peak profile and edited v_preset = false, v_mode = 4 =>
280 seconds (just a coincidence??) output video is garbage
constant quality, quality = 90 (from advanced settings page) =>
108 seconds, 0,167x RT, output looks fine..
made a new copy of cq profile, edited to v_codec= WMV9, v_preset = false =>
165 seconds, OK output ..
Barleyman
15th October 2007, 23:36
Another compression test with CQ profile, quality = 95
<v_codec>WMV9</v_codec>
<v_preset>false</v_preset>
<v_bframedist>1</v_bframedist>
<v_loopfilter>1</v_loopfilter>
<v_lookahead>16</v_lookahead>
<v_mslevel>1</v_mslevel>
<v_performance>60</v_performance>
353 seconds! We have a winner!
Second test:
<v_codec>WMV9</v_codec>
<v_preset>false</v_preset>
<v_bframedist>1</v_bframedist>
<v_loopfilter>false</v_loopfilter>
<v_lookahead>16</v_lookahead>
<v_mslevel>false</v_mslevel>
<v_performance>60</v_performance>
248 seconds with this profile..
Test 3:
<v_codec>WMV9</v_codec>
<v_preset>false</v_preset>
<v_bframedist>1</v_bframedist>
<v_loopfilter>1</v_loopfilter>
<v_lookahead>16</v_lookahead>
<v_mslevel>false</v_mslevel>
<v_performance>60</v_performance>
Also 248 seconds, apparently loop filter is cheap option.. (Or I messed up the profile refresh part..)
test 4:
Second test:
<v_codec>WMV9</v_codec>
<v_preset>false</v_preset>
<v_bframedist>1</v_bframedist>
<v_loopfilter>false</v_loopfilter>
<v_lookahead>16</v_lookahead>
<v_mslevel>1</v_mslevel>
<v_performance>60</v_performance>
347 seconds!
Mslevel seems to come with a heavy price tag.
I re-ran test 3 to make sure the profile edit connected and got 241 sec encode time. Seems a bit unlikely loop filter would make things FASTER so probably cache issue or something.
buzzqw
16th October 2007, 07:16
Number of threads.. You're specifying explicitly "1", and the docs say:
do you see "-v_numthreads" in movie_wmv.bat ? :rolleyes:
i don't set it so it can be determined automatically by wmcmd.vbs
Constant quality, you're using FAST profile and WVC1 codec.. Isn't that a bit counterintuitive?
:confused: are you suggesting to use GOOD/BETTER preset ? or use WMV9 ?
output video is garbage
often on my test too :(
but working on "v_performance" usually fix it
also the culprit for slow/fast encoding is (from my test) v_performance, tweaking up and down will make things much faster or slowest...
again feel free to suggest any change :)
BHH
Barleyman
16th October 2007, 08:27
:confused: are you suggesting to use GOOD/BETTER preset ? or use WMV9 ?
Since WVC1 is supposed to be slower than WMV9 it seems bit odd to run WVC1 profile with performance options. On the other hand, I don't know if the WVC1 is actually slower if you do not use the advanced profile options. Guess it'd be pretty easy to try if WMV9 <-> WVC1 makes difference in encoding time if you don't use any of the AP items.
often on my test too :(
but working on "v_performance" usually fix it
(garbage video)
Hmm. From the WME gui boys, it seems WME9 is picky about audio bitrate. Should try to run the clip again with 6-channel and 256kbit to see if it fixes the video. Althought it seems a bit unlikely.
also the culprit for slow/fast encoding is (from my test) v_performance, tweaking up and down will make things much faster or slowest...
again feel free to suggest any change :)
From my compression test it looks like the chroma integer motion search carries a major performance hit. v_mslevel = 1 is about 40% slower than v_mslevel = 0.
from the marketing material:
By default the codec performs motion search only in the luma channel. Including chroma in motion estimation can significantly improve the quality of encoded video. Motion search with luma and true chroma will yield the best quality, but at the highest performance cost. The nearest-integer chroma mode provides reasonable compromise between quality and performance.
I wonder how "significant" the significant improment is here. Let's ask wmcmd guy..
Barleyman
16th October 2007, 23:24
Ok, re-did test 3 above with WVC1 profile - 257 seconds or about 5% slower than WMV9 .. So not a big deal in and of itself.
Let's try wvc1 with v_mslevel and v_performance 40 .. 161 seconds! Interesting. I wonder how subjective visual quality works out if you add advanced profile doo-dahs until you have more or less equal CPU cost as with v_performance 60 and stripped profile..
Not that 0.11 encoding rate is that great on this rig, but at least it allows me to encode one 42 minute show while I'm at work ..
Barleyman
17th October 2007, 19:41
Some more compressibility tests on WMV that has managed to silence this thread. All tests with quality = 95 -
test 5
<v_mode>2</v_mode>
<v_codec>WVC1</v_codec>
<v_dquantoption>2</v_dquantoption>
<v_loopfilter>1</v_loopfilter>
<v_lookahead>16</v_lookahead>
<v_mslevel>1</v_mslevel>
<v_bdeltaqp>1</v_bdeltaqp>
161 seconds, apparently dquantoption = 2 is practically free.
test 6
Same as test 5, but
<v_mmatch>0</v_mmatch>
312 seconds! Macroblock motion match method doubles encoding time, more or less. Handle with care.
test 7
v_adz is not supported by latest .90d but lets add it to command line anyways
<v_mmatch>false</v_mmatch> (this is the default)
v_adz 2
168 seconds. Apparently this adaptive deadzone is mainly for reducing filesize, at least I got smaller resulting file (about 15%) with it than without.
buzzqw
17th October 2007, 21:40
Barleymen, thanks for your test! a lot!
could this round of test summarize in new profiles or correcting actual wmv profiles ?
i will be very happy if you could "build"/"improve" the wmv profiles
and feel free to ask or suggest any change in automkv regarding the wmv profile code!
i think to publish the new update at end of next week. Do you think that is reasonalbe as date ?
:thanks:
BHH
Barleyman
18th October 2007, 11:55
Barleymen, thanks for your test! a lot!
could this round of test summarize in new profiles or correcting actual wmv profiles ?
i will be very happy if you could "build"/"improve" the wmv profiles
and feel free to ask or suggest any change in automkv regarding the wmv profile code!
i think to publish the new update at end of next week. Do you think that is reasonalbe as date ?
:thanks:
BHH
Hey, it's your program, you decide the schedule.
For code changes, you should add v_adz parameter. Some other parameter was deprecated as well. It'd be nice to be able to make the 6-channel encoding stick and come up by default. Perhaps a tick-mark in advanced settings? Or "original 5.1" option in the audio drop-down?
As for WMV settings, I think we made pretty good mapping of relative compression speed cost of the different settings.. I'll tweak the CQ profile for my personal use, should give good starting point for wmv profiles in general.
this should be good CQ "fast" profile
<v_mode>2</v_mode>
<v_codec>WVC1</v_codec>
<v_preset>false</v_preset>
<v_dquantoption>2</v_dquantoption>
<v_bframedist>1</v_bframedist>
<v_loopfilter>1</v_loopfilter>
<v_lookahead>16</v_lookahead>
<v_bdeltaqp>1</v_bdeltaqp>
<v_performance>40</v_performance>
Gives decent results for quality 90 to 95.
Add
<v_adz>2</v_adz>
to get extra ~15% smaller files for the same quantizer setting at some cost to detail. (perceptual compression so "should not be noticeable")
"balanced" CQ-profile might be the same thing but with v_performance at 60
lookahead doesn't actually do anything with CQ profile, I think..
buzzqw
18th October 2007, 12:33
about release.. i like to take 1 month between update.. just to be sure that bad bugs will not spread...
if you think that more tweak/work could be done on wmv profiles i will wait.. not a big problem
anyway...
added adz option , but set to false in all profile
removed v_percopt
changed cq profile as suggested
lookahead doesn't work in 2 pass profile.. but in 1 pass .. yes
Or "original 5.1" option in the audio drop-down?
sorry pal.. even if it is very very easy.. i was not able to encode a movie longer then 2 hour in 5.1 audio..
seems that for shorter sample is working.. but for longer movie the audio will crash/break/silence.. :(
EDIT: here the new "beta wmv" package
http://www.64k.it/andres/data/a/AutoMKV_0.90d_wmv2.rar
BHH
Barleyman
18th October 2007, 13:05
sorry pal.. even if it is very very easy.. i was not able to encode a movie longer then 2 hour in 5.1 audio..
seems that for shorter sample is working.. but for longer movie the audio will crash/break/silence.. :(
With 384kbps? It was suggested WME has trouble with multichannel bitrates other than 256kbps..
buzzqw
18th October 2007, 13:07
i will try with less.. but.. i am not so positive...
BHH
weaver4
18th October 2007, 15:19
I just bought a refurbished Zune for $99 from Woot. Works pretty good. I wanted to let you know that I looked at a lot of "paid" programs to convert my avi's to wmv's for the Zune and none of them work as well as your program.
One thing I do have to do is if I have a 640x272 DivX movie and I want to convert it and keep the aspect ration the same I am not able to simple select the width to 320 or I get a stretched 320x240 image. I have to go into the advanced tab and manually select the crop to 0 and the size to 320x136. I am using 1-Pass wmv9 as my profile.
Thought you might want to know since you and Barleyman are working on wmv this week. Don't know if profiles can include something to "keep aspect ratio" or not.
Thanks
Barleyman
18th October 2007, 16:40
By the way.. This version (and the previous wmv version) always complain there's MD5 mismatch on FFMPEGsource and automkv wants to copy liraries to system32.
If I check OK, it says it can't copy, try again?
After I select retry, it goes away but complains next time I start automkv..
weaver4
18th October 2007, 16:51
By the way.. This version (and the previous wmv version) always complain there's MD5 mismatch on FFMPEGsource and automkv wants to copy liraries to system32.
If I check OK, it says it can't copy, try again?
After I select retry, it goes away but complains next time I start automkv..
I found the same problem with "the old" 90d. This is the one you sent me to test the BAutoDeint.exe problem.
buzzqw
18th October 2007, 19:54
about md5... the problem is that in new full package i will include the new ffmpegsource.. and the new ffmpegsource.dll have a md5 different from your..
so don't warry
@weaver4
I have to go into the advanced tab and manually select the crop to 0
... i am unsure of this option... will be easy to implement.. but.. could be dangerous
i can add a "no_crop" option in profile.. but to set width&height... could bring to wrong encode...
you said that have to set width&height... but every movie could have different ar.. and so different height..
no. i don't think to implement this option. but i will glady accept any your future suggestions :)
BHH
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.