Log in

View Full Version : AutoMKV 0.93a - (DVD/TS/AVI/AVS to X264/XviD/WVC1 into MKV/MP4/WMV) update 30/12/2007


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

noremacyug
7th August 2007, 15:51
in order to get 6ch to show up in the status bar as you've shown above i had to enter the advanced audio options and change channels from auto to 6. however, it still didn't work right. the process only took a few mins and only output a small 116k wmv file.

InorganicMatter
7th August 2007, 19:08
however, it still didn't work right. the process only took a few mins and only output a small 116k wmv file.

Same problem here. Are you using Vista or XP?

buzzqw
7th August 2007, 19:37
@noremacyug and @InorganicMatter

in next update i even added the possibility to pre process source to uncompressed video/audio (a request from a good donor)

but even in this case i wasn't able to get 5.1 audio... i suppose is due to ffdshow.. but i want get it fuctional

BHH

jmnk
7th August 2007, 19:40
After couple of tries and side discussion on a different thread (see my previous posts here for the link) I'm thinking encoding to multichannel wma does not work in AutoMKV. It seems to be the limitation of avisynth+directshow rather than AutoMKV itself. Apparently avisynth file, where you combine video and multichannel wav file, cannot be fed into wmcmd.vbs encoder.
As a workaround, until the author of AutoMKV does it himself, you need to do some manual work.
Check your movie.avs file - it should have a separate line for opening video, and separate for opening wav file, and than combines them together with audiodub.
You need to comment out opening audio file, get rid of audiodub - essentially you want to add up with avs with just video. Than edit your .bat file that feeds avs to wmcmd.vbs - you need to add -a_input parameter specifying your wav file. That way wmcmd.vbs will use your avs file for video, and will load wav file separately for audio encoding. Works fine here.

buzzqw
7th August 2007, 19:42
@jmnk

are you sure ? is this is working will be very easy to implement :cool:

BHH

jmnk
7th August 2007, 21:15
@jmnk

are you sure ? is this is working will be very easy to implement :cool:

BHH
I'm pretty sure. Tried two or three times - looked/sounded fine. Yap, it is pretty trivial - that's why I mentioned you are probably going to make the change. It also makes sense from theoretical perspective - given what others (IanB, Zambelli) were saying about wav and extensible headers. And when Zambelli added -a_input parameter to wmcmd.vbs this method is possible.
Thanks for great app.
BTW, should the audiodub be: audiodub(video, audio) and not the other way around? Not that it matters for wma since you would not combine audio and video, but still.
Also, I haven't checked too much, but I think I saw a movie avs file which, if you do not specify audio input, would result in something along this line:

video=somethinghere
#no audio line - good
#no audiodub line - good
last=movie
#end of the script

I think it is --not-- outputting video. the last line of the script would need to be:

last

for it to work, no?

buzzqw
7th August 2007, 21:20
And when Zambelli added -a_input parameter to wmcmd.vbs this method is possible.
i will do some test tomorrow, i hope great news!

video=somethinghere
#no audio line - good
#no audiodub line - good
last=movie
#end of the script

that's happen only when no filters and no resize is used, and is fixed in next update

BHH

noremacyug
8th August 2007, 04:03
Same problem here. Are you using Vista or XP?

xp pro

@buzzqw

hope you can get it all worked out. i look forward to the seeing how it works.

buzzqw
8th August 2007, 07:18
Biggest Holy Cow !!! :eek::eek:


IS WORKING!!!!

@jmnk :helpful: :thanks:

will be in next update

EDIT: but the result is quite a messy... could test someone this file http://www.64k.it/andres/data/a/movie51.wmv (2mb) ... maybe i haven't the correct decoder installer (i use a win2003 server)

BHH

buzzqw
8th August 2007, 08:46
the first test was from a vob

this is from and HD mkv (x264 1024/xxxx, 5.1 aac audio) -> scaled to 720, 5.1 wma , insane profile

http://www.64k.it/andres/data/a/_aaa720.wmv (2mb)

and is not jerky as the vob... :confused:

i found, from my test, that is audio that cause problem, if i use 5.1 the playback is not fluid, with stereo is more fluid... maybe is a decoder problem on my side

BHH

SeeMoreDigital
8th August 2007, 08:55
the first test was from a vob

this is from and HD mkv (x264 1024/xxxx, 5.1 aac audio) -> scaled to 720, 5.1 wma , insane profile

http://www.64k.it/andres/data/a/_aaa720.wmv (2mb)

and is not jerky as the vob... :confused:This sample is working okay for me. Played using MediaPlayer Classic and FFdshow WVC1 filter

