View Full Version : AutoMKV 0.93a - (DVD/TS/AVI/AVS to X264/XviD/WVC1 into MKV/MP4/WMV) update 30/12/2007
Has anyone here any pointers on editing IFO files? I have a series I'm trying to encode and there are not individual IFO's for the individual episodes, so I would need to edit the single "play all" IFO to get single episodes, to add to the confusion the VOB's are mixed around. The first has Ep. 1 (both parts) and the show opening at the end, while another appears to begin with the second part of the third episode and another undoubtedly has the end credits on it somewhere.
Or is there a way I can choose by index & chapter from the DVD navigation to get what I want to encode in the right order?
Barleyman
6th April 2007, 16:50
could not be a FILM type ?
have you tryed all deint options with hq enabled ?
Possibly.
I do not know, I just tried "interlaced" and "TFF", which seems to be the right field order (no comb artifacts). I should DL latest SP episode from my PVR and experiment a bit with the alternative ops.
On Auto I get 66% TFF, 33% BFF and HQ deint, nice flickery artifacts and sloooooooow encoding. On deint and TFF I still get artifacts but 2x faster encodes.
..
By the way.. about matrixes..
What's the deal with sharktooth's matrixes?
I LR means "low rate" and HR means "high rate", but how high is "high" and how low is "low"? Bitrate/quantizer-wise?
What about ULR and UHR? What about v1 and v2?
buzzqw
6th April 2007, 17:05
@nx6
may i suggest the process this pgc ?
(yes, will be probably not fuction and format your pc... but give it a try!)
@Barleyman
On Auto I get 66% TFF, 33% BFF
i am not a avisynth guru... ask help on avisynth usage... :(
I LR means "low rate" and HR means "high rate", but how high is "high" and how low is "low"? Bitrate/quantizer-wise?
LR is mean for low bitrate (less the 700), ULR for less then 400 AND even using 10000 bitrate it will produce high quantization
UHR is mean for very low quantization when even the infime last b frames need a quant of 1 or 2... (used mainly for HD encoding... with bitrate over 8000)
BHH
P.S. added check box for greyscale and cartoon type...
Barleyman
6th April 2007, 17:18
LR is mean for low bitrate (less the 700), ULR for less then 400 AND even using 10000 bitrate it will produce high quantization
UHR is mean for very low quantization when even the infime last b frames need a quant of 1 or 2... (used mainly for HD encoding... with bitrate over 8000)
That still leaves HR and the v1 and v2 matrixes?
What to do with the run-of-the-mill anamorphic 576i ~2200kbps encode?
buzzqw
6th April 2007, 17:31
That still leaves HR and the v1 and v2 matrixes?
the best answer is TEST yourself...
but... since i have the flu and i am at home.... the difference betweeen v1 and v2 is unknow to me... i suppose is just an upgrade
What to do with the run-of-the-mill anamorphic 576i ~2200kbps encode?
Didee 6of9 could be a good matrix, but test it
BHH
@nx6
may i suggest the process this pgc ?
(yes, will be probably not fuction and format your pc... but give it a try!)
How do I use that feature? I tried to follow along with your mention of it here (http://forum.doom9.org/showthread.php?p=976867#post976867), but I still wasn't clear how I select individual episodes, or does it separate them out after the encoding?
P.S. added check box for greyscale and cartoon type...:thanks:
Barleyman
6th April 2007, 17:36
the best answer is TEST yourself...
but... since i have the flu and i am at home.... the difference betweeen v1 and v2 is unknow to me... i suppose is just an upgrade
Ha. I'm just curious. I'd be happy to leave it at "auto", but I'm fishing for something to put to the wiki so I can look smart!
glynor
6th April 2007, 17:41
the best answer is TEST yourself...
but... since i have the flu and i am at home....
Sorry about the flu. That stinks! :mad:
buzzqw
6th April 2007, 17:56
How do I use that feature? I tried to follow along with your mention of it here, but I still wasn't clear how I select individual episodes, or does it separate them out after the encoding?
how many ifo you have ? 1 i suppose (and hope)
start automkv
check process this ifo
check process this pgc
as input dile select the main ifo
on pgc selection you (must) see the episodes (pgc)
select one
tune the encoding (audio/video)
click start
BHH
zambelli
6th April 2007, 18:11
the same script processed with bepipe (feeding nero aac or oggenc2.exe....) or soundout is perfectly audible.
substituting the normalize() with amplifydb(15) will solve the problem BUT can introduce clipping in audio track
Zambelli i don't want to bother you, seriusly, i will only ask if will be a better solution. And pre-encode ac3 to wav to wmv isn't my clear idea of good workflow...
Do you get the same problem when you encode the .avs with WME9 GUI? If you do, then there's not much I can do to fix it. Unfortunately, I only have control over the encoder script - but no control over the WME9 SDK.
Personally, I think decoding to WAV - particularly when dealing with just stereo AC3 - is far more reliable then decoding AC3 in realtime. I've never had any A/V sync issues when using the decode to WAV method, and in an automated environment it's very easy to clean up any temp WAV files after the encode.
glynor
6th April 2007, 19:14
how many ifo you have ? 1 i suppose (and hope)
start automkv
check process this ifo
check process this pgc
as input dile select the main ifo
One little "niggle"...
Until you choose an Input file on the main tab, the Process this IFO/PGC checkboxes are greyed out. This actually irritates me somewhat regularly...
buzzqw
6th April 2007, 19:28
while the avs script will correct generate a MUTE wmv (with wmcms.vbs), the same script on wme 9sdk give a generic "interface not supported"...
btw i launched today my WMESE (from Windows Media Encoder Studio Edition beta program) and the program prompt that "This copy of Windows Media Encoder Studio Edition has expired. Please install a new version..."
but on Microsoft site i can't found a single link to download the "stable" wmese...
on download page http://www.microsoft.com/windows/windowsmedia/forpros/encoder/utilities.aspx what is the update to wmese ?
if i will not found i solution i will take the longer path... ac3->wav->wmv
thanks
BHH
EDIT
@glynor
ops... fixed in next update...
delacroixp
6th April 2007, 20:07
if i will not found i solution i will take the longer path... ac3->wav->wmv
All considered... that is probably the best path anyway...
BeSweet uses the AC3 + (audio boost) => WAV => MP4 transcode route for best results...
:):D:eek:
Pascal
delacroixp
6th April 2007, 20:21
After seeing the colour-changing avatar of (the great) zambelli it struck me that we really needed a spruced-up logo for AutoMKV...
Preferably, it should have something to do with 'automation, automatic, simplicity' and MKV...
Any suggestions... contact nx6
:):D:eek:
Pascal
on pgc selection you (must) see the episodes (pgc)
select one
tune the encoding (audio/video)
BHH
This is where I was getting stuck. Is this "Select PGC" under the "Check DVD Drive" button on the main front settings? Or is it on Advanced settings somewhere. I'm at work right now so I'll have to try it again when I get home, but when I had "process this PGC", and "process this IFO" selected, I didn't see any change in the selections on that menu. I had two choices: one of an hour and a half or so, and one that was 30 seconds.
One little "niggle"...
Until you choose an Input file on the main tab, the Process this IFO/PGC checkboxes are greyed out. This actually irritates me somewhat regularly...
Yeah, I noticed that, too. So do I have to select the IFO twice? Once to enable the check boxes and again to have it processed so I can select individual PGCs?
zambelli
6th April 2007, 23:58
while the avs script will correct generate a MUTE wmv (with wmcms.vbs), the same script on wme 9sdk give a generic "interface not supported"...
I don't think Normalize() is just going to work with wmcmd.vbs. Sorry.
btw i launched today my WMESE (from Windows Media Encoder Studio Edition beta program) and the program prompt that "This copy of Windows Media Encoder Studio Edition has expired. Please install a new version..."
but on Microsoft site i can't found a single link to download the "stable" wmese...
The WMESE project has been canceled. There will not be a final release of the product, unfortunately.
buzzqw
7th April 2007, 07:16
eah, I noticed that, too. So do I have to select the IFO twice?
till fixed in next release... yes, for specific ifo selection you must select 2 time the specific ifo
I had two choices: one of an hour and a half or so, and one that was 30 seconds
... so the 1h 30minnutes is the sum of all episodes ?... well , sorry, nothing to do with automkv
i can suggest to use the trim fuction of dgindex and create several projects (d2v) , one for episodes, the process these d2v
@zambelli
Thanks, anyway.
What about a wma+wmv(video only)=wmv(audio+video) command line muxer ???
BHH
delacroixp
7th April 2007, 10:00
Yeah, I noticed that, too. So do I have to select the IFO twice? Once to enable the check boxes and again to have it processed so I can select individual PGCs?
You may consider using DVD Decrypter (http://souls-online.net/delacroixp/AutoMKV/DVD_Decrypter.jpg) to rip your episodes from DVD or Image.
You can also enable Stream Processing (http://souls-online.net/delacroixp/AutoMKV/DVD_Decrypter_2.jpg) to include/exclude audio and subtitle tracks... pertinent information will be displayed and 'Direct Stream Copy' of audio tracks for further enhancement with BeSweet/BeLight is not out of the question. Of course, you'll also need MkvMerge (which you have) to manually mux everything when you're done.
If you Download (http://souls-online.net/delacroixp/AutoMKV/DVDDecrypter_3.5.4.0.exe) DVD Decrypter, don't forget to set... goto => Tools => Settings => IFO Mode => File Splitting => None
This will ensure that each PGC or even each chapter... is ripped into a 'single' VOB file and IFO file... you can rename them accordingly...
It's easier to work with one file than many bits and pieces... it'll create 1 file even if your chapter is 20 GB...
Good Luck and may The Force be with you.
:):D:eek:
Pascal
You may consider using DVD Decrypter (http://souls-online.net/delacroixp/AutoMKV/DVD_Decrypter.jpg) to rip your episodes from DVD or Image.
Ironically I had DVDDecrypter and uninstalled it a couple weeks ago when I realized that there was little reason to keep it around as AutoMKV used DVDFabDecrypter and MKVMagic never really worked for me.
You can also enable Stream Processing (http://souls-online.net/delacroixp/AutoMKV/DVD_Decrypter_2.jpg) to include/exclude audio and subtitle tracks... pertinent information will be displayed and 'Direct Stream Copy' of audio tracks for further enhancement with BeSweet/BeLight is not out of the question. Of course, you'll also need MkvMerge (which you have) to manually mux everything when you're done.
Thanks but I think you are suggesting a solution that is more complicated than it needs to be. I'm going to start reading through the manual for DGIndex now that I've finished watching Ran (Great film by the way. Long - but I highly recommend it). It's funny all the useful software you get as part of AutoMKV that I haven't really investigated. I think buzzqw's idea of editing down d2v files with DGIndex or editing IFO's would be an easier solution.
TheRyuu
7th April 2007, 17:37
Why does it keep putting this at the end of my movie.avs file. I really don't want it there:
ColorMatrix("Rec.709->Rec.601",hints=false,threads=3)
In my avisynth code box I have this:
ColorMatrix(Mode="Rec.601->Rec.709",scaling=2,threads=2)
Isn't the color matrix script it keeps putting at the end (top one) kind of taking away the point of using my own color matrix script (bottom one)??
gonwk
7th April 2007, 19:21
Hi folks,
I am using a Test clip in DVD format (you know VIDEO_TS) ... I have made it short so I can see my results fast.
This test clip has "Soft" subtitles ... I used AutoMKV 0.80a and when I choose subtitle one from drop-down menu ... and say encode it gives me error! I would have posted my .JPEG ... but I don't knwo how to do it with "URL" feature!!!
Q1: Has anyone been able to back up such a clip or dvd? And How to keep subtitles?
I use AVI option with XviD ... simply because my DVD player is only Xvid/DivX AVI capable. My Philips will not play x264 encoded AVI's.
Q2: Can my player play an .MKV file?
Thanks,
G!:)
Q2: Can my player play an .MKV file?
Probably not. Maybe MP4 container, though.
@buzzqw:
I tried a test using an edited d2v file last night, almost perfect.:) I got an error about parsing the d2v file when AutoMKV started the job, and I had to tell it where the audio tracks were (which I wasn't expecting), but the job did finish, only problem is I didn't get the subtitles. I guess I'll need to rip these manually first and then add them as a separate file for the AutoMKV job, right?
gonwk
7th April 2007, 21:50
Hi nx6,
Thanks for your answer!
G!:)
FrieWiled
8th April 2007, 01:14
@buzzqw
Thanks for the great program, tried out other day and it worked perfectly!
The previous version had problems with the audio conversion, but the new one works fine.
Even though the encoding takes awhile for high quality it's worth it.
I wanted to try it on my spare machine in vista, but had trouble getting AVI Mux GUI to start properly, do you know if anyone else had this prob?
Thanks,
Frie
I managed to manually rip the subs with VSRip (taking only the cells for the specific episode I was encoding), but I'm not sure if AutoMKV is accepting them.
The .idx and .sub files are in the same folder as the other files being used for the job, but the subtitle menu doesn't change after I have input the idx file on AutoMKV. I tried the RIP ALL SUBS option, but that didn't work. This encode actually didn't finish at all, and I still got the error at the start of the job. Besides trying to attach separate subs the only change I made from last time (where the encode completed in all aspects except subs is I used the default X264 profile, instaed of changing the quality quotient to 20 from 18. I was so happy with the small file size of the first test I decided I would bring up the video quality setting.
I'm going to try rerunning this and see what happens this time. One thing I changed this time is the .idx has the same name as the .sub file, which wasn't the case last time.
I got the error at the beginning (which says "Bad Perimeter Error" this time) already...
buzzqw
8th April 2007, 09:31
@wizboy11
there isn't option to not insert colormatrix... but i can work on it...
in next update if you have a file nocolormatrix (without extension) in automkv folder, then the colormatrix will be not applyed
@nx6
I got an error about parsing the d2v file when AutoMKV started the job, and I had to tell it where the audio tracks were (which I wasn't expecting),
queue ?
only problem is I didn't get the subtitles
use the external loader !!! (...) near subtitle selection
@FrieWiled
I wanted to try it on my spare machine in vista, but had trouble getting AVI Mux GUI to start properly, do you know if anyone else had this prob?
since i have now ffmpeg... i can mux with it... or least a can try!
stay tuned for next update!
BHH
queue ?
No, I'm not using Queue mode.
use the external loader !!! (...) near subtitle selection
I did try that (see my last post, we were writing at the same time).
Here's the log from that try:
00:26:51 0.80b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
00:26:51 Selected Input file: S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\Ep01.d2v
00:26:51 Selected Output dir: S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\
00:26:51 Selected Final Name: Episode 001
00:26:51 Selected Container type: MKV
00:26:51 Selected Encoder: X264
00:26:51 Selected Size: 1 CD
00:26:51 Selected Slice: 1
00:26:51 Selected Profile: ConstantQuality-CRF.xml
00:26:51 Selected Width: Original
00:26:51 Selected Resizer: NONE
00:26:51 Selected Filters: NONE
00:26:51 Selected Deinterlacer: AUTO
00:26:51 Selected Field Order: AUTO
00:26:51 Enabled CRF/CQ AutoRes at 18 value
00:26:51 Track Language 1: S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\Ep01 T01 2_0ch 224Kbps DELAY 0ms.ac3
00:26:51 Audio Codec 1: Nero AAC
00:26:51 Audio Quality 1: 0.25
00:26:51 Audio Channel 1: Stereo
00:26:51 Track Language 2: S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\Ep01 T02 2_0ch 224Kbps DELAY 0ms.ac3
00:26:51 Audio Codec 2: Nero AAC
00:26:51 Audio Quality 2: 0.25
00:26:51 Audio Chennel 2: Stereo
00:26:51 Load external subtitle file: S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\Ep01subs.idx
00:26:51 Advanced Audio Settings DUMP Track 1
00:26:51 Movie title Name: Bleach 001: The Day I Became a Shinigami
00:26:51 Audio Track Language: eng
00:26:51 Audio Track Name: English
00:26:51 Nero Option Profiles: AUTO --- Encoding Mode: Quality
00:26:51 CCT Option Profiles: AUTO --- Channel Options: AUTO
00:26:51 Lame Settings: ABR
00:26:51 Audio Normalization: 1
00:26:51 Frequency: AUTO --- Tempo : NONE
00:26:51 Pitch: NONE --- Other Add :
00:26:51 Advanced Audio Settings DUMP Track 2
00:26:51 Audio Track Language: jpn
00:26:51 Audio Track Name: Japanese
00:26:51 Nero Option Profiles: AUTO --- Encoding Mode: Quality
00:26:51 CCT Option Profiles: AUTO --- Channel Options: AUTO
00:26:51 Lame Settings: ABR
00:26:51 Audio Normalization: 1
00:26:51 Frequency: AUTO --- Tempo : NONE
00:26:51 Pitch: NONE --- Other Add :
00:26:51 Selected 1' Sub tracks: RIP ALL SUBS
00:26:51 Selected Unlimited media size
00:26:51 Starting SubRipping
00:26:53 Subtitle Size: -1 bytes
00:26:53 Finished SubRipping
00:26:54 DelayCut CMD: S:\AutoMKV080b\exe\dgindex\Delaycut.exe -auto -out "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\fixed1.ac3" "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\Ep01 T01 2_0ch 224Kbps DELAY 0ms.ac3"
00:27:33 DelayCut CMD: S:\AutoMKV080b\exe\dgindex\Delaycut.exe -auto -out "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\fixed2.ac3" "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\Ep01 T02 2_0ch 224Kbps DELAY 0ms.ac3"
00:28:14 Encoding S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\fixed1.ac3 to NeroAAC with 0.25 quality
00:31:18 Encoded 1' Audio Track: 9302842 bytes
00:31:18 Encoding S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\fixed2.ac3 to NeroAAC with 0.25 quality
00:34:43 Encoded 2' Audio Track: 9478314 bytes
00:35:00 Number of Frames: 41339
00:35:00 Framerate: 29.970030
00:35:00 Movie length in Seconds: 1380
00:35:00 Movie Width/Height: 720/480
00:35:00 DgIndex AR: 4:3
00:39:34 Processing completed. Type is determined to be film.
00:39:34 BFF: 43
00:39:34 TFF: 147
00:39:34 Order: var
00:39:35 Starting X264
00:39:35 CRF encoding X264: S:\AutoMKV080b\exe\encoder\x264.exe --pass 1 --crf 18 --stats "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --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 "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\movie.mp4" "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\movie.avs"
02:35:00 Accepted values are between 697303040 and 741343232 bytes (movie+audio)
02:35:00 Got a file of size: 199820871 bytes + audio size 18781158 bytes (218602032)
02:35:00 Only Movie Size: 199820871 bytes
02:35:00 "S:\AutoMKV080b\exe\matroska\mkvmerge.exe" -o "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\Episode 001.mkv" --track-name -1:"Episode 001" --aspect-ratio 1:1.333333 "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\movie.mp4" --track-name -1:"English" --language -1:eng "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\audio.mp4" --track-name -1:"Japanese" --language -1:jpn "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\audio2.mp4" "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\Ep01subs.idx" --title "Bleach 001: The Day I Became a Shinigami"
02:35:08 Final Muxed size: -1 bytes
02:35:08 Encoding finished: 02:08:17 elapsed time
02:35:08 -----------------------------------------------------------------------
02:35:08 Script AutoCrop.log
02:35:08
02:35:08 Crop(4,0,712,480)
02:35:08 -----------------------------------------------------------------------
02:35:08 Script Resmovie.avs
02:35:08 -----------------------------------------------------------------------
02:35:08 Script movie.avs
02:35:08
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\autocrop.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\BicublinResize.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\blockbuster.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\cnr2.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\ColorMatrix.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\Convolution3D.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\corrector.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\DctFilter.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\Decomb.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\Deen.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\degrainmedian.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\DGDecode.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\EEDI2.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\fft3dfilter.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\FluxSmooth.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\frfun7.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\hqdn3d.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\LeakKernelDeint.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\MaskTools.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\medianblur.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\MipSmooth.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\mt_masktools.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\mvtools.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\NicAudio.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\RemoveGrainSSE2.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\RepairSSE2.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\SangNom.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\SimpleResize.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\SoundOut.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\TBilateral.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\TDeint.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\TIVTC.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\TomsMoComp.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\TTempSmooth.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\UnDot.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\UnFilter.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\VSFilter.dll")
02:35:08 #loadpluginstart
02:35:08
02:35:08 #test1
02:35:08
02:35:08 Import("S:\AutoMKV080b\exe\filter\MCBob_v03c.avsi")
02:35:08 Import("S:\AutoMKV080b\exe\filter\mvbob.avsi")
02:35:08 Import("S:\AutoMKV080b\exe\filter\seesaw.avsi")
02:35:08 Import("S:\AutoMKV080b\exe\filter\spresso.avsi")
02:35:08 #importstart
02:35:08
02:35:08 #test2
02:35:08
02:35:08 movie = mpeg2source("S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\Ep01.d2v")
02:35:08 function getOrder(clip c) {
02:35:08 order = GetParity(c) ? 1 : 0
02:35:08 Return order }
02:35:08 #filter1start
02:35:08
02:35:08 #test3
02:35:08
02:35:08 #cropstart
02:35:08
02:35:08 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
02:35:08 fixed_aspect = 0.888889
02:35:08 c_width = width(cropclip)
02:35:08 c_height = Round(height(cropclip) / fixed_aspect)
02:35:08 input_par = float(float(c_width)/float(c_height))
02:35:08 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
02:35:08 out_width = 720
02:35:08 out_height = Round(float(out_width) / input_par)
02:35:08 hmod = out_height - (floor(out_height / 16 ) * 16)
02:35:08 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
02:35:08 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
02:35:08 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
02:35:08
02:35:08 last = movie
02:35:08 tfm(d2v="S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\Ep01.d2v").tdecimate()
02:35:08 #resizestart
02:35:08
02:35:08 #test4
02:35:08
02:35:08 #filter2start
02:35:08
02:35:08 #test5
02:35:08
02:35:08 -----------------------------------------------------------------------
02:35:08 Script mkvmaudio.avs
02:35:08
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\NicAudio.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\SoundOut.dll")
02:35:08 NicAC3Source("S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\fixed1.ac3")
02:35:08 #Applying STEREO downmixing routines
02:35:08 function stereo(clip a)
02:35:08 {
02:35:08 flr = GetChannel(a, 1, 2)
02:35:08 fcc = GetChannel(a, 3)
02:35:08 lfe = GetChannel(a, 4)
02:35:08 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
02:35:08 mix = MergeChannels(lfc, lfc)
02:35:08 lrc = MixAudio(flr, mix, 0.2929, 1.0)
02:35:08 blr = GetChannel(a, 5, 6)
02:35:08 Return MixAudio(lrc, blr, 1.0, 0.2929)
02:35:08 }
02:35:08 #
02:35:08 6==Audiochannels() ? stereo() : last
02:35:08 Normalize()
02:35:08 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="S:\AutoMKV080b\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.25 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
02:35:08 -----------------------------------------------------------------------
02:35:08 Script mkvmaudio.bat
02:35:08
02:35:08 "S:\AutoMKV080b\exe\BeSweet\vdub.exe" /x "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\mkvmaudio.avs"
02:35:08 -----------------------------------------------------------------------
02:35:08 Script mkvmaudio2.avs
02:35:08
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\NicAudio.dll")
02:35:08 LoadPlugin("S:\AutoMKV080b\exe\filter\SoundOut.dll")
02:35:08 NicAC3Source("S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\fixed2.ac3")
02:35:08 #Applying STEREO downmixing routines
02:35:08 function stereo(clip a)
02:35:08 {
02:35:08 flr = GetChannel(a, 1, 2)
02:35:08 fcc = GetChannel(a, 3)
02:35:08 lfe = GetChannel(a, 4)
02:35:08 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
02:35:08 mix = MergeChannels(lfc, lfc)
02:35:08 lrc = MixAudio(flr, mix, 0.2929, 1.0)
02:35:08 blr = GetChannel(a, 5, 6)
02:35:08 Return MixAudio(lrc, blr, 1.0, 0.2929)
02:35:08 }
02:35:08 #
02:35:08 6==Audiochannels() ? stereo() : last
02:35:08 Normalize()
02:35:08 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="S:\AutoMKV080b\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.25 -if - -of audio2.mp4",postfilename="",nofilename=true,showoutput=false)
02:35:08 -----------------------------------------------------------------------
02:35:08 Script mkvmaudio2.bat
02:35:08
02:35:08 "S:\AutoMKV080b\exe\BeSweet\vdub.exe" /x "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\temp\mkvmaudio2.avs"
02:35:08
02:35:08 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
buzzqw
8th April 2007, 09:53
well... for d2v input it is normal that when loading as video input a d2v file, automkv will ask for till 2 audio tracks, click cancel for no audio tracks.
about muxing error...
go in dos box and launch muxing.bat, what is the error ?
thanks!
BHH
FrieWiled
8th April 2007, 12:56
@buzzqw:
since i have now ffmpeg... i can mux with it... or least a can try!
stay tuned for next update!
Thanks!
Legend!
fogbav
8th April 2007, 13:53
Just wanted to post that if someone has a problem that automkv is crashing permanently when starting - deinstalling Net Framework 3.0 helps a lot ..8)
Jumped back to 2.0 ... everything works fine again ...
Happy Easter Eggs ...
FoGBaV
TheRyuu
8th April 2007, 14:11
@wizboy11
there isn't option to not insert colormatrix... but i can work on it...
in next update if you have a file nocolormatrix (without extension) in automkv folder, then the colormatrix will be not applyed
BHH
I want colormatrix applied, just that I want MY colormatrix script applied. :)
buzzqw
8th April 2007, 15:00
@FrieWiled
in next update i added an option to mux (avi) with ffmpeg (will be visible, in advanced settings, only when selecting avi container)
@fogbav
are you sure ?
automkv doesn't have any dipendences with .net framework...
@wizboy11
since colormatrix is inserted per default, using the nocolormatrix file will not insert it and you can use last avs script to insert your colormatrix
BHH
about muxing error...
go in dos box and launch muxing.bat, what is the error ?
Actually, my third test (the one I was starting when I posted my last message last night) finished successfully. With all audio and subtitle tracks, so it looks like my error was having .idx and .sub filenames mismatched. :) This also means launching muxing.bat now just reproduced that same file, so I can't recreate the error, sorry. :(
What is causing vsrip to say "Error parsing perimeter file" when the job first starts? :confused:
delacroixp
8th April 2007, 20:01
What is causing vsrip to say "Error parsing perimeter file" when the job first starts? :confused:
I got a similar error while encoding 'The Aristocats'... the first time that I've tried subtitles... regular and 'hearing impaired'...
:):D:eek:
Pascal
@buzzqw
a-Ha a-Ha! It failed on muxxing again. And I can rerun from DOS prompt as you asked.
"S:\AutoMKV080b\exe\matroska\mkvmerge.exe" -o "S
:\temp\Bleach Ep 001.mkv" --track-name -1:"Bleach Ep 001" --aspect-ratio 1:1.333
333 "S:\temp\movie.mp4" --language -1:eng "S:\temp\audio.mp4" --language -1:jpn
"S:\temp\audio2.mp4" " "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\V
TS_01_0.idx" " --title "Bleach 001: The Day I Became a Shinigami."
mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 2007 23:40:43
Error: The source file ' S:\AutoMKV080b\temp\FullDisc\Bleach' could not be opene
d successfully, or retrieving its size by seeking to the end did not work.
The only changes between this and the last time was a filter set were used and a title was added. However, the first run I tried (where everything worked fine but I had no subtitles because I hadn't tried adding them manually) used removegrain and had a title added. But both tries where muxxing has failed - the title had a colon in it!
buzzqw
8th April 2007, 21:40
the title had a colon in it!
exaclty ! :helpful:
for dos colon has special proprierties and cannot be used in batch
BHH
exaclty!
for dos colon has special proprierties and cannot be used in batch
BHH
Aw, man! So I can't use a colon in my movie titles? I figured DOS had been told to ignore special characters in the title field since they are part of a text string.
Now I can't do "[series] [ep#]: [ep title]" for my movie titles. I guess I coud just substitute a hyphen in instead. I can't use pipe characters or slashes either then can I?
Isn't this rather unsafe? What if I title a movie "C:\ del *.*" or something, would I erase my hard drive?
Edit: Is the title embedded somewhere other than that batch file? I edited the batch file in notepad and changed the colon to a hyphen so I wouldn't have to wait for it to reencode everything to fix this, and the batch still wont run.
Tobytl
8th April 2007, 22:06
@buzzqw
a-Ha a-Ha! It failed on muxxing again. And I can rerun from DOS prompt as you asked.
"S:\AutoMKV080b\exe\matroska\mkvmerge.exe" -o "S
:\temp\Bleach Ep 001.mkv" --track-name -1:"Bleach Ep 001" --aspect-ratio 1:1.333
333 "S:\temp\movie.mp4" --language -1:eng "S:\temp\audio.mp4" --language -1:jpn
"S:\temp\audio2.mp4" " "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\V
TS_01_0.idx" " --title "Bleach 001: The Day I Became a Shinigami."
mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 2007 23:40:43
Error: The source file ' S:\AutoMKV080b\temp\FullDisc\Bleach' could not be opene
d successfully, or retrieving its size by seeking to the end did not work.
The only changes between this and the last time was a filter set were used and a title was added. However, the first run I tried (where everything worked fine but I had no subtitles because I hadn't tried adding them manually) used removegrain and had a title added. But both tries where muxxing has failed - the title had a colon in it!
It also doesn't help that your double quoting the file name.
" "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\VTS_01_0.idx" "
the path has a space in it, thus needs to be quoted so dos doesn't auto parse it as separate parameters. But there are two quotes before and after the filepath, negating the effect. It's kind of like a double negative.
The error that mkvmerge throws also bears this out. It tries to load ' S:\AutoMKV080b\temp\FullDisc\Bleach' and can't, notice that it's cut off at the first space.
As far as the colon goes, in this instance it shouldn't matter. Dos doesn't really see it, it's quoted. All dos sees is a block of text to send to the executable as a single parameter, not caring about whats in it. File names cannot contain a colon, but the title is just a piece of metadata in the file.
It also doesn't help that your double quoting the file name.
I actually didn't write any of the batch file, AutoMKV builds it.
" "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\VTS_01_0.idx" "
the path has a space in it, thus needs to be quoted so dos doesn't auto parse it as separate parameters. But there are two quotes before and after the filepath, negating the effect. It's kind of like a double negative.
Thanks, that would explain why getting rid of the colon didn't fix this.
The error that mkvmerge throws also bears this out. It tries to load ' S:\AutoMKV080b\temp\FullDisc\Bleach' and can't, notice that it's cut off at the first space.
I actually noticed that, but I didn't have a muxxing error on the tries where I didn't have the colon in the moviename, but the path still had a space in it then. Too bad I don't still have a muxxing.bat file from one of the attempts that completed successfully without any editing. Then we could see if AutoMKV wrote the path differently those times.
I fixed the path and put back the colon in the title and the file muxxed. :)
Tobytl
9th April 2007, 00:04
@nx6
I'm sorry, I didn't mean to imply you specifically, I meant the general form of 'you' meaning the batch file/program. It wasn't a criticism, just me trying to point out where the error really was. I was in work mode there for a second, sorry again.
@buzzqw
I really think you should consider deinterlacing before cropping. After I last brought it up, I ran about 60 movies through to back up to my htpc. And the problem that we both thought was an isolated fluke, doesn't appear to be so isolated or flukish. A little over a third of them have the color bleeding problem from being improperly cropped before deinterlacing. It's harder to spot on live action titles than it is on anime/cartoons but once you see it, it's all you can see. It's not just my setup either, I pointed it out on a friends encodes that he thought were fine and now it's driving him nuts too. It'll look like the luma, or the 'structure' of the image changes, but the chroma (color) will appear to be from the frame before or after. It's especially noticeable on a scene change or camera switch. Film material won't do it every frame, but more like 1-2 frames every 3 or 4 will. If your AutoCrop.log file has a top of anything non divisible by 4 and your source is truly interlaced or telecined material, take a look at your movie.avs in virtualdub real close. ex: Crop(0,58,720,360).
YV12(mpeg4/mpeg2/dvd) interlaced should be cropped on mod4 offsets, autocrop was written to be used on material thats already progressive so doesn't enforce those offsets. If you crop YV12 interlaced on non mod4 offsets (vertically) then you split the UV chroma block and essentially swap the chroma information between the two fields of that image when they are split apart during the deinterlacing/IVTC process.
Since AutoMKV was still open, and I was mowing the lawn and doing some other things, in the interest of bug fixing I ran the complete job again from AutoMKV, this time taking the colon out of the movie name was the only change. The idea was to reproduce the earlier job where the encode completed successfully with subtitles without editing the batch, but it failed muxxing again. Here is the batch file when run from DOS:
"S:\AutoMKV080b\exe\matroska\mkvmerge.exe" -o "S
:\temp\Bleach Ep 001.mkv" --track-name -1:"Bleach Ep 001" --aspect-ratio 1:1.333
333 "S:\temp\movie.mp4" --language -1:eng "S:\temp\audio.mp4" --language -1:jpn
"S:\temp\audio2.mp4" " " "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS
\VTS_01_0.idx" " " --title "Bleach 001 test 5"
mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 2007 23:40:43
Error: The source file ' S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\V
TS_01_0.idx' could not be opened successfully, or retrieving its size by seeking
to the end did not work.
Notice that there are now three sets of quotes on the subtitle file's path.
Closed AutoMKV, reopened and set up job again. This is the 6th test. File had a colon in it's movie name and audio/subs came out fine. Muxxing completed.
Here's the batch file:
"S:\AutoMKV080b\exe\matroska\mkvmerge.exe" -o "S:\temp\EP01_Test_6.mkv" --track-name -1:"EP01_Test_6" --aspect-ratio 1:1.333333 "S:\temp\movie.mp4" --language -1:eng "S:\temp\audio.mp4" --language -1:jpn "S:\temp\audio2.mp4" "S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\VTS_01_0.idx" --title "Bleach Ep01: Test 6."
There's only one set of quotes this time.
It seems each successive run of the job adds an additional set of quotes to the subtitle file path. The reason I had jobs completing before is they were the first time running the job after launching AutoMKV. I was doing a "test" run to check final muxxed size, video quality, filter effect, etc, and for these tests I wasn't doing the little things like writing the complete movie title (I would just put "test #") or labeling the audio tracks with their language designations.
But after one of these jobs completed and I had decided on any final settings/profile tweaking, I would run the "final job" which in this case meant changing the title to the final title I wanted (which had a colon in it), that is where I was getting confused as to the cause of the muxxing failure. It was just a coincidence it was happening on those jobs, the real reason is that I hadn't relaunched AutoMKV, so it was adding the extra sets of quotes to my subsequent jobs and causing the failure. Between the second and third test runs I had closed AutoMKV. That's why:
The third test completed.
But the fourth test failed.
Then I manually edited the batch to remove double quotes and manually launched muxxing again from DOS, which allowed it to complete.
After that I deleted the temp folder for bug testing, but left AutoMKV open while I was doing this.
Then I ran the fifth test which failed, with three sets of quotes on newly created batch file.
What a very interesting bug, I wonder what causes it to remember how many times it had been run.
I suppose the workaround is to remove all spaces from the subtitle path so the extra quotes does not effect the path being read correctly.
buzzqw
9th April 2007, 09:34
@nx6
that's error was very subtle...
it was only triggered by quequing / starting the same subtitles more then 1 times
every time the job starts quotes was added to subititle...
now is fixed! thanks nx6!!!
@Tobytl
please try downloading this build
http://www.64k.it/andres/data/a/AutoMKV0.80c-Tobytl.exe
and report back :)
(i have fixed other bugs but since it is a special build i will not public changelog)
BHH
@nx6
that's error was very subtle...
it was only triggered by quequing / starting the same subtitles more then 1 times
every time the job starts quotes was added to subititle...
now is fixed! thanks nx6!!!
Cool.:cool:
What about the "Error parsing perimeter file" that I get at the beginning and delacroixp has seen before? If I was running in queue mode would I get this on every job and hold up the queue from processing?
Question about separate subtitles...
Does the external subtitle file have to match just the content of the d2v file I'm using? Like if I ran three d2v files (one for each episode) would I need three separate sets of idx/sub files (one with each episode's isolated subs), or could I have one subtitle file that contained the subs of all three episodes and each d2v would use only the subs appropriate for its episode?
I'm also interested to know if you will implement deinterlacing before cropping as Tobytl suggested.
delacroixp
9th April 2007, 10:47
Cool.:cool:
What about the "Error parsing perimeter file" that I get at the beginning and delacroixp has seen before? If I was running in queue mode would I get this on every job and hold up the queue from processing?
Well, to be quite honest... I've only seen that error ("Error parsing parameter file") once... and that was yesterday while encoding "The Aristocats"... with subtitles (normal + hearing impaired)... which also gave me the opportunity to test the Anime (Convolution3D-HQ) Filter... since The Aristocats is a very 'old style' animation... unlike todays 3D and Computer Animated movies which are superRealistic and don't have, cartoon-like, pencil drawing lines...
As to the 'error'... isn't that the one you just discovered and sorted... I got the error but the encode happily carried on... allbeit without subtitles...
I'm giving Tobytl's AutoMKV 0.80c a go to redo the the subtitles... which hopefully... the Gods being pleasantly disposed... I can mux separately with MkvMerge.
cya...
:):D:eek:
Pascal
*** EDIT ***
5 mins later...
My apologies @nx6...
the error message from VSRip is still there...
delacroixp
9th April 2007, 11:36
I tried 0.80c and then 0.80b for the first time... the DOS box was different but working fine...
http://souls-online.net/delacroixp/AutoMKV/TheAristocats.jpg
:):D:eek:
Pascal
buzzqw
9th April 2007, 14:47
What about the "Error parsing perimeter file"
this message is from vsrip, most probably is trying to rip a subtitle that not exist in this pgc... please post the param.lst
usually when this error happen is better or to Rip all sub or rip single sub
EDIToes the external subtitle file have to match just the content of the d2v file I'm using? Like if I ran three d2v files (one for each episode) would I need three separate sets of idx/sub files (one with each episode's isolated subs), or could I have one subtitle file that contained the subs of all three episodes and each d2v would use only the subs appropriate for its episode?
you need 3 subtitles. how the d2v could contain info about correct subtitles timing ?
I'm also interested to know if you will implement deinterlacing before cropping as Tobytl suggested.
what do you thing about "special" build targeted to Tobytl? :rolleyes:
@delacroixp
as usually i don't understan your message... please try giving more information... (a little bit more is needed... remember ???)
try opening movie.avs in virtualdub and write down the error, then post the log
BHH
delacroixp
9th April 2007, 15:38
@delacroixp
as usually i don't understan your message... please try giving more information... (a little bit more is needed... remember ???)
try opening movie.avs in virtualdub and write down the error, then post the log
As usual... there is no real message... I merely mentioned @nx6 that I also got the VSRip "Error parsing parameter file"... and when I tried Tobytl's 0.80c and even back to 0.80b I got a wierd DOS box while encoding... funny enough it was actually encoding since movie.mp4 was steadily increasing in size... I killed the encode since there was no problem with the original encode (other than it left out the subtitles)... but nx6 seams to be onto that anyway... so I'll leave well alone... and try again later... np.
:):D:eek:
Pascal
delacroixp
9th April 2007, 15:45
Sorry... I forgot to mention about 'The Deer Hunter' encode...
As usual... you're always right... there was nothing wrong with my L=10 and R=8 crop except that 702x??? is unacceptable since 702 is NOT Mod 4... so Left crop became 8... width became 704 and all went amazingly well for a change...
Thanks much
:):D:eek:
Pascal
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.