View Full Version : AutoMKV 0.93a - (DVD/TS/AVI/AVS to X264/XviD/WVC1 into MKV/MP4/WMV) update 30/12/2007
Barleyman
2nd January 2007, 15:31
:confused: i don't unterstud
BHH
[old temp files causing trouble]
I reported this one a while ago. I think one of the operations uses a simple rename (fixed.ac3 to audio.ac3 or something like that) which will fail if the target file already exists.
Barleyman
2nd January 2007, 15:34
do you know a better approach ? :sly: feel free to suggest
[hit target media in 1-pass]
Well. If the resize is disabled, you should probably run the compressibility test at two different quantizer values like q=3 and q=4 and pick a best quess from between there?
If the resize is disabled, the 1st try to compress entire file is useless, no?
Btw, I didn't know the quantiser is a float. I read from "somewhere" it's an integer for the xvid encoder.
buzzqw
2nd January 2007, 16:33
I reported this one a while ago. I think one of the operations uses a simple rename (fixed.ac3 to audio.ac3 or something like that) which will fail if the target file already exists.
yes, you are right.
in next release i will delete more files from \temp folder (*.ac3,*.avs,*.bat...)
Well. If the resize is disabled, you should probably run the compressibility test at two different quantizer values like q=3 and q=4 and pick a best quess from between there?
i would like it is so easy , read this http://forum.doom9.org/showthread.php?t=116773
Btw, I didn't know the quantiser is a float. I read from "somewhere" it's an integer for the xvid encoder. it have been update !
BHH
bingo
3rd January 2007, 14:40
Final file is undersized.
I used OGG Vorbis audio codec and set bitate to 3.
video codec: Xvid
Video size is set custom to 2190 (mb).
The final mkv video is 1920mb (should be 2190mb).
I found out: 1920mb+270mb=2190mb (audio.ogg in temp folder is 270mb).
What I did next is: added the same movie and settings to “add to Queue”. When I look at “Queued Job” it say at “1’ Audio Bitrate” 6 as I understand there should be 3 as the audio quality setting is set to 3.
Greetings bingo
buzzqw
3rd January 2007, 14:57
I found out: 1920mb+270mb=2190mb (audio.ogg in temp folder is 270mb).
is audio muxed in final mkv ?
Could be you have just saturated the movie ? (try with x264...)
What I did next is: added the same movie and settings to “add to Queue”. When I look at “Queued Job” it say at “1’ Audio Bitrate” 6 as I understand there should be 3 as the audio quality setting is set to 3.
this isn't important :) ! this value is not the true quality but the slider value (just try ogg quality 6 , you will see 12, x2)
(anyway in next update i will put the exact value in queue)
BHH
bingo
3rd January 2007, 15:31
is audio muxed in final mkv ?
yes, it is allready in the file.
buzzqw
3rd January 2007, 16:24
btw for check audio parameter open mkvmaudio.bat
i can assure (and you can test encoding with x264) that bitrate used is ok.
Simply xvid_encraw seems to don't have a good ratecontrol :angry: i will search on in
thanks anyway
BHH
sjchmura
3rd January 2007, 17:37
VC1/WMV support:
DOes the default 2-pass (not the "fast one") use the AP profile for VC1 WMV? If so we should be able to use the new MS Powertoy to "tweak" the VC1 parameters that will be used.
So
1. Is this using VC1 AP or Main Profile?
2. The audio is 100% broken if you have AC3Filter set to encode to SPDIF :( Is there a way to manually use AC3DECODE from nicaudio in the avisynth script? (5.1 AC3->WMV 5.1 crashes with no error with AC3Filter 1.11 and SPDIF enabled.)
buzzqw
3rd January 2007, 18:41
DOes the default 2-pass (not the "fast one") use the AP profile for VC1 WMV? If so we should be able to use the new MS Powertoy to "tweak" the VC1 parameters that will be used.
yes, if you open the xml you will see wvc1
BUT i use cscript and WMCmd.vbs i don't know if power toy fuctions will be used (in addition to command line) ? :confused:
Is there a way to manually use AC3DECODE from nicaudio
NO, sorry :o
only with graphedit files is possible...
BHH
SeeMoreDigital
3rd January 2007, 18:49
Hi Buzzqw,
Any further thoughts about configuring AutoMKV to encode Xvid directly into the .MP4 container, instead of the .AVI container first?
Cheers
buzzqw
3rd January 2007, 19:15
added in TODO file
anyway i will use this option only if final container is mp4 or mkv
(i had forgotten... ;) )
BHH
SeeMoreDigital
3rd January 2007, 19:22
That's great news.... Many thanks :D
Barleyman
3rd January 2007, 20:13
Meh.
Another possible conflict: If you have AC3 audio track and you want to downmix that to stereo, you choose LAME, right?
No. You have to choose LAME AND "stereo" instead of "original.
buzzqw
3rd January 2007, 20:20
no, you can use even original ... test it :)
i have added a "Sanity Check" in mkvmaudio.avs
"6==Audiochannels() ? stereo() : original()"
BHH
buzzqw
3rd January 2007, 20:43
@SMD
latest buidl of squid_80 doesn't include mp4 output... just avi/mkv/raw...
BHH
EDIT: and mp4box seems no able to handle raw input :(
SeeMoreDigital
3rd January 2007, 21:06
@SMD
latest buidl of squid_80 doesn't include mp4 output... just avi/mkv/raw...
EDIT: and mp4box seems no able to handle raw input :(How "RAW" is "RAW".... Normally just re-naming the file extension to either .M4V or .CMP will enable MP4box to mux the stream.
If you wish you e-mail a short RAW sample to me....
Barleyman
3rd January 2007, 21:12
no, you can use even original ... test it :)
i have added a "Sanity Check" in mkvmaudio.avs
"6==Audiochannels() ? stereo() : original()"
Yeah, I did try that.
Got -1 audio size and no mkv file.
SeeMoreDigital
3rd January 2007, 21:30
Oooooo.... my previous post was numbered "666" :devil:
Nico.Laus.2001
3rd January 2007, 21:54
I encountered a problem while working without administrative rights on NTFS (AutoMKV 0.66):
although I've got every rights on a folder, muxing with mp4box stops with an I/O error telling that the target file could not be accessed. As an admin that works and on FAT32 both work.
although it's more a problem of mp4box, maybe you got some ideas (maybe something yuo could influence when compiling mp4box into the package)
AMED
3rd January 2007, 22:27
I have this weird issue with the compression test failing, AutoMKV 0.66 doesn't seem to be saving the 18 that is in the Use CFR for Autoresize Routines box, this only occurs after i use the save settings button and close down AutoMKV and reopen it. Even manually typing in the 18 into the box, after automkv is closed it still goes back to a blank box. If i delete the automkv.ini file and run automkv again the 18 comes back.
10:22:25 0.66 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
10:22:25 Selected Input file: D:\THE_NAKED_GUN1\VIDEO_TS\VTS_01_0.IFO
10:22:25 Selected Output dir: D:\THE_NAKED_GUN1\VIDEO_TS\temp\
10:22:25 Selected Final Name: movie
10:22:25 Selected Container type: MKV
10:22:25 Selected Encoder: X264
10:22:25 Selected Size: 1/3 DVD-R
10:22:25 Selected Slice: 1
10:22:25 Selected Profile: HQ-Slow.xml
10:22:25 Selected Width: Automatic
10:22:25 Selected Resizer: LanczosResize
10:22:25 Selected Filters: RemoveGrain(mode=2)
10:22:25 Selected Deinterlacer: AUTO
10:22:25 NeroAACEnc.exe: not present
10:22:25 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
10:22:25 Audio Codec 1: Copy Original
10:22:25 Audio Quality 1: 0.35
10:22:25 Selected 1' Sub tracks: NONE
10:22:25 Selected 2' Sub tracks: NONE
10:22:25
10:22:25 Starting Indexing
10:22:25 Dgindex CMD: J:\Video\AutoMKV066\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[D:\THE_NAKED_GUN1\VIDEO_TS\VTS_01_1.vob] -OF=[D:\THE_NAKED_GUN1\VIDEO_TS\temp\movie] -exit -minimize
10:24:03 Finished indexing
10:24:03 Starting fixing audio delay on track number 1
10:24:03 DelayCut CMD: J:\Video\AutoMKV066\exe\dgindex\Delaycut.exe -auto -out "D:\THE_NAKED_GUN1\VIDEO_TS\temp\fixed1.ac3" "D:\THE_NAKED_GUN1\VIDEO_TS\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
10:24:09 Original 1' Audio Size: 273917952 bytes
10:24:09 Finished fixing audio delay
10:24:09 Renamed file fixed1.ac3 to audio.ac3
10:24:09 Encoded 1' Audio Track: 273917952 bytes
10:24:12 Number of Frames: 122285
10:24:12 Framerate: 25.000000
10:24:12 Movie lenght in Seconds: 4892
10:24:12 Movie Width: 720
10:24:12 Movie Height: 576
10:25:09 Processing completed. Type is determined to be progressive.
10:25:09 Order: unk
10:25:09 Starting X264 AutoResize with WIDTH of Automatic and wanted size of 1537212416 bytes
10:25:09 CRF encoding X264: J:\Video\AutoMKV066\exe\encoder\x264.exe --pass 1 --crf --stats "D:\THE_NAKED_GUN1\VIDEO_TS\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --merange 12 --weightb --b-pyramid --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "D:\THE_NAKED_GUN1\VIDEO_TS\temp\resmovie.mp4" "D:\THE_NAKED_GUN1\VIDEO_TS\temp\resmovie.avs"
10:25:12 Tested total movie: 5%
10:25:12 AutoResize movie size: -1 bytes
10:25:12 Movie Width suggested: 0 value based on sample size
10:25:12 Warning !!! - Too low resolution. Set witdh to 240
Barleyman
3rd January 2007, 22:41
Well.
The problem does not seem to be the "original vs stereo" after all.
There's the log file. (http://personal.inet.fi/koti/ohramies/2006/VTS_09_0.IFO.log)
1st off, at least logfile misses parentheses around mkvmerge...
E:\Movies-E\Star Wreck Imperial Edition>C:\Program Files\AutoMKV\exe\matroska\mk
vmerge.exe -o "E:\Movies-E\Star Wreck Imperial Edition\temp\StarWreck.mkv" --asp
ect-ratio 0:2.350000 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E:\
Movies-E\Star Wreck Imperial Edition\temp\movie.avi" --language 0:suo "E:\Movies
-E\Star Wreck Imperial Edition\temp\audio.mp3"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
2nd.. It get's better:
E:\Movies-E\Star Wreck Imperial Edition>"C:\Program Files\AutoMKV\exe\matroska\m
kvmerge.exe" -o "E:\Movies-E\Star Wreck Imperial Edition\temp\StarWreck.mkv" --a
spect-ratio 0:2.350000 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E
:\Movies-E\Star Wreck Imperial Edition\temp\movie.avi" --language 0:suo "E:\Movi
es-E\Star Wreck Imperial Edition\temp\audio.mp3"
mkvmerge v1.8.1 ('Little By Little') built on Nov 25 2006 16:14:20
Error: 'suo' is neither a valid ISO639-2 nor a valid ISO639-1 code. See 'mkvmerg
e --list-languages' for a list of all languages and their respective ISO639-2 co
des.
Oops. Finally, this one produces expected result:
E:\Movies-E\Star Wreck Imperial Edition>"C:\Program Files\AutoMKV\exe\matroska\m
kvmerge.exe" -o "E:\Movies-E\Star Wreck Imperial Edition\temp\StarWreck.mkv" --a
spect-ratio 0:2.350000 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E
:\Movies-E\Star Wreck Imperial Edition\temp\movie.avi" --language 0:fin "E:\Movi
es-E\Star Wreck Imperial Edition\temp\audio.mp3"
mkvmerge v1.8.1 ('Little By Little') built on Nov 25 2006 16:14:20
'E:\Movies-E\Star Wreck Imperial Edition\temp\movie.avi': Using the AVI demultip
lexer. Opening file. This may take some time depending on the file's size.
'E:\Movies-E\Star Wreck Imperial Edition\temp\audio.mp3': Using the MP2/MP3 demu
ltiplexer.
'E:\Movies-E\Star Wreck Imperial Edition\temp\movie.avi' track 0: Using the MPEG
-4 part 2 video output module.
'E:\Movies-E\Star Wreck Imperial Edition\temp\audio.mp3' track 0: Using the MPEG
audio output module.
The file 'E:\Movies-E\Star Wreck Imperial Edition\temp\StarWreck.mkv' has been o
pened for writing.
buzzqw
3rd January 2007, 22:48
@SeeMoreDigital
very good tips ! renaming from .raw to .m4v does the trick !
@Barleyman
seems thet "Suomi" language isn't in matroska language list...
what is an alternative spelling (like eng for english, or jpn for japan...) ?
@AMED
i will try to replicate, thanks for this bug !
@Nico.Laus.2001
i will check on my side :)
BHH
Barleyman
4th January 2007, 00:02
@Barleyman
seems thet "Suomi" language isn't in matroska language list...
what is an alternative spelling (like eng for english, or jpn for japan...) ?
fin for "Finnish" works.. I'm sure finnish language dvd-rips are not top of the list of anyone developing containers :rolleyes:
buzzqw
4th January 2007, 00:11
Suomi -> Fin , fixed in next release
thanks!
BHH
buzzqw
4th January 2007, 00:27
@AMED
FIXED in next release
i added (both for queue/Command line mode and save default) if crf/cq is used and what value
thanks
BHH
Unrealbr
4th January 2007, 12:13
I'm having a couple of issues with 0.66 when trying to encode, the x264.exe is crashing after about 6min of encoding. Dunno if it is because im encoding @ 44fps, wich is kinda fast since i've set it to use no filters. Odly I didnt have had problems with 0.64.
I'm including the log below
08:58:20 0.66 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
08:58:20 Selected Input file: F:\Karekano[1 ao 26]DVD-RIP\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi
08:58:20 Selected Output dir: F:\Karekano[1 ao 26]DVD-RIP\temp\
08:58:20 Selected Final Name: CanalProject_KAMIKAKUSHI_KareKano_10
08:58:20 Selected Container type: MP4
08:58:20 Selected Encoder: X264
08:58:20 Selected Size: 50
08:58:20 Selected Slice: 1
08:58:20 Selected Profile: CE-Mainprofile.xml
08:58:20 Selected Width: AutoCrop Only
08:58:20 Selected Resizer: LanczosResize
08:58:20 Selected Filters: NONE
08:58:20 Selected Deinterlacer: AUTO
08:58:20 Enabled CRF/CQ AutoRes at 18 value
08:58:20 Track Language 1: [Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi
08:58:20 Audio Codec 1: Nero AAC
08:58:20 Audio Quality 1: 0.30
08:58:20 Selected 1' Sub tracks: NONE
08:58:20 Selected 2' Sub tracks: NONE
08:58:20
08:58:30 Number of Frames: 43377
08:58:30 Framerate: 29.969999
08:58:30 Movie lenght in Seconds: 1448
08:58:30 Movie Width: 640
08:58:30 Movie Height: 480
08:59:41 Processing completed. Type is determined to be progressive.
08:59:41 Order: unk
08:59:41 Encoding F:\Karekano[1 ao 26]DVD-RIP\temp\ to NeroAAC with 0.30 quality
09:01:05 Encoded 1' Audio Track: 13666252 bytes
09:01:05 Starting X264
09:01:05 Command Line 1' Pass X264: E:\AutoMKV066\exe\encoder\x264.exe --pass 1 --bitrate 213 --stats "F:\Karekano[1 ao 26]DVD-RIP\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter 0,0 --direct spatial --vbv-maxrate 25000 --me hex --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,p4x4 --threads 3 --output NUL "F:\Karekano[1 ao 26]DVD-RIP\temp\movie.avs"
09:01:05 Command Line 2' Pass X264: E:\AutoMKV066\exe\encoder\x264.exe --pass 2 --bitrate 213 --stats "F:\Karekano[1 ao 26]DVD-RIP\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter 0,0 --direct spatial --vbv-maxrate 25000 --me hex --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,p4x4 --threads 3 --output "F:\Karekano[1 ao 26]DVD-RIP\temp\movie.mp4" "F:\Karekano[1 ao 26]DVD-RIP\temp\movie.avs"
09:12:09 E:\AutoMKV066\exe\matroska\mp4box.exe -add "F:\Karekano[1 ao 26]DVD-RIP\temp\movie.mp4":par=1.000000 -chap "E:\AutoMKV066\exe\chapters.txt" -add "F:\Karekano[1 ao 26]DVD-RIP\temp\audio.mp4:lang=und" -fps 29.969999 "F:\Karekano[1 ao 26]DVD-RIP\temp\CanalProject_KAMIKAKUSHI_KareKano_10_full.mp4"
09:12:09 Final Muxed size: -1 bytes
09:12:09 Encoding finished: 00:13:49 elapsed time
09:12:09 -----------------------------------------------------------------------
09:12:09 Script AutoCrop.log
09:12:09
09:12:09 Crop(4,0,632,480)
09:12:09 -----------------------------------------------------------------------
09:12:09 Script Resmovie.avs
09:12:09
09:12:09 -----------------------------------------------------------------------
09:12:09 Script movie.avs
09:12:09
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\autocrop.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\blockbuster.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\cnr2.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\ColorMatrix.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\Convolution3D.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\corrector.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\DctFilter.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\Decomb.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\Deen.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\degrainmedian.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\DGDecode.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\EEDI2.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\fft3dfilter.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\FluxSmooth.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\frfun7.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\hqdn3d.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\LeakKernelDeint.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\MaskTools.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\medianblur.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\MipSmooth.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\mt_masktools.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\mvtools.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\NicAudio.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\RemoveGrain.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\Repair.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\SangNom.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\SimpleResize.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TBilateral.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TDeint.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TIVTC.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TomsMoComp.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\TTempSmooth.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\UnDot.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\UnFilter.dll")
09:12:09 LoadPlugin("E:\AutoMKV066\exe\filter\VSFilter.dll")
09:12:09 #loadpluginstart
09:12:09
09:12:09 #test1
09:12:09
09:12:09 Import("E:\AutoMKV066\exe\filter\MCBob_v03c.avsi")
09:12:09 Import("E:\AutoMKV066\exe\filter\mvbob.avsi")
09:12:09 Import("E:\AutoMKV066\exe\filter\QMF.avsi")
09:12:10 Import("E:\AutoMKV066\exe\filter\seesaw.avsi")
09:12:10 Import("E:\AutoMKV066\exe\filter\spresso.avsi")
09:12:10 #importstart
09:12:10
09:12:10 #test2
09:12:10
09:12:10 movie = directshowsource("F:\Karekano[1 ao 26]DVD-RIP\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi",audio=false)
09:12:10 movie = isRGB(movie) ? ConvertToYV12(movie) : movie
09:12:10 movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
09:12:10 function getOrder(clip c) {
09:12:10 order = GetParity(c) ? 1 : 0
09:12:10 Return order }
09:12:10 #filter1start
09:12:10
09:12:10 #test3
09:12:10
09:12:10 #cropstart
09:12:10
09:12:10 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
09:12:10 fixed_aspect = 1
09:12:10 c_width = width(cropclip)
09:12:10 c_height = Round(height(cropclip) / fixed_aspect)
09:12:10 input_par = float(float(c_width)/float(c_height))
09:12:10 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
09:12:10 out_width = 640
09:12:10 out_height = Round(float(out_width) / input_par)
09:12:10 hmod = out_height - (floor(out_height / 16 ) * 16)
09:12:10 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
09:12:10 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
09:12:10 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
09:12:10
09:12:10 #resizestart
09:12:10
09:12:10 #test4
09:12:10
09:12:10 LanczosResize(out_width,out_height)
09:12:10 #filter2start
09:12:10
09:12:10 #test5
09:12:10
09:12:10 -----------------------------------------------------------------------
09:12:10 Script mkvmaudio.avs
09:12:10
09:12:10 video=DirectShowSource("F:\Karekano[1 ao 26]DVD-RIP\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi",audio=false)
09:12:10 audio=DirectShowSource("F:\Karekano[1 ao 26]DVD-RIP\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi",video=false)
09:12:10 stereo=getchannel(audio,1,2)
09:12:10 Return AudioDub(video, stereo)
09:12:10 EnsureVBRMP3Sync()
09:12:10 ConvertAudioToFloat()
09:12:10 #Applyed STEREO downmixing routines
09:12:10 function stereo(clip a)
09:12:10 {
09:12:10 fl = GetChannel(a, 1)
09:12:10 fr = GetChannel(a, 2)
09:12:10 c = GetChannel(a, 3)
09:12:10 lfe = GetChannel(a, 4)
09:12:10 sl = GetChannel(a, 5)
09:12:10 sr = GetChannel(a, 6)
09:12:10 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
09:12:10 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
09:12:10 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
09:12:10 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
09:12:10 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
09:12:10 Return MergeChannels(l, r).Normalize()
09:12:10 }
09:12:10 #
09:12:10 function original(clip a)
09:12:10 {
09:12:10 Normalize(a)
09:12:10 Return last
09:12:10 }
09:12:10 6==Audiochannels() ? stereo() : original()
09:12:10 -----------------------------------------------------------------------
09:12:10 Script mkvmaudio.bat
09:12:10
09:12:10 "E:\AutoMKV066\exe\besweet\bepipe.exe" --script "Import(^F:\Karekano[1 ao 26]DVD-RIP\temp\mkvmaudio.avs^)" | "E:\AutoMKV066\exe\besweet\neroaacenc.exe" -ignorelength -q 0.30 -if - -of "F:\Karekano[1 ao 26]DVD-RIP\temp\audio.mp4"
09:12:10 -----------------------------------------------------------------------
09:12:10 Script mkvmaudio2.avs
09:12:10
09:12:10 -----------------------------------------------------------------------
09:12:10 Script mkvmaudio2.bat
09:12:10
09:12:10
09:12:10 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
buzzqw
4th January 2007, 13:27
if crash at half encoding seems a issue related to x264.exe or to directshowsource filters
Try upgrading to 2.57RC3, it has a better directshowsource filter, also since DSS is used check your decoding option (in ffdshow i suppose)
Also why use autocrop at all ? has avi source blackbars ? is not set reisize to NONE
Last one, try with a simplier path/original file name... i don't want that .stats files goes crazy (but i doubt...)
Comment: 213 bitrate ?
BHH
Unrealbr
4th January 2007, 14:04
I'll try 2.57RC3.
It doesnt have blackbars, the source is 640x480.
I'm trying to backup a couple of anime episodes and to get each episode in 50mb i have to resize it to 560x420.
About autocrop, i dunno what that does so i havent touched it at all :P
its crashing @ 62% of 1st pass, just on episode 10.
I tried other episodes and didnt crash, that is very odd. I checked the raw and it has no problems, no audio or video problems so i dunno why it crashes :(
Another thing i just tested, i tried mkvmagic 1.33 and it will crash at 62% either. :(
buzzqw
4th January 2007, 15:27
feel positive !
is good that it crashed ever at 62% !
most probably are corrupted frames !
try divfix ! or open in vdub and do a directstream copy of audio/video
BHH
weaver4
4th January 2007, 15:40
I tired the Zune 1-Pass Profile and here is what I found:
After encoding a 2 hour movie the movie.wmv file in the temp folder was 544M but the MovieName.wmv file in the output directory was 5.57M. This 5.57M entry would play the first few seconds of the movie correctly; so it did not look like a bad copy.
The resolution of the movie was 320x144 which is fine, but the filesize of movie seems awful big for that. I am not a real expert on wmv but XviD and DivX normally look great at 0.24 bits/pixel and X264 looks great at 0.18 bits/pixel. This was 0.51 bits/pixel.
buzzqw
4th January 2007, 16:03
After encoding a 2 hour movie the movie.wmv file in the temp folder was 544M but the MovieName.wmv file in the output directory was 5.57M.
:confused: so automkv will have copied only part of movie ??? very very very strange... (anyway the 544 is the full movie)
about file size... what is your target size ?
remember that i put width to 320, peakbitrate to 1500 but i don't touch average bitrate... and average bitrate is computed on size requested, so for 1 cd i think it has saturated at 544 mb (read: the bitrate was maxmized
for 2h movie and 128 audio the average bitrate is 667 for 700mb output, since you got 544 mb output the average bitrate is 489, that seems correct to saturate a 320*144 movie
BHH
SeeMoreDigital
4th January 2007, 16:04
Hi Buzz,
Is there any possibility for you to provide direct access to the AAC-LC section of Coding Technologies AAC encoder?
Cheers
Unrealbr
4th January 2007, 16:48
Hey Buzz, i ran DivFix and it came this
NOTE: The error checking is not perfect!
Finished with C:\Documents and Settings\Unrealbr\Desktop\dvfx\[Kamikakushi]_Karekano_10_[DVD_640x480][ED9B6C72].avi .
Number of errors: 0
Done.
Yet i am trying to encode the forced fix i did in it.
*EDIT*: Didnt work
Now i'm gonna try to do a direct stream copy via VDub.
PS: Dunno how to do that T_T
*EDIT2*: Trying to reencode with AutoGK to see what comes out.
Everything crashes.. im going mad :(
weaver4
4th January 2007, 21:23
:confused: so automkv will have copied only part of movie ??? very very very strange... (anyway the 544 is the full movie)
about file size... what is your target size ?
remember that i put width to 320, peakbitrate to 1500 but i don't touch average bitrate... and average bitrate is computed on size requested, so for 1 cd i think it has saturated at 544 mb (read: the bitrate was maxmized
for 2h movie and 128 audio the average bitrate is 667 for 700mb output, since you got 544 mb output the average bitrate is 489, that seems correct to saturate a 320*144 movie
BHH
I will try another movie tonight to try the copy thing. Yes the 544 was the complete movie with audio; and it looks really good on the zune.
Markoul
4th January 2007, 21:58
buzzqw,
My question to you is, what settings i must choose in Automkv in order to preserve the gamma, color, contrast and brightness levels of the original DV movie i ripped off ??
I am encoding in x264 and using mkv container. Also i am using Lanczos resizing.
And it is definitely not a player problem... i have the latest set of ffdshow installed and mplayer classic is outputting different picture levels (i.e. contrast, brightness etc.) between the encoded mkv file and the original DV movie... (i playedback both with mplayer classic and crosschecked with VLC player as well)
Best Regards,
Markoul
p.s. and can you please fix AutoMKV to display correctly for "Windows Large Fonts 120DPI" display setting??
buzzqw
4th January 2007, 22:19
@SeeMoreDigital
i will work on this... added on todo list.. (and done m4v...)
@weaver4
:thanks: :goodpost:
@Markoul
for a dv source automkv will try or
this as first option
movie =avisource("inputfile.avi",audio=false)
movie = isRGB(movie) ? ConvertToYV12(movie) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
and if fail
movie = directshowsource("inputfile.avi",audio=false)
movie = isRGB(movie) ? ConvertToYV12(movie) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
levels of gamma,color, contrast and brightness isn't directly touched ... my doubt is that your source is interalced...
please try this build www.64k.it/andres/data/a/AutoMKV066a.exe (i added interlaced=true)
BHH
Markoul
4th January 2007, 22:35
Tahnk You!! Very Much!! :thanks:
SeeMoreDigital
4th January 2007, 22:52
Just tried build 0.66a....... Many thanks :D
First observation - It would seem manually entered video bitrates are not recognised and encoded correctly.
Cheers
Markoul
4th January 2007, 23:28
buzzqw,
for a dv source automkv will try or
this as first option...
When you say DV sources does this include also DVD movies?? (i.e. VOB files).
Is there also no change done to the original contrast and brightness levels ??
I checked on the movie and yes it is interlaced. I re encode now with HQ deinterlace enabled and will feedback my results to you.
Markoul
buzzqw
5th January 2007, 09:19
automkv will never change color/contrast
the change i made (interlaced=true) would give a better transposition from rgb/yuy2 to yv12, and is only for avi input
for vob i use colormatrix! (search it)
@SMD
from my test is correct... could you please post the log file ?
BHH
SeeMoreDigital
5th January 2007, 10:29
@SMD
from my test is correct... could you please post the log file ?Sure.... here's the log: -09:17:43 0.66a - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
09:17:43 Selected Input file: T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\VTS_01_1.VOB
09:17:43 Selected Output dir: T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\
09:17:43 Selected Final Name: movie
09:17:43 Selected Container type: MP4
09:17:43 Selected Encoder: XviD
09:17:43 Selected Size: 1 CD
09:17:43 Selected Slice: 1
09:17:43 Selected Profile: XviD_Normal.xml
09:17:43 Selected Width: 720
09:17:43 Selected Resizer: NONE
09:17:43 Selected Filters: NONE
09:17:43 Selected Deinterlacer: NONE
09:17:43 NeroAACEnc.exe: not present
09:17:43 Enabled CRF/CQ AutoRes at 2.5 value
09:17:43 Enabled Bitrate encoding with value 300
09:17:43 Track Language 1: AC3 Audio Stream 0
09:17:43 Audio Codec 1: Coding Tech. AAC
09:17:43 Audio Quality 1: 128
09:17:43 Selected 1' Sub tracks: NONE
09:17:43 Selected 2' Sub tracks: NONE
09:17:43
09:17:43 Dgindex CMD: T:\Encoder Testing\AutoMKV066\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\VTS_01_1.VOB] -OF=[T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie] -exit -minimize
09:17:43 Starting fixing audio delay on track number 1
09:17:43 DelayCut CMD: T:\Encoder Testing\AutoMKV066\exe\dgindex\Delaycut.exe -auto -out "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\fixed1.ac3" "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie T01 3_2ch 448Kbps DELAY -448ms.ac3"
09:17:43 Original 1' Audio Size: 2808064 bytes
09:17:43 Finished fixing audio delay
09:17:43 Encoding T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\fixed1.ac3 to Coding Tech. AAC with 131072 setting
09:17:56 Encoded 1' Audio Track: 821301 bytes
09:18:00 Number of Frames: 1270
09:18:00 Framerate: 25.000000
09:18:00 Movie lenght in Seconds: 51
09:18:00 Movie Width: 720
09:18:00 Movie Height: 576
09:18:00 FIRST pass XviD: "T:\Encoder Testing\AutoMKV066\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 300 -turbo -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -framerate 25.000000 -bquant_ratio 162 -chigh 15 -clow 5 -nopacked -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.avs" -type 2 -o "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.m4v"
09:18:00 SECOND pass XviD: "T:\Encoder Testing\AutoMKV066\exe\encoder\xvid_encraw.exe" -altpass2 -progress -bitrate 300 -threads 1 -max_bframes 2 -imax 16 -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -framerate 25.000000 -bquant_ratio 162 -chigh 15 -clow 5 -nopacked -nochromame -noclosed_gop -bvhq -i "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.avs" -type 2 -o "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.m4v"
09:18:00 Starting First Pass
09:18:44 Starting Second Pass
09:18:47 Only Movie Size: 4867378 bytes
09:18:47 "T:\Encoder Testing\AutoMKV066\exe\matroska\mp4box.exe" -add "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.m4v":par=2.350000 -chap "T:\Encoder Testing\AutoMKV066\exe\chapters.txt" -add "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\audio.mp4:lang=und" -fps 25.000000 "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.mp4"
09:18:47 Final Muxed size: 5701889 bytes
09:18:47 Encoding finished: 00:01:04 elapsed time
09:18:47 -----------------------------------------------------------------------
09:18:47 Script AutoCrop.log
09:18:47
09:18:47 Crop(0,74,720,432)
09:18:47 -----------------------------------------------------------------------
09:18:47 Script Resmovie.avs
09:18:47
09:18:47 -----------------------------------------------------------------------
09:18:47 Script movie.avs
09:18:47
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\autocrop.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\blockbuster.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\cnr2.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\ColorMatrix.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\Convolution3D.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\corrector.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\DctFilter.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\Decomb.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\Deen.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\degrainmedian.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\DGDecode.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\EEDI2.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\fft3dfilter.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\FluxSmooth.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\frfun7.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\hqdn3d.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\LeakKernelDeint.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\MaskTools.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\medianblur.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\MipSmooth.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\mt_masktools.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\mvtools.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\NicAudio.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\RemoveGrain.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\Repair.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\SangNom.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\SimpleResize.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TBilateral.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TDeint.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TIVTC.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TomsMoComp.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\TTempSmooth.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\UnDot.dll")
09:18:47 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\UnFilter.dll")
09:18:48 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\VSFilter.dll")
09:18:48 #loadpluginstart
09:18:48
09:18:48 #test1
09:18:48
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\MCBob_v03c.avsi")
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\mvbob.avsi")
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\QMF.avsi")
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\seesaw.avsi")
09:18:48 Import("T:\Encoder Testing\AutoMKV066\exe\filter\spresso.avsi")
09:18:48 #importstart
09:18:48
09:18:48 #test2
09:18:48
09:18:48 movie = mpeg2source("T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\movie.d2v")
09:18:48 function getOrder(clip c) {
09:18:48 order = GetParity(c) ? 1 : 0
09:18:48 Return order }
09:18:48 #filter1start
09:18:48
09:18:48 #test3
09:18:48
09:18:48 #cropstart
09:18:48
09:18:48 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
09:18:48 fixed_aspect = 1.422222
09:18:48 c_width = width(cropclip)
09:18:48 c_height = Round(height(cropclip) / fixed_aspect)
09:18:48 input_par = float(float(c_width)/float(c_height))
09:18:48 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
09:18:48 out_width = 720
09:18:48 out_height = Round(float(out_width) / input_par)
09:18:48 hmod = out_height - (floor(out_height / 16 ) * 16)
09:18:48 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
09:18:48 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
09:18:48 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
09:18:48
09:18:48 #resizestart
09:18:48
09:18:48 #test4
09:18:48
09:18:48 last=movie
09:18:48 #filter2start
09:18:48
09:18:48 #test5
09:18:48
09:18:48 return last
09:18:48 -----------------------------------------------------------------------
09:18:48 Script mkvmaudio.avs
09:18:48
09:18:48 LoadPlugin("T:\Encoder Testing\AutoMKV066\exe\filter\NicAudio.dll")
09:18:48 NicAC3Source("T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\fixed1.ac3")
09:18:48 EnsureVBRMP3Sync()
09:18:48 ConvertAudioTo16bit()
09:18:48 #Applyed ORIGINAL downmixing routines
09:18:48 Normalize()
09:18:48 -----------------------------------------------------------------------
09:18:48 Script mkvmaudio.bat
09:18:48
09:18:48 "T:\Encoder Testing\AutoMKV066\exe\besweet\bepipe.exe" --script "Import(^T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\mkvmaudio.avs^)" | "T:\Encoder Testing\AutoMKV066\exe\besweet\enc_aacPlus.exe" - "T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\temp\audio.aac" --cbr 131072
09:18:48 -----------------------------------------------------------------------
09:18:48 Script mkvmaudio2.avs
09:18:48
09:18:48 -----------------------------------------------------------------------
09:18:48 Script mkvmaudio2.bat
09:18:48
09:18:48
09:18:48 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -The selected Xvid (MPEG-4 Part-2) video bit-rate was "300Kbps". However, according to MediaInfo (and GSpot) it's 766Kbps: -General #0
Complete name : T:\Encoder Testing\AutoMKV066\Media\MPEG-2 - 576p\movie.mp4
Format : MPEG-4
Format/Info : ISO 14496-1 version 2
Format/Family : MPEG-4
File size : 5.44 MiB
PlayTime : 50s 800ms
Bit rate : 898 Kbps
StreamSize : 20.0 KiB
Encoded date : UTC 2007-01-04 17:18:47
Tagged date : UTC 2007-01-04 09:18:47
Video #0
Codec : MPEG-4 Video
Codec settings/BVOP : Yes
Codec settings/QPel : No
Codec settings/GMC : 0
Codec settings/Matri : Default
PlayTime : 50s 800ms
Bit rate : 766 Kbps
Bit rate mode : VBR
Width : 720 pixels
Height : 576 pixels
Aspect ratio : 4/3
Frame rate : 25.000 fps
Standard : PAL
Resolution : 8 bits
Chroma : 4:2:0
Interlacement : Progressive
Bits/(Pixel*Frame) : 0.074
StreamSize : 4.64 MiB
Writing library : XviD0046
Encoded date : UTC 2007-01-04 09:18:47
Tagged date : UTC 2007-01-04 09:18:47
Apart from that it's encoding and muxing very well indeed ;)
Cheers
buzzqw
5th January 2007, 11:17
@SMD and anyone testing the alpha 0.66a
delete xvid_encraw.exe from \exe\encoder
download www.64k.it/andres/data/a/xvid_encraw.zip and unzip in \exe\encoder
re test ! :)
BHH
SeeMoreDigital
5th January 2007, 12:54
@SMD and anyone testing the alpha 0.66a
delete xvid_encraw.exe from \exe\encoder
download www.64k.it/andres/data/a/xvid_encraw.zip and unzip in \exe\encoder
re test ! :)That's fixed it..... Thanks!
Later on today I will check to see how well "interlaced" MPEG-4 encoding works from "interlaced" MPEG-2 sources.
Many thanks
weaver4
5th January 2007, 16:09
I tried a second shorter movie using the Zune single-pass and I am still a little confused about the file size. The profile says the video bit rate should be 500kbs but it looks like from the following that it got passed to the encoder as 881kbs. The file size came out exactly the same size as a movie that was 35 minutes longer.
23:16:15 WMV CMD: cscript.exe "C:\Downloads\AutoMKV\AutoMKV066\exe\encoder\WMCmd.vbs" -input "E:\Movies\temp\movie.avs" -output "E:\Movies\temp\movie.wmv" -v_codec WMV9 -v_mode 0 -v_bitrate 881000 -s_config "E:\Movies\temp\wmv_crb" -v_bframedist 1 -v_dquantoption 2 -v_lookahead 0 -v_mbmodecost 0 -v_mmatch 0 -v_mslevel 1 -v_msrange 0 -v_mvcost 0 -v_peakbitrate 1500000 -v_bdeltaqp 1 -a_codec WMASTD -a_mode 0 -copyright "Done with AutoMKV!" -a_setting 80_44_2_16
Here is the complete log file:
===========================================
23:10:01 0.66 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
23:10:01 Selected Input file: E:\Movies\Rips\Evoluution\VTS_01_0.IFO
23:10:01 Selected Output dir: E:\Movies\temp\
23:10:01 Selected Final Name: Evolution--zune
23:10:01 Selected Container type: WMV
23:10:01 Selected Encoder: WMV
23:10:01 Selected Size: 1 CD
23:10:01 Selected Slice: 1
23:10:01 Selected Profile: Zune_1_Pass.xml
23:10:01 Selected Width: 320
23:10:01 Selected Resizer: SimpleResize (neutral soft)
23:10:01 Selected Filters: RemoveGrain(mode=2)
23:10:01 Selected Deinterlacer: AUTO
23:10:01 NeroAACEnc.exe: not present
23:10:02 Enabled CRF/CQ AutoRes at 90 value
23:10:02 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
23:10:02 Audio Codec 1: WMV
23:10:02 Audio Quality 1: 80
23:10:02 Selected 1' Sub tracks: NONE
23:10:02 Selected 2' Sub tracks: NONE
23:10:02
23:10:02 Starting Indexing
23:10:02 Dgindex CMD: C:\Downloads\AutoMKV\AutoMKV066\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Movies\Rips\Evoluution\VTS_01_1.vob] -OF=[E:\Movies\temp\movie] -exit -minimize
23:15:09 Finished indexing
23:15:09 Starting fixing audio delay on track number 1
23:15:09 DelayCut CMD: C:\Downloads\AutoMKV\AutoMKV066\exe\dgindex\Delaycut.exe -auto -out "E:\Movies\temp\fixed1.ac3" "E:\Movies\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
23:15:41 Original 1' Audio Size: 341772032 bytes
23:15:42 Finished fixing audio delay
23:15:42 ForcedFilm applied: 99.800003% FILM found
23:16:14 Number of Frames: 146328
23:16:14 Framerate: 23.976025
23:16:14 Movie lenght in Seconds: 6104
23:16:14 Movie Width: 720
23:16:14 Movie Height: 480
23:16:15 WMV CMD: cscript.exe "C:\Downloads\AutoMKV\AutoMKV066\exe\encoder\WMCmd.vbs" -input "E:\Movies\temp\movie.avs" -output "E:\Movies\temp\movie.wmv" -v_codec WMV9 -v_mode 0 -v_bitrate 881000 -s_config "E:\Movies\temp\wmv_crb" -v_bframedist 1 -v_dquantoption 2 -v_lookahead 0 -v_mbmodecost 0 -v_mmatch 0 -v_mslevel 1 -v_msrange 0 -v_mvcost 0 -v_peakbitrate 1500000 -v_bdeltaqp 1 -a_codec WMASTD -a_mode 0 -copyright "Done with AutoMKV!" -a_setting 80_44_2_16
09:09:34 Only Movie Size: 488098543 bytes
09:09:34 Only Movie Size: 1445879296 bytes
09:09:34 Final Muxed size: 605506141 bytes
09:09:34 Encoding finished: 09:59:33 elapsed time
09:09:34 -----------------------------------------------------------------------
09:09:34 Script AutoCrop.log
09:09:34
09:09:34 Crop(10,0,700,480)
09:09:34 -----------------------------------------------------------------------
09:09:34 Script Resmovie.avs
09:09:34
09:09:34 -----------------------------------------------------------------------
09:09:34 Script movie.avs
09:09:34
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\autocrop.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\blockbuster.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\cnr2.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\ColorMatrix.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\Convolution3D.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\corrector.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\DctFilter.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\Decomb.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\Deen.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\degrainmedian.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\DGDecode.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\EEDI2.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\fft3dfilter.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\FluxSmooth.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\frfun7.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\hqdn3d.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\LeakKernelDeint.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\MaskTools.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\medianblur.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\MipSmooth.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\mt_masktools.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\mvtools.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\NicAudio.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\RemoveGrain.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\Repair.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\SangNom.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\SimpleResize.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TBilateral.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TDeint.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TIVTC.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TomsMoComp.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\TTempSmooth.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\UnDot.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\UnFilter.dll")
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\VSFilter.dll")
09:09:34 #loadpluginstart
09:09:34
09:09:34 #test1
09:09:34
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\MCBob_v03c.avsi")
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\mvbob.avsi")
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\QMF.avsi")
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\seesaw.avsi")
09:09:34 Import("C:\Downloads\AutoMKV\AutoMKV066\exe\filter\spresso.avsi")
09:09:34 #importstart
09:09:34
09:09:34 #test2
09:09:34
09:09:34 movie = mpeg2source("E:\Movies\temp\movie.d2v")
09:09:34 audio = NicAC3Source("E:\Movies\temp\fixed1.ac3",2)
09:09:34 function getOrder(clip c) {
09:09:34 order = GetParity(c) ? 1 : 0
09:09:34 Return order }
09:09:34 #filter1start
09:09:34
09:09:34 #test3
09:09:34
09:09:34 #cropstart
09:09:34
09:09:34 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
09:09:34 fixed_aspect = 1.185185
09:09:34 c_width = width(cropclip)
09:09:34 c_height = Round(height(cropclip) / fixed_aspect)
09:09:34 input_par = float(float(c_width)/float(c_height))
09:09:34 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
09:09:34 out_width = 320
09:09:34 out_height = Round(float(out_width) / input_par)
09:09:34 hmod = out_height - (floor(out_height / 16 ) * 16)
09:09:34 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
09:09:34 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
09:09:34 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
09:09:34
09:09:34 #resizestart
09:09:34
09:09:34 #test4
09:09:34
09:09:34 SimpleResize(out_width,out_height)
09:09:34 #filter2start
09:09:34
09:09:34 #test5
09:09:34
09:09:34 RemoveGrain(mode=2)
09:09:34 ColorMatrix("Rec.709->Rec.601",hints=false)
09:09:34 audio=EnsureVBRMP3Sync(audio)
09:09:34 audio=ConvertAudioToFloat(audio)
09:09:34 audiodub(audio,last)
09:09:34 -----------------------------------------------------------------------
09:09:34 Script mkvmaudio.avs
09:09:34
09:09:34 LoadPlugin("C:\Downloads\AutoMKV\AutoMKV063\exe\filter\NicAudio.dll")
09:09:34 NicAC3Source("E:\Movies\temp\fixed1.ac3")
09:09:34 EnsureVBRMP3Sync()
09:09:34 ConvertAudioTo16bit()
09:09:34 #Applyed STEREO downmixing routines
09:09:34 function stereo(clip a)
09:09:34 {
09:09:34 fl = GetChannel(a, 1)
09:09:34 fr = GetChannel(a, 2)
09:09:34 c = GetChannel(a, 3)
09:09:34 lfe = GetChannel(a, 4)
09:09:34 sl = GetChannel(a, 5)
09:09:34 sr = GetChannel(a, 6)
09:09:34 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
09:09:34 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
09:09:34 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
09:09:34 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
09:09:34 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
09:09:34 Return MergeChannels(l, r).Normalize()
09:09:34 }
09:09:34 #
09:09:34 function original(clip a)
09:09:34 {
09:09:34 Normalize(a)
09:09:34 Return last
09:09:34 }
09:09:34 6==Audiochannels() ? stereo() : original()
09:09:34 -----------------------------------------------------------------------
09:09:34 Script mkvmaudio.bat
09:09:34
09:09:34 "C:\Downloads\AutoMKV\AutoMKV063\exe\besweet\bepipe.exe" --script "Import(^E:\Movies\temp\mkvmaudio.avs^)" | "C:\Downloads\AutoMKV\AutoMKV063\exe\besweet\lame.exe" -v --vbr-new -h -S -V 5 - "E:\Movies\temp\audio.mp3"
09:09:34 -----------------------------------------------------------------------
09:09:34 Script mkvmaudio2.avs
09:09:34
09:09:34 -----------------------------------------------------------------------
09:09:34 Script mkvmaudio2.bat
09:09:34
09:09:34
09:09:34 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
Markoul
5th January 2007, 16:22
buzzqw,
for vob i use colormatrix! (search it)
okay i found the "colormatrix.dll" in the filters folder of my AutoMKV directory...so what next??
how i can make AutoMkv to use colormatrix filter when encoding vob files in x264 matroska?? {i am using the "CE-Mainprofile" and also the "RemoveGrain(mode=2)" filter for the particular movie i am encoding this time namely Star Trek 10 Nemesis Interlaced PAL DVD.}
Thanks in Advance :D
Markoul
p.s. I Encoded this particular movie for the 3rd time. the last time i used "HQ deinterlace" setting and Lazlos4 resize and now contrast and brightness levels are identical to the original vobs.
However colors are still false!!... :(
Markoul
5th January 2007, 17:48
here are 2 snapshots for comparison
First is a scene from the original DVD Movie (1024X576):
http://users.otenet.gr/~markoul/snap_original.jpg
Second is from the x264 encoded taken resized to (704X304) but for comparison reasons it is enlarged to match the above picture:
http://users.otenet.gr/~markoul/snap_x264.jpg
Notice the color hue differences between the 2 snapshots!
I used Lazlos4 resize and a soft denoise filter [removeGrain(mode=2)]
Movie is an Interlaced PAL DVD
Markoul
buzzqw
5th January 2007, 18:00
update
this update is a really beta one's.
Upon request by SMD i reworked all audio parts (near..)
Look at the tiny button near audio channel... feel the power to click.. if you are brave
from my test should be ok... but.. i prefer your test.
These values is used both for standard use, for queue use, and for command line use, BUT NOT with TS files (it will be quite hard to implementing to ts audio routines management...)
here is www.64k.it/andres/data/a/AutoMKV066b.exe
as i wrote before anyone testing the alpha 0.66b must
delete xvid_encraw.exe and xvid_encraw2.exe from \exe\encoder
download www.64k.it/andres/data/a/xvid_encraw.zip and unzip in \exe\encoder
0.66a
FIXED: in queue view the value reported is now the same value viewed (not ones used internal...)
FIXED: Audio "SUO" translated to "FIN" (thanks to Barleyman)
FIXED: When encoding with XviD the stream will be avi for avi muxing, m4v for mp4 mux and mkv for mkv muxing
FIXED: CQ encoding with XviD
FIXED: In queue/Save Settings is now saved even the crf/cq values(thanks to Amed)
FIXED: Internal name of XviD Profiles
FIXED: In avi source added a interlaced=true (thanks to Markoul)
0.66b
ADDED: Totaly reworked audio sections, click on Don't touch button near channel selection (suggestion by SMD)
ADDED: Several and more audio options
FIXED: Some bugs on muxing tag (also added some)
ADDED: New audio section work queue/cmd
@weaver4
just select the zune profile, and in advanced settings check on "Specify bitrate" (no need to sign 500000 , just 500 i will multiply it by 1000)
@Markoul
from my monitor is ok... i ask other people to watch and do a comparison
BHH
ehushagen
5th January 2007, 20:42
I'm with buzzqw on this one. Despite the obvious blurring difference, the colors are identical on this monitor.
buzzqw
5th January 2007, 22:15
@ehushagen
i totally agree, is blurred too much
i will apply a resize to 656 and spresso to take low on bitrate
BHH
Markoul
6th January 2007, 00:13
i totally agree, is blurred too much
i will apply a resize to 656 and spresso to take low on bitrate
Because the presentation method i used in my previous 2 snapshots i misleading about the encoding x264 quality (i.e. x264 snapshot 704X304 resolution was stretched to match the 1024X576 resolution of the original source DVD anamorphic snapshot, my desktop is configured at 1152X864 resolution)...
...i present you 2 new snapshots taken with fraps:
Original Source DVD Anamorphic Snapshot 720X576
http://users.otenet.gr/~markoul/mplayerc_original.bmp
Encoded X264 snapshot 704X304
http://users.otenet.gr/~markoul/mplayerc_x264.bmp
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.