buzzqw
8th August 2007, 09:03
@SeeMoreDigital

could you test this ?

http://www.64k.it/andres/data/a/movie51.wmv

the wmv you testes was ok even for me

but this http://www.64k.it/andres/data/a/movie51.wmv isn't play well

BHH

nullstuff
8th August 2007, 09:04
...in VLC both files are playing jerky (with audio ok).

EDIT (about movie51): WMP9 downloaded WVC1 decoder to play it... jerky. ffdshow decodes audio, but I can't hear nothing. MPC uses ffdshow for both video (jerky) and audio (fine).

-- nullstuff

SeeMoreDigital
8th August 2007, 09:30
@SeeMoreDigital

could you test this ?

http://www.64k.it/andres/data/a/movie51.wmv

the wmv you testes was ok even for me

but this http://www.64k.it/andres/data/a/movie51.wmv isn't play wellI can confim, the frames are stuttering very badly :(

buzzqw
8th August 2007, 10:06
ok, new test

the same vob encoded to 640*272 (autocropped and resized to 640) , wma 5.1 is playing ok ( http://www.64k.it/andres/data/a/movie_vob640.wmv (1 mb)

the same vob , full width 720*576, wma 5.1 is now playing ok :confused: http://www.64k.it/andres/data/a/movie_vob720.wmv (2 mb)

the same vob, only autocropped to 720*304, wma 5.1, http://www.64k.it/andres/data/a/movie_vob720_cropped.wmv IS STUTTERING!!!

the same vob , cropped not using autocrop but lanczosresize(720,304,0,72,-0,-72) , wma 5.1, is STUTTERING http://www.64k.it/andres/data/a/movie720_not_autocropped.wmv

EDIT: in this case "the same vob , cropped not using autocrop but lanczosresize(720,304,0,72,-0,-72) , wma 5.1, is STUTTERING http://www.64k.it/andres/data/a/movie720_not_autocropped.wmv" BUT NOT USING REMOVEGRAIN the movie isn't more stuttering... more :confused: then ever

i don't understand... why some movies are stuttering an other not...

SeeMoreDigital
8th August 2007, 10:18
Can you try cropping 72 pixels off the top and bottom and resizing to 720x432?


Cheers

buzzqw
8th August 2007, 10:27
ok, the same vob but cropped/resized/filtered as this

lanczosresize(movie,720,432,0,72,-0,-72)
RemoveGrain(mode=2)
ColorMatrix(mode="Rec.709->Rec.601")

is here http://www.64k.it/andres/data/a/movie720x432.wmv (2 mb)

and is playing OK ! why ???

BHH

SeeMoreDigital
8th August 2007, 10:43
and is playing OK ! why ???I wonder whether it's somehow related to "resizing".

Cropping 72 pixels off the top and bottom of an 720x576 source and resizing it to 720x432, is not actually resizing... it's just cropping!

That said, your 640x272 sample has most definitely been resized.... and it's working fine :confused:

nullstuff
8th August 2007, 10:47
...interesting: if you load in VDM a script likedirectshowsource("movie720_not_autocropped.wmv",audio=false) # stuttering sourceusing step-by-step you'll see frames are encoded (or maybe decoded?) in a sort of 1-3-2-4-6-5-n way (in opposite of 1-2-3-4-5-6-n). :confused:

-- nullstuff

buzzqw
8th August 2007, 11:32
found the problem :mad:

the preset INSANE ,inside wmcmd.vbs (by Zambelli) seems broken...

i will re re re re re check all wmv profiles :mad:

BHH

buzzqw
8th August 2007, 13:32
redone all standard wmv profile :mad:

now isn't stuttering ! and audio 5.1 is working

fyi... wvc1 is slow... stay away from extreme and insane profile...

BHH

InorganicMatter
8th August 2007, 14:22
redone all standard wmv profile :mad:

now isn't stuttering ! and audio 5.1 is working

fyi... wvc1 is slow... stay away from extreme and insane profile...

BHH

Now that all are working: would you suggest WMV9, XviD, or x264 for 1CD DVD backups? On a test I did, between XviD and x264, x264 most certainly edges out XviD, and both took roughly the same time to convert. How would WMV or WVC1 compare on convert time and picture quality to x264?

I'm really trying to make DVD backup that look good playing on the big screen, but will also play in my Zen Vision M (supports WMV9-not VC1, and XviD). x264 looks best but does not fill this...

buzzqw
8th August 2007, 14:33
my preferred order is

1) X264
2) XviD
3) WMV

