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
cosmos
12th January 2007, 10:48
One suggestion (you gurus probably know more, but anyways thought this might of interest): I've seen that automkv uses 3 threads for x264. Now I'm sure I was reading somewhere that 2 threads is always faster than with 3, in some cases by an important margin.
Perhaps threads should be 2 instead of 3? Or auto for that matter? MeGUI uses in almost all cases 0 (=auto). Just a suggestion. Will try to make a comparison here on a small clip with threads =auto, threads=2 and threads=3.
Hmm, seems auto and 3 produce the same result on my rig (P4 HT, single core), whereas threads=2 is actually slower. So strike my previous post out :)
buzzqw
12th January 2007, 10:57
update new full package 0.68
www.64k.it/andres/data/a/AutoMKV068.rar
sorry for this full package but problems with tfm and new xvid profiles need a new full... :thanks: to all
changelog
ADDED: Languages list to Advanced Audio Options
ADDED: On launch AutoMKV will display the Tip of the Day ! (i need mooooooore tips) please POST IT !!! (to disable just delete tips.txt)
ADDED: <altpass2> to XivD Profile parsing. If this value is present will be parsed and used (could be false/true). If not present will be false.
ADDED: In log file manual crop value
FIXED: 48khz on Zune Profiles (thanks to by dlflannery)
FIXED: Max Audio bitrate capped at 192 for Zune Profiles (thanks to by dlflannery)
FIXED: Audio track name wasn't enclosed in "" (thanks to cosmos)
FIXED: Manual crop and interlaced source. (thanks to Nemesis7)
UPDATE: Downgraded DgIndex to 1.4.7 beta 7 (incompatibility with TFM)
BHH
Nemesis7
12th January 2007, 12:25
It seems to be working. Thnx for the quick reply and solution mate!
fogbav
13th January 2007, 11:39
Hi Buzzqw,
after testing the PayPAL button i have a serious problem ...
I can't find any errors anymore ... program is running smooth - everything works perfect. I hate it ..8)
only wanted to let you know about this "showbreaker" ...8)
Happy weekend -- may the framerate be with you .
Greets
FoGBaV
buzzqw
13th January 2007, 12:28
thanks fogbav ! i miss you !
a lot of works was done for automkv stability and fuctionality.
I have been lucky to find great testers like DDogg, SMD, FogBav, weaver4, travisbell, Barleyman, AMED, Nico.Laus.2001, dlflannery and many others
:thanks: to all!
but.. the features are already in progress (i just added the possibility to force use of directshowsource (both for video and audio), regardless of file input type)
maybe next step to remove bepipe (and so the .net framework)... but the only replacement could be (now... till soundout plugin from Sh0dan isn't near stable and able to command the encoder ) mplayer.exe...
the advantage would be that in multi audio file (like avi or mkv with more audio tracks) the audio tracks could be selectable...
I am very happy that automkv could be a succesfull tools for encoding, expecially with TS files since will be more and more common.
thanks again fogbav !
BHH
ehushagen
13th January 2007, 12:33
but.. the features are already in progress (i just added the possibility to force use of directshowsource (both for video and audio), regardless of file input type)
Oooohhh! Looking forward to next release!
fogbav
13th January 2007, 13:16
Kill Bepipe ! Kill BePipe ! Kill bePipe ! Yeahaaa !!!
I had only problems (especialy with AC3) ... i love this progress ..8)
And please always intergrate the Option "Encode ALLLLLL Audio Tracks with org. Settings (AC3/Stereo) to XXX "...8)
Dbox2 Streams here have nearly always Ger. AC3 / Ger. Stereo / eng. Stereo .... so i like to integrate more than 2 Audio Tracks with optimal compression ...
buzzqw
13th January 2007, 15:23
And please always intergrate the Option "Encode ALLLLLL Audio Tracks with org. Settings (AC3/Stereo) to XXX "...8)
isn't already present ? :confused:
just select "All audio tracks" and as channel "Original"
BHH
fogbav
14th January 2007, 09:53
Yes ... what i wanted to say was please let it also in the future versions present ...8)
Even on heavy restructure of automkv .... 8)
cosmos
14th January 2007, 15:28
There is this DVD that contains 4 episodes. When I click on "check dvd drive", the "Select PGC" box populates with 4 options, to select the proper episode. When I select, for example, the first PGC, fabdecrypter rips the entire video and then starts extracting the entire audio that corresponds to all 4 episodes together, creating audio of total length of 4x45 minutes=around 2 hours.
Specifically, the four episodes are all on VTS 02 (PGC 1 to 4)
I've also tried the same thing, checking "episodic IFO/DVD", but it didn't help. Am I doing something wrong, or should I rip each episode with my standalone DVDDecrypter first and process each episode rip seperately?
Log follows:
16:14:26 0.68 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
16:14:26 Selected Input file:
16:14:26 Selected Output dir: G:\Star Trek DS9\Finished\temp\
16:14:26 Selected Final Name: epi2
16:14:26 Selected Container type: MKV
16:14:26 Selected Encoder: X264
16:14:26 Selected Size: 172
16:14:26 Selected Slice: 1
16:14:26 Selected Profile: HQ-Slow.xml
16:14:26 Selected Width: 704
16:14:26 Selected Resizer: BicubicResize (neutral=0,0.50)
16:14:26 Selected Filters: RemoveGrain(mode=2)
16:14:26 Selected Deinterlacer: AUTO
16:14:26 Enabled CRF/CQ AutoRes at 18 value
16:14:26 Track Language 1: English (AC3 2ch, 0xBD 0x80) [0,1,2,3]
16:14:26 Audio Codec 1: Nero AAC
16:14:26 Audio Quality 1: 0.30
16:14:26 Advanced Audio Settings DUMP Track 1:
16:14:26 Audio Track Language:
16:14:26 Audio Track Name: English AAC 2.0
16:14:26 Nero Option Profiles: AUTO --- Encoding Mode: Quality
16:14:26 CCT Option Profiles: AUTO --- Channel Options: AUTO
16:14:26 Lame Settings: VBR
16:14:26 Audio Normalization: 0
16:14:26 Frequency: AUTO --- Tempo : NONE
16:14:26 Pitch: NONE --- Other Add :
16:14:26 Advanced Audio Settings DUMP Track 2:
16:14:26 Audio Track Language:
16:14:26 Audio Track Name:
16:14:26 Nero Option Profiles: AUTO --- Encoding Mode: Quality
16:14:26 CCT Option Profiles: AUTO --- Channel Options: AUTO
16:14:26 Lame Settings: ABR
16:14:26 Audio Normalization: 1
16:14:26 Frequency: AUTO --- Tempo : NONE
16:14:26 Pitch: NONE --- Other Add :
16:14:26 Selected 1' Sub tracks: NONE
16:14:26 Selected 2' Sub tracks: NONE
16:14:26 Activate Force ITU Resizing
16:14:26
16:14:26 Starting ripping from I:\VIDEO_TS\ to G:\Star Trek DS9\Finished\temp\
16:24:38 Finished Ripping
16:24:38 Starting Indexing
16:24:38 Dgindex CMD: E:\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[G:\Star Trek DS9\Finished\temp\dvd\video_ts\VTS_02_1.vob] -OF=[G:\Star Trek DS9\Finished\temp\movie] -exit -minimize
16:26:22 Finished indexing
16:26:22 Starting fixing audio delay on track number 1
16:26:22 DelayCut CMD: E:\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "G:\Star Trek DS9\Finished\temp\fixed1.ac3" "G:\Star Trek DS9\Finished\temp\movie T01 2_0ch 192Kbps DELAY 0ms.ac3"
16:26:29 Original 1' Audio Size: 262205184 bytes
16:26:29 Finished fixing audio delay
16:26:29 Encoding G:\Star Trek DS9\Finished\temp\fixed1.ac3 to NeroAAC with 0.30 quality
Note the size of the track above, it should be around 70Mbytes instead.
buzzqw
14th January 2007, 16:13
all movies are always full ripped, not only the selected episode
checking "Episodic dvd" automkv will be forced to encode only the vobs belonging to selected ifo (so is working with an already ripped dvd)
es:
vts_01_1.ifo
vts_01_0.vob
vts_01_1.vob
vts_01_2.vob
vts_02_1.ifo
vts_02_0.vob
vts_02_1.vob
vts_02_2.vob
vts_03_1.ifo
vts_03_0.vob
vts_03_1.vob
vts_03_2.vob
without checking "Episodic dvd" only the biggest ifo (and the corrispondenting vobs) is processed
with check on "Episodic dvd" only the selected ifo (and the corrispondenting vobs) is processed . So if i check it and select vts_02_1.ifo only the vts_02_1.vob,vts_02_2.vob will be processed.
If all episodes are encoded in the same vts (like all in vts_01_01.vob,vts_01_02.vob,vts_01_03.vob,vts_01_04.vob,vts_01_05.vob...) automkv isn't able to process single episode, BUT you could use the chapter for navigate beetween episodes :)
BHH
cosmos
14th January 2007, 20:02
Thanks for the info, makes sense :)
Now, perhaps these have been reported, but nevertheless a couple of findings that seem to be bugs:
1) Selecting to shutdown upon job completion, only logs out the user
2) When multiple jobs have been enqueued, and if "shutdown" is selected, then after the first job is finished automkv simply logs out. IOW, that setting should take effect after all jobs have been completed.
Unrealbr
14th January 2007, 22:08
My 2 cents, HD MP4 is beeing encoded normally here.
IMHO 0.68 is a little slower then 0.66 when processing all the stuff before the encoding.
dlflannery
15th January 2007, 04:41
..................
{Regarding my statement that using delaycut doubled the time for quick Zune conversions} :
that's near impossible. Is only a DISK to DISK operation, not an encoding operation. The audio file isn't reencoded just "trimmed/muxed" without delay. Isn't a framerate conversion at all!
..............
BHH
You are correct and I was totally wrong about that. It only adds a few percent to the total conversion time. I have corrected my Quick Zune Conversion Guide (http://forum.videohelp.com/viewtopic.php?t=319372)accordingly!
On my two computers the hints (when mouse pointer dwells over an entry item) only appear one time, even if you go to a different tab and then return. Also they only appear for about half the time it takes me to read them. Could you please consider making them stay longer and come up more than once per program run? Thanks!
Also, I still think it would nice to have the root file name (name without extension) of the input file appear automatically as the output file name, except when the input and output extensions are the same. In that case, perhaps "Amkv" or "Mod" could be appended to the output root name (?). (The operator could always override the suggested name of course.) I tried using "movie" and "movie name" as you seemed to suggest in a prior post, but I just got output files named "movie.wmv" or "movie name.wmv".
cosmos
15th January 2007, 08:29
Some suggestions that might improve an already excellent program :) :
1) When outputting to Matroska, the title entered in "Movie Name" becomes also the title of the video track, using the --track-title command line option of mkvmerge (if I understand correctly). Perhaps it could become the .mkv's title instead, using the --title option.
2) In the advanced settings tab, the user selects a language. Not sure what it does, but it would save me a click or two, if whatever is selected there, becomes the default choice in the audio track 1 and 2 language (instead of "und"efined).
Last but not least there are those two issues I've mentioned above, not sure though if they are bugs or not:
1) Selecting to shutdown upon job completion, only logs out the user
2) When multiple jobs have been enqueued, and if "shutdown" is selected, then after the first job is finished automkv simply logs out. IOW, that setting should take effect after all jobs have been completed.
cosmos
15th January 2007, 11:15
And another possible bug: I've checked the HQ Deinterlacer box. The error Error: Error calling AVIStreamGetFrameOpen shows up in the deint.log file.
buzzqw
15th January 2007, 13:19
@dlflannery
i down't know if i understud clearly... but in next release the movie name will be based (proposed) on input file name
AND in wmv proprierties the title will be the movie
@cosmos
1) Selecting to shutdown upon job completion, only logs out the user
) When multiple jobs have been enqueued, and if "shutdown" is selected, then after the first job is finished automkv simply logs out. IOW, that setting should take effect after all jobs have been completed.
should be fixed!
2) In the advanced settings tab, the user selects a language
even if is not very used AutoMKV could be translated in every languages ! Setting the languages in advanced settings allow automkv to search for a file named automkv.yourlanguage , if found every label will be translated...
Perhaps it could become the .mkv's title instead, using the --title option.
i will search ... thanks to the hint !
The error Error: Error calling AVIStreamGetFrameOpen shows up in the deint.log file.
... please reinstall xvid (the vfw build), also could you post a snippet ? (the problem isn't bind to hq deint or profiles...)
thanks !
BHH
cosmos
15th January 2007, 20:53
i will search ... thanks to the hint !
You are welcome :) The --title option is essentially what you type in the mkvmerge GUI -> Global tab -> File/segment title. It's very nice because it is displayed in Media player classic, right above the navigation bar ("Title XXXX").
BTW, perhaps AutoMKV should take some credit for all those conversions, so you could probably set a global mkv tag "author" to read "AutoMKV version XXX, see http://yyy/" ;)
... please reinstall xvid (the vfw build), also could you post a snippet ? (the problem isn't bind to hq deint or profiles...)
Have to use the system for some other computationally intensive work atm, but will report tomorrow if it works or not. I should simply install an Xvid build (Koepi's for example), right?
BleedingGums
15th January 2007, 21:39
AutoMKV(068) is working fine here, however with some sources when the deinterlacer gives up (not uncommon with very low motion anime), no deinterlacing is applied. it would be nice if there where an option to let autoMKV guess. I don't know how easy or possible it would be to implement or even if autoMKV could redo a pass with more agressive settings.
deint.log
processed frames: 23/2265 -- 1% completed
processed frames: 46/2265 -- 2% completed
........
processed frames: 2263/2265 -- 99% completed
processed frames: 2265/2265 -- 100% completed
BAutoDeint [info]: Number of sections of type `unknown': 135
BAutoDeint [info]: Number of sections of type `progressive': 4
BAutoDeint [info]: Number of sections of type `interlaced': 2
BAutoDeint [info]: Number of sections of type `film': 10
BAutoDeint [info]: There are 0 sections with 0 frames moving.
BAutoDeint [info]: There are 5 sections with 1 frames moving.
BAutoDeint [info]: There are 10 sections with 2 frames moving.
BAutoDeint [info]: There are 7 sections with 3 frames moving.
BAutoDeint [info]: There are 5 sections with 4 frames moving.
BAutoDeint [info]: There are 20 sections with 5 frames moving.
Processing completed. Type is determined to be unknown.
log
00:55:21 0.68 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
00:55:21 Selected Input file: C:\Extra Space\CROMARTIE_HIGH_SCHOOL_1\VTS_02_0.IFO
00:55:21 Selected Output dir: C:\Extra Space\temp\
00:55:21 Selected Final Name: 01
00:55:21 Selected Container type: MKV
00:55:21 Selected Encoder: X264
00:55:21 Selected Size: 70
00:55:21 Selected Slice: 1
00:55:21 Selected Profile: AE-Maxquality.xml
00:55:21 Selected Width: 640
00:55:21 Selected Resizer: BicubicResize (neutral=0,0.50)
00:55:21 Selected Filters: Convolution3d (preset="animeHQ")
00:55:21 Selected Deinterlacer: AUTO
00:55:21 Enabled CRF/CQ AutoRes at 18 value
00:55:21 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
00:55:21 Audio Codec 1: Nero AAC
00:55:21 Audio Quality 1: 0.20
00:55:21 Track Language 2: Japanese (AC3 2ch, 0xBD 0x81) [0]
00:55:21 Audio Codec 2: Nero AAC
00:55:21 Audio Quality 2: 0.10
00:55:21 Advanced Audio Settings DUMP Track 1:
00:55:21 Audio Track Language:
00:55:21 Audio Track Name:
00:55:21 Nero Option Profiles: AUTO --- Encoding Mode: Quality
00:55:21 CCT Option Profiles: AUTO --- Channel Options: AUTO
00:55:21 Lame Settings: ABR
00:55:21 Audio Normalization: 1
00:55:21 Frequency: AUTO --- Tempo : NONE
00:55:21 Pitch: NONE --- Other Add :
00:55:21 Advanced Audio Settings DUMP Track 2:
00:55:21 Audio Track Language:
00:55:21 Audio Track Name:
00:55:21 Nero Option Profiles: AUTO --- Encoding Mode: Quality
00:55:21 CCT Option Profiles: AUTO --- Channel Options: AUTO
00:55:21 Lame Settings: ABR
00:55:21 Audio Normalization: 1
00:55:21 Frequency: AUTO --- Tempo : NONE
00:55:21 Pitch: NONE --- Other Add :
00:55:21 Selected 1' Sub tracks: RIP ALL SUBS
00:55:21 Selected 2' Sub tracks: NONE
00:55:21
00:55:21 Starting SubRipping
00:55:44 Subtitle Size: 1296384 bytes
00:55:44 Finished SubRipping
00:55:44 Starting Indexing
00:55:44 Dgindex CMD: C:\AutoMKV63\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1,2 -YR=2 -AIF=[C:\Extra Space\CROMARTIE_HIGH_SCHOOL_1\VTS_02_1.vob] -OF=[C:\Extra Space\temp\movie] -exit -minimize
00:56:15 Finished indexing
00:56:15 Starting fixing audio delay on track number 1
00:56:15 DelayCut CMD: C:\AutoMKV63\exe\dgindex\Delaycut.exe -auto -out "C:\Extra Space\temp\fixed1.ac3" "C:\Extra Space\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
00:56:19 Original 1' Audio Size: 39828992 bytes
00:56:19 DelayCut CMD: C:\AutoMKV63\exe\dgindex\Delaycut.exe -auto -out "C:\Extra Space\temp\fixed2.ac3" "C:\Extra Space\temp\movie T02 2_0ch 224Kbps DELAY 0ms.ac3"
00:56:21 Original 2' Audio Size: 19914496 bytes
00:56:21 Finished fixing audio delay
00:56:21 Encoding C:\Extra Space\temp\fixed1.ac3 to NeroAAC with 0.20 quality
00:58:55 Encoded 1' Audio Track: 3776638 bytes
00:58:55 Encoding C:\Extra Space\temp\fixed2.ac3 to NeroAAC with 0.10 quality
00:59:53 Encoded 2' Audio Track: 2256732 bytes
00:59:56 Number of Frames: 21316
00:59:56 Framerate: 29.970030
00:59:56 Movie lenght in Seconds: 712
00:59:56 Movie Width: 720
00:59:56 Movie Height: 480
01:00:44 Order: unk
01:00:44 Starting X264
01:00:44 Command Line 1' Pass X264: C:\AutoMKV63\exe\encoder\x264.exe --pass 1 --bitrate 748 --stats "C:\Extra Space\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter 1,1 --subme 6 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output NUL "C:\Extra Space\temp\movie.avs"
01:00:44 Command Line 2' Pass X264: C:\AutoMKV63\exe\encoder\x264.exe --pass 2 --bitrate 748 --stats "C:\Extra Space\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter 1,1 --subme 6 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output "C:\Extra Space\temp\movie.mp4" "C:\Extra Space\temp\movie.avs"
05:33:24 "C:\AutoMKV63\exe\matroska\mkvmerge.exe" -o "C:\Extra Space\temp\01.mkv" --track-name -1:"01" --aspect-ratio 1:1.333333 --chapters "C:\AutoMKV63\exe\chapters.txt" "C:\Extra Space\temp\movie.mp4" --language -1:eng "C:\Extra Space\temp\audio.mp4" --language -1:jpn "C:\Extra Space\temp\audio2.mp4" "C:\Extra Space\temp\01.idx"
05:33:39 Final Muxed size: 73193185 bytes
05:33:39 Encoding finished: 04:38:18 elapsed time
05:33:39 -----------------------------------------------------------------------
05:33:39 Script AutoCrop.log
05:33:39
05:33:39 Crop(4,0,712,480)
05:33:39 -----------------------------------------------------------------------
05:33:39 Script Resmovie.avs
05:33:39
05:33:39 -----------------------------------------------------------------------
05:33:39 Script movie.avs
05:33:39
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\autocrop.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\blockbuster.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\cnr2.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\ColorMatrix.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\Convolution3D.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\corrector.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\DctFilter.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\Decomb.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\Deen.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\degrainmedian.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\DGDecode.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\EEDI2.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\fft3dfilter.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\FluxSmooth.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\frfun7.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\hqdn3d.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\LeakKernelDeint.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\MaskTools.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\medianblur.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\MipSmooth.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\mt_masktools.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\mvtools.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\NicAudio.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\RemoveGrain.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\Repair.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\SangNom.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\SimpleResize.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\TBilateral.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\TDeint.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\TIVTC.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\TomsMoComp.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\TTempSmooth.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\UnDot.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\UnFilter.dll")
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\VSFilter.dll")
05:33:39 #loadpluginstart
05:33:39
05:33:39 #test1
05:33:39
05:33:39 Import("C:\AutoMKV63\exe\filter\MCBob_v03c.avsi")
05:33:39 Import("C:\AutoMKV63\exe\filter\mvbob.avsi")
05:33:39 Import("C:\AutoMKV63\exe\filter\QMF.avsi")
05:33:39 Import("C:\AutoMKV63\exe\filter\seesaw.avsi")
05:33:39 Import("C:\AutoMKV63\exe\filter\spresso.avsi")
05:33:39 #importstart
05:33:39
05:33:39 #test2
05:33:39
05:33:39 movie = mpeg2source("C:\Extra Space\temp\movie.d2v")
05:33:39 function getOrder(clip c) {
05:33:39 order = GetParity(c) ? 1 : 0
05:33:39 Return order }
05:33:39 #filter1start
05:33:39
05:33:39 #test3
05:33:39
05:33:39 #cropstart
05:33:39
05:33:39 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
05:33:39 fixed_aspect = 0.888889
05:33:39 c_width = width(cropclip)
05:33:39 c_height = Round(height(cropclip) / fixed_aspect)
05:33:39 input_par = float(float(c_width)/float(c_height))
05:33:39 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
05:33:39 out_width = 640
05:33:39 out_height = Round(float(out_width) / input_par)
05:33:39 hmod = out_height - (floor(out_height / 16 ) * 16)
05:33:39 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
05:33:39 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
05:33:39 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
05:33:39
05:33:39 #resizestart
05:33:39
05:33:39 #test4
05:33:39
05:33:39 BicubicResize(out_width,out_height,0,0.50)
05:33:39 #filter2start
05:33:39
05:33:39 #test5
05:33:39
05:33:39 Convolution3d (preset="animeHQ")
05:33:39 ColorMatrix("Rec.709->Rec.601",hints=false)
05:33:39 -----------------------------------------------------------------------
05:33:39 Script mkvmaudio.avs
05:33:39
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\NicAudio.dll")
05:33:39 NicAC3Source("C:\Extra Space\temp\fixed1.ac3")
05:33:39 EnsureVBRMP3Sync()
05:33:39 ConvertAudioToFloat()
05:33:39 #Applyed STEREO downmixing routines
05:33:39 function stereo(clip a)
05:33:39 {
05:33:39 fl = GetChannel(a, 1)
05:33:39 fr = GetChannel(a, 2)
05:33:39 c = GetChannel(a, 3)
05:33:39 lfe = GetChannel(a, 4)
05:33:39 sl = GetChannel(a, 5)
05:33:39 sr = GetChannel(a, 6)
05:33:39 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
05:33:39 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
05:33:39 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
05:33:39 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
05:33:39 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
05:33:39 Return MergeChannels(l, r).Normalize()
05:33:39 }
05:33:39 #
05:33:39 function original(clip a)
05:33:39 {
05:33:39 Normalize(a)
05:33:39 Return last
05:33:39 }
05:33:39 6==Audiochannels() ? stereo() : original()
05:33:39 -----------------------------------------------------------------------
05:33:39 Script mkvmaudio.bat
05:33:39
05:33:39 "C:\AutoMKV63\exe\besweet\bepipe.exe" --script "Import(^C:\Extra Space\temp\mkvmaudio.avs^)" | "C:\AutoMKV63\exe\besweet\neroaacenc.exe" -ignorelength -q 0.20 -if - -of "C:\Extra Space\temp\audio.mp4"
05:33:39 -----------------------------------------------------------------------
05:33:39 Script mkvmaudio2.avs
05:33:39
05:33:39 LoadPlugin("C:\AutoMKV63\exe\filter\NicAudio.dll")
05:33:39 NicAC3Source("C:\Extra Space\temp\fixed2.ac3")
05:33:39 EnsureVBRMP3Sync()
05:33:39 ConvertAudioToFloat()
05:33:39 #Applyed STEREO downmixing routines
05:33:39 function stereo(clip a)
05:33:39 {
05:33:39 fl = GetChannel(a, 1)
05:33:39 fr = GetChannel(a, 2)
05:33:39 c = GetChannel(a, 3)
05:33:39 lfe = GetChannel(a, 4)
05:33:39 sl = GetChannel(a, 5)
05:33:39 sr = GetChannel(a, 6)
05:33:39 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
05:33:39 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
05:33:39 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
05:33:39 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
05:33:39 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
05:33:39 Return MergeChannels(l, r).Normalize()
05:33:39 }
05:33:39 #
05:33:39 function original(clip a)
05:33:39 {
05:33:39 Normalize(a)
05:33:39 Return last
05:33:39 }
05:33:39 6==Audiochannels() ? stereo() : original()
05:33:39 -----------------------------------------------------------------------
05:33:39 Script mkvmaudio2.bat
05:33:39
05:33:39 "C:\AutoMKV63\exe\besweet\bepipe.exe" --script "Import(^C:\Extra Space\temp\mkvmaudio2.avs^)" | "C:\AutoMKV63\exe\besweet\neroaacenc.exe" -ignorelength -q 0.10 -if - -of "C:\Extra Space\temp\audio2.mp4"
05:33:39
05:33:39 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
great work with AutoMKV otherwise.
on a side note, when I was originally working on a 2 minute sample of the same file as above (11 min total) the deint.log reported
BAutoDeint [info]: Number of sections of type `tff': 185
BAutoDeint [info]: Number of sections of type `unknown': 72
Processing completed. Type is determined to be film.
Field order is variable.
and the final result was pretty good.
cosmos
15th January 2007, 23:50
... please reinstall xvid (the vfw build), also could you post a snippet ? (the problem isn't bind to hq deint or profiles...)
I've installed the latest Koepi xvid build. Works perfectly now! Thanks :)
cosmos
16th January 2007, 07:21
Something which is a bit strange. IIRC, the movie.avs file contained a call to ColorMatrix. For example, in the log posted by BleedingGums two posts before:
...
05:33:39 BicubicResize(out_width,out_height,0,0.50)
05:33:39 #filter2start
05:33:39
05:33:39 #test5
05:33:39
05:33:39 Convolution3d (preset="animeHQ")
05:33:39 ColorMatrix("Rec.709->Rec.601",hints=false)
05:33:39 -----------------------------------------------------------------------
I also saw that line in previous encodings I've performed with AutoMKV. However I can't locate it in recent encodes:
20:45:34 #test4
20:45:34
20:45:34 BicubicResize(out_width,out_height,0,0.50)
20:45:34 #filter2start
20:45:34
20:45:34 #test5
20:45:34
20:45:34 RemoveGrain(mode=2)
20:45:34 -----------------------------------------------------------------------
This is a 4:3 clip and I've enabled "ITU resizing". Could it be the cause of ColorMatrix not appearing?
buzzqw
16th January 2007, 13:25
you are welcome The --title option is essentially
:) DONE ! (added title in advanced audio options)
however with some sources when the deinterlacer gives up
it's difficult.. anyway i reworked the deinterlace choice, so if you know already what is the results of deint.log ("Processing completed. Type is determined to be film." ) you can apply it
colormatrix is always applied. regardless of reizer,deinterlacer,itu, anamorphic... the ONLY case that ISN'T applied is when in d2v the color information report a color mode that colormatrix is unable to change (sorry for the convoluted reply)
BHH
cosmos
16th January 2007, 14:00
:) DONE ! (added title in advanced audio options)
Sorry I'm a bit confused, let me elaborate. In 068, AutoMKV uses the --track-name mkvmerge option in 2 places:
1) It takes the "Movie Name" and uses --track-name to assign it to the Matroska video stream. NOTE: it is only the video track that is assigned the "Movie Name"!
2) In the advanced audio options, whatever is entered in the "Track Name (Director's Comment, Actor" etc, using the --track-name mkvmerge option becomes the audio track's name
What I was suggesting is:
* Leave (2) as it is in 068, that is still use --track-title to assign a description to the respective audio channel (e.g. "MP3 VBR", or "AAC 5.1" etc)
* Change (1) as follows: instead of calling mkvmerge with the option --track-name "<what user has entered in "Movie Name">", call it instead with --title "<what user has entered in "Movie Name">". Therefore, there is no need to have the --title take its value from the audio properties box. In fact, adding the title in the audio channel advanced options would be wrong. There can be only one --title mkvmerge argument for the entire mkv file, it is unique!
This way in the entire mkv file, the global (ie not a track-specific) title tag is set to the movie name. I was not sure if that was what you intended saying in your previous post, hence for the clarification.
colormatrix is always applied. regardless of reizer,deinterlacer,itu, anamorphic... the ONLY case that ISN'T applied is when in d2v the color information report a color mode that colormatrix is unable to change (sorry for the convoluted reply)Thanks for the information, now I understand :) And, BTW, pardon me for making a lot of newbie comments, pls blame my ignorance. This area is new to me (I'm still struggling to find which filter I should use, like convolute3d, other?) :D
buzzqw
16th January 2007, 14:13
well i put movie name as point 1) BUT i added a free string (to complete by user) that add --title to mkv (if leaved blank is applyed as "Done with AutoMKV ....")
BHH
P.S. i prefer (copy&paste in your filter box) DctFilter(1,1,1,1,1,1,.5,0).DeGrainMedian(limitY=5,limitUV=5,mode=3)
cosmos
16th January 2007, 15:49
well i put movie name as point 1) BUT i added a free string (to complete by user) that add --title to mkv (if leaved blank is applyed as "Done with AutoMKV ....")
Nice!
P.S. i prefer (copy&paste in your filter box) DctFilter(1,1,1,1,1,1,.5,0).DeGrainMedian(limitY=5,limitUV=5,mode=3)
Thank you! Will try this today :)
dlflannery
16th January 2007, 17:07
@dlflannery
i down't know if i understud clearly... but in next release the movie name will be based (proposed) on input file name
AND in wmv proprierties the title will be the movie
.........
BHH
You understand correctly! And thanks!
Sorry for this nubie question but:
Am I correct that AutoMKV cannot take Xvid or DivX as input files (perhaps renamed with .avi extension?). I've read this entire thread and still don't know this for sure. An OP on another forum was looking for a way to convert Xvid to WMV and I wasn't sure whether I could recommend AutoMKV for that or not?
travisbell
16th January 2007, 18:27
ADDED: Possibility to activate High Quality Deinterlacer (slow!)
Hey buzzqw,
What does AutoMKV use for the HQ de-interlacer?
Thanks!
buzzqw
16th January 2007, 20:44
@dlflannery
best answer is try ;) but i can confirm that is possible to convert .avi /.mp4 ./mkv ./ogm to wmv or whatever container supported by automkv
but remember that only first audio track is processed
What does AutoMKV use for the HQ de-interlacer?
BAutoDeint after analysis could decide that source file is:
1) Unknow
2) Progressive
3) Interlaced
4) Decimating
5) Partly Film
6) Partly Interlaced
and the field order could be
1) Unknow
2) TFF
3) BFF
4) Variable/Hybrid
For Progressive/Unknow source no deinterlacer is used
For Interlaced:
Standard is LeakKernelDeint(order=order,sharp=true) for HQ is Tdeint(order=order), for variable field order is
edeintted = SeparateFields().SelectEven().EEDI2(field=-1)")
TDeint(edeint=edeintted)
For Decimating
Standard and HQ is tfm(d2v="movie.d2v").tdecimate()
For Partly Film
Standard is:
tfm(d2v="movie.d2v").tdecimate(hybrid=3)HQ (for bff/tff just change assumebff and order = , for variable order set order=-1) is edeintted = AssumeBFF().SeparateFields().SelectEven().EEDI2(field=-1)
tdeintted = TDeint(edeint=edeintted,order=0)
tfm(order=0,clip2=tdeintted).tdecimate(hybrid=3)
For Partly Interlaced
Standard is (again change order= to your value):TDeint(order=1,full=false)
For HQ:edeintted = AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
TDeint(order=1,full=false,edeint=edeintted)
For Film
Standard or HQ is:tfm(d2v="movie.d2v").tdecimate()
That's near all !
jmnk
16th January 2007, 21:13
@dlflannery
best answer is try ;) but i can confirm that is possible to convert .avi /.mp4 ./mkv ./ogm to wmv or whatever container supported by automkv
but remember that only first audio track is processed
I've tried to convert xvid to wmv. With ac3 as audio. Did not work. There was no audio in created avs script and the encoding obviously failed. I do have ac3filter installed. The xvid file plays fine in any player or in graphedit. Any ideas what's wrong?
SeeMoreDigital
16th January 2007, 21:33
I've tried to convert xvid to wmv. With ac3 as audio. Did not work. There was no audio in created avs script and the encoding obviously failed. I do have ac3filter installed. The xvid file plays fine in any player or in graphedit. Any ideas what's wrong?Hmmmm....
Even with more seasoned "Encoding GUI's", these kinds of conversions are very difficult to achieve...
Besides.... the WMV container does not support AC3 audio. Primarily it supports WMA and WMA Pro ;)
jmnk
16th January 2007, 21:40
Hmmmm....
Even with more seasoned "Encoding GUI's", these kinds of conversions are very difficult to achieve...
Besides.... the WMV container does not support AC3 audio. Primarily it supports WMA and WMA Pro ;)
Yes, agreed. I did not want to store ac3 in wmv. I hoped AutoMKV would convert ac3 to 2 channel wma (or ask me if I want multichannel wma).
I mean I know I can extract ac3, convert to wav, convert video to wmv and remux with audio - but that would not be "Auto...". Previous posts implied I can feed almost anything in AutoMKV and get wmv as output.
buzzqw
16th January 2007, 21:59
if you have an ac3 decoder installed (like ffdshow) automkv should encode it to wmv
just choose audio encoder "wmv", channel as "stereo"
BHH
jmnk
16th January 2007, 22:07
if you have an ac3 decoder installed (like ffdshow) automkv should encode it to wmv
just choose audio encoder "wmv", channel as "stereo"
BHH
I did not work for me. But while I have ffdshow I also have ac3filter which by default handles ac3. Are you saying that uninstalling ac3filter and have ffdshow handle ac3 should help?
Also, just to be clear. NONE of the converters that are out there worked - I mean those that claim to convert from "anything" to Zune compatible format. I ended up going xvid avi-> rip out ac3->convert to 2channel wav-> feed video and audio (separately) to WME. That worked, but hardly an elegant solution.
buzzqw
16th January 2007, 22:26
the most important thing is that ffdshow or ac3filter will not outputting to sp/dif
BHH
jmnk
16th January 2007, 22:47
the most important thing is that ffdshow or ac3filter will not outputting to sp/dif
BHH
I'm pretty sure that is not the case. I think I have set ac3filter to output 2ch stereo.
jmnk
16th January 2007, 22:55
[...]There was no audio in created avs script and the encoding obviously failed. I do have ac3filter installed. The xvid file plays fine in any player or in graphedit. Any ideas what's wrong?
Not to repeat myself but I think the problem is that the avs script created by AutoMKV (which is in temp directory) did not have any audio component. Which leads me to the following question: what would be the proper avs script that would allow me to feed audio portion of xvid with ac3 audio to any audio encoder. Or in other words - if I wanted to feed just ac3 audio from avi file into, let's say audio track of WME, what would such a script look like?
buzzqw
17th January 2007, 08:36
@jmnk
thanks for your insistance ! i got the problem too!
fixed in next release !, thanks !!!
BHH
buzzqw
17th January 2007, 10:23
Update 0.70 www.64k.it/andres/data/a/AutoMKV070.exe
Changelog
0.70
ADDED: In Advanced Setting "Use DirectShowSource", check this before loading your files. Using this option AutoMKV will process both audio and video with directshowsource plugin
ADDED: On choosing input file the movie name will change as input file name (suggestion by dlflannery)
ADDED: On WMV container added the YEAR and TITLE, taken from current year and current final movie name (suggestion by dlflannery)
ADDED: Possibility to specify "Title" in MKV container, set it on Advanced Audio Settings (suggestion by cosmos)
ADDED: Deinterlacer routines now are comprensive of presets (AUTO, NONE, Progressive, Interlaced, Decimating, Film, Partly Film, Partly Interlaced)
ADDED: Possibility to specify field order (AUTO/BFF/TFF/HYBRID)
FIXED: Several improvement to WMV encoding. Now should working with input files as ts, d2v, m2v (not with avs)
FIXED: Shutdown in queue mode (thanks to cosmos)
FIXED: Shutdown would previusly only LogOff (thanks to cosmos)
FIXED: Mpeg4 to WMV was broken for audio encoding (thanks to jmnk)
BHH
jmnk
17th January 2007, 17:12
@jmnk
thanks for your insistance ! i got the problem too!
fixed in next release !, thanks !!!
BHH
@buzzqw
you're welcome. I'm glad it helped.
BTW (since I can't try new vesion for couple of hours), is it going to feed 2channel stereo into windows encoder? windows encoder does support multichannel audio, but it has to be in specific format. Do I have to manually make sure that my ac3filter is set to output 2 channel, or AutoMKV is going to take care of it?
buzzqw
17th January 2007, 17:21
while on mpeg (vob/ts/mpeg...) input i will pass the downmixing routines (stereo or original channel number), on avi/mpeg4 input i will pass only the directshowsource without specifying downmixing at all
You must choose on ac3filter or ffdshow or whatever ac3 decoder you have hwo many channels pass to directshowsource
as i said in old post i was never able to encode in 5.1 mode with wma... but if it's working for you i am glad!
BHH
travisbell
17th January 2007, 18:40
0.70
ADDED: In Advanced Setting "Use DirectShowSource", check this before loading your files. Using this option AutoMKV will process both audio and video with directshowsource plugin
Hey buzzqw,
What's the benefit to this? Should I be using it?
Thanks!
jmnk
17th January 2007, 19:06
while on mpeg (vob/ts/mpeg...) input i will pass the downmixing routines (stereo or original channel number), on avi/mpeg4 input i will pass only the directshowsource without specifying downmixing at all
You must choose on ac3filter or ffdshow or whatever ac3 decoder you have hwo many channels pass to directshowsource
as i said in old post i was never able to encode in 5.1 mode with wma... but if it's working for you i am glad!
BHH
according to Zambelli (and it seemed to work for me, at least based on what MediaInfo shows)
Quote: "[..] you can encode 5.1 audio sources to 5.1 WMA Pro if you wish. The source needs to be presented as either 6 mono WAV files or a multichannel WAV/AVI, such as the ones created by the Mono-to-Multichannel Wave Combiner tool at http://www.microsoft.com/windows/win...utilities.aspx."
SeeMoreDigital
17th January 2007, 19:12
Hi Buzz,
I've been trying to generate a "pure interlaced" Xvid (MPEG-4) encode from a "pure interlaced" MPEG-2 source.... I've tried all the options in the GUI but sadly though, without success :(
http://img530.imageshack.us/img530/2798/automkvzo5.png
By-the-way.... Does the "NONE" option mean the "de-interlacer" is "Off"?
Cheers
buzzqw
17th January 2007, 20:03
@travisbell
Force DirectShowSource is to use only when you know that proxjectX or dgindex will fail, you can use it on ogm or mp4 input files, whenever you need to process your file by directshow (es. you need to apply a ffdshow postprocessing filter...)
@jmnk
if you know how to do with directshowsource i will be glad to support it !
@SeeMoreDigital
On NONE or Progressive choice NO deinterlacer or deinterlaced test is performed, you can look at resulting avs script
About interlaced mpeg4... i suppose that some parameter is to pass to xvid_encraw or x264...
On Xvid profile there is this <Interlaced>false</Interlaced>, if you change to true the -interlaced option will be passed but not the BFF/TFF (1,2) parameter.
Best answer is to add at Advanced profile editing, at "Add to line:" the -interlaced 1 (for bff) or -interlaced 2 (for tff) :)
BHH
vOjToL
17th January 2007, 21:39
Hi, Buzzqw!
A little bug I find. When I add input file drag&drop method, then output folder is automaticaly set the same as input. Unfortunatelly DGindex save d2v and audio in previous encoding used folder.
21:20:05 Dgindex CMD: H:\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[I:\LOONEY_TUNES_BACK_IN_ACTION\VIDEO_TS\VTS_01_1.vob] -OF=[I:\RYBKI_Z_FERAJNY\VIDEO_TS\temp\movie] -exit -minimize
jmnk
17th January 2007, 21:44
@travisbell
Force DirectShowSource is to use only when you know that proxjectX or dgindex will fail, you can use it on ogm or mp4 input files, whenever you need to process your file by directshow (es. you need to apply a ffdshow postprocessing filter...)
@jmnk
if you know how to do with directshowsource i will be glad to support it !
BHH
@buzzqw
If I knew I would be coding and not reporting problems only :sly:
SeeMoreDigital
17th January 2007, 21:50
About interlaced mpeg4... i suppose that some parameter is to pass to xvid_encraw or x264...
On Xvid profile there is this <Interlaced>false</Interlaced>, if you change to true the -interlaced option will be passed but not the BFF/TFF (1,2) parameter.
Best answer is to add at Advanced profile editing, at "Add to line:" the -interlaced 1 (for bff) or -interlaced 2 (for tff) :)Thanks for that.....
Just tried that.... And I think it's working correctly. MediaInfo reports the Xvid in MP4 encode as being "interlaced" and the "field order" as being TFF :)
I must admit, I doubt many people would want to generate "pure interlaced" Xvid encodes, especially as they're not very easy to play in a software player. However, "pure interlaced" Xvid encodes play and look great in my hardware player ;)
For my own selfish purposes. Would it be possible for you to add say, an "De-interlacer" "Off" setting, that automatically creates a profile setting which includes "-interlaced 2" (for TFF)..... By-the-way, TFF is by far the most common field order for "interlaced" sources.
Thanks
buzzqw
17th January 2007, 21:57
If I knew I would be coding and not reporting problems only
sorry i don't want to be harsh ! :)
it is that is no easy and not in the workflow of automkv to do this. if would be possible to encode audio separatly and then mux in wmv, i think all problem could be resolved. But i need a standalone (like lame or neroaacenc and avimux_gui/mkvmerge) application to do this
sorry again :o
@vOjToL
i will look at this, thanks !
For my own selfish purposes. Would it be possible for you to add say, an "De-interlacer" "Off" setting, that automatically creates a profile setting which includes "-interlaced 2" (for TFF)..... By-the-way, TFF is by far the most common field order for "interlaced" sources.
i will look.. and if found an elegant (easy is already) solution i will insert it (as LEAVE INTERLACED.. and free to select field order) ;)
BHH
jmnk
17th January 2007, 22:07
sorry i don't want to be harsh ! :)
it is that is no easy and not in the workflow of automkv to do this. if would be possible to encode audio separatly and then mux in wmv, i think all problem could be resolved. But i need a standalone (like lame or neroaacenc and avimux_gui/mkvmerge) application to do this
sorry again :o
BHH
@buzzqw
I think I may have used the wrong smily, I just wanted to be funny. It's really no offense taken here. I wish I knew half of the things you guys know here, and that does not even count coding - which I'm not even trying to do. Thanks for great application. This one (or MeGUI) is so much better than the ones others want to charge for.
Really, no need to be sorry at all.
SeeMoreDigital
17th January 2007, 22:26
i will look.. and if found an elegant (easy is already) solution i will insert it (as LEAVE INTERLACED.. and free to select field order) ;)That sounds like a better plan.... Nice one ;)
vOjToL
17th January 2007, 23:49
@jmnk
thanks for your insistance ! i got the problem too!
fixed in next release !, thanks !!!
I solved this problem(6ch ac3 to DLPII-mp3 with DirectShowSource:ffdshow) modifing mkvaudio.avs like this-
original:
video=DirectShowSource("I:\Scooby Doo Loch Ness Monster.avi",audio=false)
audio=DirectShowSource("I:\Scooby Doo Loch Ness Monster.avi",video=false)
stereo=getchannel(audio,1,2)
Return AudioDub(video, stereo)
EnsureVBRMP3Sync()
ConvertAudioTo16bit()
#Applyed DLP II downmixing routines
function DLPII(clip a)
{
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
ssl = MixAudio(sl, sr, 0.2818, 0.1627).Amplify(-1.0)
fl_c = MixAudio(fl, c, 0.3254, 0.2301)
ssr = MixAudio(sl, sr, 0.1627, 0.2818)
fr_c = MixAudio(fr, c, 0.3254, 0.2301)
l = MixAudio(ssl, fl_c, 1.0, 1.0)
r = MixAudio(ssr, fr_c, 1.0, 1.0)
Return MergeChannels(l, r)
}
#
function original(clip a)
{
Normalize(a)
Return last
}
6==Audiochannels() ? DLPII() : original()
modified:
video=DirectShowSource("I:\Scooby Doo Loch Ness Monster.avi",audio=false)
audio=DirectShowSource("I:\Scooby Doo Loch Ness Monster.avi",video=false)
AudioDub(video, audio)
EnsureVBRMP3Sync()
ConvertAudioTo16bit()
#Applyed DLP II downmixing routines
function DLPII(clip a)
{
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
ssl = MixAudio(sl, sr, 0.2818, 0.1627).Amplify(-1.0)
fl_c = MixAudio(fl, c, 0.3254, 0.2301)
ssr = MixAudio(sl, sr, 0.1627, 0.2818)
fr_c = MixAudio(fr, c, 0.3254, 0.2301)
l = MixAudio(ssl, fl_c, 1.0, 1.0)
r = MixAudio(ssr, fr_c, 1.0, 1.0)
Return MergeChannels(l, r)
}
#
function original(clip a)
{
lft=getchannel(a,1)
rgt=getchannel(a,2)
Mergechannels(lft,rgt)
Normalize()
Return last
}
6==Audiochannels() ? DLPII() : original()
The original script in both cases -DLPII or ORIGINAL returns only 2 channels left and right, no dialogs.
dlflannery
18th January 2007, 05:08
I'm trying to convert an AVI (xvid, mp3) to WMV with no success at all.
Per mediaInfo the input file properties are:
Format : AVI
Format/Info : Audio Video Interleave
Format/Family : RIFF
File size : 18.8 MiB
PlayTime : 2mn 30s
Bit rate : 1039 Kbps
StreamSize : 349 KiB
Video #0
Codec : XviD
Codec settings/BVOP : No
Codec settings/QPel : No
Codec settings/GMC : 0
Codec settings/Matri : Default
PlayTime : 2mn 30s
Bit rate : 904 Kbps
Width : 320 pixels
Height : 240 pixels
Aspect ratio : 4/3
Frame rate : 29.970 fps
Resolution : 8 bits
Chroma : 4:2:0
Interlacement : Progressive
Bits/(Pixel*Frame) : 0.390
StreamSize : 16.2 MiB
Audio #0
Codec : MPEG-1 Audio layer 3
Codec profile : Joint stereo
PlayTime : 2mn 30s
Bit rate : 125 Kbps
Bit rate mode : CBR
Channel(s) : 2 channels
Sampling rate : 48 KHz
Resolution : 16 bits
StreamSize : 2.25 MiB
This file plays fine in WMP11 or MPC 6.4.9.0
It renders and plays fine in gspot and graphEdit.
It can be served by AVS either with AviSource or DirectShowSource. In other words, all indications are this is a good video!
I've tried various WMV profiles and with or without the "Use DirectShowSource". Output size is same as input and fixed bit rate is 500kbps + audio_bit_rate.
Some encodes fail completely. The closest I've come to success is to check "Use DirectShowSource" and force use of the WMV7 codec via the Zune_1pass_fast profile. The file size is about 1/4 of what it should be and mediaInfo shows a video bitrate of 108kbps (should be 500kbps, and I see that rate being passed to the WME9 script).
When played in WMP11, this file shows good video and audio, but the video rushes along as if in 14X fast forward and finishes in 13 seconds while the audio plays along normally for the full 2.5 min duration.
If anyone can give me details on how they have successfully performed an AVI (xvid + mp3) --> WMV conversion with AutoMKV, I would really appreciate it. I've come so close, I hate to give up now!
Thanks for your attention
cosmos
18th January 2007, 07:00
In some clips of episodes I knew that they were of type film. So in AutoMKV070 I've set in the advanced properties the type to "Film" but left the next box (field order) to "Auto". Does the automatic field order detection take place in such a case? I'll try to paste a log of such operation later on today.
buzzqw
18th January 2007, 10:51
This is an experimental build, since i no more parse channels downmix for mpeg4 (or directshowsource) input files.
update 0.70a
www.64k.it/andres/data/a/AutoMKV070a.exe
FIXED: on avi/mkv/ogm or whenever is needed directshowsource , the audio encoding NO MORE LOOK AT CHANNELS downmixing. please USE FFDSHOW/AC3Filter to downmix!
ADDED: Leave Interlaced ... but please select field order..., now is applyed only to XviD, when --interlaced will be fuctional in x264 i will add to it
for example in ffdshow i check Mixer and select 2.0 (or feel bra
To anyone with problem with wmv please try this build ! :thanks:
EDIT: @cosmos don't use Film, since i parse d2v for force film usage !
buzzqw
18th January 2007, 11:21
update 0.70b
www.64k.it/andres/data/a/AutoMKV070b.exe
FIXED: removed audio=getchannel(audio,1,2) from wmv encoding...
BHH
dlflannery
19th January 2007, 01:30
@buzzqw:
70b did not fix my WMV encoding problems detailed in a prior post (http://forum.doom9.org/showthread.php?p=938643#post938643). I tried both with and without Use DirectShowSource. In either case the output file size is even smaller than before (850k when it should be 10-12 Meg) and MediaInfo throws a floating point exception on it.
I played it in WMP11 and now the video appears to be the same 13 sec 14X fast-forward version as before. Again the sound plays at normal speed but it now stops at 13 sec also. (Clip is 2.5 min long.)
I watch the WME script command window and it never takes as long as it should.
I can post log files if you want -- just tell me which ones you want.
I haven't tried sourcing this AVI via an AVS -- my understanding is this is not supported for WMV (??)
Thanks.
AMED
19th January 2007, 02:54
Is there any way in AukoMKV to make forced subtitles (not burnt in) using the mkv container?
I'm trying to encode flying high (or aeroplane depending on which country your in) and when I try and play the resulting movie in VLC I see that the subtitles are always defaulted to off.
dlflannery
19th January 2007, 04:24
@buzzqw:
I've been able to encode my test AVI file with the WME9 encoder script file, several different ways actually, all resulting in good encodes.
On Computer #1, which has the DivX codec installed:
Just sourced the .avi file into the script.
On Computer #2, with XviD codec installed (not DivX)
Sourcing the .avi directly didn't work, But sourcing it as .avs using AviSource() worked fine.
Installed the DivX codec on computer #2 and then it also will encode sourcing the .avi directly.
Apparently the DivX codec (or something else that gets installed in its "bundle") makes the difference. However the GraphEdit for either case is very simple: AviSplitter, Mpeg4 Decoder (DivX or Xvid), then Video Renderer, i.e., no filter or color-space converter is being used in either case, so it looks like the only difference is the Mpeg4 decoders.
Here is the WMCmd.vbs command line I'm using (very similar to your Zune 1 Pass Quick, I think):
cscript.exe wmcmd.vbs -input %1 -output "%outdir%%outfile%.wmv" -v_codec WMV7 -v_mode 0 -v_bitrate %bitrate% -v_keydist 10 -v_buffer 10000 -v_quality 100 -v_preproc 0 -v_width %width% -v_height %height% -a_setting 128_44_2
I'm using 500 kbps bitrate, 320x240 (widthxheight)
So this shows there is no problem with my computer(s) or WME9 encoder or the input file. It's just a matter of getting AutoMKV to feed WME9 the right file and command line.
cosmos
19th January 2007, 07:05
Is there any way in AukoMKV to make forced subtitles (not burnt in) using the mkv container?
I'm trying to encode flying high (or aeroplane depending on which country your in) and when I try and play the resulting movie in VLC I see that the subtitles are always defaulted to off.Search and download mkvtoolnix for Windows. Then doubleclick the mkvmerge icon. In the input files throw in the movie you are talking about. In the middle boxes the video, audio and subtitle tracks will appear. In the subtitle track, check the "default track" box and then mux the file. A new mkv file will be produced.
I believe there might be a more elegant solution, but I don't know how :)
BTW, for Matroska (and everything else) I've switched to using the CCCP codec pack (google for it), together with Quicktime alternative and Realalternative. Much faster playback, plus better looking subs.
AMED
19th January 2007, 08:57
Search and download mkvtoolnix for Windows. Then doubleclick the mkvmerge icon. In the input files throw in the movie you are talking about. In the middle boxes the video, audio and subtitle tracks will appear. In the subtitle track, check the "default track" box and then mux the file. A new mkv file will be produced.
I have just tried that and the subtitles are still disabled by default when playing the movie
cosmos
19th January 2007, 09:08
I've observed that VLC does not respect the default-track property, nothing to worry about. Perhaps it will be fixed in a future release. I do continue to strongly suggest using the CCCP pack.
gekan
19th January 2007, 09:16
Hi. This is my 1st message and I'd like to say thanks for all the work you guys have been putting into AutoMKV!
Is there any way in AukoMKV to make forced subtitles (not burnt in) using the mkv container?
...
I've been having the same problem with 0.70 myself. If I choose subtitles they get burned in no matter what..
I have another problem. I encoded an episode for media size 300MBs. The final size was 285MBs. Why is that? The other 4 episodes (with the same settings) were ok (2 of them 300MBs and the other 2 at 299MBs). Here is the log for the file:
Selected Input file: E:\Media\BA\VTS_03_0.IFO
Selected Output dir: E:\Media\temp\
Selected Final Name: VTS_03_0
Selected Container type: MKV
Selected Encoder: X264
Selected Size: 300
Selected Slice: 1
Selected Profile: CQ-ASP_Q2_eq(crf).xml
Selected Width: Automatic
Selected Resizer: BicubicResize (neutral=0,0.50)
Selected Filters: RemoveGrain(mode=2)
Selected Deinterlacer: AUTO
Selected Field Order: AUTO
Using Queue: queue2.ini of 4 works
Track Language 1: English (AC3 2ch, 0xBD 0x80) [0]
Audio Codec 1: Nero AAC
Audio Quality 1: 0.35
Advanced Audio Settings DUMP Track 1
Movie Title Name:
Audio Track Language:
Audio Track Name:
Nero Option Profiles: AUTO --- Encoding Mode: Quality
CCT Option Profiles: AUTO --- Channel Options: AUTO
Lame Settings: ABR
Audio Normalization: 1
Frequency: AUTO --- Tempo : NONE
Pitch: NONE --- Other Add :
Advanced Audio Settings DUMP Track 2
Audio Track Language:
Audio Track Name:
Nero Option Profiles: AUTO --- Encoding Mode: Quality
CCT Option Profiles: AUTO --- Channel Options: AUTO
Lame Settings: ABR
Audio Normalization: 1
Frequency: AUTO --- Tempo : NONE
Pitch: NONE --- Other Add :
Selected 1' Sub tracks: NONE
Selected 2' Sub tracks: NONE
Starting Indexing
Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Media\BA\VTS_03_1.vob] -OF=[E:\Media\temp\movie] -exit -minimize
Finished indexing
Starting fixing audio delay on track number 1
DelayCut CMD: C:\Program Files\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "E:\Media\temp\fixed1.ac3" "E:\Media\temp\movie T01 2_0ch 224Kbps DELAY 0ms.ac3"
Original 1' Audio Size: 54803840 bytes
Finished fixing audio delay
Encoding E:\Media\temp\fixed1.ac3 to NeroAAC with 0.35 quality
Encoded 1' Audio Track: 19428801 bytes
Number of Frames: 48933
Framerate: 25.000000
Movie lenght in Seconds: 1958
Movie Width: 720
Movie Height: 576
Processing completed. Type is determined to be partly interlaced.
Processing completed. Type is determined to be partly interlaced.
BFF: 17
TFF: 246
Order: tff
Starting X264 AutoResize with WIDTH of Automatic and wanted size of 314572800 bytes
Testing ABR of: 1204
CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --bitrate 1204 --ratetol inf --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --direct spatial --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "E:\Media\temp\resmovie.mp4" "E:\Media\temp\resmovie.avs"
CRF Iterate LOG
First sample as ABR log
avis [info]: 704x528 @ 25.00 fps (980 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
mp4 [info]: initial delay 2 (scale 25)
x264 [info]: slice I:40 Avg QP:19.80 size: 24500
x264 [info]: slice P:459 Avg QP:21.75 size: 9292
x264 [info]: slice B:481 Avg QP:23.94 size: 2727
x264 [info]: mb I I16..4: 17.3% 48.3% 34.4%
x264 [info]: mb P I16..4: 9.1% 19.8% 3.4% P16..4: 31.4% 12.9% 3.8% 0.6% 0.4% skip:18.6%
x264 [info]: mb B I16..4: 0.3% 1.2% 0.2% B16..8: 17.6% 1.2% 2.2% direct:11.4% skip:65.9%
x264 [info]: final ratefactor: 21.10
x264 [info]: 8x8 transform intra:59.0% inter:42.3%
x264 [info]: ref P 75.5% 17.6% 6.9%
x264 [info]: ref B 78.5% 16.4% 5.1%
x264 [info]: kb/s:1338.1
x264 [info]: kb/s:1338.1
encoded 980 frames, 6.88 fps, 1338.45 kb/s
End of first Sample LOG
Tested total movie: 2%
AutoResize movie size: 6569301 bytes
Movie Width suggested: 1008 value based on sample size
Starting X264
CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 21.10 --stats "E:\Media\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --direct spatial --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "E:\Media\temp\movie.mp4" "E:\Media\temp\movie.avs"
Accepted values are between 298844160 and 317718528 bytes (movie+audio)
Got a file of size: 279713969 bytes + audio size 19428801 bytes (299142784)
"C:\Program Files\AutoMKV\exe\matroska\mkvmerge.exe" -o "E:\Media\temp\VTS_03_0.mkv" --track-name -1:"VTS_03_0" --aspect-ratio 1:1.361702 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E:\Media\temp\movie.mp4" --language -1:eng "E:\Media\temp\audio.mp4" --title "Done with AutoMKV 0.70 http://forum.doom9.org/showthread.php?p=854221 "
Final Muxed size: 299097985 bytes
Encoding finished: 01:59:30 elapsed time
-----------------------------------------------------------------------
Script AutoCrop.log
Crop(10,6,700,564)
-----------------------------------------------------------------------
Script Resmovie.avs
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\autocrop.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\cnr2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\corrector.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Decomb.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Deen.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\frfun7.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\medianblur.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mt_masktools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mvtools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Repair.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SangNom.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnDot.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
#loadpluginstart
#test1
Import("C:\Program Files\AutoMKV\exe\filter\MCBob_v03c.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\QMF.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\seesaw.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\spresso.avsi")
#importstart
#test2
movie = mpeg2source("E:\Media\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start
#test3
#cropstart
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.066667
c_width = width(cropclip)
c_height = Round(height(cropclip) / fixed_aspect)
input_par = float(float(c_width)/float(c_height))
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 704
out_height = Round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
TDeint(order=1,full=false)
#resizestart
#test4
BicubicResize(out_width,out_height,0,0.50)
#filter2start
#test5
RemoveGrain(mode=2)
function Comptest(clip c, float percent)
{
frange=floor(14./(percent/100.))
Return SelectRangeEvery(c, frange, 14)
}
Comptest(2)
-----------------------------------------------------------------------
Script movie.avs
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\autocrop.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\cnr2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\corrector.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Decomb.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Deen.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\frfun7.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\medianblur.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mt_masktools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mvtools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Repair.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SangNom.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnDot.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
#loadpluginstart
#test1
Import("C:\Program Files\AutoMKV\exe\filter\MCBob_v03c.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\QMF.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\seesaw.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\spresso.avsi")
#importstart
#test2
movie = mpeg2source("E:\Media\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start
#test3
#cropstart
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.066667
c_width = width(cropclip)
c_height = Round(height(cropclip) / fixed_aspect)
input_par = float(float(c_width)/float(c_height))
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 704
out_height = Round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
TDeint(order=1,full=false)
#resizestart
#test4
BicubicResize(out_width,out_height,0,0.50)
#filter2start
#test5
RemoveGrain(mode=2)
-----------------------------------------------------------------------
Script mkvmaudio.avs
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
NicAC3Source("E:\Media\temp\fixed1.ac3")
EnsureVBRMP3Sync()
ConvertAudioToFloat()
#Applyed STEREO downmixing routines
function stereo(clip a)
{
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
lfe = GetChannel(a, 4)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
Return MergeChannels(l, r).Normalize()
}
#
function original(clip a)
{
Normalize(a)
Return last
}
6==Audiochannels() ? stereo() : original()
-----------------------------------------------------------------------
Script mkvmaudio.bat
"C:\Program Files\AutoMKV\exe\besweet\bepipe.exe" --script "Import(^E:\Media\temp\mkvmaudio.avs^)" | "C:\Program Files\AutoMKV\exe\besweet\neroaacenc.exe" -ignorelength -q 0.35 -if - -of "E:\Media\temp\audio.mp4"
-----------------------------------------------------------------------
Script mkvmaudio2.avs
-----------------------------------------------------------------------
Script mkvmaudio2.bat
gekan
19th January 2007, 09:16
Now, another thing is that, even though I wanted single pass encoding one out of five times two pass mode was made active. Why is that? Here is the log file:
Selected Input file: E:\Media\BA\VTS_01_0.IFO
Selected Output dir: E:\Media\temp\
Selected Final Name: VTS_01_0
Selected Container type: MKV
Selected Encoder: X264
Selected Size: 300
Selected Slice: 1
Selected Profile: CQ-ASP_Q2_eq(crf).xml
Selected Width: Automatic
Selected Resizer: BicubicResize (neutral=0,0.50)
Selected Filters: RemoveGrain(mode=2)
Selected Deinterlacer: AUTO
Selected Field Order: AUTO
Track Language 1: English (AC3 2ch, 0xBD 0x80) [0]
Audio Codec 1: Nero AAC
Audio Quality 1: 0.35
Advanced Audio Settings DUMP Track 1
Movie Title Name:
Audio Track Language:
Audio Track Name:
Nero Option Profiles: AUTO --- Encoding Mode: Quality
CCT Option Profiles: AUTO --- Channel Options: AUTO
Lame Settings: ABR
Audio Normalization: 1
Frequency: AUTO --- Tempo : NONE
Pitch: NONE --- Other Add :
Advanced Audio Settings DUMP Track 2
Audio Track Language:
Audio Track Name:
Nero Option Profiles: AUTO --- Encoding Mode: Quality
CCT Option Profiles: AUTO --- Channel Options: AUTO
Lame Settings: ABR
Audio Normalization: 1
Frequency: AUTO --- Tempo : NONE
Pitch: NONE --- Other Add :
Selected 1' Sub tracks: NONE
Selected 2' Sub tracks: NONE
Starting Indexing
Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\Media\BA\VTS_01_1.vob] -OF=[E:\Media\temp\movie] -exit -minimize
Finished indexing
Starting fixing audio delay on track number 1
DelayCut CMD: C:\Program Files\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "E:\Media\temp\fixed1.ac3" "E:\Media\temp\movie T01 2_0ch 224Kbps DELAY 0ms.ac3"
Original 1' Audio Size: 50711808 bytes
Finished fixing audio delay
Encoding E:\Media\temp\fixed1.ac3 to NeroAAC with 0.35 quality
Encoded 1' Audio Track: 17715084 bytes
Number of Frames: 45280
Framerate: 25.000000
Movie lenght in Seconds: 1812
Movie Width: 720
Movie Height: 576
Processing completed. Type is determined to be partly interlaced.
Processing completed. Type is determined to be partly interlaced.
BFF: 37
TFF: 219
Order: var
Starting X264 AutoResize with WIDTH of Automatic and wanted size of 314572800 bytes
Testing ABR of: 1309
CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --bitrate 1309 --ratetol inf --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --direct spatial --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "E:\Media\temp\resmovie.mp4" "E:\Media\temp\resmovie.avs"
CRF Iterate LOG
First sample as ABR log
avis [info]: 704x528 @ 25.00 fps (910 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
mp4 [info]: initial delay 2 (scale 25)
x264 [info]: slice I:42 Avg QP:19.36 size: 22285
x264 [info]: slice P:478 Avg QP:21.72 size: 9411
x264 [info]: slice B:390 Avg QP:24.23 size: 3011
x264 [info]: mb I I16..4: 22.8% 46.8% 30.4%
x264 [info]: mb P I16..4: 10.4% 20.2% 3.8% P16..4: 29.2% 13.0% 4.2% 0.6% 0.4% skip:18.2%
x264 [info]: mb B I16..4: 0.4% 1.3% 0.2% B16..8: 20.2% 1.2% 2.4% direct:11.2% skip:62.9%
x264 [info]: final ratefactor: 21.16
x264 [info]: 8x8 transform intra:56.7% inter:38.0%
x264 [info]: ref P 74.6% 17.6% 7.9%
x264 [info]: ref B 78.9% 15.3% 5.7%
x264 [info]: kb/s:1452.5
x264 [info]: kb/s:1452.5
encoded 910 frames, 5.80 fps, 1452.86 kb/s
End of first Sample LOG
Tested total movie: 2%
AutoResize movie size: 6620161 bytes
Movie Width suggested: 1008 value based on sample size
Starting X264
CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 21.16 --stats "E:\Media\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --direct spatial --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "E:\Media\temp\movie.mp4" "E:\Media\temp\movie.avs"
Accepted values are between 298844160 and 317718528 bytes (movie+audio)
Got a file of size: 268551942 bytes + audio size 17715084 bytes (286267040)
Switching to 2 pass mode
CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 1309 --stats "E:\Media\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --direct spatial --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "E:\Media\temp\movie.mp4" "E:\Media\temp\movie.avs"
"C:\Program Files\AutoMKV\exe\matroska\mkvmerge.exe" -o "E:\Media\temp\VTS_01_0.mkv" --track-name -1:"VTS_01_0" --aspect-ratio 1:1.371429 --chapters "C:\Program Files\AutoMKV\exe\chapters.txt" "E:\Media\temp\movie.mp4" --language -1:eng "E:\Media\temp\audio.mp4" --title "Done with AutoMKV 0.70 http://forum.doom9.org/showthread.php?p=854221 "
Final Muxed size: 314567384 bytes
Encoding finished: 03:52:10 elapsed time
----------------------
Script AutoCrop.log
Crop(14,8,696,560)
----------------------
Script Resmovie.avs
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\autocrop.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\cnr2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\corrector.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Decomb.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Deen.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\frfun7.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\medianblur.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mt_masktools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mvtools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Repair.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SangNom.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnDot.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
#loadpluginstart
#test1
Import("C:\Program Files\AutoMKV\exe\filter\MCBob_v03c.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\QMF.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\seesaw.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\spresso.avsi")
#importstart
#test2
movie = mpeg2source("E:\Media\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start
#test3
#cropstart
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.066667
c_width = width(cropclip)
c_height = Round(height(cropclip) / fixed_aspect)
input_par = float(float(c_width)/float(c_height))
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 704
out_height = Round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
TDeint(full=false)
#resizestart
#test4
BicubicResize(out_width,out_height,0,0.50)
#filter2start
#test5
RemoveGrain(mode=2)
function Comptest(clip c, float percent)
{
frange=floor(14./(percent/100.))
Return SelectRangeEvery(c, frange, 14)
}
Comptest(2)
----------------------
Script movie.avs
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\autocrop.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\cnr2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\corrector.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Decomb.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Deen.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\frfun7.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\medianblur.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mt_masktools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mvtools.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Repair.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SangNom.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TDeint.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnDot.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
#loadpluginstart
#test1
Import("C:\Program Files\AutoMKV\exe\filter\MCBob_v03c.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\QMF.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\seesaw.avsi")
Import("C:\Program Files\AutoMKV\exe\filter\spresso.avsi")
#importstart
#test2
movie = mpeg2source("E:\Media\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start
#test3
#cropstart
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.066667
c_width = width(cropclip)
c_height = Round(height(cropclip) / fixed_aspect)
input_par = float(float(c_width)/float(c_height))
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 704
out_height = Round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
TDeint(full=false)
#resizestart
#test4
BicubicResize(out_width,out_height,0,0.50)
#filter2start
#test5
RemoveGrain(mode=2)
----------------------
Script mkvmaudio.avs
LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
NicAC3Source("E:\Media\temp\fixed1.ac3")
EnsureVBRMP3Sync()
ConvertAudioToFloat()
#Applyed STEREO downmixing routines
function stereo(clip a)
{
fl = GetChannel(a, 1)
fr = GetChannel(a, 2)
c = GetChannel(a, 3)
lfe = GetChannel(a, 4)
sl = GetChannel(a, 5)
sr = GetChannel(a, 6)
l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
Return MergeChannels(l, r).Normalize()
}
#
function original(clip a)
{
Normalize(a)
Return last
}
6==Audiochannels() ? stereo() : original()
----------------------
Script mkvmaudio.bat
"C:\Program Files\AutoMKV\exe\besweet\bepipe.exe" --script "Import(^E:\Media\temp\mkvmaudio.avs^)" | "C:\Program Files\AutoMKV\exe\besweet\neroaacenc.exe" -ignorelength -q 0.35 -if - -of "E:\Media\temp\audio.mp4"
----------------------
Script mkvmaudio2.avs
----------------------
Script mkvmaudio2.bat
These are my settings:
Input Folder = E:\Media\
Output Folder = E:\Media\
Container = MKV
Movie Name = VTS_01_0
Size = 300
Slice = 1
Resizer = 4
Width = Automatic
Set encoding mode = X264
Audio Codec 1 = Nero AAC
Audio Bit 1 = 7
Audio Bitrate 1 = 0.35
Audio Channel 1 = Stereo
Audio Codec 2 = Nero AAC
Audio Bit 2 = 7
Audio Bitrate 2 = 0.35
Audio Channel 2 = Stereo
Encoding Profiles = 10
Bitrate Encoding = 0
Bitrate Value = 700
Delete temporary files = 0
Encrust/Burn Subtitles = 0
Enable Shutdown = 0
Episodic DVD = 1
Force ITU Resizing = 0
Anamorphic Encoding = 0
Filter = RemoveGrain(mode=2)
Enable Last Line AVS Script = 0
Last Line AVS Script =
Deinterlacer = AUTO
Field Order = AUTO
HQ Deinterlacer = 0
Language = eng
Use CRF/CQ for AutoResize = 1
CRF/CQ Value = 19
Use ProjectX for TS files = 0
Use custom X.ini = 0
Use DelayCut = 1
Matrix = NONE
Force PAR in XviD = NONE
Use DirectShowSource = 0
Enable Manual Crop And Resize = 0
Crop Top =
Crop Left =
Crop Bottom =
Crop Right =
Manual Width =
Manual Height =
Audio Track Name 1 =
Audio Track Desc 1 =
Nero Profiles 1 = AUTO
Nero Encoding Mode 1 = Quality
CCT Profiles 1 = AUTO
Channel Options 1 = AUTO
MP3 Settings 1 = ABR
Normalize Audio 1 = 1
Frequency 1 = AUTO
Tempo 1 = NONE
Pitch 1 = NONE
OtherADD 1 =
Audio Track Name 2 =
Audio Track Desc 2 =
Nero Profiles 2 = AUTO
Nero Encoding Mode 2 = Quality
CCT Profiles 2 = AUTO
Channel Options 2 = AUTO
MP3 Settings 2 = ABR
Normalize Audio 2 = 1
Frequency 2 = AUTO
Tempo 2 = NONE
Pitch 2 = NONE
OtherADD 2 =
buzzqw
19th January 2007, 12:25
update 0.70c
www.64k.it/andres/data/a/AutoMKV070c.exe
Changelog
FIXED: If "Film" or "Partly Film" is selected then no analysis is performed against Forced Film (es. if in d2v film >=97% Force Film is applyed, but if i select "Film" or "Partial Film" preset under Deinterlacer no Force film is applyed on d2v, but (for "FILM") tfm(d2v="movie.d2v").tdecimate() )
FIXED: Audio now use channels downmixing options
FIXED: Avisource and DirectShowSource. First mode is AviSource is this is failing AutoMKV will swith to DirectShowSource
FIXED: More robust wmv encoding when input is mpeg4
@dlflannery
if you want to use directshowsource install ffdshow
anyway try this new build :)
@gekan
First of all Welcome to the Forum ! :)
The final size was 285MBs.
well... the reason is this CQ-ASP_Q2_eq(crf).xml in CQ mode the final file size isn't perfect ! (and you got a very good result !) look here (http://forum.doom9.org/showthread.php?t=116773&highlight=dabr) for more info
also look at this
Accepted values are between 298844160 and 317718528 bytes (movie+audio)
Got a file of size: 279713969 bytes + audio size 19428801 bytes (299142784)
In Advanced settings is possible to set the allow undersized and maximun oversized
again look at this (for second encoding)
CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 21.16 --stats "E:\Media\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --direct spatial --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "E:\Media\temp\movie.mp4" "E:\Media\temp\movie.avs"
Accepted values are between 298844160 and 317718528 bytes (movie+audio)
Got a file of size: 268551942 bytes + audio size 17715084 bytes (286267040)
Switching to 2 pass mode
CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 1309 --stats "E:\Media\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --direct spatial --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "E:\Media\temp\movie.mp4" "E:\Media\temp\movie.avs"
the CRF encoding got undersized and so AutoMKV switch to 2 pass mode, but since first pass was done in CRF mode, AutoMKV do another pass (the second) !
BHH
gekan
19th January 2007, 13:25
@buzzqw
Thanks a lot for the info.
The quality is good in all cases so I don't really mind about the size difference, but, for my information and because it wouldn't be bad to have all the episodes in the same size, what could I do to have one pass encoding with good quality and standard size?
Keep up the great work! :)
Edit: Btw, I have a minor bug to say. When I save jobs in the queue and exit the app and then restart it later I can only see the name of the job (queue1, queue2 etc) and not all the other columns. Everything works fine, it's just a visual thing.
buzzqw
19th January 2007, 14:34
what could I do to have one pass encoding with good quality and standard size?
encoding in CRF mean "I want a FIXED quality, regardless of final size. Please do your best in one pass, i don't mean size"
so what to do in 1 pass ? this a very good choice, only the 2 pass can lead a better quality at FIXED file size.
looking at your log a see this
Movie Width suggested: 1008 value based on sample size
you know (;)) that AutoMKV has a AutoResize fuction, in your case you are near full quality. This mean that you can put a fixed with of 704 (and so less time to encoding since not do autoresize)
You can try a 1P-Intemediate profile (with a fixed size of 300mb), should be a little faster, don't know about quality but should be equal (or near)
Also in your log i see Processing completed. Type is determined to be partly interlaced. this mean that autodeinterlacer test ISN'T needed. On Advanced setting select "Partly Interlaced" on "Deinterlacer" and in next box select "HYBRID" , again a speed improvment !
BHH
P.S this hints are valid for these encoding ! not for all encoding. Every encoding has own peculiarity ! :)
dlflannery
19th January 2007, 18:51
@dlflannery
if you want to use directshowsource install ffdshow
anyway try this new build
Note: Think I found the problem -- see near end of this post!
On my computer (#1) i already have ffdshow and when I render my AVI in graphEdit or gspot it is using the ffdshow mpeg4 decoder.
Ver. 70c still has problems I get essentially the same result with or without using "Use DirectShowSource". Files size is much too small and mediaInfro reports ~377kbps video bitrate. The duration is clipped from 151 sec to 51 sec and there is no audio. (Same whether done with "Use DirectShowSource.)
The log files are identical for the two cases.
First part of log file:
12:00:11 0.70c - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
12:00:11 Selected Input file: C:\MPEG4_encodes\ffmpeg\BF.avi
12:00:11 Selected Output dir: C:\MPEG4_encodes\ffmpeg\temp\
12:00:11 Selected Final Name: BF
12:00:11 Selected Container type: WMV
12:00:11 Selected Encoder: WMV
12:00:11 Selected Size: 1 CD
12:00:11 Selected Slice: 1
12:00:11 Selected Profile: Zune_1_Pass_Quick.xml
12:00:11 Selected Width: 320
12:00:11 Selected Resizer: SimpleResize (neutral soft)
12:00:11 Selected Filters: NONE
12:00:11 Selected Deinterlacer: NONE
12:00:11 Selected Field Order: AUTO
12:00:11 Enabled CRF/CQ AutoRes at 90 value
12:00:11 Enabled Bitrate encoding with value 628
12:00:11 Track Language 1: BF.avi
12:00:11 Audio Codec 1: WMV
12:00:11 Audio Quality 1: 128
12:00:11 Advanced Audio Settings DUMP Track 1
12:00:11 Movie Title Name:
12:00:11 Audio Track Language:
12:00:11 Audio Track Name:
12:00:11 Nero Option Profiles: AUTO --- Encoding Mode: Quality
12:00:11 CCT Option Profiles: AUTO --- Channel Options: AUTO
12:00:11 Lame Settings: ABR
12:00:11 Audio Normalization: 1
12:00:11 Frequency: AUTO --- Tempo : NONE
12:00:11 Pitch: NONE --- Other Add :
12:00:11 Advanced Audio Settings DUMP Track 2
12:00:11 Audio Track Language:
12:00:11 Audio Track Name:
12:00:11 Nero Option Profiles: AUTO --- Encoding Mode: Quality
12:00:11 CCT Option Profiles: AUTO --- Channel Options: AUTO
12:00:11 Lame Settings: ABR
12:00:11 Audio Normalization: 1
12:00:11 Frequency: AUTO --- Tempo : NONE
12:00:11 Pitch: NONE --- Other Add :
12:00:11 Selected 1' Sub tracks: NONE
12:00:11 Selected 2' Sub tracks: NONE
12:00:11
12:00:18 Number of Frames: 4510
12:00:18 Framerate: 29.970089
12:00:18 Movie lenght in Seconds: 151
12:00:18 Movie Width: 320
12:00:18 Movie Height: 240
12:00:18 WMV CMD: cscript.exe "C:\AutoMKV068\exe\encoder\WMCmd.vbs" -input "C:\MPEG4_encodes\ffmpeg\temp\movie.avs" -output "C:\MPEG4_encodes\ffmpeg\temp\movie.wmv" -v_codec WMV7 -v_mode 0 -v_bitrate 512000 -s_config "C:\MPEG4_encodes\ffmpeg\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 -title "BF" -year 2007 -copyright "Done with AutoMKV! 0.70c" -a_setting 128_48_2
12:01:07 Final Muxed size: 3325824 bytes
12:01:07 Encoding finished: 00:00:56 elapsed time
Note that the file duration and size were determined correctly. I notice the audio sampling rate is set to 48 while this should be 44 for this profile, correct?
I double-clicked the movie.avs file created in the temp directory and it played OK in MPC. Since this is the source file for your WME script encode, I tried using it as the source file in my batch WME script encoding process. It failed with some obsure error code #. By process of elimination I determined that if I commented out the following line of movie.avs:
audio=ConvertAudioToFloat(audio).Normalize()
I could source that modified movie.avs to my batch converter and it worked perfectly!
Could it be the WME encoder doesn't like float audio?
buzzqw
19th January 2007, 19:20
i don't think the problem is float but normalized
please try this build i have only removed the normalize, and report back :thanks:
www.64k.it/andres/data/a/AutoMKV070d.exe
BHH
Unrealbr
19th January 2007, 22:48
Hey buzzqw i'm having a couple of issues, the program is crashing when i try to batch convert 10+ files. :(
buzzqw
20th January 2007, 01:43
ok, before i start batching... is it crashing in the middle , at start, at random queue ?
moreover, what type of encoding ?
BHH
Unrealbr
20th January 2007, 04:11
ok, before i start batching... is it crashing in the middle , at start, at random queue ?
moreover, what type of encoding ?
BHH
Random.
Re-encoding DVIX -> MP4 and MP4 -> MP4, it crashes with any type of encode.
dlflannery
20th January 2007, 04:15
i don't think the problem is float but normalized
please try this build i have only removed the normalize, and report back :thanks:
www.64k.it/andres/data/a/AutoMKV070d.exe
BHH
This version works fine (on Zune Quick 1 Pass, only one I've tried). It works on both computers and with or without "Use DirectShowSource" (now that I have ffdshow on both computers). I watch the WME script encoder command window while it's running and a puzzling thing is, when using DirectShowSource, that on one computer WME never gets the video length. On the faster computer it gets the video length on the second try after the usual warning message. But the encoded video is fine in all cases.
My testing so far has been with only a 2.5 min clip, also. Does it need to be tested with a longer clip to be sure it is really OK?
Now about the GUI, a small issue:
I have saved a configuration with WMV as the container and codec, and AutoMKV comes up that way (of course). However as soon as I load the .avi file, the audio codec choices on both audio tracks go to the four mp3 types (2 AAC, Ogg and Lame). To get them back to WMV I have to go to the Container entry (which already says WMV) and select WMV again. That causes the profile to switch to a different one from what I saved so I have to re-select the profile. It also causes the audio bitrate to change from what I saved so that has to be reset also. I hope that can be fixed. It defeats the advantage of saving the configuration and leads to mistakes by the operator. (As I'm sure you understand!)
Thanks for your efforts! :thanks:
weaver4
20th January 2007, 05:21
Most of the time you will want your output movies to go into the same specific folder. So if you set that folder up and then press the save settings button the output folder is saved. But every time you select a new input file the output folder is changed; and then you have to reset it up.
dlflannery
20th January 2007, 06:19
@buzzqw:
I've tested 0.70d with a 45 min AVI (xvid+mp3) with and without DirectShowSource. All seems OK, although I am puzzed the video bitrate is only 462 kbps while the WME command line specified 500. Is WME9 unable to control the bitrate any better than that on a single-pass CBR encode?
With my batch files this video encodes to 483 kbps video. The bitrate option is 500000 in both your CMD and my batch files. Maybe the autocrop (in AutoMKV but not in my batch process) removes enough information to explain that difference (?). Probably nothing to be concerned about, I suspect.
buzzqw
20th January 2007, 12:19
update www.64k.it/andres/data/a/AutoMKV070e.exe
0.70e
FIXED: Drag&Drop use (thanks to vOjToL)
FIXED: Default WMV profile is now 2_Pass_VBR_Quick
FIXED: Change audio bitrate writing directly into free string would cause a non correct wmv audio encoding parameter
FIXED: On load of saved settings the destination directory no more change accordling to input file directory (thanks to weaver4)
@Unrealbr
i hope i had found the culprit... give me some time :o
@dlflannery
However as soon as I load the .avi file, the audio codec choices on both audio tracks go to the four mp3 types (2 AAC, Ogg and Lame).
fixed !
Also remember that at 320*xxx is easy to saturate... even with bitrate around 500.. anyway in this build i had changed i little bit the way of computing bitrate... report back if better !
@weaver4
FIXED!
@vOjToL
fixed!
BHH
dlflannery
20th January 2007, 15:37
Everything I've "complained" about is fixed! :thanks:
I think I see the change you made in WMV bitrate calculation:
In versions before .70e the video bitrate passed to the WME script was the bitrate entered in the advanced tab ("Specify Bitrate") minus the audio bitrate set on the basic tab. Now it appears audio bitrate is no longer subtracted. I like the new way better. :cool:
buzzqw
20th January 2007, 16:02
@dlflannery
thanks !
about bitrate computing.. not really as you said...
now i take the video bitrate multiply it by 1024 and the subtract audio bitrate multiply by 1000
like 500*1024-96*1000=416000
previusly, as you correctly said was 500*1000-96*1000=404000
BHH
dlflannery
20th January 2007, 16:12
@dlflannery
thanks !
about bitrate computing.. not really as you said...
now i take the video bitrate multiply it by 1024 and the subtract audio bitrate multiply by 1000
like 500*1024-96*1000=416000
previusly, as you correctly said was 500*1000-96*1000=404000
BHH
@buzzqw:
When I enter 128 for audio and 628 for video the WME script option is:
-v_bitrate 641792
I don't think that matches your new calculation (??) I get 515072 using your new calculation.
buzzqw
20th January 2007, 16:16
that's great ! thank dlflannery !
just a typo bug (was video*1024-audio*10)
update the 0.70e, please re download ! the 0.70e
BHH
weaver4
20th January 2007, 23:36
I ran into a problem today encoding a movie into CQ Xvid with Lame MP3. I wish I had more to give you but the error dialog box came up and said it had a problem with audio and did I want to continue. The last thing it said in the log file was:
17:12:48 Encoding E:\Movies\temp\fixed1.ac3 To Mp3 with 5 quality
The batch file is pretty simple saw no problems there.
I tried encoding the movie using: Avi.Net, AutoGK and in Divx with Dr2. No problem with any of these applications.
What do you want me to try?
sjchmura
21st January 2007, 04:23
THose with AC3Filter and "dolby digital live encoding" enabled to output SPDIF crashes automkv.
Would there be a way to either have a checkbox to use the NEXT in line filter that properly decodes 6 channel audio? If not, the only solution is to disable the SPDIF out on AC3Filter while you are encoding .... even if say Nero is the next filter in the priority change
dlflannery
21st January 2007, 05:23
that's great ! thank dlflannery !
just a typo bug (was video*1024-audio*10)
update the 0.70e, please re download ! the 0.70e
BHH
The bitrate settings are fixed as you described in the "new" .70e, thanks. You asked how I liked the change so:
1. The way you have it now is OK with me, although I would suggest calling the check box "Set total bitrate" or "Set overall bitrate" and add to the hint: "Includes audio bitrate".
2. My personal preference would be to make it just the video bitrate and label the check box "Set video bitrate" and add in the hint: "Does not include audio bitrate". Perhaps there are some formats for which this does not work (?).
Either way, but I think it would be good to make it clear to the user whether the bitrate is total or just video.
I've found another problem:
If a file already exists matching the chosen output folder and file name, the encode will appear to run OK but the existing file will not be replaced by the new encoded one. (Perhaps this only applies to WMV output files?) It doesn't matter what size or actual content is in the existing file -- if the name and extension match then it will not be replaced with the new file.
This can cause obvious problems if you are re-encoding the same input file several times to find what settings are best.
A suggestion: check to see if the output file name already exists and delete it (or change the code so it will be overwritten). You could ask the operator if the file is to be replaced.
buzzqw
21st January 2007, 10:21
@weaver4
the problem is repetable with the same source ? if so could you mail me a link where to download a snippet ? (also mail me the log)
@sjchmura
with directshowfilters is impossible to select how the decoder handle the output :( , only with a graphedit files is possible
@dlflannery
2. My personal preference would be to make it just the video bitrate and label the check box "Set video bitrate" and add in the hint: "Does not include audio bitrate". Perhaps there are some formats for which this does not work (?).
i agree with your suggestion. This bitrate value is for video not audio. Thanks for pointing this out, as is now is misleading
If a file already exists matching the chosen output folder and file name, the encode will appear to run OK but the existing file will not be replaced by the new encoded one.
is a problem only with wmv, other container are ok. Fixed in next release
BHH
weaver4
21st January 2007, 14:00
buzzqw: I sent you a personal message with the log file in it; plus a link to the vob file I am having problems with.
buzzqw
21st January 2007, 15:10
thanks, got the link and i also replyed
just an info... looking at log files seems that there is some problem with delaycut..
look at this
07:48:18 Starting fixing audio delay on track number 1
07:48:18 DelayCut CMD: C:\Downloads\AutoMKV\AutoMKV068\exe\dgindex\Delaycut.exe -auto -out "E:\Movies\temp\fixed1.ac3" "E:\Movies\temp\movie T01 2_0ch 192Kbps DELAY 984ms.ac3"
07:48:20 Original 1' Audio Size: 39294720 bytes
07:48:21 Finished fixing audio delay
in 3 seconds delaycut had processed 380mb... strange...
look at "movie T01 2_0ch 192Kbps DELAY 984ms_log.txt" (or similar file) is reported any problem ?
thanks!
BHH
buzzqw
21st January 2007, 16:37
ok, i have downloaded enough... to replicate
is a problem within NicAC3source and this ac3 file ! (using DSS is ok)
i will indagate...
BHH
weaver4
21st January 2007, 19:23
Here is the content from that log file:
[Input info]
Bitrate=192
Actual rate=192.000000
Sampling Frec=48000
TotalFrames=51134
Bytesperframe= 768.0000
Filesize=39271676
FrameDuration= 32.0000
Framespersecond= 31.2500
Duration=00:27:16.319
Channels mode=2/0: L+R
LFE=LFE: Not present
[Target info]
StartFrame=-31
EndFrame=51133
NotFixedDelay= -8.0000
Duration=00:27:17.280
====== PROCESSING LOG ======================
Time 00:27:16.288; Frame#= 51135. Uncomplete frame...SKIPPED
Number of written frames = 51165
Number of Errors= 1
buzzqw
22nd January 2007, 13:11
update !
www.64k.it/andres/data/a/AutoMKV071.exe
0.71
FIXED: Previusly on WMV encoding if user specified the bitrate video this value was used as total bitrate (audio+video bitrate) this is misleading. Now if user check Specify Bitrate the value is used only for video. (suggestion by dlflannery)
FIXED: On WMV encoding if destination file exists automkv will not overwrite, just rename the new file based on date (thanks to dlflannery)
FIXED: Splitting wasn't fuctional (and nobody reported it...)
BHH
buzzqw
22nd January 2007, 16:00
NEWS!
i was able to encode wmv video with 5.1 WMA audio ! YES!!!
just use automkv BUT in ffdshow set audio as this
http://img294.imageshack.us/img294/4194/ffdshow3zr.png (http://imageshack.us)
BHH
dlflannery
23rd January 2007, 02:02
update !
.............
0.71
FIXED: Previusly on WMV encoding if user specified the bitrate video this value was used as total bitrate (audio+video bitrate) this is misleading. Now if user check Specify Bitrate the value is used only for video. (suggestion by dlflannery)
FIXED: On WMV encoding if destination file exists automkv will not overwrite, just rename the new file based on date (thanks to dlflannery)
...........
BHH
Thanks buzzqw! Works as expected.
buzzqw
23rd January 2007, 13:13
New FULL Package ! 0.72
www.64k.it/andres/data/a/AutoMKV072.rar
Changelog
0.72 Full Package
ADDED: ColorMatrix to 2.1, now using threads parameter. Please report back any problems
ADDED: Lot's of new QMFs made by WhOiS (a very big thanks)
ADDED: Loading QMF is now very different. Put your AVS with fuctions (and import of avsi) and the avsi in the \exe\Script folder
EDIT:ADDED In advanced audio setting is now possible to specify audio channel and audio format for wmv video, use only if you know what doing
UPDATE: DgIndex to 1.4.9 beta 12
UPDATE: Matroska to 2.0.0
UPDATE: TIVTC to rel 1.0
UPDATE: X264 to 620
UPDATE: TDeint to 1.1
BHH
weaver4
24th January 2007, 02:25
I was wondering if anyone has compared the quality of XVID encodes using AutoMKV with AutoGK or other tools.
cosmos
24th January 2007, 07:34
@buzzqw: Thanks for continuing to improve this little gem mate! :)
With the 072 release, I've been encoding with the deinterlacer and order both set to AUTO, but I don't see anywhere the deint.log file or any of the related bat/avs scripts to check for interlaced/film material. See below:
08:14:37 0.72 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
08:14:37 Selected Input file: F:\test\rips\disk1\VTS_02_0.IFO
08:14:37 Selected Output dir: F:\test\finished\temp\
08:14:37 Selected Final Name: Test test
08:14:37 Selected Container type: MKV
08:14:37 Selected Encoder: X264
08:14:37 Selected Size: 171
08:14:37 Selected Slice: 1
08:14:37 Selected Profile: HQ-Slow.xml
08:14:37 Selected Width: 704
08:14:37 Selected Resizer: BicubicResize (neutral=0,0.50)
08:14:37 Selected Filters: RemoveGrain(mode=2)
08:14:37 Selected Deinterlacer: AUTO
08:14:37 Selected Field Order: AUTO
08:14:37 Enabled CRF/CQ AutoRes at 18 value
08:14:37 Track Language 1: English (AC3 2ch, 0xBD 0x80) [0,1,2,3]
08:14:37 Audio Codec 1: Nero AAC
08:14:37 Audio Quality 1: 0.25
08:14:37 Advanced Audio Settings DUMP Track 1
08:14:37 Movie Title Name:
08:14:37 Audio Track Language:
08:14:37 Audio Track Name: English AAC 2.0
08:14:37 Nero Option Profiles: AUTO --- Encoding Mode: Quality
08:14:37 CCT Option Profiles: AUTO --- Channel Options: AUTO
08:14:37 Lame Settings: VBR
08:14:37 Audio Normalization: 0
08:14:37 Frequency: AUTO --- Tempo : NONE
08:14:37 Pitch: NONE --- Other Add :
08:14:37 Advanced Audio Settings DUMP Track 2
08:14:37 Audio Track Language:
08:14:37 Audio Track Name:
08:14:37 Nero Option Profiles: AUTO --- Encoding Mode: Quality
08:14:37 CCT Option Profiles: AUTO --- Channel Options: AUTO
08:14:37 Lame Settings: ABR
08:14:37 Audio Normalization: 1
08:14:37 Frequency: AUTO --- Tempo : NONE
08:14:37 Pitch: NONE --- Other Add :
08:14:37 Selected 1' Sub tracks: NONE
08:14:37 Selected 2' Sub tracks: NONE
08:14:37 Activate Force ITU Resizing
08:14:37
08:14:37 Starting Indexing
08:14:37 Dgindex CMD: E:\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[F:\test\rips\disk1\VTS_02_1.vob] -OF=[F:\test\finished\temp\movie] -exit -minimize
08:15:03 Finished indexing
08:15:03 Starting fixing audio delay on track number 1
08:15:03 DelayCut CMD: E:\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "F:\test\finished\temp\fixed1.ac3" "F:\test\finished\temp\movie T01 2_0ch 192Kbps DELAY 0ms.ac3"
08:15:05 Original 1' Audio Size: 65511168 bytes
08:15:05 Finished fixing audio delay
08:15:05 Encoding F:\test\finished\temp\fixed1.ac3 to NeroAAC with 0.25 quality
08:18:51 Encoded 1' Audio Track: 16540690 bytes
08:18:51 ForcedFilm applied: 98.300003% FILM found
08:18:54 Number of Frames: 65446
08:18:54 Framerate: 23.976025
08:18:54 Movie lenght in Seconds: 2730
08:18:54 Movie Width: 720
08:18:54 Movie Height: 480
08:18:54 Starting X264
08:18:54 Command Line 1' Pass X264: E:\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 476 --stats "F:\test\finished\temp\.stats" --ref 0 --no-b-adapt --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 NUL "F:\test\finished\temp\movie.avs"
08:18:54 Command Line 2' Pass X264: E:\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 476 --stats "F:\test\finished\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 "F:\test\finished\temp\movie.mp4" "F:\test\finished\temp\movie.avs"
movie.avs
LoadPlugin("E:\AutoMKV\exe\filter\autocrop.dll")
LoadPlugin("E:\AutoMKV\exe\filter\blockbuster.dll")
LoadPlugin("E:\AutoMKV\exe\filter\cnr2.dll")
LoadPlugin("E:\AutoMKV\exe\filter\ColorMatrix.dll")
LoadPlugin("E:\AutoMKV\exe\filter\Convolution3D.dll")
LoadPlugin("E:\AutoMKV\exe\filter\corrector.dll")
LoadPlugin("E:\AutoMKV\exe\filter\DctFilter.dll")
LoadPlugin("E:\AutoMKV\exe\filter\Decomb.dll")
LoadPlugin("E:\AutoMKV\exe\filter\Deen.dll")
LoadPlugin("E:\AutoMKV\exe\filter\degrainmedian.dll")
LoadPlugin("E:\AutoMKV\exe\filter\DGDecode.dll")
LoadPlugin("E:\AutoMKV\exe\filter\EEDI2.dll")
LoadPlugin("E:\AutoMKV\exe\filter\fft3dfilter.dll")
LoadPlugin("E:\AutoMKV\exe\filter\FluxSmooth.dll")
LoadPlugin("E:\AutoMKV\exe\filter\frfun7.dll")
LoadPlugin("E:\AutoMKV\exe\filter\hqdn3d.dll")
LoadPlugin("E:\AutoMKV\exe\filter\LeakKernelDeint.dll")
LoadPlugin("E:\AutoMKV\exe\filter\MaskTools.dll")
LoadPlugin("E:\AutoMKV\exe\filter\medianblur.dll")
LoadPlugin("E:\AutoMKV\exe\filter\MipSmooth.dll")
LoadPlugin("E:\AutoMKV\exe\filter\mt_masktools.dll")
LoadPlugin("E:\AutoMKV\exe\filter\mvtools.dll")
LoadPlugin("E:\AutoMKV\exe\filter\NicAudio.dll")
LoadPlugin("E:\AutoMKV\exe\filter\RemoveGrain.dll")
LoadPlugin("E:\AutoMKV\exe\filter\Repair.dll")
LoadPlugin("E:\AutoMKV\exe\filter\SangNom.dll")
LoadPlugin("E:\AutoMKV\exe\filter\SimpleResize.dll")
LoadPlugin("E:\AutoMKV\exe\filter\TBilateral.dll")
LoadPlugin("E:\AutoMKV\exe\filter\TDeint.dll")
LoadPlugin("E:\AutoMKV\exe\filter\TIVTC.dll")
LoadPlugin("E:\AutoMKV\exe\filter\TomsMoComp.dll")
LoadPlugin("E:\AutoMKV\exe\filter\TTempSmooth.dll")
LoadPlugin("E:\AutoMKV\exe\filter\UnDot.dll")
LoadPlugin("E:\AutoMKV\exe\filter\UnFilter.dll")
LoadPlugin("E:\AutoMKV\exe\filter\VSFilter.dll")
#loadpluginstart
#test1
Import("E:\AutoMKV\exe\filter\MCBob_v03c.avsi")
Import("E:\AutoMKV\exe\filter\mvbob.avsi")
Import("E:\AutoMKV\exe\filter\seesaw.avsi")
Import("E:\AutoMKV\exe\filter\spresso.avsi")
#importstart
#test2
movie = mpeg2source("F:\ds9\finished\temp\movie.d2v")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start
#test3
#cropstart
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 0.911600
c_width = width(cropclip)
c_height = Round(height(cropclip) / fixed_aspect)
input_par = float(float(c_width)/float(c_height))
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 704
out_height = Round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
#resizestart
#test4
BicubicResize(out_width,out_height,0,0.50)
#filter2start
#test5
RemoveGrain(mode=2)
EDIT: xvid 1.1.2 is also installed and on the same setup, AutoMKV's deinterlacing logic worked fine (for previous versions of AutoMKV that is).
buzzqw
24th January 2007, 08:16
@weaver4
the quality should be very similar.
AutoGk is superior for at least two think: it disable bframes on very high compression test (mmm... should be easy to implement...) and select custom matrix.
I can think about these features... but.. i don't know much about compressibility&matrix... i should look around... THANKS for the suggestions ! (i love to make automkv better)
@cosmos
first of all i suppose that encoding is looking good and there's no visual need of deinterlacers ? isn't true ? :)
why am i so sure ?
look at this
08:18:51 ForcedFilm applied: 98.300003% FILM found
since forced film was applyed there is no need to do apply more deinterlacers
please report back if encoding wasn't good !
BHH
cosmos
24th January 2007, 13:16
@cosmos
first of all i suppose that encoding is looking good and there's no visual need of deinterlacers ? isn't true ? :)
why am i so sure ?
look at this
08:18:51 ForcedFilm applied: 98.300003% FILM found
since forced film was applyed there is no need to do apply more deinterlacers
please report back if encoding wasn't good !
Indd it seems ok, thx :)
PS: could you perhaps explain a bit what happened here? Why there was no need to have "tfm(d2v="movie.d2v").tdecimate()" in the movie.avs file? Does it happen automatically?
buzzqw
24th January 2007, 13:52
as you know in d2v if the film % reported, and as stated by varius guides and rules, is over 97% then is safe to use "Force Film" under dgindex options.
Since you have leaved AUTO as denterlacers automkv had analyzed the d2v file and marked is as FILM and so processed the d2v as FORCE FILM was applyed.
If force film is applyed there is no need to reapply tfm(d2v="movie.d2v").tdecimate() since it basically do the same thing (force film) dgindex had done.
The obvius advantage is that encoding time is quiker the cons is that not always movie with 97 or more % of FILM is really film.. (and so is better to leave the hard work to tfm/tdecimate)
So what to do?
Automkv will process in these way (based on deinterlacer selected)
AUTO: applyed force film AND NOT do the deint test
FILM: NO force film is applyed , no deint test is done BUT tfm(d2v="movie.d2v").tdecimate() is applyed
hope to be understud!
BHH
cosmos
24th January 2007, 13:53
Thank you, once more your information is right on spot!!!! :)
AMED
25th January 2007, 05:40
is there any chance of getting a use input folder for output folder check box ?
It used to work this way by default.
buzzqw
25th January 2007, 08:21
is there any chance of getting a use input folder for output folder check box ?
It used to work this way by default.
:confused: sorry pal... but my english isn't enough to understand
do you mean to use input folder as output folder ? ... no i don't think...
BHH
AMED
25th January 2007, 09:38
yeah thats what i mean, maybe it's a bug i have discovered.
it seems to have broken after version 0.70
basically all you need to do is open something in automkv v0.70+, take note of the output folder, now open something from another folder and you'll see that the output folder hasn't changed from when you opened the first file.
e.g.
open a file in C:\videos\ the output folder is C:\videos\ now open a file from C:\monkeys\ the output folder is still C:\videos\
i hope that makes sense :)
cosmos
25th January 2007, 09:43
open a file in C:\videos\ the output folder is C:\videos\ now open a file from C:\monkeys\ the output folder is still C:\videos\
i hope that makes sense :)
For me this is a feature and not a bug :) I use a common output directory and I don't want to see it switch to something else, each time I open an input file. So the way AutoMKV operates now, suits me perfectly. Then again these are personal preferences :)
AMED
25th January 2007, 09:47
For me this is a feature and not a bug :) I use a common output directory and I don't want to see it switch to something else, each time I open an input file. So the way AutoMKV operates now, suits me perfectly. Then again these are personal preferences :)
maybe we could get a check box that can flip between these two behaviors of determining the output folder. :D
buzzqw
25th January 2007, 11:18
:sly: ... i doubt to insert this to advanced settings :D
hints: use save setting to memoryze the default output folder
BHH
weaver4
25th January 2007, 18:24
For me this is a feature and not a bug :) I use a common output directory and I don't want to see it switch to something else, each time I open an input file. So the way AutoMKV operates now, suits me perfectly. Then again these are personal preferences :)
I also like the way it operates now.
dlflannery
27th January 2007, 03:52
I also like the way it operates now.
Me too!
dlflannery
28th January 2007, 05:37
I used the DVD ripping capability to (try to) encode "Planes, Trains and Automobiles" to a Zune WMV (320x240) using the Zune 1-pass Quick profile. DVDFabDecypter got 4 VOB's OK and all went well except:
1. I watched the Windows Command Line Script Encoder window. It proceeded normally at the normal speed right up to the very end -- then crashed, which crashed AutoMKV too. The Windows message said it was the Script Encoder that crashed.
2. A .wmv file of the right name and length was created but MediaInfo crashed with floating point error on this file.
3. The file plays fine in WMP11 except you cannot fast forward, reverse, i.e., you just start at the beginning and let it go. The "properties" says the file duration is 0.
Here is the log file:
22:05:12 0.72 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
22:05:12 Selected Input file: Click on INPUT for choosing FILE to ENCODE
22:05:12 Selected Output dir: C:\AutoMKV072\temp\
22:05:12 Selected Final Name: Click on INPUT for choosing FILE to ENCOD
22:05:12 Selected Container type: WMV
22:05:12 Selected Encoder: WMV
22:05:12 Selected Size: 1 CD
22:05:12 Selected Slice: 1
22:05:12 Selected Profile: Zune_1_Pass_Quick.xml
22:05:12 Selected Width: 320
22:05:12 Selected Resizer: SimpleResize (neutral soft)
22:05:12 Selected Filters: NONE
22:05:12 Selected Deinterlacer: AUTO
22:05:12 Selected Field Order: AUTO
22:05:12 NeroAACEnc.exe: not present
22:05:12 Enabled CRF/CQ AutoRes at 90 value
22:05:12 Enabled Bitrate encoding with value 500
22:05:12 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0,1,2]
22:05:12 Audio Codec 1: WMV
22:05:12 Audio Quality 1: 128
22:05:12 Advanced Audio Settings DUMP Track 1
22:05:12 Movie Title Name:
22:05:12 Audio Track Language:
22:05:12 Audio Track Name:
22:05:12 Nero Option Profiles: AUTO --- Encoding Mode: Quality
22:05:12 CCT Option Profiles: AUTO --- Channel Options: AUTO
22:05:12 Lame Settings: VBR
22:05:12 Audio Normalization: 0
22:05:12 Frequency: AUTO --- Tempo : NONE
22:05:12 Pitch: NONE --- Other Add :
22:05:12 Advanced Audio Settings DUMP Track 2
22:05:12 Audio Track Language:
22:05:12 Audio Track Name:
22:05:12 Nero Option Profiles: AUTO --- Encoding Mode: Quality
22:05:12 CCT Option Profiles: AUTO --- Channel Options: AUTO
22:05:12 Lame Settings: ABR
22:05:12 Audio Normalization: 1
22:05:12 Frequency: AUTO --- Tempo : NONE
22:05:12 Pitch: NONE --- Other Add :
22:05:12 Selected 1' Sub tracks: NONE
22:05:12 Selected 2' Sub tracks: NONE
22:05:12
22:05:12 Starting ripping from E:\VIDEO_TS\ to C:\AutoMKV072\temp\
22:30:05 Finished Ripping
22:30:05 Starting Indexing
22:30:05 Dgindex CMD: C:\AutoMKV072\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[C:\AutoMKV072\temp\dvd\video_ts\VTS_01_1.vob] -OF=[C:\AutoMKV072\temp\movie] -exit -minimize
22:32:05 Finished indexing
22:32:05 Starting fixing audio delay on track number 1
22:32:05 DelayCut CMD: C:\AutoMKV072\exe\dgindex\Delaycut.exe -auto -out "C:\AutoMKV072\temp\fixed1.ac3" "C:\AutoMKV072\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
22:32:25 Original 1' Audio Size: 310909184 bytes
22:32:25 Finished fixing audio delay
22:32:25 ForcedFilm applied: 99.400002% FILM found
22:32:33 Number of Frames: 133118
22:32:33 Framerate: 23.976025
22:32:33 Movie lenght in Seconds: 5553
22:32:33 Movie Width: 720
22:32:33 Movie Height: 480
22:32:33 WMV CMD: cscript.exe "C:\AutoMKV072\exe\encoder\WMCmd.vbs" -input "C:\AutoMKV072\temp\movie.avs" -output "C:\AutoMKV072\temp\movie.wmv" -v_codec WMV7 -v_mode 0 -v_bitrate 512000 -s_config "C:\AutoMKV072\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 -title "Click on INPUT for choosing FILE to ENCOD" -year 2007 -copyright "Done with AutoMKV! 0.72" -a_setting 128_44_2
22:57:55 Final Muxed size: 423989496 bytes
22:57:55 Encoding finished: 00:52:43 elapsed time
22:57:55 -----------------------------------------------------------------------
Any ideas what the problem was?
I used DelayCut -- should I have used ProjectX ?
I forced bitrates of 500kbps Video and 128 Kbps audio.
Edit:
I decided to try another route: Rip VOBs then combine into single .mpg using VideoReDo (VRD). VRD refused to open the fourth VOB saying it had problems and recommending a QSF (Quick Stream Fix, a feature of VRD). After the QSF that VOB would load and I generated a good MPEG of the entire DVD (at least as viewed in WMP11). I'm now converting this MPEG to Zune, which has worked in the past. Only difference is this is 24 fps "film" -- hope that's not what is crashing WME9 script.
Edit2:
Well, the mpeg->Zune encode failed exactly the same way as the DVD rip.
I had been selecting "AUTO" for deinterlace. So I tried it again selecting "NONE" for deinterlace and -- it succeeded! And -- the output file played great in WMP11 and on my Zune!
Sure would like to understand what's behind this (?) BTW gspot says 99+% "FILM" (24 fps expected to be pulled down to 30 fps) for this video, which agrees with what's in the log file from AutoMKV.
buzzqw
28th January 2007, 10:16
... edit... later
BHH
rjcobain
28th January 2007, 10:54
Hi BHH,
Thanks for the great tool! I am using AutoMKV to convert DVDs and uncompressed AVIs to VC1 format and I think there is a bug. Most of the uncompressed AVIs I use have no audio tracks, or empty audio tracks. When I try to convert these AVIs to VC1 I get an error from AVISynth on line 51 of the movie.avs script. It seems that even though I specified "NONE" as the audio track, the movie.avs script still tries to render audio. When I take the audio lines out, everything is fine and the VC1 video is produced. Cheers, Robert.
dlflannery
28th January 2007, 14:03
(This is a continuation of this prior post (http://forum.doom9.org/showthread.php?p=945401#post945401).)
Since setting interlace to NONE worked (once), I tried ripping directly from the DVD as source again (with NONE setting) -- failed exactly as before (WME script crashes exactly at end of encoding.)
So I tried the way that did work (once) again (with the same mpeg2 used before) and this time it crashed the usual way.
Since the video is 99+% "film" I tried setting interlace to FILM. This worked, and has worked three times now (same input). The log files always say "forcing film" regardless of the interlace setting. I wonder if this is actually happening ONLY when I set interlace to FILM (?). Shouldn't setting Interlace to AUTO be the same, since it is detecting film? I notice the WME9 encoding speed is slower when interlace is set to FILM, which makes me suspect something is different.
What should I look for in movie.avs (or where?) to tell whether it is actually forcing film?
Edit:
Think I answered my own question. The movie.avs file for interlace = FILM (which works) contains the following line:
tfm(d2v="C:\MPEG4_encodes\AutoMKV\temp\movie.d2v").tdecimate()
while for interlace = AUTO or NONE this line is missing (and encoding fails) . Shouldn't this line be there for AUTO, since it is detecting 99+% film ?
Edit #2:
And finally, with interlace set to FILM, I was able to do what I originally set out to do: Rip/Encode the DVD video to a good Zune Video!
dlflannery
28th January 2007, 16:41
I've noticed that DVDDecrypter rips a DVD a lot faster than DVDFabDecrypter (used by AutoMKV). I think it's because it runs my DVD drive at a higher speed.
If I rip to a hard disc folder, can I load the first video VOB as a file into AutoMKV then expect it to automatically combine all the VOB's as the source? (i.e., like it does when you rip within AutoMKV)
buzzqw
28th January 2007, 17:12
@dlflannery
I used DelayCut -- should I have used ProjectX ?
projectx should be used only with TS files never with vob files
and about FILM/FORCE FILM... using force film with dgindex (as i do) or using tfm().tdecimate() is the same thing (near...)
anyway in next update i will not use force film on FILM but let autodeint choose's best
This should resolve all problem with FILM ! :)
If I rip to a hard disc folder, can I load the first video VOB as a file into AutoMKV then expect it to automatically combine all the VOB's as the source? (i.e., like it does when you rip within AutoMKV)
if you rip all film just point at first ifo, or point at first one's vob belonging to film like vts_01_1.vob, all vob of this vts would be automatically processed!
@rjcobain
Thanks ! Fixed in next release
BHH
dlflannery
28th January 2007, 19:03
@dlflannery
................
and about FILM/FORCE FILM... using force film with dgindex (as i do) or using tfm().tdecimate() is the same thing (near...)
In my tests I varied Interlace = AUTO or NONE or FILM.
But I kept the Field Order on AUTO for all tests.
I notice the -FO option on dgIndex was always 0, never 1 (Force Film). When you say "... using force film with dgindex (as i do)" do you mean the -FO option should be 1 ?
@dlflannery
.... anyway in next update i will not use force film on FILM but let autodeint choose's best
This should resolve all problem with FILM ! :)
......
BHH
Thanks! :D However I'm not quite sure what you mean. Does this mean the tfm().tdecimate() will be used on my test video (99.4% film) if I select AUTO for both interlace and field order ? I believe this is the only way it wouild work on that video (unless I set FILM in interlace -- which means I have to analyze the video before with gspot or some other program before loading into AutoMKV -- not automatic. :( )
buzzqw
28th January 2007, 20:00
@dlflannery
some serius misurestanding are around...
FILM type could detected or by analyzing the d2v (as atuomkv do NOW) or by running autodeint or by selection FILM type on deinterlacer
in next update if the clip is FILM
1) if autodeint is AUTO then tfm(xxx).tdecimate() is applyed
2) if autodeint is FILM then tfm(xxx).tdecimate() is applyed
3) if autodeint is Interlaced (as example) then tdeint() is applyed
4) if autodeint is NONE then NO DEINTELACER or TFM() is applyed at all, or is done the deint test!
Field order is to leave ALWAYS AUTO unless you know the order!
I notice the -FO option on dgIndex was always 0, never 1 (Force Film). When you say "... using force film with dgindex (as i do)" do you mean the -FO option should be 1 ?
... as i said i don't re-run digindex on FILM, i simply change the d2v file and values as force film was applyed ;)
i hope to be clear :)
BHH
dlflannery
28th January 2007, 23:40
@dlflannery
some serius misurestanding are around...
FILM type could detected or by analyzing the d2v (as atuomkv do NOW) or by running autodeint or by selection FILM type on deinterlacer
in next update if the clip is FILM
1) if autodeint is AUTO then tfm(xxx).tdecimate() is applyed
2) if autodeint is FILM then tfm(xxx).tdecimate() is applyed
3) if autodeint is Interlaced (as example) then tdeint() is applyed
4) if autodeint is NONE then NO DEINTELACER or TFM() is applyed at all, or is done the deint test!
Field order is to leave ALWAYS AUTO unless you know the order!
... as i said i don't re-run digindex on FILM, i simply change the d2v file and values as force film was applyed ;)
i hope to be clear :)
BHH
This helps a lot, thanks! :) I was thinking you might have to run dgIndex again (which would take more time!).
Yes, I have some serious misunderstandings because I'm a newbie to video processing. :o I appreciate your patience!
Rogi
29th January 2007, 19:11
First of all, thank you for this program, it is very useful for us who don't know too much about encoding.
I notice when go to advanced audio options and change whatever settings there (example, mp3 vbr to mp3 cbr) it is not memorized.
When you back there, same settings is shown, nothing is changed.
I hope this can be fixed, thank you.
sillKotscha
30th January 2007, 03:07
hi buzzqw,
I have a little request/ contest for you :)
recently I more or less decided to play around with .flv files. As it is of now the only free application for flv output is RIVA (http://www.rivavx.com/index.php?id=483&L=0).
RIVA uses FFmpeg and LAME and FLVTool2 (http://inlet-media.de/flvtool2/), but they use a very old version of FFmpeg (ffmpeg version 0.4.9-pre1, build 4751).
It would be very nice to have another free alternative to existing Flash encoder (like Macromedia Flash 8 Video Encoder (http://www.adobe.com/products/flash/flashpro/productinfo/encoder/) or ON2's Flix Pro (http://www.on2.com/consumer/flix-pro))
this is a typical encode using RIVA (respectively FFmpeg ...)
ffmpeg version 0.4.9-pre1, build 4751, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-memalign-hack --enable-mp3lame --enable-mingw32 --extra-cflags=-I/local/include --extra-ldflags=-L/local/lib --enable-amr_nb
built on Mar 29 2005 07:26:02, gcc: 3.2.3 (mingw special 20030504-1)
Input #0, avi, from 'C:\surf_cut.avi':
Duration: 00:02:00.0, start: 0.000000, bitrate: 47624 kb/s
Stream #0.0: Video: rawvideo, yuv420p, 320x240, 25.00 fps
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0, flv, to 'C:\surf_cut.flv':
Stream #0.0: Video: flv (hq), 320x240, 25.00 fps, q=2-31, 450 kb/s
Stream #0.1: Audio: mp3, 22050 Hz, stereo, 56 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[flv @ 0075C780]removing common factors from framerate
frame= 19 q=0.0 size= 88kB time=0.8 bitrate= 945.6kbits/s
frame= 38 q=0.0 size= 176kB time=1.5 bitrate= 946.2kbits/s
frame= 58 q=0.0 size= 241kB time=2.3 bitrate= 850.2kbits/s
frame= 79 q=0.0 size= 315kB time=3.2 bitrate= 815.4kbits/s
frame= 95 q=0.0 size= 361kB time=3.8 bitrate= 778.4kbits/s
frame= 120 q=0.0 size= 436kB time=4.8 bitrate= 743.8kbits/s
frame= 138 q=0.0 size= 491kB time=5.5 bitrate= 729.2kbits/s
frame= 162 q=0.0 size= 557kB time=6.5 bitrate= 704.5kbits/s
frame= 180 q=0.0 size= 602kB time=7.2 bitrate= 684.5kbits/s
frame= 203 q=0.0 size= 658kB time=8.1 bitrate= 664.3kbits/s
frame= 222 q=0.0 size= 702kB time=8.9 bitrate= 647.3kbits/s
frame= 247 q=0.0 size= 751kB time=9.9 bitrate= 622.6kbits/s
frame= 271 q=0.0 size= 794kB time=10.8 bitrate= 600.3kbits/s
frame= 289 q=0.0 size= 830kB time=11.6 bitrate= 587.9kbits/s
frame= 310 q=0.0 size= 877kB time=12.4 bitrate= 579.5kbits/s
frame= 334 q=0.0 size= 925kB time=13.4 bitrate= 567.2kbits/s
frame= 356 q=0.0 size= 977kB time=14.2 bitrate= 562.0kbits/s
frame= 377 q=0.0 size= 1030kB time=15.1 bitrate= 559.3kbits/s
frame= 404 q=0.0 size= 1096kB time=16.2 bitrate= 555.7kbits/s
frame= 426 q=0.0 size= 1156kB time=17.0 bitrate= 555.6kbits/s
frame= 449 q=0.0 size= 1216kB time=18.0 bitrate= 554.9kbits/s
frame= 472 q=0.0 size= 1278kB time=18.9 bitrate= 554.6kbits/s
frame= 492 q=0.0 size= 1322kB time=19.7 bitrate= 550.4kbits/s
frame= 520 q=0.0 size= 1381kB time=20.8 bitrate= 543.8kbits/s
frame= 547 q=0.0 size= 1446kB time=21.9 bitrate= 541.2kbits/s
frame= 569 q=0.0 size= 1496kB time=22.8 bitrate= 538.5kbits/s
frame= 588 q=0.0 size= 1533kB time=23.5 bitrate= 534.1kbits/s
frame= 609 q=0.0 size= 1583kB time=24.4 bitrate= 532.2kbits/s
frame= 633 q=0.0 size= 1646kB time=25.3 bitrate= 532.4kbits/s
frame= 658 q=0.0 size= 1711kB time=26.3 bitrate= 532.5kbits/s
frame= 684 q=0.0 size= 1779kB time=27.4 bitrate= 532.7kbits/s
frame= 703 q=0.0 size= 1826kB time=28.1 bitrate= 531.9kbits/s
frame= 727 q=0.0 size= 1888kB time=29.1 bitrate= 531.8kbits/s
frame= 749 q=0.0 size= 1941kB time=30.0 bitrate= 530.9kbits/s
frame= 778 q=0.0 size= 2010kB time=31.1 bitrate= 529.1kbits/s
frame= 799 q=0.0 size= 2068kB time=32.0 bitrate= 530.2kbits/s
frame= 818 q=0.0 size= 2119kB time=32.7 bitrate= 530.4kbits/s
frame= 841 q=0.0 size= 2169kB time=33.6 bitrate= 528.2kbits/s
frame= 861 q=0.0 size= 2225kB time=34.4 bitrate= 529.3kbits/s
frame= 879 q=0.0 size= 2270kB time=35.2 bitrate= 528.9kbits/s
frame= 902 q=0.0 size= 2326kB time=36.1 bitrate= 528.1kbits/s
frame= 928 q=0.0 size= 2385kB time=37.1 bitrate= 526.3kbits/s
frame= 947 q=0.0 size= 2427kB time=37.9 bitrate= 524.9kbits/s
frame= 974 q=0.0 size= 2493kB time=39.0 bitrate= 524.3kbits/s
frame= 994 q=0.0 size= 2542kB time=39.8 bitrate= 523.8kbits/s
frame= 1016 q=0.0 size= 2601kB time=40.6 bitrate= 524.4kbits/s
frame= 1040 q=0.0 size= 2665kB time=41.6 bitrate= 524.8kbits/s
frame= 1062 q=0.0 size= 2728kB time=42.5 bitrate= 526.1kbits/s
frame= 1086 q=0.0 size= 2792kB time=43.4 bitrate= 526.6kbits/s
frame= 1109 q=0.0 size= 2854kB time=44.4 bitrate= 527.0kbits/s
frame= 1130 q=0.0 size= 2907kB time=45.2 bitrate= 526.8kbits/s
frame= 1154 q=0.0 size= 2964kB time=46.2 bitrate= 526.0kbits/s
frame= 1178 q=0.0 size= 3024kB time=47.1 bitrate= 525.8kbits/s
frame= 1199 q=0.0 size= 3073kB time=48.0 bitrate= 525.0kbits/s
frame= 1219 q=0.0 size= 3121kB time=48.8 bitrate= 524.3kbits/s
frame= 1251 q=0.0 size= 3209kB time=50.0 bitrate= 525.3kbits/s
frame= 1271 q=0.0 size= 3258kB time=50.8 bitrate= 525.0kbits/s
frame= 1293 q=0.0 size= 3322kB time=51.7 bitrate= 526.1kbits/s
frame= 1323 q=0.0 size= 3406kB time=52.9 bitrate= 527.3kbits/s
frame= 1344 q=0.0 size= 3460kB time=53.8 bitrate= 527.3kbits/s
frame= 1367 q=0.0 size= 3521kB time=54.7 bitrate= 527.5kbits/s
frame= 1389 q=0.0 size= 3573kB time=55.6 bitrate= 526.8kbits/s
frame= 1420 q=0.0 size= 3651kB time=56.8 bitrate= 526.5kbits/s
frame= 1437 q=0.0 size= 3693kB time=57.5 bitrate= 526.3kbits/s
frame= 1463 q=0.0 size= 3757kB time=58.5 bitrate= 525.9kbits/s
frame= 1487 q=0.0 size= 3815kB time=59.5 bitrate= 525.4kbits/s
frame= 1514 q=0.0 size= 3883kB time=60.6 bitrate= 525.3kbits/s
frame= 1541 q=0.0 size= 3948kB time=61.6 bitrate= 524.7kbits/s
frame= 1561 q=0.0 size= 3996kB time=62.4 bitrate= 524.3kbits/s
frame= 1585 q=0.0 size= 4053kB time=63.4 bitrate= 523.6kbits/s
frame= 1602 q=0.0 size= 4100kB time=64.1 bitrate= 524.1kbits/s
frame= 1622 q=0.0 size= 4158kB time=64.9 bitrate= 525.0kbits/s
frame= 1642 q=0.0 size= 4212kB time=65.7 bitrate= 525.3kbits/s
frame= 1673 q=0.0 size= 4300kB time=66.9 bitrate= 526.4kbits/s
frame= 1693 q=0.0 size= 4358kB time=67.7 bitrate= 527.1kbits/s
frame= 1715 q=0.0 size= 4414kB time=68.6 bitrate= 527.1kbits/s
frame= 1740 q=0.0 size= 4482kB time=69.6 bitrate= 527.5kbits/s
frame= 1765 q=0.0 size= 4556kB time=70.6 bitrate= 528.7kbits/s
frame= 1790 q=0.0 size= 4627kB time=71.6 bitrate= 529.4kbits/s
frame= 1813 q=0.0 size= 4687kB time=72.5 bitrate= 529.5kbits/s
frame= 1837 q=0.0 size= 4749kB time=73.5 bitrate= 529.4kbits/s
frame= 1863 q=0.0 size= 4812kB time=74.5 bitrate= 529.0kbits/s
frame= 1883 q=0.0 size= 4859kB time=75.3 bitrate= 528.4kbits/s
frame= 1908 q=0.0 size= 4915kB time=76.3 bitrate= 527.6kbits/s
frame= 1936 q=0.0 size= 4984kB time=77.4 bitrate= 527.2kbits/s
frame= 1953 q=0.0 size= 5026kB time=78.1 bitrate= 527.1kbits/s
frame= 1975 q=0.0 size= 5093kB time=79.0 bitrate= 528.1kbits/s
frame= 1998 q=0.0 size= 5145kB time=79.9 bitrate= 527.4kbits/s
frame= 2012 q=0.0 size= 5174kB time=80.5 bitrate= 526.7kbits/s
frame= 2036 q=0.0 size= 5232kB time=81.4 bitrate= 526.3kbits/s
frame= 2059 q=0.0 size= 5284kB time=82.4 bitrate= 525.6kbits/s
frame= 2081 q=0.0 size= 5332kB time=83.2 bitrate= 524.8kbits/s
frame= 2100 q=0.0 size= 5376kB time=84.0 bitrate= 524.3kbits/s
frame= 2119 q=0.0 size= 5417kB time=84.8 bitrate= 523.5kbits/s
frame= 2146 q=0.0 size= 5477kB time=85.8 bitrate= 522.7kbits/s
frame= 2173 q=0.0 size= 5535kB time=86.9 bitrate= 521.7kbits/s
frame= 2197 q=0.0 size= 5591kB time=87.9 bitrate= 521.2kbits/s
frame= 2219 q=0.0 size= 5648kB time=88.8 bitrate= 521.3kbits/s
frame= 2240 q=0.0 size= 5690kB time=89.6 bitrate= 520.2kbits/s
frame= 2263 q=0.0 size= 5749kB time=90.5 bitrate= 520.3kbits/s
frame= 2289 q=0.0 size= 5818kB time=91.6 bitrate= 520.6kbits/s
frame= 2313 q=0.0 size= 5879kB time=92.5 bitrate= 520.5kbits/s
frame= 2338 q=0.0 size= 5939kB time=93.5 bitrate= 520.2kbits/s
frame= 2359 q=0.0 size= 5988kB time=94.4 bitrate= 519.9kbits/s
frame= 2379 q=0.0 size= 6038kB time=95.2 bitrate= 519.8kbits/s
frame= 2398 q=0.0 size= 6083kB time=95.9 bitrate= 519.5kbits/s
frame= 2421 q=0.0 size= 6137kB time=96.8 bitrate= 519.1kbits/s
frame= 2441 q=0.0 size= 6187kB time=97.6 bitrate= 519.1kbits/s
frame= 2462 q=0.0 size= 6243kB time=98.5 bitrate= 519.3kbits/s
frame= 2487 q=0.0 size= 6308kB time=99.5 bitrate= 519.4kbits/s
frame= 2514 q=0.0 size= 6383kB time=100.6 bitrate= 520.0kbits/s
frame= 2539 q=0.0 size= 6457kB time=101.6 bitrate= 520.9kbits/s
frame= 2561 q=0.0 size= 6531kB time=102.4 bitrate= 522.3kbits/s
frame= 2587 q=0.0 size= 6610kB time=103.5 bitrate= 523.3kbits/s
frame= 2599 q=0.0 size= 6647kB time=104.0 bitrate= 523.7kbits/s
frame= 2619 q=0.0 size= 6709kB time=104.8 bitrate= 524.6kbits/s
frame= 2647 q=0.0 size= 6792kB time=105.9 bitrate= 525.5kbits/s
frame= 2668 q=0.0 size= 6855kB time=106.7 bitrate= 526.2kbits/s
frame= 2691 q=0.0 size= 6923kB time=107.6 bitrate= 526.9kbits/s
frame= 2715 q=0.0 size= 6992kB time=108.6 bitrate= 527.4kbits/s
frame= 2739 q=0.0 size= 7057kB time=109.6 bitrate= 527.6kbits/s
frame= 2757 q=0.0 size= 7096kB time=110.3 bitrate= 527.2kbits/s
frame= 2787 q=0.0 size= 7166kB time=111.5 bitrate= 526.6kbits/s
frame= 2805 q=0.0 size= 7192kB time=112.2 bitrate= 525.1kbits/s
frame= 2830 q=0.0 size= 7240kB time=113.2 bitrate= 523.9kbits/s
frame= 2854 q=0.0 size= 7297kB time=114.2 bitrate= 523.7kbits/s
frame= 2871 q=0.0 size= 7347kB time=114.8 bitrate= 524.1kbits/s
frame= 2896 q=0.0 size= 7401kB time=115.8 bitrate= 523.4kbits/s
frame= 2925 q=0.0 size= 7466kB time=117.0 bitrate= 522.8kbits/s
frame= 2944 q=0.0 size= 7520kB time=117.8 bitrate= 523.1kbits/s
frame= 2969 q=0.0 size= 7573kB time=118.8 bitrate= 522.4kbits/s
frame= 3000 q=0.0 Lsize= 7661kB time=119.9 bitrate= 523.4kbits/s
video:6722kB audio:820kB global headers:0kB muxing overhead 1.572599%
RIVA produces nice output but I think there is a laaaarge room for improvement!! What do you think...
I'd love to have this option integrated in your app...
thanks in advance,
Sill
buzzqw
30th January 2007, 09:52
update ! 0.72b
www.64k.it/andres/data/a/AutoMKV072b.exe
Changelog 0.72b
ADDED: If Autoresize is enabled (and codec is XviD) AutoMKV will change the number of bframes and Quantitizer Ratio based on autoresize settings (only if autoresize will lead to very big width)
ADDED: If deint is set to Leave Interlaced with x264.exe is added --interlaced
ADDED: In X264 profiles added <interlaced>false</interlaced>. If this value is set to true then --interlaced will be added, if this value is false and deint is not "Leave Interlaced" no --interlaced will be add (these <interlaced> will be added in next full package)
ADDED: If Matrix selected is AUTO (and codec is XviD) this will trigger Adaptive Custom Matrix choice (will be triggered only by very high compression test (>100))
FIXED: RemoveGrain(mode=2) is again the default denoiser
FIXED: Queuing mpeg files and avi could bring to freeze of AutoMKV
FIXED: Muxing into AVI without audio
FIXED: Remove autodetection of force film. Now i let do to BDautodeint detect FILM type
FIXED: Encoding avi files with no audio in wmv container was broken (thanks to rjcobain)
FIXED: On WMV encoding the file wasn't always correctly moved on destination folder
FIXED: Changed default quality for autoresize with WMV is now 85
@Rogi
this behavior is wanted :)
set values as you want and automkv will remeber it (fyi after selecting your values and cliccked ok, click on save settings, you will read on automkv.ini those values)
@sillKotscha
interesting for sure ! and also easy to implement but this will lead to a new application. FFmpeg has awesome possibility and need a full branded program... anyway i will study it :)
BHH
sillKotscha
30th January 2007, 13:40
@sillKotscha
interesting for sure ! and also easy to implement but this will lead to a new application. FFmpeg has awesome possibility and need a full branded program... anyway i will study it :)
BHH
hi buzzqw,
oh, that would be very nice :)
when it's time I guess there will be enough testers around... /me's the first for sure !!
thanks a lot...
sill
Rogi
30th January 2007, 13:57
@buzzqw
Thank you for clarification, I've checked automkv.ini and there is everything OK.
buzzqw
30th January 2007, 14:15
glad to make things clear.
A manual is seriusly need... :scared: i hope to have time... :scared: :(
BHH
weaver4
30th January 2007, 22:51
Will AutoMKV support the new Apple TV box; I looked at one, it is very sharp.
Anyone make a profile for it yet?
DDogg
31st January 2007, 03:03
Buzz, I am doing some slight mods on the CQ-ASP_Q2_eq(crf).xml profile for use with NTSC DV files. (Stellar results so far). I ran into a problem with the way you pick up a value from the template.
When time allows, can you check <BframePredictionMode>0</BframePredictionMode> ?
I believe "0" should translate as "--direct none"?
Presently it shows as "auto" which causes problems with NTSC DV.avi files and M4G Smooth V1 Matrix (http://forum.doom9.org/showthread.php?p=887125#post887125)(can you add the M4G's (http://forum.doom9.org/attachment.php?attachmentid=6561&stc=1&d=1166687500) to the full pack next full build?)
With a little more research I think we can have a new modified CQ profile for NTSC DV that yields a file near identical to the original in appearance with a size reduction of 5 to 1.
Btw, that brings up a request for future consideration. Since you are saving the AutoMKV settings already, it would be helpful to be able to load them by name. For instance, when I do DV I need manual crop 8x8x8x8/640x480, "Leave interlaced", Force 4:3, my CQ DV template with --Direct=none / --no-fast-pskip, FFT3DGPU(plane=3,sigma=3), and the M4G Smooth V1 Matrix matrix. Obviously all of this has to be changed for my standard DVD based encodes.
So, to be able to load my carefully selected "DV settings", in one go, a month after I figured them out and saved them as "My DV settings" (and forgot them after a bottle of wine) would be a very good thing. I also like this idea because one person could post a settings file for another to try.
dlflannery
31st January 2007, 06:11
@dlflannery
..........
FILM type could detected or by analyzing the d2v (as atuomkv do NOW) or by running autodeint or by selection FILM type on deinterlacer
in next update if the clip is FILM
1) if autodeint is AUTO then tfm(xxx).tdecimate() is applyed
2) if autodeint is FILM then tfm(xxx).tdecimate() is applyed
3) if autodeint is Interlaced (as example) then tdeint() is applyed
4) if autodeint is NONE then NO DEINTELACER or TFM() is applyed at all, or is done the deint test!
Field order is to leave ALWAYS AUTO unless you know the order!
...........
BHH
I ran the same test video I've been using (99% FILM) using AUTO for Interlace and Field Order. It crashed the WME9 script just at the end of encoding, as it was doing before (unless I set FILM in the interlace setting).
The only difference between the movie.avs files for the good and bad cases is the tdecimate line where the bad case has
tdecimate(hybrid=3) and the good case has tdecimate().
Here is an excerpt from the log file for the bad case:
23:06:13 ForceFilm Detected: 99.400002% FILM found
23:06:19 Number of Frames: 166368
23:06:19 Framerate: 29.970030
23:06:19 Movie lenght in Seconds: 5552
23:06:19 Movie Width: 720
23:06:19 Movie Height: 480
23:12:42 Processing completed. Type is determined to be partly film.
23:12:42 Processing completed. Type is determined to be partly film.
23:12:42 BFF: 103
23:12:42 TFF: 407
23:12:42 Order: var
Some results from gspot on the source mpeg2:
Pics/s: 23.976 Frames/s: 29.970
Interlaced
3:2 ("Player telecine")
NTSC
kbps: 5273
audio: AC3, 448 kbps, 5.1
Pic(wxh): 720x480
I hope this helps you figure out the problem. I have saved all the temp folder and log file if you need to know more.
Thanks!
buzzqw
31st January 2007, 08:33
@weaver4
what is the specs of appe tv ? (a link is good enough)
@DDogg
... those matrixs are already present...
about the preset... is REALLY a good idea... in some way is already present just launch from DOS automkv.exe "my_dv_profile.ini"
the file my_dv_profile.ini is just a save setting of automkv
i will look how to implement.. but i don't want to break the already command line interface and queue
about --direct none, done in next release !
@dlflannery
this is now a problem of either tdecimate or wmv, please post a sample that is able to replicate the problem. Also try encoding this movie with xvid or x264 and please report if got the error again :thanks:
BHH
Rogi
31st January 2007, 10:57
@buzzqw
Take some free time to make tests with short clips. I've done avi with XviD + mp3 cbr settings,
but there is again problem with mp3 cbr.
GSpot shows me Xvid + mp3 VBR despite fact I changed to cbr in settings (checked in automkv.ini there is cbr).
Maybe is best to make yourself short test and see do you get same problem as I did.
Hope that will help you to make your program even better.
buzzqw
31st January 2007, 13:15
take a look at mkvmaudio.bat
what is written ?
from my test is ok...
just a BIG NOTE... quality preset are always VBR, for a CBR encoding you cannot use "6" (as default value) as value.
So hit advanced audio button, select CBR, click ok, on the value of bitrate write something reasonable... like 128 or 144 :)
try!
BHH
Rogi
31st January 2007, 15:35
@buzzqw
I did tests again and you have right, now is working perfect.
Checked with GSpot, it confirmed it is mp3 cbr.
Thank you very much for your help.:)
DDogg
31st January 2007, 17:02
* the file my_dv_profile.ini is just a save setting of automkv
Adding the ini to the shortcut on the desktop, like AutoMKV.exe DV.ini works fine. Thanks.
sidewalking
31st January 2007, 17:28
Hats off to buzzqw for a fine tool. I am enjoying my first days of tinkering with AutoMKV.
Quick question so far (can't find an answer on searching). How do I change the movie title, either before or after encode? The default title is put as "Done with AutoMKV 0.72b http://forum.doom9.org/showthread.php?p=854221" and it shows in my playlist in VLC, so I can't tell which movie is which if I have more than one in my playlist. ;)
I can change it in VLC, but it doesn't write to the file - it goes back to the "Done with..." upon reloading file.
Thanks again!
weaver4
31st January 2007, 19:59
@weaver4
what is the specs of appe tv ? (a link is good enough)
Here is what they say on their site: http://www.apple.com/appletv/specs.html
Video
* Video formats supported: H.264 and protected H.264 (from iTunes Store): 640 by 480, 30 fps, LC version of Baseline Profile; 320 by 240, 30 fps, Baseline profile up to Level 1.3; 1280 by 720, 24 fps, Progressive Main Profile. MPEG-4: 640 by 480, 30 fps, Simple Profile
buzzqw
31st January 2007, 20:30
@weaver4
thanks!
CE profiles should be already good... i will check
@sidewalking
thanks for your kind words!
with wmv encoding the parameter in profile is <copyright> if this is set to false than i will automatically add the string Done by Automkv...., if this value is different from false i will add what written
in mkv muxing the title is taken from advanced audio setting, the "Title" string, if leaved blank i will add Done with AutoMKV... if is written something (like title of movie) i will add this string :)
BHH
Bluegram
31st January 2007, 22:27
Hi BHH!
Thanks again for your great program :)
I just had a problem with autoresize from avi source to mkv:
I recoded an xvid avi file to x264 mkv using your standard settings. Auto resize correctly lowers the resolution from 960*528 to e.g. 448*256, but the aspect ratio of the created mkv seems to be saved wrong: VLC plays the video stretched using the correct width but the wrong height.
If i select MP4 as a containter though, the AR is correct?!
I compared both logs and didnt find any differences.
Hope you can help me out,
Thanks!
22:06:00 0.72b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
22:06:00 Selected Input file: C:\test.avi
22:06:00 Selected Output dir: C:\temp\
22:06:00 Selected Final Name: test
22:06:00 Selected Container type: MKV
22:06:00 Selected Encoder: X264
22:06:00 Selected Size: 15
22:06:00 Selected Slice: 1
22:06:00 Selected Profile: CE-Mainprofile.xml
22:06:00 Selected Width: Automatic
22:06:00 Selected Resizer: SimpleResize (neutral soft)
22:06:00 Selected Filters: RemoveGrain(mode=2)
22:06:00 Selected Deinterlacer: AUTO
22:06:00 Selected Field Order: AUTO
22:06:00 Track Language 1: test.avi
22:06:00 Audio Codec 1: Nero AAC
22:06:00 Audio Quality 1: 0.35
22:06:00 Advanced Audio Settings DUMP Track 1
22:06:00 Movie Title Name:
22:06:00 Audio Track Language:
22:06:00 Audio Track Name:
22:06:00 Nero Option Profiles: AUTO --- Encoding Mode: Quality
22:06:00 CCT Option Profiles: AUTO --- Channel Options: AUTO
22:06:00 Lame Settings: ABR
22:06:00 Audio Normalization: 1
22:06:00 Frequency: AUTO --- Tempo : NONE
22:06:00 Pitch: NONE --- Other Add :
22:06:00 Advanced Audio Settings DUMP Track 2
22:06:00 Audio Track Language:
22:06:00 Audio Track Name:
22:06:00 Nero Option Profiles: AUTO --- Encoding Mode: Quality
22:06:00 CCT Option Profiles: AUTO --- Channel Options: AUTO
22:06:00 Lame Settings: ABR
22:06:00 Audio Normalization: 1
22:06:00 Frequency: AUTO --- Tempo : NONE
22:06:00 Pitch: NONE --- Other Add :
22:06:00 Selected 1' Sub tracks: NONE
22:06:00 Selected 2' Sub tracks: NONE
22:06:00
22:06:19 Number of Frames: 3399
22:06:19 Framerate: 23.976044
22:06:19 Movie lenght in Seconds: 142
22:06:19 Movie Width: 960
22:06:19 Movie Height: 528
22:08:11 Processing completed. Type is determined to be progressive.
22:08:11 Order: unk
22:08:11 Encoding C:\temp\ to NeroAAC with 0.35 quality
22:08:45 Encoded 1' Audio Track: 1608633 bytes
22:08:45 Starting X264 AutoResize with WIDTH of Automatic and wanted size of 15728640 bytes
22:08:45 CRF encoding X264: c:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 18 --stats "C:\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter 0,0 --direct auto --vbv-maxrate 25000 --me hex --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,p4x4 --threads 2 --output "C:\temp\resmovie.mp4" "C:\temp\resmovie.avs"
22:09:49 Tested total movie: 5%
22:09:49 AutoResize movie size: 2385328 bytes
22:09:49 Movie Width suggested: 448 value based on sample size (46.67% of original width)
22:09:49 Starting X264
22:09:49 Command Line 1' Pass X264: c:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 794 --stats "C:\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 auto --vbv-maxrate 25000 --me hex --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,p4x4 --threads 2 --output NUL "C:\temp\movie.avs"
22:09:49 Command Line 2' Pass X264: c:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 794 --stats "C:\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter 0,0 --direct auto --vbv-maxrate 25000 --me hex --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,p4x4 --threads 2 --output "C:\temp\movie.mp4" "C:\temp\movie.avs"
22:16:34 "c:\Program Files\AutoMKV\exe\matroska\mkvmerge.exe" -o "C:\temp\test.mkv" --track-name -1:"test" --aspect-ratio 1:1.000000 "C:\temp\movie.mp4" --language -1:und "C:\temp\audio.mp4" --title "Done with AutoMKV 0.72b http://forum.doom9.org/showthread.php?p=854221 "
22:16:35 Final Muxed size: 15730987 bytes
22:16:35 Encoding finished: 00:10:35 elapsed time
22:16:35 -----------------------------------------------------------------------
22:16:35 Script AutoCrop.log
22:16:35
22:16:35 Crop(6,0,948,528)
22:16:35 -----------------------------------------------------------------------
22:16:35 Script Resmovie.avs
22:16:35
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\autocrop.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\cnr2.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\corrector.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Decomb.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Deen.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\frfun7.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\medianblur.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\mt_masktools.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\mvtools.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Repair.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\SangNom.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TDeint.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\UnDot.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
22:16:35 #loadpluginstart
22:16:35
22:16:35 #test1
22:16:35
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\MCBob_v03c.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\QMF.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\seesaw.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\spresso.avsi")
22:16:35 #importstart
22:16:35
22:16:35 #test2
22:16:35
22:16:35 movie = directshowsource("C:\test.avi",audio=false)
22:16:35 movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
22:16:35 movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
22:16:35 function getOrder(clip c) {
22:16:35 order = GetParity(c) ? 1 : 0
22:16:35 Return order }
22:16:35 #filter1start
22:16:35
22:16:35 #test3
22:16:35
22:16:35 #cropstart
22:16:35
22:16:35 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
22:16:35 fixed_aspect = 1
22:16:35 c_width = width(cropclip)
22:16:35 c_height = Round(height(cropclip) / fixed_aspect)
22:16:35 input_par = float(float(c_width)/float(c_height))
22:16:35 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
22:16:35 out_width = 944
22:16:35 out_height = Round(float(out_width) / input_par)
22:16:35 hmod = out_height - (floor(out_height / 16 ) * 16)
22:16:35 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
22:16:35 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
22:16:35 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
22:16:35
22:16:35 #resizestart
22:16:35
22:16:35 #test4
22:16:35
22:16:35 SimpleResize(out_width,out_height)
22:16:35 #filter2start
22:16:35
22:16:35 #test5
22:16:35
22:16:35 RemoveGrain(mode=2)
22:16:35 function Comptest(clip c, float percent)
22:16:35 {
22:16:35 frange=floor(14./(percent/100.))
22:16:35 Return SelectRangeEvery(c, frange, 14)
22:16:35 }
22:16:35 Comptest(5)
22:16:35 -----------------------------------------------------------------------
22:16:35 Script movie.avs
22:16:35
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\autocrop.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\cnr2.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\corrector.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Decomb.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Deen.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\fft3dfilter.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\frfun7.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\medianblur.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\mt_masktools.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\mvtools.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\RemoveGrain.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\Repair.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\SangNom.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TDeint.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\UnDot.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
22:16:35 LoadPlugin("c:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
22:16:35 #loadpluginstart
22:16:35
22:16:35 #test1
22:16:35
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\MCBob_v03c.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\QMF.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\seesaw.avsi")
22:16:35 Import("c:\Program Files\AutoMKV\exe\filter\spresso.avsi")
22:16:35 #importstart
22:16:35
22:16:35 #test2
22:16:35
22:16:35 movie = directshowsource("C:\test.avi",audio=false)
22:16:35 movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
22:16:35 movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
22:16:35 function getOrder(clip c) {
22:16:35 order = GetParity(c) ? 1 : 0
22:16:35 Return order }
22:16:35 #filter1start
22:16:35
22:16:35 #test3
22:16:35
22:16:35 #cropstart
22:16:35
22:16:35 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
22:16:35 fixed_aspect = 1
22:16:35 c_width = width(cropclip)
22:16:35 c_height = Round(height(cropclip) / fixed_aspect)
22:16:35 input_par = float(float(c_width)/float(c_height))
22:16:35 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
22:16:35 out_width = 448
22:16:35 out_height = Round(float(out_width) / input_par)
22:16:35 hmod = out_height - (floor(out_height / 16 ) * 16)
22:16:35 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
22:16:35 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
22:16:35 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
22:16:35
22:16:35 #resizestart
22:16:35
22:16:35 #test4
22:16:35
22:16:35 SimpleResize(out_width,out_height)
22:16:35 #filter2start
22:16:35
22:16:35 #test5
22:16:35
22:16:35 RemoveGrain(mode=2)
22:16:35 -----------------------------------------------------------------------
22:16:35 Script mkvmaudio.avs
22:16:35
22:16:35 video=DirectShowSource("C:\test.avi",audio=false)
22:16:35 audio=DirectShowSource("C:\test.avi",video=false)
22:16:35 last=audiodub(video,audio)
22:16:35 EnsureVBRMP3Sync()
22:16:35 ConvertAudioToFloat()
22:16:35 #Applyed STEREO downmixing routines
22:16:35 function stereo(clip a)
22:16:35 {
22:16:35 fl = GetChannel(a, 1)
22:16:35 fr = GetChannel(a, 2)
22:16:35 c = GetChannel(a, 3)
22:16:35 lfe = GetChannel(a, 4)
22:16:35 sl = GetChannel(a, 5)
22:16:35 sr = GetChannel(a, 6)
22:16:36 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
22:16:36 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
22:16:36 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
22:16:36 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
22:16:36 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
22:16:36 Return MergeChannels(l, r).Normalize()
22:16:36 }
22:16:36 #
22:16:36 function original(clip a)
22:16:36 {
22:16:36 Normalize(a)
22:16:36 Return last
22:16:36 }
22:16:36 6==Audiochannels() ? stereo() : original()
22:16:36 -----------------------------------------------------------------------
22:16:36 Script mkvmaudio.bat
22:16:36
22:16:36 "c:\Program Files\AutoMKV\exe\besweet\bepipe.exe" --script "Import(^C:\temp\mkvmaudio.avs^)" | "c:\Program Files\AutoMKV\exe\besweet\neroaacenc.exe" -ignorelength -q 0.35 -if - -of "C:\temp\audio.mp4"
22:16:36 -----------------------------------------------------------------------
22:16:36 Script mkvmaudio2.avs
22:16:36
22:16:36 Script mkvmaudio2.bat
22:16:36 FINISHED
Ah OK! Thanks for the quick answer :)
buzzqw
31st January 2007, 22:43
on avi input (or any mpeg4 input files) i don't know the original aspect ration.
While on mpeg2 this value is valorized on avi no, so you will see that in muxing string there is this "--aspect-ratio 1:1.000000"
That's the whole point. In advanced setting select "Force muxing AR" to 4:3 or 16:9 or to any correct value :)
about muxing in mp4... well ... mp4box seems to ignore the par value... so is like mkv string without --aspect-ratio
BHH
dlflannery
1st February 2007, 06:04
@dlflannery
this is now a problem of either tdecimate or wmv, please post a sample that is able to replicate the problem. Also try encoding this movie with xvid or x264 and please report if got the error again :thanks:
BHH
I encoded it to xvid (avi) using normal profile and same bitrate and width as for Zune. No problem. Good result.
I started cutting clips of different sizes and positions from the mpeg2 to test. The shortest clip I have that failed with interlace set to AUTO is the last 11.5 minutes of the video, which is 171 MB. I might be willing to upload that (where?) but it would take me about 1.5 hour.
I generated about 8 different clips. The problem is associated with the last few minutes of the video. However I could not find a cut less than the 11.5 minutes that had the problem. Some of the clips greater than 11.5 minutes failed. For every clip that failed, if I changed interlace setting to "film", they encoded fine. I also tried film setting on some of the clips that were OK with AUTO. They all encoded fine.
I suspect the problem occurs where the movie ends and the credits begin to roll.
One two-minute clip was typed as progressive by AutoMKV and dgIndex but was rated 3:2 "player telecine" (i.e., film) by gspot. The other clips were rated either film or partly film by AutoMKV. The ones that failed to encode were 99.4% film and were rated partly film. One that was 97.5% film and was rated partly film was encoded OK.
Is it possible you have a threshold of 99.5% film for when you decide to use the hybrid=3 in tdecimate? Based on my results I think if this threshold were lowered to perhaps 97%, it would give better overall results (perhaps for WMV only?). But I don't claim to understand what's going on......
Can you give a link for an explanation of what hybrid=3 does in tdecimate? I've searched and found descriptions of tdecimate but they don't explain hybrid=3.:thanks:
buzzqw
1st February 2007, 08:29
the main problem is that i live in PAL land... so most of this source files are simply missing, and i cannot do test :(
I encoded it to xvid (avi) using normal profile and same bitrate and width as for Zune. No problem. Good result.
that's mean it is a problem of wmv
I suspect the problem occurs where the movie ends and the credits begin to roll.
while xvid/x264 are able to process the stream seems that wmv isn't capable...
please open your movie.avs, and change hybrid=3 to hybrid=1 and reecond both with xvid and wmv (simply relaunch the bat encoding), and tell me if the encoding crash and most important if the quality is good, also please don't use a resolution under 640 :thanks: !!
BHH
dlflannery
1st February 2007, 18:56
.....
please open your movie.avs, and change hybrid=3 to hybrid=1 and reecond both with xvid and wmv (simply relaunch the bat encoding), and tell me if the encoding crash and most important if the quality is good, also please don't use a resolution under 640 :thanks: !!
BHH
So to do this, I check "Prepare phase only" on the Advanced tab, then when it stops I edit the movie.avs file, then launch the encoding batch file , correct ?
Does it matter whether I shut down AutoMKV before running the encoding batch?
Thanks. BTW I found the thread on tritical's TDeint and TIVTC so I know what hybrid=1 and hybrid=3 mean now (I think:) )
buzzqw
1st February 2007, 19:26
you can also edit an already present movie.avs, changing from hybrid=3 to hybrid=1, and then launch encoding batch files like movie_wmv.bat
BHH
papsi
2nd February 2007, 00:29
Hi!
I've just registered to tell you, that AutoMKV is a really great program! :)
I have also a few questions, maybe some suggestions. I'm not that experienced with the encoding/ripping terminology, so maybe I will ask some things which may sound primitive to the experienced user. I'm sorry about that.
I used Dr. DivX and then AutoGK for ripping, and a month ago I decided to switch to Matroska and AutoMKV. At first I experimented with X264 but realized that the encoding is way to slow on my comp (I need to finish the ripping during one night which is not enough with X264 on my Barton 2600+ 1GB RAM). So I stayed with XviD.
So my questions/suggestions are:
- better interaction with the user, tooltips which are visible not only 1x
- I had pretty serious problems with one film (The 13th Warrior). First the encoding proccess always failed with AutoMKV versions 0.68-0.71, and always at 51-52% (XviD_encraw.exe). It was caused probably by the splitting bug (fixed in 0.71). The encoding finished successfully with AutoMKV 0.72, but there was no movie at the end, just a couple of temp files in the TEMP folder. It took me 2 days to realize the cause of the problem: VSRip.exe created no subtitle file (.IDX/.SUB pair) in the TEMP folder, and in the final stage (muxing with MKVMerge) the program just exited without doing anything because of the missing .IDX/.SUB files. So it would be great if AutoMKV would find these kind of problems (missing files) at time and report it to the user (or just stop the job).
- better visual representation of audio/subtitle choosing and options. We can include 1, 2 or all subtitle/audio streams, but not 3 (for example). I came across several DVDs with at least 5 languages + director's comments, and I wished to include 3 streams but not all 6.
- I miss one option from AutoGK, and that's the percentage-style ripping, when we lose control of size and we give a quality percentage instead (80% gave near-DVD quality). In AutoMKV this is the CQ XviD profile, when we hit "Unlimited size". But that's it, there are no other options (at least I think :) ). I tested this option with 2 films. The 1st film gave a 900 MB final movie size, and the 2nd a 1 GB size movie. The 2nd movie was pretty good in quality, but the 1st wasn't, especially when I compared with a 2 CD version of the same film. With the 2nd film I tried to play with the "Specify Bitrate" option a bit (and entered 2000 :) ), but it produced a 1 GB film (weird), and XviD_encraw.exe always showed a much smaller average bitrate. Does the "Specify Bitrate" option works with XviD or only with other codecs (like WMV)? What if I wish to manually apply a very high bitrate in case I wish to use Sharktooth's V3UHS custom matrix? Is it possible?
Once again, AutoMKV is a great program, I'm looking forward for the next releases! :)
whiskey
2nd February 2007, 02:21
Well pretty much this is the first time as I'm trying this software (right now) looks friendly besides two things !
Profiles CQ,CE,AE not sure yet what those mean, but I'll seek around the forum, also the quality of audio is represented way that I'm not used to it since I always saw kbps measuring.It looks solid, grabbed Nero encoder, Avisynth as far it goes no errors.Thanks and hope it will crawl up to the perfection same as AutoGK.
dlflannery
2nd February 2007, 04:49
please open your movie.avs, and change hybrid=3 to hybrid=1 and reecond both with xvid and wmv (simply relaunch the bat encoding), and tell me if the encoding crash and most important if the quality is good, also please don't use a resolution under 640
........
you can also edit an already present movie.avs, changing from hybrid=3 to hybrid=1, and then launch encoding batch files like movie_wmv.bat
.......
BHH
I used the 11.5 min Mpeg2 clip that failed before (with interlace=AUTO, hybrid=3, width=320, Bitrate=500k, to Zune WMV).
I changed width to 640 and bitrate to 900 for all tests.
Results:
WMV, hybrid=3 or hybrid=1, identical results: encoder crashed at end. Video and audio were OK but no navigation (seeking) was possible.
NOTE: In other tests done before with different clips, the encoder would not always crash but would quit early creating a very small output file.
WMV, tdecimate(), i.e., no hybrid: Everything OK. Looks good.
AVI(XVID), Fastest 1-pass, Interlace=AUTO, hybrid=3: All OK, looks good.
AVI(XVID), Fastest 1-pass, hybrid=1, Encoding finished OK and Video and Audio are good, but playing at different rates. In sync at start then audio lag increases as you go. Media info says the video is 9.2 min, which is 24/30 of the true length. (I suspect this is just wrong audio processing or muxing for the hybrid=1 ? I used fullbatch.bat)
I hope this tells you something useful !
whiskey
2nd February 2007, 07:54
So I'm done with my rip, quality kinda ok but I get those smooth waves/lines in video especially when lots of movement is present.No idea why, deinterlace was set to auto...
buzzqw
2nd February 2007, 08:29
@papsi
thanks for your suggestion... maybe i will add some more sanity check :)
better interaction with the user, tooltips which are visible not only 1x
that's no possible... it's a bug of WINDOWS ! (if you want i can demostrate it... go with mouse over the date in system tray and wait till it fade away, then retry to view the tooltip.... nope!)
better visual representation of audio/subtitle choosing and options. We can include 1, 2 or all subtitle/audio streams, but not 3 (for example). I came across several DVDs with at least 5 languages + director's comments, and I wished to include 3 streams but not all 6.
well that's no easy... but hints: select all audio tracks then when all is finished "manual mux" the tracks you want...
With the 2nd film I tried to play with the "Specify Bitrate" option a bit (and entered 2000 ), but it produced a 1 GB film (weird), and XviD_encraw.exe always showed a much smaller average bitrate. Does the "Specify Bitrate" option works with XviD or only with other codecs (like WMV)?
two answer: yes, bitrate is used for all codecs, xvid or x264 or wmv, just check use specified bitrate. Second... is probably that with 2000 bitrate you have saturate (saturated: aka no more quality possible due to other constraints) so the movie cannot growth more...
What if I wish to manually apply a very high bitrate in case I wish to use Sharktooth's V3UHS custom matrix? Is it possible?
for sure ! just try! :)
So I'm done with my rip, quality kinda ok but I get those smooth waves/lines in video especially when lots of movement is present.No idea why, deinterlace was set to auto...
as always :logfile: thanks!
i wish to thanks all. i will study how to do automkv a better program!
BHH
mael
2nd February 2007, 15:19
i think AutoMKV just deleted the whole content of a 400GB NTFS partition
AutoMKV was enconding a video file and a warning popped up, saying that some x264cmdq bat-file couldn't be found. i clicked it away. at that time i was making adjustments for another video in the mainscreen and suddenly all the options changed again to the standard settings (not my saved settings, also in the advanced settings tab) and then the AutoMKV process used quite some CPU power but has not spawned any child processes with cmd.exe which it usually does.
the first video was on another partition as the 2nd one, which was on this 400 GB partition, which is now entirely empty. not even RECYCLER or System Volume Information is there.
i don't have any viruses/spyware but i'm doing a full virus scan of my system now. i even did a rootkit scan this week which didn't find anything.
there was not anything else running what could've caused this.
for now the drive is disconnected because next week (or tomorrow if i'm lucky) i'm getting new hard disks, then i can clone the drive and see if i can recover any data
edit: there is nothing useful in the event log
edit2: AutoMKV version 0.72b
buzzqw, do you think that is possible, that AutoMKV did this?
dlflannery
2nd February 2007, 15:59
@buzzqw:
I'm willing to upload my 11.5 min mpeg2 clip (171 MB) if you know a site that would accept it.
buzzqw
2nd February 2007, 16:28
Automkv cannot delete system files ! like recycler bin or system restore !
also "Delete temporary files" is not checked by default and even more i delete only the \temp directory i created ! :scared:
i am sorry but automkv will not delete any other files
anyway in next build i will check if \temp directory is the root of driver (and this is impossible since i create it, and i cannot create a d:\ !!!! ) (like c:\ or d:\ e:\.... i will check till i:\ ) and if so i will not delete it
BHH
mael
2nd February 2007, 16:34
damn, then i have to figure out what else could've caused this.
the virus scan didn't find anything
the drive is just a couple of month old and had the letter i:
i DID check the option to delete the temp files...
mael
2nd February 2007, 16:37
before i had this problem i wanted to post this:
a few things which would be nice:
(sorry if they were already mentioned, i'm too lazy to read the whole thread. i used the version 0.72b as reference)
+ no windows popping up
+ multichannel AAC. it seems pretty hard to do it as far as i've googled. at least i didn't find any (free) program to do it. even with besweet i couldn't do it (AC3 source).
+ autosaving of the settings when exiting
+ better queue management:
- cancel the current running progress
- an option not to clear the job if it finished successfully
- display the duration time and avg. FPS (1st+2nd pass) of a finished job
- IMHO the queue itself as an extra tab is not userfriendly. maybe at the bottom of the window, visible all the time, regardless which tab is selected
- maybe put every job in the queue ("start" button equals "put it in the queue and start it")
- status display in the main screen (sth is running, job xxx finished etc)
- no popup message if a job was added to the queue, i find it annoying. better just write it somewhere (status display :)
- option for less columns
(- ETA of the whole job. probably not possible? or maybe just after the 2nd pass startet, that ETA of x264.exe should be reliable)
+ less verbosive log file
+ display the estimated bitrate for the selected options for audio and video, if possible. maybe a button which calculates that (fast)
buzzqw
2nd February 2007, 17:04
i DID check the option to delete the temp files...
feel free to retry on usb pen drive, i cannot delete the root files!
+ no windows popping up
i had already removed lot's of pop-up... but i will try (as always to remove some more)
+ multichannel AAC. it seems pretty hard to do it as far as i've googled.
Already avaiable. just select Codinc Tech. AAC (already present) or nero digital if you download it!
+ autosaving of the settings when exiting
already present....in some way... just hit save setting, will be automatically loaded on next restart
queue: ouch.. i will look at it :)
+ less verbosive log file
is all needed, for debugging
display the estimated bitrate for the selected options for audio and video, if possible. maybe a button which calculates that (fast)
not so easy since its based on quality preset... but i will search
thanks for your support!
BHH
audioman
2nd February 2007, 20:23
Hi Buzz
Congratulations for your program
Just a question , where can I find the manual of automkv ?
I have just some questions about the different matrices
Which one do you advise me to choose ? HVS or 6o9
Thanks
Greeneemer
2nd February 2007, 22:47
Hi.
Really nice program. Here is some input:
First of all, the window looks quite messed up for me using 120 DPI. Here is a screenshot showing what I mean: screenshot (http://www.dtek.chalmers.se/~stolpep/automkv.jpg)
Second: I would like the option to add srt subtitles instead of the bitmap based subtitles from the disc. Its not much of a problem to add them later, but it would be neat if they could be imported directly into AutoMKV.
Third: I would like to see a small text describing each of the Profiles. Especially the x264 profiles arent exactly self-explainatory to me. Like, what is AE, CE and HQ? I guess that HQ means High Quality, but is that the quality of my input or how i want my output? (based on how much time i want to spend)
Bluegram
2nd February 2007, 22:49
Hi again!
Just wanted to know if AutoMKV also normalises the audio stream just like AutoGK, cos i think its a really good feature, as the sound of some dvds is quite low or unconstant.
thanks!
buzzqw
2nd February 2007, 23:14
Just a question , where can I find the manual of automkv ? :( nope... not now.. i must write it... sorry
6of9... my preferred...but in next updated i have greater improved the "auto matrix" selection for xvid (you can use it already, just select auto on matrix)
@Greeneemer
120 dpi... not easy i must look around ...
Second: I would like the option to add srt subtitles instead of the bitmap based subtitles from the disc. Its not much of a problem to add them later, but it would be neat if they could be imported directly into AutoMKV
i have some idea :)
Third: I would like to see a small text describing each of the Profiles. Especially the x264 profiles arent exactly self-explainatory to me. Like, what is AE, CE and HQ? I guess that HQ means High Quality, but is that the quality of my input or how i want my output? (based on how much time i want to spend)
in next full pack i will rework most of profiles.
AE: Anime Encoding
CE: Common Encoding
HQ: high quality and slow encoding
is what you want as output...
Just wanted to know if AutoMKV also normalises the audio stream just like AutoGK, cos i think its a really good feature, as the sound of some dvds is quite low or unconstant.
already present, even more.. in advanced audio is possible to disable it!
BHH
papsi
3rd February 2007, 02:44
Thanx for your reply!
2 more question: when I click on the '!!!' button (which contains the hidden audio options), the Normalize check box is always checked. I thought that AC3 audio can't be normalized, but I'm not so sure anymore... :) So does it normalize the audio stream when I choose AC3 audio output (in other words, when I choose original audio)?
two answer: yes, bitrate is used for all codecs, xvid or x264 or wmv, just check use specified bitrate. Second... is probably that with 2000 bitrate you have saturate (saturated: aka no more quality possible due to other constraints) so the movie cannot growth more...
The 2nd question: so that means, when I enter a specific bitrate, and XviD is checked, AutoMKV will try to use that unless it's already too high so it cannot get more quality? But why was the quality of the movie lower then a normal 2 CD rip of the same film? Actually when I choose a custom matrix, will AutoMKV use different bitrates to match an interval which is best with that custom matrix? For example, if I choose SharkTooth's UHS matrix which is best used when bitrate is over 3000 kbps, will AutoMKV try to give that bitrate? Or in that case is it better to check the Specify bitrate option and manually enter 3000?
Sorry if I sound stupid :lol:
cosmos
3rd February 2007, 09:49
@buzzqw: It seems that in 072b an older bug reappeared. Specifically, I'm queing multiple files. The shutdown flag is enabled for all of them. Two bugs: only the first file in the queue is processed. And when it is finished, instead of shutting down, the system simply logs off
Unrealbr
3rd February 2007, 11:42
buzzqw
I little issue here, its encoding @ 0fps and ETA is beeing shown negative, that is weird! :P
karasu
3rd February 2007, 12:05
I'm unable to finish encoding with "insane" profile, the file "movie.mp4" is unredeable and is unmuxable.
here's the log:
10:06:19 0.72 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
10:06:19 Selected Input file: I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\HOWLS_MOVING_CASTLE Title 2.VOB
10:06:19 Selected Output dir: I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\
10:06:19 Selected Final Name: HOWLS_MOVING_CASTLE Title 2
10:06:19 Selected Container type: MKV
10:06:19 Selected Encoder: X264
10:06:19 Selected Size: 1 CD
10:06:19 Selected Slice: 1
10:06:19 Selected Profile: HQ-Slowest.xml
10:06:19 Selected Width: 720
10:06:19 Selected Resizer: NONE
10:06:19 Selected Filters: NONE
10:06:19 Selected Deinterlacer: AUTO
10:06:19 Selected Field Order: AUTO
10:06:19 NeroAACEnc.exe: not present
10:06:19 Enabled CRF/CQ AutoRes at 18 value
10:06:19 Track Language 1: AC3 Audio Stream 0
10:06:19 Audio Codec 1: Ogg Vorbis
10:06:19 Audio Quality 1: 3
10:06:19 Track Language 2: AC3 Audio Stream 1
10:06:19 Audio Codec 2: Ogg Vorbis
10:06:19 Audio Quality 2: 3
10:06:19 Advanced Audio Settings DUMP Track 1
10:06:19 Movie Title Name:
10:06:19 Audio Track Language: und
10:06:19 Audio Track Name:
10:06:19 Nero Option Profiles: AUTO --- Encoding Mode: Quality
10:06:19 CCT Option Profiles: AUTO --- Channel Options: AUTO
10:06:19 Lame Settings: VBR
10:06:19 Audio Normalization: Normalize Audio
10:06:19 Frequency: AUTO --- Tempo : NONE
10:06:19 Pitch: NONE --- Other Add :
10:06:19 Advanced Audio Settings DUMP Track 2
10:06:19 Audio Track Language:
10:06:19 Audio Track Name:
10:06:19 Nero Option Profiles: AUTO --- Encoding Mode: Quality
10:06:19 CCT Option Profiles: AUTO --- Channel Options: AUTO
10:06:19 Lame Settings: ABR
10:06:19 Audio Normalization: 1
10:06:19 Frequency: AUTO --- Tempo : NONE
10:06:19 Pitch: NONE --- Other Add :
10:06:19 Selected 1' Sub tracks: NONE
10:06:19 Selected 2' Sub tracks: NONE
10:06:19 Activate Anamorphic Encoding
10:06:19
10:06:19 Dgindex CMD: C:\Program Files\AutoMKV072\exe\dgindex\dgindex.exe -FO=0 -OM=2 -TN=1,2 -YR=2 -AIF=[I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\HOWLS_MOVING_CASTLE Title 2.VOB] -OF=[I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie] -exit -minimize
10:11:03 Starting fixing audio delay on track number 1
10:11:03 DelayCut CMD: C:\Program Files\AutoMKV072\exe\dgindex\Delaycut.exe -auto -out "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\fixed1.ac3" "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie T01 2_0ch 224Kbps DELAY 0ms.ac3"
10:11:13 Original 1' Audio Size: 194237568 bytes
10:11:13 DelayCut CMD: C:\Program Files\AutoMKV072\exe\dgindex\Delaycut.exe -auto -out "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\fixed2.ac3" "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie T02 2_0ch 224Kbps DELAY 0ms.ac3"
10:11:44 Original 2' Audio Size: 194237568 bytes
10:11:44 Finished fixing audio delay
10:11:44 Encoding I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\fixed1.ac3 to Ogg with 3 quality
10:28:01 Encoded 1' Audio Track: 91373826 bytes
10:28:01 Encoding I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\fixed2.ac3 to Ogg with 3 quality
10:44:35 Encoded 2' Audio Track: 86930315 bytes
10:44:43 Number of Frames: 173427
10:44:43 Framerate: 25.000000
10:44:43 Movie lenght in Seconds: 6938
10:44:43 Movie Width: 720
10:44:43 Movie Height: 576
10:47:09 Processing completed. Type is determined to be progressive.
10:47:09 Order: unk
10:47:09 Starting X264
10:47:09 Command Line 1' Pass X264: C:\Program Files\AutoMKV072\exe\encoder\x264.exe --pass 1 --bitrate 640 --stats "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 10 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output NUL "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie.avs"
10:47:09 Command Line 2' Pass X264: C:\Program Files\AutoMKV072\exe\encoder\x264.exe --pass 2 --bitrate 640 --stats "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 10 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie.mp4" "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie.avs"
12:00:15 "C:\Program Files\AutoMKV072\exe\matroska\mkvmerge.exe" -o "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\HOWLS_MOVING_CASTLE Title 2.mkv" --track-name -1:"HOWLS_MOVING_CASTLE Title 2" --aspect-ratio 1:1.882353 "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie.mp4" --language -1:und "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\audio.ogg" --language -1:und "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\audio2.ogg" --title "Done with AutoMKV 0.72 http://forum.doom9.org/showthread.php?p=854221 "
12:00:16 Final Muxed size: -1 bytes
12:00:16 Encoding finished: 01:53:57 elapsed time
12:00:16 -----------------------------------------------------------------------
12:00:16 Script AutoCrop.log
12:00:16
12:00:16 Crop(0,16,720,544)
12:00:16 -----------------------------------------------------------------------
12:00:16 Script Resmovie.avs
12:00:16
12:00:16 -----------------------------------------------------------------------
12:00:16 Script movie.avs
12:00:16
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\autocrop.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\blockbuster.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\cnr2.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\ColorMatrix.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\Convolution3D.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\corrector.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\DctFilter.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\Decomb.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\Deen.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\degrainmedian.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\DGDecode.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\EEDI2.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\fft3dfilter.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\FluxSmooth.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\frfun7.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\hqdn3d.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\LeakKernelDeint.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\MaskTools.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\medianblur.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\MipSmooth.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\mt_masktools.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\mvtools.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\NicAudio.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\RemoveGrain.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\Repair.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\SangNom.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\SimpleResize.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\TBilateral.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\TDeint.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\TIVTC.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\TomsMoComp.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\TTempSmooth.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\UnDot.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\UnFilter.dll")
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\VSFilter.dll")
12:00:16 #loadpluginstart
12:00:16
12:00:16 #test1
12:00:16
12:00:16 Import("C:\Program Files\AutoMKV072\exe\filter\MCBob_v03c.avsi")
12:00:16 Import("C:\Program Files\AutoMKV072\exe\filter\mvbob.avsi")
12:00:16 Import("C:\Program Files\AutoMKV072\exe\filter\seesaw.avsi")
12:00:16 Import("C:\Program Files\AutoMKV072\exe\filter\spresso.avsi")
12:00:16 #importstart
12:00:16
12:00:16 #test2
12:00:16
12:00:16 movie = mpeg2source("I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\movie.d2v")
12:00:16 function getOrder(clip c) {
12:00:16 order = GetParity(c) ? 1 : 0
12:00:16 Return order }
12:00:16 #filter1start
12:00:16
12:00:16 #test3
12:00:16
12:00:16 #cropstart
12:00:16
12:00:16 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
12:00:16 fixed_aspect = 1
12:00:16 c_width = width(cropclip)
12:00:16 c_height = Round(height(cropclip) / fixed_aspect)
12:00:16 input_par = float(float(c_width)/float(c_height))
12:00:16 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
12:00:16 out_width = 720
12:00:16 out_height = Round(float(out_width) / input_par)
12:00:16 hmod = out_height - (floor(out_height / 16 ) * 16)
12:00:16 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
12:00:16 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
12:00:16 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
12:00:16
12:00:16 #resizestart
12:00:16
12:00:16 #test4
12:00:16
12:00:16 last = movie
12:00:16 #filter2start
12:00:16
12:00:16 #test5
12:00:16
12:00:16 ColorMatrix("Rec.709->Rec.601",hints=false,threads=0)
12:00:16 -----------------------------------------------------------------------
12:00:16 Script mkvmaudio.avs
12:00:16
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\NicAudio.dll")
12:00:16 NicAC3Source("I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\fixed1.ac3")
12:00:16 EnsureVBRMP3Sync()
12:00:16 ConvertAudioToFloat()
12:00:16 #Applyed STEREO downmixing routines
12:00:16 function stereo(clip a)
12:00:16 {
12:00:16 fl = GetChannel(a, 1)
12:00:16 fr = GetChannel(a, 2)
12:00:16 c = GetChannel(a, 3)
12:00:16 lfe = GetChannel(a, 4)
12:00:16 sl = GetChannel(a, 5)
12:00:16 sr = GetChannel(a, 6)
12:00:16 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
12:00:16 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
12:00:16 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
12:00:16 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
12:00:16 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
12:00:16 Return MergeChannels(l, r)}
12:00:16 #
12:00:16 function original(clip a)
12:00:16 {
12:00:16 Normalize(a)
12:00:16 Return last
12:00:16 }
12:00:16 6==Audiochannels() ? stereo() : original()
12:00:16 -----------------------------------------------------------------------
12:00:16 Script mkvmaudio.bat
12:00:16
12:00:16 "C:\Program Files\AutoMKV072\exe\besweet\bepipe.exe" --script "Import(^I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\mkvmaudio.avs^)" | "C:\Program Files\AutoMKV072\exe\besweet\oggenc2.exe" -q 3 - -o "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\audio.ogg"
12:00:16 -----------------------------------------------------------------------
12:00:16 Script mkvmaudio2.avs
12:00:16
12:00:16 LoadPlugin("C:\Program Files\AutoMKV072\exe\filter\NicAudio.dll")
12:00:16 NicAC3Source("I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\fixed2.ac3")
12:00:16 EnsureVBRMP3Sync()
12:00:16 ConvertAudioToFloat()
12:00:16 #Applyed STEREO downmixing routines
12:00:16 function stereo(clip a)
12:00:16 {
12:00:16 fl = GetChannel(a, 1)
12:00:16 fr = GetChannel(a, 2)
12:00:16 c = GetChannel(a, 3)
12:00:16 lfe = GetChannel(a, 4)
12:00:16 sl = GetChannel(a, 5)
12:00:16 sr = GetChannel(a, 6)
12:00:16 l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
12:00:16 c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
12:00:16 r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
12:00:16 l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
12:00:16 r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
12:00:16 Return MergeChannels(l, r)}
12:00:16 #
12:00:16 function original(clip a)
12:00:16 {
12:00:16 Normalize(a)
12:00:16 Return last
12:00:16 }
12:00:16 6==Audiochannels() ? stereo() : original()
12:00:16 -----------------------------------------------------------------------
12:00:16 Script mkvmaudio2.bat
12:00:16
12:00:16 "C:\Program Files\AutoMKV072\exe\besweet\bepipe.exe" --script "Import(^I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\mkvmaudio2.avs^)" | "C:\Program Files\AutoMKV072\exe\besweet\oggenc2.exe" -q 3 - -o "I:\HOWLS_MOVING_CASTLE Title 2\VIDEO_TS\temp\audio2.ogg"
12:00:16
12:00:16 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
buzzqw
3rd February 2007, 12:09
@papsi
the audio is normalized only when trascoding from ac3 (or other source) to NOT AC3. Isn't possibly to adjust volume if you copy original.
The 2nd question: so that means, when I enter a specific bitrate, and XviD is checked, AutoMKV will try to use that unless it's already too high so it cannot get more quality?
yes, but isn't automkv that cap this is codec. it's called SATURATION
But why was the quality of the movie lower then a normal 2 CD rip of the same film?
a two pass encoding is always better then one pass (at similar average bitrate)
Actually when I choose a custom matrix, will AutoMKV use different bitrates to match an interval which is best with that custom matrix?
no, automkv will simply apply this matrix, whatever could be the bitrate computed
Or in that case is it better to check the Specify bitrate option and manually enter 3000?
better to leave media size 1/2 dvd (or bitrate 3000) and go to sleep... next morning you will have a beautiful movie! :)
Sorry if I sound stupid :lol:
isn't stupid questions, just search in forum there is a loot to learn ! :) :thanks:
@cosmos
should be fixed in next release
@Unrealbr
are you joking ?
anyway i hope in next week to build a new full package, i had done already some works (just fyi
ADDED: In Advanced settings two HVS_AQ string (take from http://forum.doom9.org/showthread.php?t=114811 )
ADDED: Sanity ceck before deleting \temp direcory. if this is a root directory isn't deleted. NOTE: IT IS IMPOSSIBLE THAT AUTOMKV WILL WORK ON A ROOT DIRECTORY SINCE IT CREATES THE \TEMP DIRECTORY!!! (suggestion by mael)
ADDED: Possibility to specify quality. This value overrides encoding mode, all encoding will be done in 1 pass (or 1 pass for autoresize + 1 pass for encoding). AutoMKV will take all values from selected profile's but will do a CQ encoding. Not saved in queue mode. (suggestion by dlflannery). NOTE THE CURVE OF QUANT IS TO TUNE. FEEL FREE TO SUGGESTS
ADDED: Possibility to load external Subtitle file.
FIXED: If <BframePredictionMode> if 0 then --direct none is applyed to x264 command line (suggestion by DDogg) (and fyi 1=--direct spatial , 2=--direct temporal , 3=--direct auto)
FIXED: Some tuning to Auto Matrix choice
FIXED: Sometimes AviMux_GUI not use values written in muxavi but old setting in config.ini.amg file. Now i will change this file every time before muxing. (thanks to DDogg and
FIXED: Switching from queue to standard mode will break the shutdown fuction (thanks to cosmos)
FIXED: If subtitles weren't correctly extract the muxing will not break but will mux without subtitles (thanks to papsi)
and will work on x264 profiles, probably renaming it and tuning, and i hope :fingercrossed: a manual
BHH
buzzqw
3rd February 2007, 12:15
@karasu
please open movie.avs with virtualdub or mediaplayer classic, got any error ?
BHH
karasu
3rd February 2007, 13:00
@buzzqw
movie.avs can be played correctly with MPC, no error.
buzzqw
3rd February 2007, 13:18
the problem is that x264 string is too long for dos environment (over 530 character)
please move the input folder to a short path like c:\temp\hmcaste.vob
please try , thanks :)
BHH
DarkNite
3rd February 2007, 13:47
anyway i hope in next week to build a new full package, i had done already some works
Good! A few freinds of mine have come to rely upon this little app for their encoding needs. The others I'm introducing to it now are less educated in these matters and would definitely need a few of the fixes mentioned in your list.
Keep up the good work! People do appreciate it.
karasu
3rd February 2007, 13:54
Ok, i'll try it. thanks
Unrealbr
3rd February 2007, 16:09
@buzzqw no im not, 0.72b IS showing negative time, i'll post a SS asap
Strangely it aint showing negative now.. @_@
DDogg
4th February 2007, 00:51
Buzz, I gotta teach you how to hint better like, "Damn, guys, I am just busting my backside for months, everyday, making AutoMKV solid and dependable for you ... can't a few of you help work on a freaking manual ???" :)
Actually, I wish I understood the Wiki thing as that would be a good place to do something where different folks could add on and expand.
Is a Wikimaster out there ... anybody?
buzzqw
4th February 2007, 16:55
Sorry pals but this weekend i preferred coding some fuctions like Btw, that brings up a request for future consideration. Since you are saving the AutoMKV settings already, it would be helpful to be able to load them by name. and fixing long path name errors (or i hope so :) ) , and a near like system status (that will inform you what automkv is doing, suggest help... ... and btw i need tips to add the fuction)
no manual. but i ufficially added it to todo list :)
BHH
Henrikx
4th February 2007, 17:09
@buzzqw
In the German forum, someone has an error message.
He made a video over the error message!
Please,take a look ...
http://forum.gleitz.info/attachment.php?attachmentid=85684&d=1170533496
buzzqw
4th February 2007, 17:26
wow interesting... can i have the log ?
thanks !
BHH
dlflannery
4th February 2007, 17:52
@buzzqw
I tried a conversion to my usual Zune format (320 width, bitrate = 500 kbps) but using the 1_Pass_Quality_Quick profile (WME9 codec). I noticed the bitrate option was not used on the WME script command line. The video came out at 395 kbps, so the total bitrate was 395+128 = 523 kbps.
I thought the bitrate was for video only and should be passed to the encoder (?).
buzzqw
4th February 2007, 18:27
@dlflannery
very very quick answer: you had selecte a QUALITY profiles, not a BITRATE profiles !
In quality mode i pass "-v_quality 90" (as example) not the bitrate ! :)
@Henrikx
ok, i think i have understud, the user DON'T HAVE Nero AAC Encoder and so automkv will switch to OGG encoder. The question for audio failing is another... i could suppose a problem of bitrate (0.75 quality for ogg). In next version i will use CCT AAC (better compatibility) and correct audio bitrate.
Please tell you friend to not use nero if it haven't installed...
BHH
Henrikx
4th February 2007, 19:17
@buzzqw
THX and LOG :
18:59:44 0.72b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
18:59:44 Selected Input file: J:\VIDEO_TS\VTS_01_0.IFO
18:59:44 Selected Output dir: F:\Temp\temp\
18:59:44 Selected Final Name: VTS_01_0
18:59:44 Selected Container type: MKV
18:59:44 Selected Encoder: X264
18:59:44 Selected Size: 1 CD
18:59:44 Selected Slice: 1
18:59:44 Selected Profile: CQ-ASP_Q2_eq(crf).xml
18:59:44 Selected Width: Automatic
18:59:44 Selected Resizer: SimpleResize (neutral soft)
18:59:44 Selected Filters: RemoveGrain(mode=2)
18:59:44 Selected Deinterlacer: AUTO
18:59:44 Selected Field Order: AUTO
18:59:44 NeroAACEnc.exe: not present
18:59:44 Track Language 1: Deutsch (AC3 6ch, 0xBD 0x83) [0]
18:59:44 Audio Codec 1: Nero AAC
18:59:44 Audio Quality 1: 0.75
18:59:44 Advanced Audio Settings DUMP Track 1
18:59:44 Movie Title Name:
18:59:44 Audio Track Language:
18:59:44 Audio Track Name:
18:59:44 Nero Option Profiles: AUTO --- Encoding Mode: Quality
18:59:44 CCT Option Profiles: AUTO --- Channel Options: AUTO
18:59:44 Lame Settings: ABR
18:59:44 Audio Normalization: 1
18:59:44 Frequency: AUTO --- Tempo : NONE
18:59:44 Pitch: NONE --- Other Add :
18:59:44 Advanced Audio Settings DUMP Track 2
18:59:44 Audio Track Language:
18:59:44 Audio Track Name:
18:59:44 Nero Option Profiles: AUTO --- Encoding Mode: Quality
18:59:44 CCT Option Profiles: AUTO --- Channel Options: AUTO
18:59:44 Lame Settings: ABR
18:59:44 Audio Normalization: 1
18:59:44 Frequency: AUTO --- Tempo : NONE
18:59:44 Pitch: NONE --- Other Add :
18:59:44 Selected 1' Sub tracks: NONE
18:59:44 Selected 2' Sub tracks: NONE
18:59:44
18:59:44 Starting Indexing
18:59:44 Dgindex CMD: H:\Programme\AutoMKV072\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[J:\VIDEO_TS\VTS_01_1.vob] -OF=[F:\Temp\temp\movie] -exit -minimize
19:00:08 Finished indexing
19:00:08 Starting fixing audio delay on track number 1
19:00:08 Finished fixing audio delay
19:00:08 Encoding F:\Temp\temp\ to Ogg with 0.75 quality
19:00:11 Encoded 1' Audio Track: -1 bytes
http://forum.gleitz.info/showpost.php?p=319342&postcount=6
AMED
5th February 2007, 02:35
18:59:44 NeroAACEnc.exe: not present
has he put NeroAACEnc.exe into the besweet folder?
dyne
5th February 2007, 04:34
I'm trying to make 1400mb xvid rips with AC3 audio, but every rip I make using AutoMKV and xvid_extra_slow encoding results in a file of ~1.1gb
this is because of the codec saturation, right? Is there a way to increase the quality a bit so I can hit 1400mb?
buzzqw
5th February 2007, 15:20
this is because of the codec saturation, right?
maybe, just try selecting AUTO on Matrix and choose Auto on width
BHH
Henrikx
5th February 2007, 19:15
@buzzqw
Two Questions
1.AutoMKV contains a file of Fab.
Fab/DVD Decrypter etc. is forbidden in Germany
So we cannot link more on your program and not more speak about it, in German doom9 Forum !
Is there perhaps a solution?
2.After installing NeroAACEnc.exe into the besweet folder,the same mistake.
18:44:28 0.72b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
18:44:28 Selected Input file: J:\VIDEO_TS\VTS_01_0.IFO
18:44:28 Selected Output dir: F:\Temp\temp\
18:44:28 Selected Final Name: VTS_01_0
18:44:28 Selected Container type: MKV
18:44:28 Selected Encoder: X264
18:44:28 Selected Size: 1 CD
18:44:28 Selected Slice: 1
18:44:28 Selected Profile: CQ-ASP_Q2_eq(crf).xml
18:44:28 Selected Width: Automatic
18:44:28 Selected Resizer: SimpleResize (neutral soft)
18:44:28 Selected Filters: RemoveGrain(mode=2)
18:44:28 Selected Deinterlacer: AUTO
18:44:28 Selected Field Order: AUTO
18:44:28 Track Language 1: Deutsch (AC3 6ch, 0xBD 0x83) [0]
18:44:28 Audio Codec 1: Nero AAC
18:44:28 Audio Quality 1: 0.75
18:44:28 Advanced Audio Settings DUMP Track 1
18:44:28 Movie Title Name:
18:44:28 Audio Track Language: und
18:44:28 Audio Track Name:
18:44:28 Nero Option Profiles: AUTO --- Encoding Mode: Quality
18:44:28 CCT Option Profiles: AUTO --- Channel Options: AUTO
18:44:28 Lame Settings: VBR
18:44:28 Audio Normalization: Normalize Audio
18:44:28 Frequency: AUTO --- Tempo : NONE
18:44:28 Pitch: NONE --- Other Add :
18:44:28 Advanced Audio Settings DUMP Track 2
18:44:28 Audio Track Language:
18:44:28 Audio Track Name:
18:44:28 Nero Option Profiles: AUTO --- Encoding Mode: Quality
18:44:28 CCT Option Profiles: AUTO --- Channel Options: AUTO
18:44:28 Lame Settings: ABR
18:44:28 Audio Normalization: 1
18:44:28 Frequency: AUTO --- Tempo : NONE
18:44:28 Pitch: NONE --- Other Add :
18:44:28 Selected 1' Sub tracks: NONE
18:44:28 Selected 2' Sub tracks: NONE
18:44:28
18:44:28 Starting Indexing
18:44:28 Dgindex CMD: H:\Programme\AutoMKV072\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[J:\VIDEO_TS\VTS_01_1.vob] -OF=[F:\Temp\temp\movie] -exit -minimize
18:44:52 Finished indexing
18:44:52 Starting fixing audio delay on track number 1
18:44:52 Finished fixing audio delay
18:44:52 Encoding F:\Temp\temp\ to NeroAAC with 0.75 quality
18:44:55 Encoded 1' Audio Track: -1 bytes
http://forum.gleitz.info/showpost.php?p=319463&postcount=18
buzzqw
5th February 2007, 19:44
Fab/DVD Decrypter etc. is forbidden in Germany
this isn't a good thing, neither for Germany or AutoMKV. :angry:
i will build two package one with dvdfab ,one without (next full package), remember that dvdfab will be always needed for ripping...
about the error:
18:44:52 Finished indexing
18:44:52 Starting fixing audio delay on track number 1
18:44:52 Finished fixing audio delay
seems that something gone bad with audio delay fix
... is movie t01...xxx.ac3 present ?
is fixed1.ac3 present ? (i suppose not...)
also check in advanced setting to disable delay cut
last question is dvd preprocessed in someway ? this is important to know since i demux only the audio track requested and if in ifo the audio is the second track BUT , due to preprocessing, the audio is now first, i cannot demux anything ! (hope to be understud)
BHH
cosmos
5th February 2007, 19:51
A minor bug in 072b: entering a title in the advanced settings of audio, at "Muxing Options"/"Title" does not make the title appear. Instead the "produced by automkv..." appears.
And a couple of suggestions:
1) If the language in advanced settings is "xxx" ("eng" for example), then:
* default the video stream in mkvtoolnix to have a "xxx" language
* default the audio stream in Audio Track 1 and Audio Track 2 to be the same "xxx" language
This way, when I preselect "eng" and go to the advanced settings of "audio track 1", "eng" is already selected instead of "und". ;)
Henrikx
5th February 2007, 20:16
@buzzqw
i will build two package one with dvdfab ,one without (next full package)
THX !!!
For the further answers, I must wait until the user reports myself.
EDIT :
User
If I select the second audiotrack,although no there is,it functions
IFO:
http://forum.gleitz.info/attachment.php?attachmentid=85728&d=1170707091
Again THX
glynor
6th February 2007, 05:13
Hey... I just wanted to post quickly to say Thank You again to buzzqw for this program.
I haven't been posting much (because I haven't been having trouble with it) but I have been using AutoMKV quite extensively. It's been great! Thanks and keep up the great work.
buzzqw
6th February 2007, 09:24
about ifo... got it
in this ifo there is only one audio track, a german audio, and it is the first, so when automkv start dgindex it demux the first audio, but is missing... (i need a fragment of vob... but i suppose is a bug this vob..., user can demux manually with dgindex)
Also, with autogk is ok ?
Selecting all audio tracks i start dgindex in "demux all tracks" mode, and so is ok
@glynor
thanks, this appreciation is the way (well... someone have also donated... ) to make me feel better! Sometimes is hard to work without anybody that :thanks: you
thanks glynor, today is now a better day :)
BHH
buzzqw
6th February 2007, 10:06
@cosmos
i checked. It is ok. simply don't re-click on advanced audio settings, since everytime you click on it the fuction will blank the previus values :)
BHH
dyne
6th February 2007, 18:46
maybe, just try selecting AUTO on Matrix and choose Auto on width
BHH
I am trying this now with "The Gladiator" and am encoding it on the xvid_extra_slow preset
it decided to make the resolution 416x192 with a bitrate of 601kbps, which works out to be about 820mb, which is a bit low since I set it for 1400mb
with the ac3 audio it'd probably be about 1.1ish gb, which is the same as whats happened with all the other movies Ive tried
buzzqw
6th February 2007, 20:18
xvid_encraw... give more problem at size than wmv !
i can assure that bitrate computed is ok.
i think that is needed a different approach:
select 2 cd (or 1400), audio original, as profile choose SAP and after profile choose as matrix sharktooth LR
please try and give me good information ! :)
could you also please post the log of both (this one and previus) encoding ?
thanks !
BHH
dyne
7th February 2007, 02:10
I can't get to my computer tonight, so I'll post them tomorrow night
Henrikx
7th February 2007, 09:33
@buzzqw
Also, with autogk is ok ?
Yes !
THX
buzzqw
7th February 2007, 15:25
@Henrikx and Schotenhüter
Fixed in next release , added a sanity check that even on ifo input if dgindex don't demux selected audio tracks it will restart in demux all tracks mode
BHH
Unrealbr
7th February 2007, 20:58
@buzzqw
suggestion for next release allow external subtitles to be inserted o/
dyne
7th February 2007, 21:48
select 2 cd (or 1400), audio original, as profile choose SAP and after profile choose as matrix sharktooth LR
BHH
Here's the first part of the log for an encoding of "Mystic River." I set it for original audio, SAP, and sharktooth LR. (the log was too long to post at once)
I deleted the log for it with Xvid_extra_slow and "auto" for the matrix, and am running it now.
This encoding spat out a file that was 1.18gb in size, and plays the video too fast, so the video stops ~20 minutes early. The audio plays fine, though.
edit: here's the right log
15:54:05 0.72b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
15:54:05 Selected Input file: E:\dvd rips\temp\Mystic River\VIDEO_TS\VTS_01_0.IFO
15:54:05 Selected Output dir: E:\dvd rips\temp\
15:54:05 Selected Final Name: Mystic River SAP
15:54:05 Selected Container type: MKV
15:54:05 Selected Encoder: XviD
15:54:05 Selected Size: 1400
15:54:05 Selected Slice: 1
15:54:05 Selected Profile: Xvid_SAP.xml
15:54:05 Selected Width: Automatic
15:54:05 Selected Resizer: SimpleResize (neutral soft)
15:54:05 Selected Filters: RemoveGrain(mode=2)
15:54:05 Selected Deinterlacer: AUTO
15:54:05 Selected Field Order: AUTO
15:54:05 NeroAACEnc.exe: not present
15:54:05 Using Matrix: Sharktooth's EQM v3LR.cqm
15:54:05 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0,1,2]
15:54:05 Audio Codec 1: Copy Original
15:54:05 Audio Quality 1: 0.35
15:54:05 Advanced Audio Settings DUMP Track 1
15:54:05 Movie Title Name:
15:54:05 Audio Track Language:
15:54:05 Audio Track Name:
15:54:05 Nero Option Profiles: AUTO --- Encoding Mode: Quality
15:54:05 CCT Option Profiles: AUTO --- Channel Options: AUTO
15:54:05 Lame Settings: ABR
15:54:05 Audio Normalization: 1
15:54:05 Frequency: AUTO --- Tempo : NONE
15:54:05 Pitch: NONE --- Other Add :
15:54:05 Advanced Audio Settings DUMP Track 2
15:54:05 Audio Track Language:
15:54:05 Audio Track Name:
15:54:05 Nero Option Profiles: AUTO --- Encoding Mode: Quality
15:54:05 CCT Option Profiles: AUTO --- Channel Options: AUTO
15:54:05 Lame Settings: ABR
15:54:05 Audio Normalization: 1
15:54:05 Frequency: AUTO --- Tempo : NONE
15:54:05 Pitch: NONE --- Other Add :
15:54:05 Selected 1' Sub tracks: English 0 (0xBD 0x20) [0,1,2] wide
15:54:05 Selected 2' Sub tracks: NONE
15:54:05
15:54:05 Starting SubRipping
15:56:08 Subtitle Size: 4567040 bytes
15:56:08 Finished SubRipping
15:56:08 Starting Indexing
15:56:08 Dgindex CMD: C:\Program Files\Utilities\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[E:\dvd rips\temp\Mystic River\VIDEO_TS\VTS_01_1.vob] -OF=[E:\dvd rips\temp\movie] -exit -minimize
15:58:13 Finished indexing
15:58:13 Starting fixing audio delay on track number 1
15:58:13 DelayCut CMD: C:\Program Files\Utilities\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "E:\dvd rips\temp\fixed1.ac3" "E:\dvd rips\temp\movie T01 3_2ch 448Kbps DELAY -16ms.ac3"
15:58:28 Original 1' Audio Size: 464572416 bytes
15:58:28 Finished fixing audio delay
15:58:28 Renamed file fixed1.ac3 to audio.ac3
15:58:28 Encoded 1' Audio Track: 464572416 bytes
15:58:28 ForceFilm Detected: 99.400002% FILM found
15:58:34 Number of Frames: 249432
15:58:34 Framerate: 29.970030
15:58:34 Movie lenght in Seconds: 8323
15:58:34 Movie Width: 720
15:58:34 Movie Height: 480
16:07:04 Processing completed. Type is determined to be film.
16:07:04 BFF: 36
16:07:04 TFF: 540
16:07:04 Order: tff
16:07:04 Single Pass Encoding XviD: C:\Program Files\Utilities\AutoMKV\exe\encoder\xvid_encraw.exe -cq 2.5 -progress -threads 1 -max_bframes 1 -imax 16 -notrellis -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -framerate 29.970030 -bquant_ratio 162 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "C:\Program Files\Utilities\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\dvd rips\temp\resmovie.avs" -type 2 -mkv "E:\dvd rips\temp\resmovie.mkv"
16:13:30 Tested total movie: 5%
16:13:30 AutoResize movie size: 70520677 bytes
16:13:30 Movie Width suggested: 800 value based on sample size (111.11% of original width)
16:13:30 FIRST pass XviD: "C:\Program Files\Utilities\AutoMKV\exe\encoder\xvid_encraw.exe" -pass1 -progress -bitrate 961 -turbo -threads 1 -max_bframes 1 -imax 16 -notrellis -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -framerate 29.970030 -bquant_ratio 106 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "C:\Program Files\Utilities\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\dvd rips\temp\movie.avs" -type 2 -mkv "E:\dvd rips\temp\movie.mkv"
16:13:30 SECOND pass XviD: "C:\Program Files\Utilities\AutoMKV\exe\encoder\xvid_encraw.exe" -pass2 -progress -bitrate 961 -threads 1 -max_bframes 1 -imax 16 -notrellis -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -framerate 29.970030 -bquant_ratio 106 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "C:\Program Files\Utilities\AutoMKV\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "E:\dvd rips\temp\movie.avs" -type 2 -mkv "E:\dvd rips\temp\movie.mkv"
16:13:30 Starting First Pass
17:17:26 Starting Second Pass
18:42:37 Only Movie Size: 802593582 bytes
18:42:37 C:\Program Files\Utilities\AutoMKV\exe\matroska\mkvmerge.exe" -o "E:\dvd rips\temp\Mystic River SAP.mkv_pre" --track-name -1:"Mystic River SAP" --aspect-ratio 0:2.350000 --chapters "C:\Program Files\Utilities\AutoMKV\exe\chapters.txt" "E:\dvd rips\temp\movie.mkv" --language -1:eng "E:\dvd rips\temp\audio.ac3" "E:\dvd rips\temp\Mystic River SAP.idx" --title "Done with AutoMKV 0.72b http://forum.doom9.org/showthread.php?p=854221 "
18:44:12 Final Muxed size: 1269012131 bytes
18:44:12 Encoding finished: 02:50:07 elapsed time
18:44:12 -----------------------------------------------------------------------
18:44:12 Script AutoCrop.log
18:44:12
18:44:12 Crop(0,58,720,360)
18:44:12 -----------------------------------------------------------------------
18:44:12 Script Resmovie.avs
18:44:12
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\autocrop.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\blockbuster.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\cnr2.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\ColorMatrix.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Convolution3D.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\corrector.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\DctFilter.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Decomb.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Deen.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\degrainmedian.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\DGDecode.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\EEDI2.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\fft3dfilter.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\FluxSmooth.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\frfun7.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\hqdn3d.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\LeakKernelDeint.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\MaskTools.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\medianblur.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\MipSmooth.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\mt_masktools.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\mvtools.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\NicAudio.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\RemoveGrain.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Repair.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\SangNom.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\SimpleResize.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TBilateral.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TDeint.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TIVTC.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TomsMoComp.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TTempSmooth.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\UnDot.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\UnFilter.dll")
18:44:12 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\VSFilter.dll")
18:44:12 #loadpluginstart
18:44:13
18:44:13 #test1
18:44:13
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\MCBob_v03c.avsi")
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\mvbob.avsi")
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\seesaw.avsi")
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\spresso.avsi")
18:44:13 #importstart
18:44:13
18:44:13 #test2
18:44:13
18:44:13 movie = mpeg2source("E:\dvd rips\temp\movie.d2v")
18:44:13 function getOrder(clip c) {
18:44:13 order = GetParity(c) ? 1 : 0
18:44:13 Return order }
18:44:13 #filter1start
18:44:13
18:44:13 #test3
18:44:13
18:44:13 #cropstart
18:44:13
18:44:13 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
18:44:13 fixed_aspect = 1.185185
18:44:13 c_width = width(cropclip)
18:44:13 c_height = Round(height(cropclip) / fixed_aspect)
18:44:13 input_par = float(float(c_width)/float(c_height))
18:44:13 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
18:44:13 out_width = 704
18:44:13 out_height = Round(float(out_width) / input_par)
18:44:13 hmod = out_height - (floor(out_height / 16 ) * 16)
18:44:13 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
18:44:13 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
18:44:13 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
18:44:13
18:44:13 tfm(d2v="E:\dvd rips\temp\movie.d2v").tdecimate()
18:44:13 #resizestart
18:44:13
18:44:13 #test4
18:44:13
18:44:13 SimpleResize(out_width,out_height)
18:44:13 #filter2start
18:44:13
dyne
7th February 2007, 21:49
and the other half:
18:44:13 #test5
18:44:13
18:44:13 RemoveGrain(mode=2)
18:44:13 function Comptest(clip c, float percent)
18:44:13 {
18:44:13 frange=floor(14./(percent/100.))
18:44:13 Return SelectRangeEvery(c, frange, 14)
18:44:13 }
18:44:13 Comptest(5)
18:44:13 ColorMatrix("Rec.709->Rec.601",hints=false,threads=0)
18:44:13 -----------------------------------------------------------------------
18:44:13 Script movie.avs
18:44:13
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\autocrop.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\blockbuster.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\cnr2.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\ColorMatrix.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Convolution3D.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\corrector.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\DctFilter.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Decomb.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Deen.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\degrainmedian.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\DGDecode.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\EEDI2.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\fft3dfilter.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\FluxSmooth.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\frfun7.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\hqdn3d.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\LeakKernelDeint.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\MaskTools.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\medianblur.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\MipSmooth.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\mt_masktools.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\mvtools.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\NicAudio.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\RemoveGrain.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\Repair.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\SangNom.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\SimpleResize.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TBilateral.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TDeint.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TIVTC.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TomsMoComp.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\TTempSmooth.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\UnDot.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\UnFilter.dll")
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\VSFilter.dll")
18:44:13 #loadpluginstart
18:44:13
18:44:13 #test1
18:44:13
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\MCBob_v03c.avsi")
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\mvbob.avsi")
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\seesaw.avsi")
18:44:13 Import("C:\Program Files\Utilities\AutoMKV\exe\filter\spresso.avsi")
18:44:13 #importstart
18:44:13
18:44:13 #test2
18:44:13
18:44:13 movie = mpeg2source("E:\dvd rips\temp\movie.d2v")
18:44:13 function getOrder(clip c) {
18:44:13 order = GetParity(c) ? 1 : 0
18:44:13 Return order }
18:44:13 #filter1start
18:44:13
18:44:13 #test3
18:44:13
18:44:13 #cropstart
18:44:13
18:44:13 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
18:44:13 fixed_aspect = 1.185185
18:44:13 c_width = width(cropclip)
18:44:13 c_height = Round(height(cropclip) / fixed_aspect)
18:44:13 input_par = float(float(c_width)/float(c_height))
18:44:13 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
18:44:13 out_width = 704
18:44:13 out_height = Round(float(out_width) / input_par)
18:44:13 hmod = out_height - (floor(out_height / 16 ) * 16)
18:44:13 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
18:44:13 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
18:44:13 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
18:44:13
18:44:13 tfm(d2v="E:\dvd rips\temp\movie.d2v").tdecimate()
18:44:13 #resizestart
18:44:13
18:44:13 #test4
18:44:13
18:44:13 SimpleResize(out_width,out_height)
18:44:13 #filter2start
18:44:13
18:44:13 #test5
18:44:13
18:44:13 RemoveGrain(mode=2)
18:44:13 ColorMatrix("Rec.709->Rec.601",hints=false,threads=0)
18:44:13 -----------------------------------------------------------------------
18:44:13 Script mkvmaudio.avs
18:44:13
18:44:13 LoadPlugin("C:\Program Files\Utilities\AutoMKV\exe\filter\NicAudio.dll")
18:44:13 NicAC3Source("E:\dvd rips\temp\fixed1.ac3")
18:44:13 EnsureVBRMP3Sync()
18:44:13 ConvertAudioTo16bit()
18:44:13 #Applyed ORIGINAL downmixing routines
18:44:13 Normalize()
18:44:13 -----------------------------------------------------------------------
18:44:13 Script mkvmaudio.bat
18:44:13
18:44:13 -----------------------------------------------------------------------
18:44:13 Script mkvmaudio2.avs
18:44:13
18:44:13 -----------------------------------------------------------------------
18:44:13 Script mkvmaudio2.bat
18:44:13
18:44:13
18:44:13 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - -
buzzqw
7th February 2007, 22:06
@Unrealbr
already done !
@dyne
This encoding spat out a file that was 1.18gb in size, and plays the video too fast, so the video stops ~20 minutes early.
i need the log, please ! (i suppose FILM type was detected..., but please need the log)
BHH
dyne
8th February 2007, 00:49
i need the log, please ! (i suppose FILM type was detected..., but please need the log)
BHH
It's just finished encoding (with the same result). I edited in the log to my above posts
Unrealbr
8th February 2007, 02:10
@Unrealbr
already done !
BHH
really? I cant add, is there any special key to press to be able to do it?? :(
nah.. nvm.. i think its for next release
I'm sleepy so i'm kinda dumb atm
:confused: :confused:
buzzqw
8th February 2007, 08:30
@dyne
THANKS ! got the error for 20 minutes off!
also you got saturated
Movie Width suggested: 800 value based on sample size (111.11% of original width)
in next update the AUTO matrix will be the default value (and should fix this encoding !!!)
@Unrealbr
yes, next update !
BHH
dyne
8th February 2007, 13:58
thank you for the utlitiy :)
How do people make 2 CD (1400mb) rips with out saturating it?
buzzqw
8th February 2007, 14:36
not every movies goes saturated with 2 cd (try save private ryan or gladiator..) , what to do ? auto matrix (or high rate matrix like didee 6of9), no filtering, high quality resize like lanczosresize
in this way you don't saturated at all (is enough the matrix...)
BHH
buzzqw
9th February 2007, 09:15
Update ! TWO New full package !
www.64k.it/andres/data/a/AutoMKV074.rar -> full as usuall (but without NeroAACEnc.exe)
www.64k.it/andres/data/a/AutoMKV074_NO_RIPPER.rar -> without DvdFabDecrypter AND NeroAACEnc.exe)
0.74 Full Package 09/02/2007
ADDED: In Advanced settings two HVS_AQ string (take from http://forum.doom9.org/showthread.php?t=114811 )
ADDED: Sanity ceck before deleting \temp direcory. if this is a root directory isn't deleted. NOTE: IT IS IMPOSSIBLE THAT AUTOMKV WILL WORK ON A ROOT DIRECTORY SINCE IT CREATES THE \TEMP DIRECTORY!!! (suggestion by mael)
ADDED: Possibility to specify quality. This value overrides encoding mode, all encoding will be done in 1 pass (or 1 pass for autoresize + 1 pass for encoding). AutoMKV will take all values from selected profile's but will do a CQ encoding. Not saved in queue mode. (suggestion by dlflannery). NOTE THE CURVE OF QUANT IS TO TUNE. FEEL FREE TO SUGGESTS
ADDED: Possibility to load external Subtitle file.
ADDED: On main window a status line. Here i reported automkv works, tips, and more. It's very incomplete, please feel obligated to suggest more display (suggestion by mael)
ADDED: In advanced setting possibility to save and load customizable settings (suggestion by DDogg)
ADDED: BicubicResize with default value, FastBilinearResize, Spline36Resize http://forum.doom9.org/showthread.php?t=112594
FIXED: If Nero AAC isn't present Automkv will now switch to CCT AAC, for better compatibility pourpose, also the bitrate will be corrected
FIXED: If selected CCT AAC audio encoder the audio was encoded two times
FIXED: Long path. When encoding string is over 530 characters dos cannot understand the command line. Now i will launch directly the exe with the parameters, this should fix the problem (thanks to karasu)
FIXED: If <BframePredictionMode> if 0 then --direct none is applyed to x264 command line (suggestion by DDogg) (and fyi 1=--direct spatial , 2=--direct temporal , 3=--direct auto)
FIXED: Some tuning to Auto Matrix choice
FIXED: Sometimes AviMux_GUI not use values written in muxavi but old setting in config.ini.amg file. Now i will change this file every time before muxing. (thanks to DDogg)
FIXED: Switching from queue to standard mode will break the shutdown fuction (thanks to cosmos)
FIXED: If subtitles weren't correctly extract the muxing will not break but will mux without subtitles (thanks to papsi)
FIXED: AutoMKV is now working on 120 DPI monitor (or i hope so)
FIXED: Now when selecting on Advanced audio setting ABR or CBR for Lame, the bitrate displayed is correct
FIXED: No pop-up after selecting media file (not on ifo). Now bbsummary starts hidden
FIXED: Using CCT AAC encoder AutoMKV will switch to --lc profile if bitrate is over 128
FIXED: Added a sanity check that even on ifo input if dgindex don't demux selected audio tracks it will restart in demux all tracks mode (thanks to Schotenhüter)
FIXED: When using XviD and movie is FILM/Decimating, AutoMKV will pass correct framerate to xvid_encraw (thanks to dyne)
FIXED: If user select the deinteralcer BUT not the Order, AutoMKV will use Hybrid Order.
UPDATE: CCT AAC audio encoder
UPDATE: DgIndex to 1.4.9 beta 13
BHH
dlflannery
9th February 2007, 16:51
Regarding the problems I had with DVD-to-WMV (http://forum.doom9.org/showthread.php?p=947879#post947879), I have not seen a solution (did I miss it?). Is it just a problem with WME and nothing can be done? (This means the user has to analyze the video before putting it into AutoMKV in order to choose the interlace mode -- not "Auto".)
Thanks!
buzzqw
9th February 2007, 18:02
Is it just a problem with WME and nothing can be done?
i can try to pass framerate to wmvencoder... but don't know if will be enough (but i hope so!)
i will build a debug version :)
BHH
BleedingGums
9th February 2007, 20:22
in version 0.74 right after the DGindex finished the program pauses and I get a "tst" dialog box with an ok button. Is there anyway to turn that off?
buzzqw
9th February 2007, 20:32
@BleedingGums
OPS!!!
www.64k.it/andres/data/a/AutoMKV074a.exe
EDIT: corrected the TST debug message , removed another debug message..
thanks !
BHH
BleedingGums
9th February 2007, 21:04
wow that was fast. Just a little quibble, in your new status bar there is a typo "star ripping", also "Let's Encoding" sounds funny, might I suggest "Let's Encode!" or "Encoding Started". also it would be nice if the status bar indicated whether it was on the fist or second pass (I don't know if it does that, I'm still on the first pass.)
Keep up the excelent work! AutoMKV just keeps getting better and better.
buzzqw
9th February 2007, 21:22
fixed the typos... and not... i don't write it (second pass).. good suggestion !
BHH
SeeMoreDigital
9th February 2007, 21:41
I don't seem to be able to create MP4 encodes with CT 6Ch AAC-HE audio... Although CT 6Ch AAC-LC works perfectly (and sounds very good indeed at 192Kbps)...
Nothing of any significance seems to stand out in the log....
Cheers
Konstantin_by
9th February 2007, 21:42
Hello. I have 2 question.
1: Can I use AutoMkV on 64x system?
2: Why when I create film with 1 audio track, AutoMKV encode the same track 2 times? (I choose coding tech AAC) If i choose 2 tracks AutoMKC encode them 2 times each.
DDogg
9th February 2007, 23:24
Buzz, very nice. A lot of usable new features to play with. The load configuration is a time saver. Greatly appreciated!
Minor issues:
1> When configuration with manual cropping and resizing is loaded, "Set width resolution" in basic settings tab is not greyed out.
2> The profile being used when the configuration is saved is not included in the saved ini file. For instance, my DV configuration includes a modified "CQ-ASP_Q2_eq(crf) for DV.xml" profile. If possible, it would be good to have this load with the DV.ini config. This is a workaround, to some degree, as tedious modifications made in the advanced profile editor are not saved. One, or the other would be helpful, but I think just loading the profile in use at the time the config file is created would be the easiest and best way to go. Thoughts?
3> Tracing down an odd mux issue with DV input, 264/Nero stereo, MKV encodes. Lot of stuttering in audio and "fast forward" jumping in the video. The problem may be on my end. Will find out and let you know. You could try that DV source I sent you and see if you see anything.
Terrific job! Don't burn yourself out. You are a treasure we don't want to lose :)
dyne
9th February 2007, 23:34
Im having another problem
After the deinterlacer runs, the xvid_encraw cmd window pops up
and gets to "Avisynth detected" in a about a quarter of a second, closes, opens up again, closes, etc..
So I currently have the cmd window popping up every second and closing
edit:
and there's also a problem with it my computer freezing for 20-30 seconds at a time after auomkv starts running. It persists and eventually locks up the computer completely (this didn't happen with .72b, and I dont think it's a hardware problem)
Both issues occur with either the .74 or .74a version
buzzqw
10th February 2007, 00:53
@SeeMoreDigital
got it also... seems that isn't needed to pass --high to encoder... for multichannel the default is (within audio encoder) the HE-AAC. In automkv the LC-AAC is used only if bitrate is over 128 or if specified...
in other word:
if multichannel -> HE-AAC till 128 -> LC-AAC
@DDogg
i will look at the issues :) thanks !
@Konstantin_by
i hope yes... i don't have a 64bit OS... but please refere any problem
about audio ... fixed in 0.74!
@dyne
After the deinterlacer runs, the xvid_encraw cmd window pops up
and gets to "Avisynth detected" in a about a quarter of a second, closes, opens up again, closes, etc..
So I currently have the cmd window popping up every second and closing
:confused:
try opening the movie.avs or resmovie.avs in virtualdub, got any error ?
also, try manually launch the .bat of the encoder (from dos box), any message ?
about the freezing... what are you pc specs (cpu/ram/OS/video card...)?
ALSO: ANY OTHER GOT FREEZING ????
BHH
DarkNite
10th February 2007, 01:58
No freezing here, not even on my Vista Ultimate box.
dyne
10th February 2007, 07:43
@dyne
:confused:
try opening the movie.avs or resmovie.avs in virtualdub, got any error ?
also, try manually launch the .bat of the encoder (from dos box), any message ?
about the freezing... what are you pc specs (cpu/ram/OS/video card...)?
ALSO: ANY OTHER GOT FREEZING ????
BHH
There isn't a movie.avs file. If I try to open resmovie.avs, I get the following error:
Avisynth open failure:
TFM: Illegal transistions found in dvd2avi project file!
Please use the fixed version that has been created in the same directory as the original d2v file
specs: Windows XP pro
A64 3200+
1gb ram
Geforce 6150 integrated video
edit: it must just be that particular movie. I tried it 3 times and got the same bad result, but I'm trying another movie now and it seems fine
Schotenhüter
10th February 2007, 12:16
@buzzqw
now it functions marvelously,many thx.
SeeMoreDigital
10th February 2007, 14:21
@SeeMoreDigital
got it also... seems that isn't needed to pass --high to encoder... for multichannel the default is (within audio encoder) the HE-AAC. In automkv the LC-AAC is used only if bitrate is over 128 or if specified...
in other word:
if multichannel -> HE-AAC till 128 -> LC-AACIndeed...
Using BeLight I carried out some tests with CT's AAC encoder, and some 2Ch and 6Ch AC3 sources at 48.00KHz. Here is what I found: -
2Ch AAC-HE PS has a range from 16 to 48Kbps
2Ch AAC-HE has a range from 16 to 128Kbps
2Ch AAC-HE High has a range from 129 to 256Kbps
2Ch AAC-LC has a range from 96 to 256Kbps
6Ch AAC-HE has a range from 96 to 224Kbps
6Ch AAC-LC has a range from 160 to 256Kbps
Cheers
buzzqw
10th February 2007, 15:02
UPDATE ! 0.74c
www.64k.it/andres/data/a/AutoMKV074c.exe
ADDED: First or Second pass is now displayed in status list (thanks to BleedingGums) ANYONE FEEL FREE TO SUGGEST OTHER MESSAGE TO DISPLAY !!!
ADDED: Information table from SMD (the ? button in advanced audio setting)
FIXED: Some typos.. (thanks to BleedingGums)
FIXED: When configuration with manual cropping and resizing is loaded, "Set width resolution" in basic settings tab is now greyed out. (thanks to DDogg)
FIXED: The profile being used when the configuration is saved is now included in the saved ini file. (thanks to DDogg)
@SeeMoreDigital
thanks a lot !
BHH
Unrealbr
10th February 2007, 17:49
@buzzqw
The subs will be encoded as HARDSUB ou SOFTSUB?
t/y, your job on improving Automkv is magnificent!!
buzzqw
10th February 2007, 18:47
will be only muxed (in mkv or mp4, ignored in avi)
BHH
Unrealbr
10th February 2007, 19:32
will be only muxed (in mkv or mp4, ignored in avi)
BHH
Well, then lets make a suggestion.
Maybe for the next release an option to set the sub to me muxed or hardcoded.
:D
Huerta
10th February 2007, 21:19
The subs wouldn't even show up in mine. I checked the log and it said that the size of the subs was -1kb. So I opened up VStrip manually and checked to see if I could do it from there but it said it couldn't open up the Vob Sequence. I think I figured out why and I also found a solution.
I think the problem was when I decrypted the episodes. I just got those new DBZ remastered DVD's from funimation, and there were 39 episodes split up into 6 disks. Originally in each disk all the anime episodes I had didn't show up as seperate episodes but as one super long movie with 54 chapters. So each episode had 7 chapters and there were a couple of useless chapters at the end. So I decrypted 5 chapters for each episode(I excluded the opening and ending) into their own directory and I think by doing that it messed up the subs in some way where VSrip couldn't rip them.
The solution I used was to use Subrip and make your own srt file and then just load it up externally in AutoMKV when encoding. It's a little extra legwork but it was worth it.
Just thought I should bring this up incase anyone should ever have this problem. If you have any other suggestions on how to fix my sub problem that would be great.
Other than that this is a really excellent program you have here.
dalihrp
11th February 2007, 13:50
How about add an option to set min or max width for encoded movie.
or is this already available?
and what equal setting on automkv, for 1 pass target quality percentage like you find in autogk?
buzzqw
11th February 2007, 14:56
How about add an option to set min or max width for encoded movie.
or is this already available?
no, isn't avaiable, i will use the autoresize to determine the better with.
and what equal setting on automkv, for 1 pass target quality percentage like you find in autogk?
choose whatever profile you want (for x264 or xvid), this is needed to set the varius encoder 's parameters. In advanced setting check Specify Quality and select your value :)
BHH
fleon
11th February 2007, 16:58
Hi people, I am planning encoding Sin City(personal owned, for personal use) on the x264 video format, so what settings do you guys recommend me for this movie?
buzzqw
11th February 2007, 17:24
well.. sincity isn't a easy film to encode, my first approach would be a 2 cd, audio original , x264 ce-mainprofile, width auto encode, Deen("c3d",0,6,7,3) filter
or for for 1 cd, audio cct aac 96 (or ogg 2.5), ce-mainprofile, width auto, QMLF2_4_motions filter
try yourself, every movie has is own encoding story!
BHH
travisbell
11th February 2007, 19:48
Hey buzzqw,
Whenever I try and start an encode with the latest version now, it just rips through all the steps but doesn't actually encode anything...
Here is my log file..
http://consumeroo.com/files/serenity.1080i.dd51.oar.renderman.ts.log
Any idea?
buzzqw
11th February 2007, 20:43
yes ! two ideas !
first: it's your fault... sorry, you used "All audio tracks" but not checked "use projectx" (and dgindex isn't able to demux all tracks is ts files)
second: i had fixed. now dgindex try to dgindex all the possible !
www.64k.it/andres/data/a/AutoMKV074d.exe
changelog
FIXED: On ts files , selecting "All audio tracks" and not checking projectx , dgindex will try its best :) (thanks to travisbell)
BHH
fleon
12th February 2007, 01:38
Hey buzzqw,
I am gonna encode like you told me 2 cd, audio original , x264 ce-mainprofile, width auto encode, Deen("c3d",0,6,7,3) filter
But I have a question, by saying auto encode, you mean the width resolution or what? and the movie seems to be widescreen so the software detect that and choose the best resolution?
travisbell
12th February 2007, 02:41
first: it's your fault... sorry, you used "All audio tracks" but not checked "use projectx" (and dgindex isn't able to demux all tracks is ts files)
Interesting... I don't even see an option for "All audio tracks". The only thing I have done is chose "Original" on Track 1...
One more thing I have noticed in the latest builds is when I load up my .ts files it takes a good 2-3 minutes to "Verify" the source... why did you change this from the old method? Just curious is all...
Thanks man!
cosmos
12th February 2007, 07:15
well.. sincity isn't a easy film to encode, my first approach would be a 2 cd, audio original , x264 ce-mainprofile, width auto encode, Deen("c3d",0,6,7,3) filter
Hey there mate :) Just wondering: how come you don't recommend one of the HQ-Slow/HQ-Slower profiles?
sunflash10
12th February 2007, 07:57
Ever since .74 came out I haven't been able to encode dvds properly. It all seems to work fine up until the x264 encoder runs. It is open for about a second, closes, then opens again for the second pass and then closes immediately once again. Then it "completes" the process. Part of the log file is attached.
Thanks
buzzqw
12th February 2007, 08:26
how come you don't recommend one of the HQ-Slow/HQ-Slower profiles
hq-slower isn't worth the time. Make an encode with ce-mainprofile and hq-slower/insane.
Look at encoding time and quality gained. for me isn't worth all that time. Maybe hq-slow... but... just for 1 cd encoding not for 2 cd
@sunflash10
mmm... i had understud... is due to the new dgindex/tivtc... must be downgraded to dgmpgdec149b12.zip (http://www.64k.it/andres/data/d/dgmpgdec149b12.zip)
download the b12, unzip, put the dgindex.exe/dgdecode.dll into \exe\dgindex folder and copy dgdecode.dll into \exe\filter
BHH
jeffy
12th February 2007, 10:57
One more thing I have noticed in the latest builds is when I load up my .ts files it takes a good 2-3 minutes to "Verify" the source... why did you change this from the old method? Just curious is all...
Thanks man!
BHH, I have been having the same problems for MPEG files too, since the version labeled 0.74. They used to be loaded immediately. Can you comment please?
buzzqw
12th February 2007, 13:18
@jeffy and @travisbell
ops... got it !
was due to the modify of "no pop-up" for bbsummary , previusly i will check the first 10000 frames... now, erroneusly check all frames...
fixed ! www.64k.it/andres/data/a/AutoMKV074e.exe
thanks !!
BHH
papsi
12th February 2007, 14:16
I tried the newest version and I'm pleased. The new features like the status bar and the percentage-style ripping are good, and I'm planning to experiment a little with this feature in the future.
3 notices:
1) When I rip a movie with AutoMKV, AutoMKV - or one of the other programs AutoMKV uses - creates a file named "Program" (without extension) in root of drive C. When I restart the system, Windows or my firewall or my antivirus software always warn me that it's not recommended to have a file with this name in C:\ and renames the file to Program~1. I think that one of the programs AutoMKV uses is at fault. BTW I noticed this issue in all version of AutoMKV.
2) I see that many users apply 2 or more filters to their movies, not just one (for example: first remove the grain then apply some sharpening). Are you planning to add this feature in the future?
3) The source on one of my films is pretty blurry. Which filter do you recommend? Their are planty of smoothener filters, grain removers, but I don't see sharpeners in the list (or just can't notice them). SeeSaw() would be a good options, but as I read, this filter is used to intensify the details on already nice, clean and sharp sources. My source is blurry but not grainy, so which filter can you recommend? I tried to apply a sharp resize filter (bicubicResize), but it's obviously not enough. Also it would be great to add a short explanation of the filters in one place (or just add links).
Once again, thanx for the new version! :)
gekan
12th February 2007, 15:13
I agree with papsi.
I've been having the same problem he describes in #1 but I hadn't connected it with AutoMVK.
Also, I agree about the filters. Adding more than one without have to edit the script is surely welcome, like a short description on what they do.
Thanks again for the great application! :)
buzzqw
12th February 2007, 15:19
When I rip a movie with AutoMKV, AutoMKV - or one of the other programs AutoMKV uses - creates a file named "Program"
that's strange. you are the only one with this problem. i don't know why... but open the file "program" with notepad (or mail me it) . What's written inside ?
I see that many users apply 2 or more filters to their movies, not just one (for example: first remove the grain then apply some sharpening). Are you planning to add this feature in the future?
is already possible :)
in filter just write (example) Deen().Undot().Spresso()
in this why you will apply deen , then undot then spresso.
or use in Advanced setting Last line avs to write what you want
My source is blurry but not grainy,
in filter you can write what you want, remember.
Remember that is also needed to load the plugin, and to do this simply put the dll into \exe\filter folder and then relaunch automkv
What filter to use? ... try removegrain(mode=25)
BHH
gekan
12th February 2007, 15:46
This is what my "Program" file contains:
Opening IFO file E:\Media\VTS_01_0.IFO OK.
Video:
Compression : MPEG-2
TV system : PAL 625/50 Hz
Aspect ratio: 4:3
Display Mode: not specified
Source Res : 720x576
Letterboxed : no
Mode : Camera
Audio:
0. English (AC3 2ch, 0xBD 0x80)
SubPicture:
0. Greek (0xBD 0x20)
Program Chain(s):
Using PGC #0/1. Length: 01:09:45:00 in 14 cell(s).
000. VOB-ID: 01/CELL-ID: 01 - Len: 00:16:34:56 - TS: 00:00:00:00
001. VOB-ID: 01/CELL-ID: 02 - Len: 00:04:35:04 - TS: 00:16:34:56
002. VOB-ID: 01/CELL-ID: 03 - Len: 00:01:04:80 - TS: 00:21:09:60
003. VOB-ID: 01/CELL-ID: 04 - Len: 00:02:34:08 - TS: 00:22:14:40
004. VOB-ID: 01/CELL-ID: 05 - Len: 00:03:32:64 - TS: 00:24:48:48
005. VOB-ID: 01/CELL-ID: 06 - Len: 00:00:57:12 - TS: 00:28:21:12
006. VOB-ID: 01/CELL-ID: 07 - Len: 00:05:21:12 - TS: 00:29:18:24
007. VOB-ID: 01/CELL-ID: 08 - Len: 00:02:56:16 - TS: 00:34:39:36
008. VOB-ID: 01/CELL-ID: 09 - Len: 00:02:58:08 - TS: 00:37:35:52
009. VOB-ID: 01/CELL-ID: 10 - Len: 00:08:02:40 - TS: 00:40:33:60
010. VOB-ID: 01/CELL-ID: 11 - Len: 00:01:57:12 - TS: 00:48:36:00
011. VOB-ID: 01/CELL-ID: 12 - Len: 00:08:25:92 - TS: 00:50:33:12
012. VOB-ID: 01/CELL-ID: 13 - Len: 00:08:34:08 - TS: 00:58:59:04
013. VOB-ID: 01/CELL-ID: 14 - Len: 00:02:11:88 - TS: 01:07:33:12
Cells links :
000 -> 001 -> 002 -> 003 -> 004 -> 005 -> 006 -> 007 -> 008 -> 009 ->
010 -> 011 -> 012 -> 013
Total film length : 01:09:45:00
Chapter 1 = 00:00:00:00
Chapter 2 = 00:16:34:56
Chapter 3 = 00:21:09:60
Chapter 4 = 00:22:14:40
Chapter 5 = 00:24:48:48
Chapter 6 = 00:28:21:12
Chapter 7 = 00:29:18:24
Chapter 8 = 00:34:39:36
Chapter 9 = 00:37:35:52
Chapter 10 = 00:40:33:60
Chapter 11 = 00:48:36:00
Chapter 12 = 00:50:33:12
Chapter 13 = 00:58:59:04
Chapter 14 = 01:07:33:12
dyne
12th February 2007, 23:11
that's strange. you are the only one with this problem. i don't know why... but open the file "program" with notepad (or mail me it) . What's written inside ?
BHH
I actually have had that file show up, too. Its contents are pretty close to what gekan posted
sunflash10
12th February 2007, 23:18
mmm... i had understud... is due to the new dgindex/tivtc... must be downgraded to dgmpgdec149b12.zip
download the b12, unzip, put the dgindex.exe/dgdecode.dll into \exe\dgindex folder and copy dgdecode.dll into \exe\filter
That fixed the encoding problem like a charm.
The finished mkv file is messed up though. Both the subtitles and the audio are about 2 seconds ahead of the video. The log file is attached.
papsi
13th February 2007, 00:46
Yes gekan, that's it. But strange enough, I couldn't recreate this file when I actually want it...
To buzzqv:
You see, I didn't even realized that the filter text box is editable. Thanx!
HeadBangeR77
13th February 2007, 02:13
@ papsi:
You could use LimitedSharpen(Faster) with the parameter "wide=true" for your purposes. Is there any option to modify the avs manually before the encoding starts (I don't use AutoMKV, so I haven't got the faintest idea ;))?
I see now, haven't refreshed my browser for a longer time/.
Also, bicubic resize is well known from ... causing artifacts, if used with higher sharpening values. You could try Spline36 (almost artifact-free), Lanczos3 or Lanczos4 - bicubic isn't good choice imho.
cheers,
HDBR77
papsi
13th February 2007, 11:27
To HeadBangeR77:
Spline36 is included with the newest version of AutoMKV, but LimitedSharpen isn't. But that's not a problem, because I can download it manually, put it in the folder with the rest of the filters and manually apply within AutoMKV. Thanx for your reply! I'll try it! :)
foxyshadis
13th February 2007, 12:17
That fixed the encoding problem like a charm.
The finished mkv file is messed up though. Both the subtitles and the audio are about 2 seconds ahead of the video. The log file is attached.
That happens if the audio and video on the dvd don't match up, sometimes. If it's a constant offset, try just loading it into mkvtoolnix and adding that offset to the audio, then remux.
buzzqw
13th February 2007, 13:23
@sunflash10
dgindex report a delay of 0 so i cannot do better synch
i saw that dvd is already preprocessed ... dont' know if in source file is in synch or not... could be due a bad ripping
@foxyshadis
very good hint ! i suppose the delay is due to arcoss/ripguard...
P.S. i love your avatar !
glynor
13th February 2007, 18:15
I just updated to build 0.74e from 0.72b. I have a DV-encoded AVI file that I compressed yesterday to x264 in a MP4 container with 0.72b just fine.
Using identical settings, with the identical file, and 0.74e today "appears" to work correctly (AutoMKV goes through all the steps and completes) but no "result" file is created. It appears that the X264 compression step isn't working... In my log I have:
11:26:01 Starting X264
11:26:01 Command Line 1' Pass X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 226 --stats "C:\video\projects\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 5 --filter 0,0 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --b-rdo --analyse p8x8,b8x8,i4x4,p4x4 --threads 3 --cqmfile "C:\Program Files\AutoMKV\profiles\X264-profiles\matrix\eqm_avc_hr.cfg" --output NUL "C:\video\projects\temp\movie.avs"
11:26:01 Command Line 2' Pass X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 226 --stats "C:\video\projects\temp\.stats" --progress --keyint 250 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 5 --filter 0,0 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --b-rdo --analyse p8x8,b8x8,i4x4,p4x4 --threads 3 --cqmfile "C:\Program Files\AutoMKV\profiles\X264-profiles\matrix\eqm_avc_hr.cfg" --output "C:\video\projects\temp\movie.mp4" "C:\video\projects\temp\movie.avs"
11:27:23 "C:\Program Files\AutoMKV\exe\matroska\mp4box.exe" -add "C:\video\projects\temp\movie.mp4":par=1.000000 -fps 29.969999 "C:\video\projects\temp\Cryo_Lobby-supertiny_full.mp4"
11:27:23 Final Muxed size: -1 bytes
11:27:23 Encoding finished: 00:08:18 elapsed time
In the actual X264 command line window, if I pop it up, it stays blank for a long while and then flashes by something about unsupported input file format (so quick it's hard to read exactly).
Also, I still had the EXE for build 0.72b so I ran that, set the same settings (but didn't roll back to the previous full RAR) and ran the encode and it worked fine....
My source file is DV, so it's huge. I can make a very small example clip and post it if you need, just ask...
buzzqw
13th February 2007, 18:28
@glynor
same, same problem as sunflash10
http://forum.doom9.org/showthread.php?p=953524#post953524
mmm... i had understud... is due to the new dgindex/tivtc... must be downgraded to dgmpgdec149b12.zip
download the b12, unzip, put the dgindex.exe/dgdecode.dll into \exe\dgindex folder and copy dgdecode.dll into \exe\filter
hope that help
BHH
glynor
13th February 2007, 19:06
Looks the same as sunflash's log alright (though mine is not a DVD or MPEG2 source). I'll try it and let you know!
glynor
13th February 2007, 19:38
Okay... This is odd. Replacing the files as you suggested in the above linked post didn't work.
So, I deleted my entire AutoMKV folder and re-extracted the 0.74 full RAR file and made a new one, re-added my NeroAAC encoder, and tried again. I also reinstalled AVISynth just for giggles, but I did certainly already have the current build.
Either way, it now appears to be working with the same source file! I don't know if I had something weird "built up" in my AutoMKV install directory (I hadn't really deleted and done the "full reinstall" in quite a long time), but either way... It seems to be working now!
I'll do a bit more testing and post back, but I think I'm solved. :thanks:
glynor
13th February 2007, 20:58
Yep. It's been working fine for me now!
One thing I have noticed -- and I'm not at all sure that it's AutoMKV's "fault" and not the creator of the applicable profile's "fault" but...
If I encode to x264 with a MP4 container, and choose CE-QuickTime.xml as my profile (with no audio and basically everything else set to the default) the resulting file will not play in Apple's current version of Quicktime Player. Upon opening the file I get:
Error -2002: a bad public movie atom was found in the movie
And it doesn't play. VLC and MPC of course handle it with aplomb. Any ideas on how to get AutoMKV to generate a Quicktime compatible x264 MP4?
dlflannery
13th February 2007, 21:14
Hi Buzzqw:
The specs for Zune encoding (http://www.zune.net/en-us/support/howto/start/providecontent.htm#section5)(without having the Zune PC software re-encode when synching to the Zune device -- taking a long time) are:
Natively Supported Formats on the Zune Device
Format: Windows Media Video (.wmv)
Video codec: Windows Media Video 9 (Simple, Main, and Advanced Profiles), Windows Media Video 9 Screen, Windows Media Video 9 Image Version 2, Windows Media Video 9 VCM.
Video resolution: up to 320x240 (QVGA) or 320x180 (16:9 QVGA)
Maximum video bit rate: 500 Kbps (recommended for the best balance of optimal battery life and video quality) up to 1.5 Mbps
Video peak bit rate: up to 1.5 Mbps
Complexity or profile: Main profile, VBR
Audio codec: Windows Media Audio (.wma)
Maximum audio bit rate: WMA Standard, CBR, 128 Kbps (recommended), up to 192 Kbps, Stereo, 44.1 kHz
Maximum total bit rate: 1.692 Mbps, 1.5 Mbps for peak video plus 192 Kbps for audio
Note
The Zune device also supports Windows Media Video (WMV) Simple Profile, Windows Media 7 and 8, and PhotoStory files. For these video types, the maximum video bit rate is 736 Kbps with a maximum overall bit rate of 800 Kbps when audio is included.
I have found the Zune 1-pass profiles work fine (using 500 kbps video, 128 kbps audio) but both of the 2-pass profiles produce WMV files that will require additional re-encoding by the Zune software upon synching to the Zune device.
The peak bitrates using the 2-pass profiles are 1 Mbps and 1.2 Mbps (per mediaInfo). Since these profiles use WMV8 codec I suspect they are exceeding the maximum bitrate for that codec (see the "note" above). (Depends on whether the note means the "Peak" bitrate or the maximum average bitrate.)
I noticed the v_bitrate option value being sent to the WME encoder was 524288000 which seems about 1000 or 1024 times too high. I modified the Zune_2_Pass profile by changing WMV8 to WMV9 and changing the bitrate option by removing the last 3 zeros (i.e., 524288). This worked fine. The output was Zune-device compatible without re-encoding and the peak bitrate was 815 kbps. The change to WMV9 (I think) allows the peak bitrate to be that high.
EDIT: I've realized with more experimenting that the extra multiplier of 1000 or 1024 on the v_bitrate option only occurs if I go into the Advanced Profiles Editing tab, change WMV8 to WMV9, then check "Use this profile". At that moment the v_bitrate value jumps from 51200 to 524288000. The only problem with the current 2-pass Zune profiles seems to be the peak bitrate is too high for WMV8 on the Zune Device. Actually I discovered if you just check "Use this profile" on any CBR WMV profile (without even editing it) the v-bitrate option gets multiplied by 1024 and this error will now stick for any other WMV profile until you restart AutoMKV.
NOTE: The bitrate was changed from 512000 to 512 in the XML profile to get the 524288 in the command line option.
When I did this with just changing WMV8 to WMV9 (but not reducing the bitrate by 1000) the files were 5 times as large and the bitrates were way to high for the Zune (several Mbps).
To summarize I see two things:
1. The 2-pass Zune profiles do not work as desired because the peak VBR bitrate is too high for the Zune device. Thus WMV9 will be needed, since the Zune device will accept much higher bitrates with that codec.
2. There is a bug where if you select a WMV CBR profile and check "Use this Profile" in the Advanced Profile Editing tab, all v_bitrate option values for WMV encodings from then until you restart AutoMKV will be multiplied by an (incorrect) value of 1024.
Thanks!
glynor
13th February 2007, 21:25
If I encode to x264 with a MP4 container, and choose CE-QuickTime.xml as my profile (with no audio and basically everything else set to the default) the resulting file will not play in Apple's current version of Quicktime Player.
I found a few posts regarding the issue with MeGUI:
http://forum.doom9.org/showthread.php?t=108334
http://forum.doom9.org/showthread.php?t=107378
Looks like it's probably caused by converting videos with a 29.97 framerate (standard NTSC). Any guess on how to work around this issue with AutoMKV (without manually altering the script of course)?
dlflannery
14th February 2007, 02:59
Was converting a .avi (DIVX4 + mp3) to WMV for Zune. When it got to the WME script it just hung. No messages, no crash, just nothing happening. The video is only 1:45 min long so after waiting several minutes I shut down the WME command window. So I tried checking "Use Direct Show Source" and it encoded just fine (although due to the nature of the video there was no way to check for good audio sync).
In graphEdit or WMP11 it shows ffdshow mpeg4 video and mp3 audio decoders being used. It will also play in the DivX software player.
Does this just mean that an AVS script using AVISource() could not serve the video? Well.... No! I just tried it with a one line AVISource() script and it played fine in WMP. (???)
I'm just trying to learn so if anyone could explain what determines this behavior I would appreciate it.
EDIT: Additional info
The movie.avs file in the temp folder from the failed conversion plays fine in WMP and running movie_wmv.bat produced a successful encoding. Seems strange that the encoding failed while AutoMKV was in control.
buzzqw
14th February 2007, 08:54
@dlflannery
:thanks: ! i modded the zune profiles, modifing the <v_peakbitrate> to 736000 for wmv8 and wmv7 encoder.
also changed the <v_bitrate> to 512, not 512000. in this way i will correct multiply by 1024 without break compatibility
also added two new zune profiles, both using wmv9 and for these profiles <v_peakbitrate> is 1500000
EDIT: dflannery, since you had a very good knowledge of Zune and profiles... what about buid new profiles ?
The movie.avs file in the temp folder from the failed conversion plays fine in WMP and running movie_wmv.bat produced a successful encoding. Seems strange that the encoding failed while AutoMKV was in control.
:confused: , was the original movie "played" while encoding ?
@glynor
i prefer not to do hack... expecially due on quickcrapplayer bugs... , BUT go on advenced settings, click on last avs string and add: AssumeFPS(30000,1001) or AssumeFPS(24000,1001)
BHH
dlflannery
14th February 2007, 14:53
@dlflannery
:thanks: ! i modded the zune profiles, modifing the <v_peakbitrate> to 736000 for wmv8 and wmv7 encoder.
also changed the <v_bitrate> to 512, not 512000. in this way i will correct multiply by 1024 without break compatibility
also added two new zune profiles, both using wmv9 and for these profiles <v_peakbitrate> is 1500000
EDIT: dflannery, since you had a very good knowledge of Zune and profiles... what about buid new profiles ?
BHH
:confused: Did you understand the problem that no matter what rate you load in a profile, if you check the "Use This Profile" (perhaps you changed the v_keydist) the rate gets multiplied by 1024. If you don't check this, it does not get multiplied by 1024 ??
To see this, select WMV Zune_Quick_1_pass profile, go to the "Advanced Profile Editing" tab. Look at the v_bitrate value in the Command line. At first it may be 128000 or it may be 512000 (correct value). If you click Reload Profile it changes to 512000 (correct value). Then check "Use This Profile" and it jumps to 524288000. It seems that the updating of the command line value is not properly occuring.
You said you added new profiles. Are you inviting me to do that instead of you, or in addition, or what? :confused: (I would be happy to suggest profiles after I get un-confused!)
:confused: , was the original movie "played" while encoding ?
BHH
I never do anything else on the computer while it is encoding .... don't want to risk disturbing the encoding process ! Everything I did with movie.avs and movie_wmv.bat was AFTER the encoding stalled and I terminated the WME script command window. I was really just asking what factors determine that Direct Show must be used.
Sorry, I seem to be confused about everything you have said! :o
Chart
14th February 2007, 18:07
Looks promising, but I'm having a problem :(
When I try to encode big files, x264.exe just starts idling when about 10% is encoded. No errors or crashing, encoders cpu usage just goes from 100% -> 0% and stays there forever. Task manager says x264.exe is first using couple hundred MB:s of memory but when it starts idling it is taking 4 MB.
I first tried this program around the end of December, and since that I have tried at least 5 different versions of AutoMKV, and all have done the same. I have tried many source files and many versions of x264. I have tried with different audio codecs ja video containers, but always the same. x264 has been my codec of choice. Have also tried diffent profiles.
Strangely MKVmagic works live a charm, so I have been using it to backup many DVD:s. I have tried both programs with same versions of x264, and AutoMKV fails always. However I have used AutoMKV succesfully for small video files, lasting only few minutes. Somehow it doesn't like bigger files :eek:
No errors in log. Any ideas? :confused:
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.