BUT i use an HTPC...

wvc1 is too slow if you haven't an Q6600 (at least)

xvid could be the winner in your situation, i would go ever for 2cd rip, 1 cd is to use with very compressible source, and since default media burning is now dvd and not cd, i will go for 1/4 dvd or 1/3 dvd

more, if you want 5.1 audio your space on 1 cd is even less... go with x264, better profile, nero 0.35 OR xvid but with 1100 mb disk settings

BHH

noremacyug
8th August 2007, 17:37
did you update the first post including the new profiles or are they linked elsewhere?

jmnk
8th August 2007, 17:44
Biggest Holy Cow !!! :eek::eek:


IS WORKING!!!!

@jmnk :helpful: :thanks:

will be in next update

BHH

Glad to help.....:)

jmnk
8th August 2007, 17:47
Now that all are working: would you suggest WMV9, XviD, or x264 for 1CD DVD backups? On a test I did, between XviD and x264, x264 most certainly edges out XviD, and both took roughly the same time to convert. How would WMV or WVC1 compare on convert time and picture quality to x264?

I'm really trying to make DVD backup that look good playing on the big screen, but will also play in my Zen Vision M (supports WMV9-not VC1, and XviD). x264 looks best but does not fill this...

Other than standard response "try yourself and choose what looks good for you", you may also want to read through this:
http://forum.doom9.org/showthread.php?t=128498

and this:

http://forum.doom9.org/showthread.php?t=128118

rainfellow
8th August 2007, 19:02
If this has been answered before, please don't flame me for "not searching the threads". I have and didn't find an answer.

Here's my problem. I'm trying to convert some files (VOB's, AVI's, ect) over to WMV for a Zune. Everything is in place as needed, but when the converter is run, it goes through the motions and outputs a file that shows a statement of "LoadPlugin: unable to load "C:\AutoMKV\exe\filter\FFMpegSource.dll" (C:\ConverterOutput\temp\movie.avs, line15)".

I have the most current FFMpeg dll (1.7) and it's in the filter folder. What am I missing??

Any help IS appreciated.

buzzqw
8th August 2007, 19:30
@rainfellow

first of all Welcome to the Forum!

and yes.. it's already asked... but no problem :)

you must unzip ffmpegsource in \exe\encoder folder AND move ffmpegsource.dll (the new unzipped) in \exe\filter (overwriting the present)

is suggested to unzip the ffmpegsource.zip even in \windows\system32 folder, so you will be able to open avs made by automkv even with virtualdub

@ALL

in next full update (maybe tomorrow or past tomorrow) i will include the 1.7 AND a check for this errors

BHH

DIEGO7-5
8th August 2007, 21:42
Just an info...has nothing to do with the discussion currently going on!

I have finally achieved excellent results for my favourite TV-Show "King Of Queens". With this self-made .lvl file:

C0 = FFT3DGPU(sigma=1).Spline36Resize(xxx,yyy)
C1 = FFT3DGPU(sigma=2).BicubicResize(xxx,yyy,0,0.75)
C2 = FFT3DGPU(sigma=3).BicubicResize(xxx,yyy,0,0.50)
C3 = FFT3DGPU(sigma=4).BicubicResize(xxx,yyy,0.333,0.333)
C4 = FFT3DGPU(sigma=5).BicubicResize(xxx,yyy,0.333,0.1775)
C5 = FFT3DGPU(sigma=6).BicubicResize(xxx,yyy,0.38,0)
C6 = FFT3DGPU(sigma=7).BicubicResize(xxx,yyy,0.5402,0)
C7 = FFT3DGPU(sigma=8).BicubicResize(xxx,yyy,0.6,0)

in 640 x 480. insane profile for XVID with QPEL and GMC turned off (edited the profile so it will work on my SAP).

Now FFT3DGPU what is that one may ask. Itīs a port of the included FFT3D Filter but it will use your GPU capabilities (DirectX 9 support of your GPU is a MUST) to speed up things a little or a lot (depends on GPU as well).

Get it HERE:

http://forum.doom9.org/showthread.php?t=89941

Ok, so here is a list of what i converted:

Source: DVD / 4:3 / interlaced
Converted to: XVID with mp3 @ 128 kbps (custom edited XVID "INSANE" profile to match SAP standard)
Final XVID size: 175 MB
Chosen resolution by AutoMKV resizing routines with .lvl file as written above:: 640x480

TheRyuu
8th August 2007, 22:33
@buzzqw

I think there might be an update to vsfilter. I noticed your using one from 2005.

There is a newer one from 5-31-2007 (I think thats the date, sometime in may 07) that came with CCCP.

It works for me.

Vsfilter.7z (http://www.esnips.com/doc/fd1d6aa0-171f-4e3d-bb19-8cae6754fe29/VSFilter)

buzzqw
9th August 2007, 16:25
@DIEGO7-5

added your LVL to list, but i will not include fft3dgpu (i don't want to add filters and filters...)

thanks for this LVL

in next update i will include a qmf that will use the LVL selected...

@wizboy11

thanks too! added in filter folder


BHH

buzzqw
10th August 2007, 10:05
Update 0.89 Full Package

Link on first post AND PLEASE USE A MIRROR!

ADDED: VFW Support. For activating press CTRL F9. You need avs2avi.exe in \exe\encoder folder. Download from http://www.avs2avi.org/ ( tested with http://www.64k.it/andres/a/avs2avi-139x.zip ) There is a very limited support to this features.. since it is unofficial..
ADDED: HCenc Support. For activating press CTRL F10. You need HCenc_021.exe in \exe\encoder folder. Download from http://www.bitburners.com/Software/Download/Video_Codecs_and_Encoders/HC_Encoder/HC_Encoder_v0.21/ . I suggest to use manual crop and resize to get a "dvd like" resolution, even if hcenc will encode even 656*272 files. There is a very limited support to this features.. since it is unofficial..
ADDED: Lot's of tooltip for HCEnc , taken from official manual (a big thank to Hank315 for this wanderfull piece of software)
ADDED: MOV to list of supported file type
ADDED: Sagittaire HD-DVD profile for x264. Sagittaire_6MB.xml , Sagittaire_12MB.xml, Sagittaire_18MB.xml. These profiles are very slow http://forum.doom9.org/showthread.php?goto=newpost&t=128498
ADDED: Preprocess to Lossless (request from a big donor). The file is huffyuv, with pcm audio (stereo or multichannel)
ADDED: QMLF_Adaptive_LVL, this qmf will use the LVL specified in QMTrim (alpha)
ADDED: Tweak in Preview Panel. Note that for see the effect you must it Preview Resized
FIXED: CCT Audio encoder and AVS audio input
FIXED: Advanced Audio Setting are (NERO and CCT options) are remembered when quequing
FIXED: For running HGAVS is needed that FFmpegSource libs are in system path.
FIXED: No filter, no resize, no colormatrix usage with FFmpegSource
FIXED: If "Show Enc. Stats" was unchecked the xvid encoding will show all frames encoded (thanks to wizboy11)
FIXED: Changed how audio is feeded to WMcmd.vbs, now is passed as a_input parameter. Now 5.1 is working (a big thanks to jmnk )
FIXED: In status bar added a warning for use 5.1 audio with WMV
Update FFmpegSource to 1.7, QMLF to build 30/07/2007, QMLF_7_motions, redone all wmv profiles, vsfilter.dll
FIXED: Command line help. (thanks to Noritaka)
NOTE: Don't use queue/multiple works with HGavs/Qmtrim/QMLF_Adaptive_LVL

BHH

bisdelf
10th August 2007, 15:45
@buzzqw

hi, i sent you a PM with some questions. i would be glad if you can give me the answers.

thanks,
bisdelf

buzzqw
10th August 2007, 15:55
done, but next time write here in forum since it's general questions ;)

BHH

bisdelf
10th August 2007, 16:24
hi, if i enter the "preview" option in Advanced Settings with a large resolution video (in my case 1920x1080i) the video is not adapted at the resolution of the monitor, which can be ok, but the bottom bar with the commands such as play, pause etc. are not visible. in this situation i'm not able to pause the video and set my settings and also the window can't be closed, the only way is to shut down the main window of the program.
my screen is 1280x1024

:)

bye,
bisdelf

buzzqw
10th August 2007, 16:30
that's strange..

i use mediainfo for analyzing file and if found that with of movie > width of desktop i add a reduceby2()...

test this.. while having the preview opened look in automkv folder for a file named preview.avs

is present reduceby2() ?

also.. if your file is m2t ... i doubt that mediainfo is able to analyze it :(

i will try to find a better way

BHH

bisdelf
10th August 2007, 17:33
file tipe .mpg, resolution 1920x1080i. NO reduceby2() in the preview.avs

of course i'm using the .d2v image of the file


and i noticed that the width of the preview window fits the width of the screen but it doesn't fit the height...which is the most important for the bottom commands

buzzqw
10th August 2007, 17:52
ok.. understud... for d2v could be done something...

tomorrow first update :)

BHH

buzzqw
10th August 2007, 18:58
fixed d2v with width> desktop width

http://www.64k.it/andres/data/a/AutoMKV089a.exe

thanks bisdelf for the bug!

BHH

bisdelf
10th August 2007, 19:34
goooood, i'll try it right now :cool:

survivant
10th August 2007, 20:08
I got an error when muxing the file to mkv

C:\DVD\encode\automkv\temp>muxing.bat

C:\DVD\encode\automkv\temp>"C:\DVD\tools\AutoMKV089_NORIP\exe\matroska\mkvmerge.
exe" -o "C:\DVD\encode\automkv\temp\[DB]_Naruto_Shippuuden_024_[E9E271D0].mkv" -
-track-name -1:"[DB]_Naruto_Shippuuden_024_[E9E271D0]" --aspect-ratio 1:1.333333
"C:\DVD\encode\automkv\temp\movie.mp4" --language -1:und --default-track -1:yes
"C:\DVD\encode\automkv\temp\" --title "Done with AutoMKV 0.89 http://forum.doo
m9.org/showthread.php?p=854221 "
mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 2007 23:40:43

Error: The source file 'C:\DVD\encode\automkv\temp\' could not be opened success
fully, or retrieving its size by seeking to the end did not work.

I think I found the problem.. AutoMKv didn't extract the audio track. I choose Copy from original (it's mp3 audio), but I don't find any audio.mp3 file.

buzzqw
10th August 2007, 21:45
maybe...

look at log, there is something like ?
22:40:03 Extracted Audio with FFmpeg!
22:40:03 Size Audio Extracted: -2

in that case is ffmpeg that was unable to extract..

you can also try from dos writing
ffmpeg.exe -vn -acodec copy -i [DB]_Naruto_Shippuuden_024_[E9E271D0].mkv audio.mp3

the only thing i can do in that case is to force reencoding audio...

BHH

jellyfish2002
11th August 2007, 02:10
I gotten the following error message when trying to convert my DVD backup to x.264.

Avisynth failure!
VobSub: Can't open "C:\Users\dude\Desktop\VIDEO_TS\temp\VIDEO_TS.idx" (C:\Users\dude\Desktop\VIDEO_TS\temp\movie.avs, line 80)

InorganicMatter
11th August 2007, 04:25
NEVERMIND, found it. I didn't have delaycut in the right folder!

I gotten the following error message when trying to convert my DVD backup to x.264.

You are trying to open "VIDEO_TS.IFO," aren't you? You have to open the IFO of the VTS containing the move (hint: it's usually the one with the most 1GB file chunks).

buzzqw
11th August 2007, 07:55
@survivant
from 0.87 changelog
ADDED: Possibility to extract audio (Copy Original) for AVI/MP4/MKV/OGM/MOV.. container. The extraction is done by ffmpeg, or if present in \exe\BeSweet folder mplayer.exe. I cannot guarantee the correct extraction (for example aac extraction with mplayer is broken...)
you can try...

@jellyfish2002

automkv will automatically select the biggest vts...
is this dvd an episodic dvd ? (like 4 film or more episodes)

@InorganicMatter

delaycut is bundled in correct folder ...

BHH

bisdelf
11th August 2007, 10:21
mmm i don't know....but with the same file 1080i in manual crop and resize, when i actually go to encoding, it doesn't do the resize....maybe i keep doing some mistakes or....

noremacyug
11th August 2007, 10:36
perhaps, i'm setting it up wrong, but i'm still not getting 5.1.

buzzqw
11th August 2007, 13:03
@bisdelf

.but with the same file 1080i in manual crop and resize, when i actually go to encoding, it doesn't do the resize

in the preview panel you must close it by pressing on ACCEPT or CANCEL, only if pressing ACCEPT you will have in automkv advanced settings automatically added your crop values and width/height selected

@noremacyug

make sure you select original as downmixing and clicked on advanced audio options ad set WMAPRO and 6 as channel

BHH

InorganicMatter
11th August 2007, 14:46
@InorganicMatter

delaycut is bundled in correct folder ...

BHH

Yeah, I know it. I downgraded DGIndex to 1.4.8.0 because, as mentioned, the old version will automatically fix field order problems (as it should), while the newer one simply says "Hey, guess what? Your field order is broken!" Not cool for batch encoding.

My problem arose when I forgot to copy Delaycut into the new old DGIndex folder.

buzzqw
11th August 2007, 14:50
got it :)

also remember to put dgdecode.dll in \exe\filter folder

happy encoding!

BHH

P.S. any comment or suggestions are welcome!