PDA

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

nx6
6th April 2007, 17:38
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, 17: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, 18: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, 18: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, 18: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
6th April 2007, 18:31
@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, 18: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, 18: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, 18: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, 19: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, 20: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, 20: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, 21: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, 21: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

nx6
6th April 2007, 23:15
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.

nx6
6th April 2007, 23:20
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
7th April 2007, 00: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, 08: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, 11: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

nx6
7th April 2007, 11:13
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, 18: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, 20: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!:)

nx6
7th April 2007, 22:12
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, 22:50
Hi nx6,

Thanks for your answer!

G!:)

FrieWiled
8th April 2007, 02: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

nx6
8th April 2007, 10:27
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, 10: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

nx6
8th April 2007, 10:37
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, 10: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, 13: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, 14: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, 15: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, 16: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

nx6
8th April 2007, 19:47
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, 21: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

nx6
8th April 2007, 22:07
@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, 22:40
the title had a colon in it!

exaclty ! :helpful:

for dos colon has special proprierties and cannot be used in batch

BHH

nx6
8th April 2007, 22:46
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, 23: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.

nx6
8th April 2007, 23:12
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, 01: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.

nx6
9th April 2007, 03:36
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.

nx6
9th April 2007, 06:43
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, 10: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
9th April 2007, 11:00
@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, 11: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, 12: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, 15: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, 16: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, 16: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

buzzqw
9th April 2007, 17:03
702 is NOT Mod 4
... i will try to check these manual values...


BHH

delacroixp
9th April 2007, 17:19
Well, while we're about it...

Will MKV allow subtitles directly from VOB... I've ripped out each subtitle with it's own IFO (DVD Decrypter)...
Also the extras and their individual soundtracks (including Spanish, Greek and Hebrew)... which were then converted (with vol boost) to WAV and back to MP4... so the folder's looking seriously messy at this point in time... not to mention, complicated for even my prodigeous mental capabilities... Tickle (http://web.tickle.com/) put my IQ up there with Bill Gates at 2543... how bad is that ???

Please help.

:thanks:


:):D:eek:
Pascal

btw
I still feel that if AutoCrop-Only was working correctly... I wouldn't have had those problems with 'The Deer Hunter'...
I'm not really a hands-on kinda person as much as I've loved encoding over here with AutoMKV... personally I'ld rather drive a new car that works flawlessly... or better still, take a Taxi with someone else at the wheel...
***EDIT***
OK... well encoding with AutoMKV is like the first trip to Mars... how bad is that ???
And it's like wayyy better than MeGUI... or what ??
DOS was gr8, GUI is better ?

delacroixp
9th April 2007, 17:57
DVD Fab Decrypter (http://forum.doom9.org/showthread.php?t=124149) was updated...

blutach's avatar (see post) is to die for... I think we need something like that for AutoMKV... a little animation to highlight the power of film and motion...

What's it take to get an avatar like that... become a Doom9 Team Member ?


:):D:eek:
Pascal

buzzqw
9th April 2007, 18:22
delacroixp, isn't simple to accomodate all needs and like
sometimes i wish you take mkvmagic source and do the all the fabulous works is needed.

This is a free time, free willed, free money project... and your sarcasm isn't well accepted.

best regards

Andres

EDIT: latest dvdfabdecrypter isn't accepting command line (as already posted)

nx6
9th April 2007, 19:17
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...
Ah, I was trying that filter, too. It seems to have a very positive effect on my final movie size. But the error was showing up on earlier tries without the filter.

5 mins later...
the error message from VSRip is still there...
I don't mind so much if the error message appears, as long as I don't have to dismiss it for the rip to continue.

this message is from vsrip, most probably is trying to rip a subtitle that not exist in this pgc... please post the param.lst
The closest I have is para.lst. There's not much in it.

S:\temp\VTS
0
1
ALL
CLOSE


usually when this error happen is better or to Rip all sub or rip single sub
Rip all subs is the only option I can choose in these tests.

you need 3 subtitles. how the d2v could contain info about correct subtitles timing ?
I didn't know if the idx file still contained the VOB/cell timing info.

buzzqw
9th April 2007, 20:05
S:\temp\VTS
0
1
ALL
CLOSE
that's mean rip all sub from first chain
try manually launching vsrip and load the ifo, what is the first chain ? is possible to rip ?

Rip all subs is the only option I can choose in these tests
that's mean that NO SUBTITLE is avaiable (detected) in your source file.
If your input is vob/ts/d2v/avs..., you don't have any source of subtitles. Only with ifo files you have a source for subtitles
Is AutoMKV that insert Rip All Subs, per default, indipendently of source files
Even if your vob contain several subtitles it is impossible to extract it without having the ifo...
And so this error is not error of automkv.

I didn't know if the idx file still contained the VOB/cell timing info.

use dvddecrypter and rip by chapter, then process every chapter by vsrip to extract proper subtitles

BHH

nx6
9th April 2007, 20:31
If your input is vob/ts/d2v/avs..., you don't have any source of subtitles. Only with ifo files you have a source for subtitles
Is AutoMKV that insert Rip All Subs, per default, indipendently of source files
Even if your vob contain several subtitles it is impossible to extract it without having the ifo...
And so this error is not error of automkv.

So what you're saying is I only select the subtitles with the menu if I am using an IFO for input. If I'm using a d2v, then I just load the external file and leave the drop-down menu on "None". Thank you, it looks like this is "operator error". :)

use dvddecrypter and rip by chapter, then process every chapter by VSRip to extract proper subtitles
I was taking VSRip and just deselecting the cells I didn't want subtitles for, leaving the cells that make the episode I was working on. Seemed to work well for this first episode I've been playing with.

Looking into DVDFabDecrypter's settings, looks like I could have just done the same thing with it. If I had seen that I wouldn't have add to mess with making d2v files to start with. Something to remember with the next disc.

delacroixp
9th April 2007, 21:58
use dvddecrypter and rip by chapter, then process every chapter by vsrip to extract proper subtitles


I was taking VSRip and just deselecting the cells I didn't want subtitles for, leaving the cells that make the episode I was working on. Seemed to work well for this first episode I've been playing with.

Looking into DVDFabDecrypter's settings, looks like I could have just done the same thing with it. If I had seen that I wouldn't have add to mess with making d2v files to start with. Something to remember with the next disc.
Certainly a solution for my subtitles from 'The Aristocats'.

:thanks: & :thanks:


:):D:eek:
Pascal

Tobytl
9th April 2007, 23:04
0.80c-Tobytl does indeed fix the color bleeding issue! I thank you, and Futurama thanks you.

@delacroixp

I think you may be running into a completely different problem. As long as the image is progressive (already deinterlaced/IVTCed) you can crop on mod2 offsets without issue, so with 0.80c this is perfectly reasonable.

I believe you mentioned that you aren't resizing, which is admirable, no quality loss from the resize and all. But you will also run into some more problems that way. MPEG video, regardless of the version (mpeg1/2/4/asp/avc) requires mod16 height/width because the macroblocks that are the largest 'unit' in mpeg encoding are 16x16, 704 is mod16, 574 is not (576 is). Some encoders will continue on anyway, warning you about compression loss and/or incompatibility with some decoders (like in your funny dos window). When you do resize, the autocrop bit in the movie.avs takes care of this for you, making out_height mod16. If you don't resize though, and you still crop, the width/height should be mod16 for compatibility sake.

This can be done with autocrop by itself fairly easily. A conditional like
if(width==autocrop only && resizer==none){
autocrop(movie,mode=0,wmultof=16,hmultof=16,samples=40,aspect=0,threshold=34,samplestartframe=0)
}else{
normal autocropping
}

delacroixp
10th April 2007, 11:04
@delacroixp
This can be done with autocrop by itself fairly easily. A conditional like

if(width==autocrop only && resizer==none){
autocrop(movie,mode=0,wmultof=16,hmultof=16,samples=40,aspect=0,threshold=34,samplestartframe=0)
}else{
normal autocropping
}

Very neat... I've never done any Avisynth script editing/creating... but this may well be a good start.

:thanks:


:):D:eek:
Pascal

delacroixp
10th April 2007, 11:17
I've been converting RAW AVI into mp4-mkv @ 18-CQ-CRF as source material for future projects... the resultant file is about 25% of the original... and so freeing-up terabytes of hdd space...

I've run into 3 files that refuse to co-operate...
The sound encodes fine and the video encodes @ 75fps (normally 11 fps) and the 'small' files are totally green...

*** AutoMKV log File ***

10:47:29 0.80b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
10:47:29 Selected Input file: H:\Incomming\mok.avi
10:47:29 Selected Output dir: H:\Encodong\temp\
10:47:29 Selected Final Name: mok
10:47:29 Selected Container type: MKV
10:47:29 Selected Encoder: X264
10:47:29 Selected Size: 1 CD
10:47:29 Selected Slice: 1
10:47:29 Selected Profile: ConstantQuality-CRF.xml
10:47:29 Selected Width: Original
10:47:29 Selected Resizer: NONE
10:47:29 Selected Filters: RemoveGrain(mode=3)
10:47:29 Selected Deinterlacer: AUTO
10:47:29 Selected Field Order: AUTO
10:47:29 Manual Crop: Enabled
10:47:29 Left Crop: 0
10:47:29 Top Crop: 0
10:47:29 Right Crop: 0
10:47:29 Botton Crop: 0
10:47:29 Manual Width: 720
10:47:29 Manual Height: 576
10:47:29 Enabled CRF/CQ AutoRes at 18 value
10:47:29 Track Language 1: mok.avi
10:47:29 Audio Codec 1: Nero AAC
10:47:29 Audio Quality 1: 0.50
10:47:29 Audio Channel 1: Stereo
10:47:29 Advanced Audio Settings DUMP Track 1
10:47:29 Nero Option Profiles: AUTO --- Encoding Mode: Quality
10:47:29 CCT Option Profiles: AUTO --- Channel Options: AUTO
10:47:29 Lame Settings: ABR
10:47:29 Audio Normalization: 1
10:47:29 Frequency: AUTO --- Tempo : NONE
10:47:29 Pitch: NONE --- Other Add :
10:47:29 Advanced Audio Settings DUMP Track 2
10:47:29 Nero Option Profiles: AUTO --- Encoding Mode: Quality
10:47:29 CCT Option Profiles: AUTO --- Channel Options: AUTO
10:47:29 Lame Settings: ABR
10:47:29 Audio Normalization: 1
10:47:29 Frequency: AUTO --- Tempo : NONE
10:47:29 Pitch: NONE --- Other Add :
10:47:29
10:47:51 Number of Frames: 62398
10:47:51 Framerate: 25.000000
10:47:51 Movie length in Seconds: 2496
10:47:51 Movie Width/Height: 720/576
10:49:20 Order: unk
10:49:20 Encoding H:\Encodong\temp\ to NeroAAC with 0.50 quality
10:57:21 Encoded 1' Audio Track: 47051062 bytes
10:57:21 Starting X264
10:57:21 CRF encoding X264: E:\Encoding\_H 264 - Program Files\_AutoMKV\AutoMKV - Latest\exe\encoder\x264.exe --pass 1 --crf 18 --stats "H:\Encodong\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 3 --output "H:\Encodong\temp\movie.mp4" "H:\Encodong\temp\movie.avs"


*** mok.ini ***
; AutoMKV parameters
[AutoMKV]
Source on DVD = 0
Input File = H:\Incomming\mok.avi
Input Folder = H:\Incomming\
Output Folder = H:\Encodong\
Container = MKV
Movie Name = mok
Size = 1 CD
Slice = 1
Resizer = 12
Width = Original
Set encoding mode = X264
Audio Track 1 = mok.avi
Audio Codec 1 = Nero AAC
Audio Bit 1 = 10
Audio Bitrate 1 = 0.50
Audio Channel 1 = Stereo
Audio Track 2 = NONE
Audio Codec 2 = Nero AAC
Audio Bit 2 = 7
Audio Bitrate 2 = 0.35
Audio Channel 2 = Stereo
Sub Track 1 = NONE
Sub Track 2 = NONE
Encoding Profiles = ConstantQuality-CRF.xml
Hit Media/Go Unlimited =
Use CRF/CQ for AutoResize = 0
CRF/CQ Value = 18
Bitrate Encoding = 0
Bitrate Value = 700
Quality Encoding = 0
Quality Value = 75
Delete temporary files = 0
Encrust/Burn Subtitles = 0
Enable Shutdown = 0
Process this IFO = 0
Process this PGC = 0
PGC to Process = -1
Force ITU Resizing = 0
Anamorphic Encoding = 0
Filter = RemoveGrain(mode=3)
Enable Last Line AVS Script = 0
Last Line AVS Script =
Deinterlacer = AUTO
Field Order = AUTO
Language = eng
Use ProjectX for TS files = 0
Use custom X.ini = 0
Use DelayCut = 1
HQ Deinterlacer = 0
Matrix = NONE
Force PAR in XviD = NONE
Use DirectShowSource for Video = 0
Use DirectShowSource for Audio = 0
Enable Manual Crop And Resize = 1
Crop Top = 0
Crop Left = 0
Crop Bottom = 0
Crop Right = 0
Manual Width = 720
Manual Height = 576
Audio Track Name 1 =
Movie Title Name =
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
Windows Media Audio = AUTO
Windows Media Channel = AUTO
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 =


movie.avs in Virtual Dub plays as totally green...

Any ideas...


:):D:eek:
Pascal

AMED
10th April 2007, 11:21
@buzzqw

i was wondering if there was any chance of getting AC3FIX (http://www.videohelp.com/tools?tool=91) (only 10kb's) integrated into AutoMKV. I've come across a few movies that i have that need AC3FIX run on them otherwise the audio encoding (mp4) will happen at 1x.

the usage seems pretty straight forward
ac3fix V0.3

Removes bad frames from .AC3 files
Usage: ac3fix <infile> <outfile>
Error level returned:
0: No bad frames found
1: One or more bad frames found and removed
2: Error in execution

The best place to use it is before the use of delaycut

there seems to be room for a checkbox to be added to the Demuxing and indexing options under the advanced tab.

buzzqw
10th April 2007, 13:16
@delacroixp
movie.avs in Virtual Dub plays as totally green...

missing directshowsource or avisource unable to open the file

open the "mok.avi" with gspot and check the decoder used

@AMED
delaycut already (iirc) do this, even more i don't know if delaycut, after passing the ac3 thru ac3fix, will be able to synch...

i will look deeper to dealycut decumentation

thanks!

BHH

nx6
10th April 2007, 22:23
I tried running Queue mode for the first time last night and things did not come out very well.

Three jobs.
All d2v input.
Two audio tracks on each.
A separate subtitles files for each.

The first job was the only one that muxxed, it has the correct audio tracks, but I marked what the language was on each those tracks and that was not added on the final movie. There is a subtitles track, but it appears to be the subtitles for another episode. I made three separate sets of idx/sub files (with different names) for each episode, and attached the corresponding episode's idx file to it when I set up its job.

I haven't had a chance to look at the log file for a clue what happened with the other two episodes not muxxing (might be the quotation mark issue still) but I do have it with me here at work so I have time.

Edit: Just read through the log. It was the quotes issue that stopped the muxxing from working, so next update will fix that. :) The language settings I put on the audio tracks simply aren't there from what I see. :confused: The last job's subtitle idx file was in fact fed to all three of the jobs. :mad:

delacroixp
10th April 2007, 22:56
@delacroixp
This can be done with autocrop by itself fairly easily. A conditional like

if(width==autocrop only && resizer==none){
autocrop(movie,mode=0,wmultof=16,hmultof=16,samples=40,aspect=0,threshold=34,samplestartframe=0)
}else{
normal autocropping
}

OK... so what exactly does this mean... It looks roughly like...
IF autocrop-only == MOD 16(width and height) THEN No resizer
ELSE autocrop-only (with resizer)

I've just taken out Once Upon a Time in America (http://en.wikipedia.org/wiki/Once_Upon_a_Time_in_America) by Serge Leone, from the public Library... hopefully I can produce an encode that they can use for patrons... I already have done so in DivX and most people have SAP's. The sound is veryyy soft... BeSweet recommends a Surround Gain of 5.9 dB and a Stereo Gain of 17.5 dB.
I ran it through Dr DivX... which shows L=2 blackspace... with your algorithm... 720 - 2 (L crop) = 718 => NOT mod 16 => autocrop with resizer.
I'm not really against resizing... the whole movie will be resized on playback... but I don't want to resize unnecessarily or like DivX => 1024x576 and then encode...

Your formula needs a little more refinement and a bit more tolerance... I also like MOD 16... assume 720x576 movie (any DAR)...
IF (width crop [L+R] < 8) THEN Don't crop
ELSE OverCrop 16
And multiples of 16... eg 17, 18 etc... ditto height... and so resizing could still be avoided

I chose to leave the 2 columns of black space in 'Once Upon a Time in America' though the algorithm could be modified to...
IF (crop <= 4) THEN Don't crop ELSE
IF (crop >= 12) THEN AutoCrop Only 16
ELSE crop and resize


:):D:eek:
Pascal

delacroixp
10th April 2007, 23:09
There is a subtitles track, but it appears to be the subtitles for another episode. I made three separate sets of idx/sub files (with different names) for each episode, and attached the corresponding episode's idx file to it when I set up its job.

The last job's subtitle idx file was in fact fed to all three of the jobs. :mad:
Do you place each job in a separate folder

Also, if I rip 3 movies in IFO mode into 1 folder (assume each movie is 1 file), including the IFO file and rename them all accordingly... movie1.VOB, movie1.IFO... movie2.VOB, movie2.IFO... etc
Will AutoMKV and/or DGIndex encode all 3 movies correctly ?

no, sorry. each full rip in one folder. OR put all in one folder, then create the d2v files for each movie and demux only the audio you want (named accordly to movie name).Then you can queue the d2v+audio works

I had a similar query way back when and Buzzqw stipulated that each job get it's own folder...


:):D:eek:
Pascal

nx6
11th April 2007, 00:11
Do you place each job in a separate folder

No, these are all in the same folder. I'm doing it the other way buzzqw mentioned (not that I read that post first, though).

...put all in one folder, then create the d2v files for each movie and demux only the audio you want (named accordly to movie name).Then you can queue the d2v+audio works

So in the folder I have
ep01.d2v
ep02.d2v, etc...

and I have audio tracks that match up namewise with these files as well:
Ep01 T01 2_0ch 224Kbps DELAY 0ms.ac3
Ep01 T02 2_0ch 224Kbps DELAY 0ms.ac3
Ep02 T01 2_0ch 224Kbps DELAY 0ms.ac3, etc...

as well as:
ep01sub.idx
ep01sub.sub
ep02sub.idx
ep02sub.sub, ect...
for the subtitles.

I don't think there's any issue with adding the audio, as the log shows the correct audio tracks for each episode where added for its corresponding job, but I had gone into advanced audio settings for each audio track and defined with language it was (since AutoMKV would not be adding those values itself like it does when you process an IFO). All three jobs show that they attempted to mux ep04sub.idx for the subtitle file (ep04.d2v was the last job set up in the queue).

Can anyone tell me what the .chunks file is for? Is it disc-specific or content specific? I didn't know if I needed to be keeping separate ones for each D2V file as they weren't getting named in accordance with the subtitle naming scheme by vsrip, it was always naming them after the IFO file. I renamed the first two that were generated after the subtitle set I was doing at the time, but I left the last one as the default name just in case it would be looking for the file under the name.

delacroixp
11th April 2007, 00:36
There's probably basically nothing wrong with your setup... but separate folders will even help your understanding of where everything's at... it's like 'modular programming'... you break everything down into byte-sized chunks (no pun intended)...

I've just started encoding "Once Upon a Time in America"... which has a very-high bitrate, almost akin to superBit releases... and since the movie is 229 minutes, it's divided into 2 parts... over 2 DVD's...
I've decided to have a separate folder for part 1, part 2 and the Serge Leone 'extra'... each with it's own audio tracks and subtitles...

hope it helps.


:):D:eek:
Pascal

nx6
11th April 2007, 01:53
hope it helps.
Pascal

Not really. I know where all the files are. The problem is advanced settings not getting saved as part of Queue jobs. Since every episode has track 1 as English and track 2 in Japanese, even if AutoMKV got stuck on the settings for the last job (similar to what's happening with the subtitles) everything would have been labeled correctly by coincidence on the other jobs. :D

Stupid question here: what is the numerical range for the ConstantQuality-CRF profile quality scale? I'm been thinking of trying something higher in quality than 18. Also, any recommendation of a filter to sharpen? I figured you might know since you were processing VHS tapes (made into AVIs) for a library I assume?

buzzqw
11th April 2007, 08:24
very quick answer:

actually queue don't save external subtitle

open the queue0.ini there is any sign of your external subs ?

(try to add in next version)

BHH

EDIT:

So in the folder I have
ep01.d2v
ep02.d2v, etc...

and I have audio tracks that match up namewise with these files as well:
Ep01 T01 2_0ch 224Kbps DELAY 0ms.ac3
Ep01 T02 2_0ch 224Kbps DELAY 0ms.ac3
Ep02 T01 2_0ch 224Kbps DELAY 0ms.ac3, etc...

as well as:
ep01sub.idx
ep01sub.sub
ep02sub.idx
ep02sub.sub, ect...
for the subtitles.
that's correct, automkv take care of what file to use. For external subtitles point to .idx (not .sub)

All three jobs show that they attempted to mux ep04sub.idx for the subtitle file (ep04.d2v was the last job set up in the queue).
that's correct... at least in this version, in next update every job has its subtitles

.chunks file is for trash it, not needed

thanks nx6 for your test... and sorry for subs...

BHH

jolson
11th April 2007, 11:52
ok, i had found the way to run all script minimized, without any (or very few) prompt that steal window... BUT... what is the lose ?

i cannot guarantee that "prepare only phase" will fuction again, also i will use vbs script (as an old suggestion of glynor) and some nasty and bad antivirus (namely Norton) can intercept those files as virus... :p
Again: wcscript SHOULD be present in all win2k and MUST be in winXP but i cannot bet on it...

please tell me your opinion
Tylo uses AutoIt for D2SRoBa (addon for DVD2SVCD) and it works very good, you can both script in it and build the GUI. Doesn't have to be pre-installed by the user.

I have used it for other things and it's safer than most scripting languages, you can have the script wait for a specific window to appear, press buttons in program dialogs by name of the button...

Apart from that, I have just started to read about this tool and will see if it can do what I want - must do more reading... ;)

delacroixp
11th April 2007, 12:51
Stupid question here: what is the numerical range for the ConstantQuality-CRF profile quality scale? I'm been thinking of trying something higher in quality than 18. Also, any recommendation of a filter to sharpen? I figured you might know since you were processing VHS tapes (made into AVIs) for a library I assume?

Well... I gather it starts @ Q1 (lossless) all the way beyond Q30 in ever decreasing increments of quality...
Unless you're working with RAW AVI or a very high bitrate, possibly Sony Superbit, production then Q18 is considered the lowest level... after this point filesize increases with little-to-no increase in quality...

I really am clueless, especially about filters... you'll have to refer to buzzqw...

You mention VHS tapes... actually our library has quite a large range of DVD's, from mainstream-entertainment, to culturally-orientated movies and documentary material from National Geographic and Discovery Channel etc...

The DVD's are so easily scratched and mal-treated that I considered a DivX or H264 version essential... which can be easily duplicated on 4.5 GB DVD's as necessary... unlike China... we don't have low-cost DVD-duplicating factories for this kind of thing...


:):D:eek:
Pascal

buzzqw
11th April 2007, 13:37
@jolson

i have adopted vbs option, the autoit features to hidden/minimize program is already inside automkv.
Now automkv will start a process and then minimize it or start it minimized (all by checking process id)

also, automkv can do a lot is correctly used (and with a bit of knowledge of internals...). I suggest reading the wiki and the changelog. When i introduce a new features a will explain it in changelog... often :)

Unless you're working with RAW AVI or a very high bitrate, possibly Sony Superbit, production then Q18 is considered the lowest level

this is a big error :)

The CRF profile is NOT A CONSTANT QUALITY PROFILE but a CONSTANT RATE FACTOR PROFILE.
What's mean ?

you have a 15000 bitrate hd movie -> crf 18
the dark scenes will probably got a quant of 25
the high motion scenese got a quant of 10
the 18 isn't the median, but the average perceptual quality to achive, isn't like CQ encode of XviD where even at quant 1 some frames look bad, here we are speaking of perceived quality. So the original bitrate is marginal in computation: you could have a "ugly static black wall" at 15000 bitrate in dvd..., what is important is that wall must bu "ugly" (at rate 18) as before

you have a (normal) 4000 bit rate dvd -> crf 18
the dark scenes will got a quant of 25
the high motion got a quant of 10

isn't important the original bitrate but the quality of source and how much must be retained

BHH

jolson
11th April 2007, 15:12
also, automkv can do a lot is correctly used (and with a bit of knowledge of internals...). I suggest reading the wiki and the changelog. When i introduce a new features a will explain it in changelog... often :)
I've now looked through bits of wiki/changelog/this thread and also made a small test of the program.

A good test is often to run the program backwards from what it is intended ;) - so I DirectShowSource'd in a short .mkv (with AC3 audio) and set AutoMKV to create an .avi/XviD and keep source audio. I created a short test .srt (with just "START" and "STOP" in it) and added that as an external subtitle file.

I could select the srt file, but saw no indication that it would be used. I specified a lower resolution for the output file, but noticed that I could only give horisontal resolution - not vertical as well, as I would like to.
The input file was 60MB, the output 25MB. Seemed correct, with the lower resolution.
However, despite me selecting "Copy Original" with regards to audio, the input AC3 stream was reencoded to 128kbps mp3.
But the output .avi plays fine, with subtitles, so the external subtitles worked. Just the sound was a problem.

buzzqw
11th April 2007, 15:22
I could select the srt file, but saw no indication that it would be used.

that's true and wanted. sorry, no display of external subs selected... (maybe i will change my idea...)

specified a lower resolution for the output file, but noticed that I could only give horisontal resolution - not vertical as well, as I would like to.

true again, you can specify only width, then is autocrop/automkv that computed the height (taken in count ar)
You must use advanced setting for scecifying a width AND height

However, despite me selecting "Copy Original" with regards to audio, the input AC3 stream was reencoded to 128kbps mp3

this is impossible to achive with automkv, no original audio can be extracted and copyed by directshowsource or avi/mkv/ogm... only from mpeg container (vob/ts/mpeg...)

Thanks for your test! :)

BHH

delacroixp
11th April 2007, 15:36
@delacroixp

movie.avs in Virtual Dub plays as totally green...

missing directshowsource or avisource unable to open the file

open the "mok.avi" with gspot and check the decoder used

@AMED


I retried 2 of the movies with 0.80 and they worked out fine but mok.avi is still very green...

I tried GSpot though it doesn't mean much to me...

http://souls-online.net/delacroixp/AutoMKV/GSpot_mok.avi_Thum.bmp (http://souls-online.net/delacroixp/AutoMKV/GSpot_mok.avi.bmp)

click for full image...


:):D:eek:
Pascal

buzzqw
11th April 2007, 16:29
on gspot click on Ms A/V 1 and look at what decoder is used

then ask on dv forum (first try to use ffdshow to decode dv format)

BHH

nx6
11th April 2007, 23:00
that's correct... at least in this version, in next update every job has its subtitles
BHH

:thanks:
How about the advanced audio settings (langauge marking and custom label)? That would be nice.


The CRF profile is NOT A CONSTANT QUALITY PROFILE but a CONSTANT RATE FACTOR PROFILE.
What's mean ?

you have a 15000 bitrate hd movie -> crf 18
the dark scenes will probably got a quant of 25
the high motion scenese got a quant of 10
the 18 isn't the median, but the average perceptual quality to achive, isn't like CQ encode of XviD where even at quant 1 some frames look bad, here we are speaking of perceived quality. So the original bitrate is marginal in computation: you could have a "ugly static black wall" at 15000 bitrate in dvd..., what is important is that wall must bu "ugly" (at rate 18) as before

Since this is a perceptual setting, does that mean a movie that is almost all high action (I dunno, kung fu movie) at CRF 18 will be larger than a movie of "Brick walls of Paris" at CRF 18 that are the same length in time? Is that because more of the kung fu film is being encoded at high end range (quantity 10) or is the definition of "quantity 18" different for the more complex action flick verses architecture film.

What does the "ConstantQuality-QP" do?

buzzqw
12th April 2007, 08:14
or is the definition of "quantity 18" different for the more complex action flick verses architecture film.
that's right! more complexity more bitrate, lower quant (quant=quantitizer not quantity)

look here for another explanation
http://mewiki.project357.com/wiki/MeGUI_FAQ#What.27s_the_difference_between_Constant_Quantizer_and_Constant_Quality

BHH

buzzqw
12th April 2007, 08:35
How about the advanced audio settings (langauge marking and custom label)? That would be nice.

DONE! (in next update!)

BHH

nx6
12th April 2007, 08:58
Given all the fixes covered in the forums lately, this looks like it's going to be a big update.

nx6
12th April 2007, 09:33
Where is the file that defines what makes up the "Filters" preset list?
I've just downloaded a new AVISynth filter and want to add it to the list. I've already added the DLL to \exe\Filter.

buzzqw
12th April 2007, 10:13
Where is the file that defines what makes up the "Filters" preset list?

there isn't a configuration file, the list is hard coded BUT after you put the filter dll into \exe\filter you can WRITE in filter list your filter configuration (overwriting what is written), like

fooplugin(preset="Automkv",fast=true)

BHH

delacroixp
12th April 2007, 18:32
or is the definition of "quantity 18" different for the more complex action flick verses architecture film.

What does the "ConstantQuality-QP" do?

that's right! more complexity more bitrate, lower quant (quant=quantitizer not quantity)

look here for another explanation
http://mewiki.project357.com/wiki/MeGUI_FAQ#What.27s_the_difference_between_Constant_Quantizer_and_Constant_Quality
I just noticed that it's an MeGUI Wiki... it's like sleeping with the enemy... it reflects badly if we have to send our guys over to MeGUI for info... when in fact our product, is like, wayy better than their's even with all their financial and intellectual muscle behind them...

I'm sure nx6 could distill the essence and explain it much better in the AutoMKV Wiki... perhaps we can put together some usefull backround material... like 4:2:0 vs 4:2:2 & 8:4:4 Chroma subsampling... which really effects the colour we see...

In some cases a simple link to the main Wikipedia would really do the trick.


:):D:eek:
Pascal

BTW
In regards to "ConstantQuality-QP"... it's a kind of 'Constant Quality for Computers"... they don't perceive subjective differences while watching a movie... at Q18 a brick wall would have the same quality as an action sequence or anything else... the entire encode would be at Q18... with a correspondingly huge filesize... people also notice changes (contrast/luminance) in grayscale more than in colour... hence 4:2:0 chroma subsampling (http://en.wikipedia.org/wiki/Chroma_subsampling).

BleedingGums
12th April 2007, 20:24
i'm using .80c - tobytl version and it seems that AutoMKV insists on autocroping even if i have NONE as a resizer set. (0.80b does not suffer from this). Once autocropped, the resolution is not mod16 anymore. which causes encoding problems. I have not gotten around to test to see if this behavior with .80c stops if a resizer and resolution are set.

buzzqw
12th April 2007, 20:47
@BleedingGums

open the movie.avs in virtualdub... anche check... anyway in next update if autocrop isn't needed then isn't even included in avs... ;)

BHH

weaver4
12th April 2007, 21:56
BTW
In regards to "ConstantQuality-QP"... it's a kind of 'Constant Quality for Computers"... they don't perceive subjective differences while watching a movie... at Q18 a brick wall would have the same quality as an action sequence or anything else... the entire encode would be at Q18... with a correspondingly huge filesize... people also notice changes (contrast/luminance) in grayscale more than in colour... hence 4:2:0 chroma subsampling (http://en.wikipedia.org/wiki/Chroma_subsampling).

Actually if a movie was done in Q18 and the complete movie was a brick wall it be a very small filesize. In constant quality the movie only uses the bits it needs to maintain the same quality from frame to frame; no changes between frames means very few bits; heavy action requires more bits.

nx6
12th April 2007, 22:01
I just noticed that it's an MeGUI Wiki... it's like sleeping with the enemy... it reflects badly if we have to send our guys over to MeGUI for info... when in fact our product, is like, wayy better than their's even with all their financial and intellectual muscle behind them...

Well, I have no doubt that the MeGUI wiki has been around longer than the AutoMKV wiki, so it's going to have more content. I also don't see this as any stupid me>you contest between buzzqw's software (where's this "our" coming from) and MeGUI. They are two things that do roughly the same thing, people will use what they wish to.

I'm sure nx6 could distill the essence and explain it much better in the AutoMKV Wiki...
I haven't even finished rewriting the changelog entries yet. Here's an idea, how about someone else contribute to the Wiki and write this stuff, like someone who knows about it.

AMED
13th April 2007, 10:13
one quick question buzzqw

when using Nero aac in stereo mode, should normalization be automatically enabled?

i have found in v0.80b that you have to open the advanced audio options and then click OK to close the advanced options for it add the normalize() to the mkvaudio script

when you open the advanced audio options normalize already has a check in the box but it doesn't seem to apply unless you open the advanced audio options.

buzzqw
13th April 2007, 10:42
@AMED

FIXED: An ugly bug that will not trigger normalize() if Advanced Audio Options were opened

this problem was corrected with 0.80b ...

i am unable to replicate the problem... :(

BHH

nx6
13th April 2007, 11:02
I just started using the special 80c build you released, this being the first one with the "cartoon" and "greyscale" options. I notice these are both listed under "XviD overides". Does that mean they wont work under X264?

AMED
13th April 2007, 11:58
@AMED
this problem was corrected with 0.80b ...
i am unable to replicate the problem... :(
BHH i found the problem, i needed to delete the automkv.ini that i must have created with v0.80a, the recreated automkv.ini using 0.80b seems to fix the problem

sorry about the false alarm

DarkZell666
13th April 2007, 12:27
I just started using the special 80c build you released, this being the first one with the "cartoon" and "greyscale" options. I notice these are both listed under "XviD overides". Does that mean they wont work under X264?

XviD offers those options but x264 doesn't (I mean XviD's vfw interface and x264's cli interface). It isn't GUI specific, it's just a matter of supported features by each codec.

buzzqw
13th April 2007, 13:41
@AMED

no prob ! :) glad you have resolved!

@DarkZell666

well said!
usually for anime is used the "anime presets" and for greyscale is sufficent to write in "Last avs script" greyscale()

@ALL

i am ready for the new update (full package) but i have some problem (look here http://forum.doom9.org/showthread.php?p=988229#post988229 ) ... i don't want to put an update that not work well...
i will wait some days... or will rollback specifics change made for new wmcmd.vbs :(

BHH

Shark_jlc
13th April 2007, 16:00
@ALL

i am ready for the new update (full package) but i have some problem (look here http://forum.doom9.org/showthread.php?p=988229#post988229 ) ... i don't want to put an update that not work well...
i will wait some days... or will rollback specifics change made for new wmcmd.vbs :(

BHH

If you need me to test on Win2k3, or Vista, let me know what to do and what you want.

buzzqw
13th April 2007, 16:19
@Shark_jlc
Thanks !

http://www.64k.it/andres/data/a/AutoMKV081SPC.rar

inside there are:
AutoMKV081.exe , the new wmcmd.vbs to put into \exe\encoder, and the all new wmv profiles (delete old wmv-profile folder) and the partial_changelog.txt

main changes are on wmv encoding, but Tobytl change are important too.., do not use hybridfupp resizer since i haven't include the new filter/avs

thanks (to all)

BHH

Shark_jlc
13th April 2007, 17:00
I'll see what I can do tonight at home, and this weekend, in regards to testing this out for you.

buzzqw
13th April 2007, 17:20
thanks Shark_jlc!

i hope to release 0.81 next week (i am waiting even for Zambelli posts)

BHH

delacroixp
13th April 2007, 19:28
In regards to "ConstantQuality-QP"... it's a kind of 'Constant Quality for Computers"... they don't perceive subjective differences while watching a movie... at Q18 a brick wall would have the same quality as an action sequence or anything else... the entire encode would be at Q18... with a correspondingly huge filesize... people also notice changes (contrast/luminance) in grayscale more than in colour... hence 4:2:0 chroma subsampling (http://en.wikipedia.org/wiki/Chroma_subsampling).
Actually if a movie was done in Q18 and the complete movie was a brick wall it be a very small filesize. In constant quality the movie only uses the bits it needs to maintain the same quality from frame to frame; no changes between frames means very few bits; heavy action requires more bits.
Well, let's say that IF somebody did a 18-CQ-CRF encode of a brick wall... it might be encoded at Q10 WHILE an 18-CQ-QP would insist on Q18 throughout which would still be a small file but the CRF encode would be tiny...
Funny enough I encoded The Deer Hunter without cropping the black-space Top and Bottom and when I re-encoded with a 144 row crop (72 T&B incl 3 overcrop to keep mod 16)... the file was 10% smaller...

It just shows you that even black-space can contribute significantly to filesize.


:):D:eek:
Pascal

weaver4
13th April 2007, 20:00
delacroixp: You are correct. I misread the first email and thought you were talking about CRF encode. A CRF encode would be "tiny". My-Bad.

delacroixp
13th April 2007, 20:01
I did an anamorphic encode of The Deer Hunter 720x576 PAL/16:9... setting AutoMKV to 'automatic' DAR (mkv container).
Normally the width would morph into 1024 pixels... but because of a column crop of 16 (L&R 8)... AutoMKV signalled a 1015 width...
It didn't seem right to me since (704/720)1024 = 1003.52... so I set MkvMerge at 1004x432... but I'm not sure if black-space morphs in the same way as the actual movie.

Would 16 columns of black space in the VOB remain 16 columns on playback ?


:):D:eek:
Pascal

delacroixp
13th April 2007, 20:07
delacroixp: You are correct. I misread the first email and thought you were talking about CRF encode. A CRF encode would be "tiny". My-Bad.
Well... you might love brick walls... especially if it has a mosaic kind of pattern... so CQ-QP gives you the power to insist...


:):D:eek:
Pascal

SeeMoreDigital
13th April 2007, 20:36
Try using this little tool: -

http://www.ziova.com/forum/index.php?showtopic=873


Buzz.... While we are on this subject. Is there any chance a "User Value" or "User Ratio" option can be included for both Xvid and x264. Something like this: -

http://img238.imageshack.us/img238/3151/proposalkm4.png


Cheers all

buzzqw
13th April 2007, 20:52
@SMD
i will look at this... iirc for x264 is the --sar option ?

BHH

buzzqw
13th April 2007, 23:29
@SMD
ok, i used preset value for xvid (if so selected) or custom inserted values

for x264 i have used this table

Required Custom Player Info
PAR Setting PAR Setting Video Size

4:3 PAL 64:60 (or 16:15) 4:3 or 768x576
4:3 NTSC 64:72 (or 16:18) 4:3 or 640x480
16:9 PAL 64:45 16:9 or 1024x576
16:9 NTSC 64:54 16:9 or 853x480

courtesy from SeeMoreDigital Site http://seemoredigital.net/03_Video_Only_Info/What_is_an_anamorphic_encode.html

BHH

TheRyuu
14th April 2007, 04:03
Suggestion, would it be possible to like have a box for the custom avisynth script instead of one line?
Were each line was a new line in the avs script.
Then I could run something like this:
SetMTMode(2, 0)
FluxSmoothT(8)
dull = ColorMatrix(Mode="Rec.601->Rec.709",scaling=2,threads=2)
sharp = dull.SeeSaw(NRlimit=0, NRlimit2=5, Sstr=1.70, Szp=1, Slimit=50, Sdamplo=29, Spower=1, sootheT=0, SdampHi=35)",3)
Soothe(sharp, dull, 5)

or

SetMTMode(2, 0)
ColorMatrix(Mode="Rec.601->Rec.709",scaling=2,threads=2)
a=last
b=FluxSmoothT(8)
SeeSaw(a,b, NRlimit=0, NRlimit2=5, Sstr=1.70, Szp=1, Slimit=50, Sdamplo=29, Spower=1, sootheT=0, SdampHi=35)

I was just thinking about it because I could use a different (and better) script using Soothe, SetMTMode, etc... like that.

Ya know? Just some thinking as I was encoding a few things.

Also, I just realized that that Tobytl problem occurred on mine as well. .81 (or .80d as the title of the program says) fixes it for me :)

Loving the nocolormatrix option.

And what exactly is the "cartoon mode used for"??
Like for encoding cartoons/anime and whatnot?

Keep up the work man, best encoder I ever used.

buzzqw
14th April 2007, 09:31
@wizboy11
so you are brave enough ? :)

let's try prove it...

first of all open a movie.avs and take a close look to it, you will note something like
#test1
#test2
#test3
#test4
#test5

go in \exe\filter folder make a copy of base.avs (call it base_std.avs)

open the base.avs in text editor

you will see again these #testX, use this as reference point for your script

so in your base.avs could look like

#loadpluginstart

#test1

#loadpluginend

#importstart

#test2

#importend

#herethesource

#filter1start

#test3

#filter1end

#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = aspectratio
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 = outwidth
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)

#cropend

#resizestart

#test4

#resizeend

#filter2start

#test5
SetMTMode(2, 0)
FluxSmoothT(8)
dull = ColorMatrix(Mode="Rec.601->Rec.709",scaling=2,threads=2)
sharp = dull.SeeSaw(NRlimit=0, NRlimit2=5, Sstr=1.70, Szp=1, Slimit=50, Sdamplo=29, Spower=1, sootheT=0, SdampHi=35)",3)
Soothe(sharp, dull, 5)
#filter2end

do now a new encoding...

this is a one way to proceed, adding a box for editing avs is better... i now... but i won't to take automkv as easy as possible..., so it is better to tweak the base.avs

And what exactly is the "cartoon mode used for"??
xvid as special way of dealing with cartoon/anime source file, this check will enable this options in xvid

BHH

delacroixp
14th April 2007, 10:37
delacroixp, isn't simple to accomodate all needs and like
sometimes i wish you take mkvmagic source and do the all the fabulous works is needed.

This is a free time, free willed, free money project... and your sarcasm isn't well accepted.

best regards

Andres

EDIT: latest dvdfabdecrypter isn't accepting command line (as already posted)
Some people have very crazy ideas and only you will know what's best... and what's possible...
This is a true OSS project... it's just a shame that you have to shoulder all the actual work...

It's all good


:):D:eek:
Pascal

delacroixp
14th April 2007, 10:57
I did an anamorphic encode of The Deer Hunter 720x576 PAL/16:9... setting AutoMKV to 'automatic' DAR (mkv container).
Normally the width would morph into 1024 pixels... but because of a column crop of 16 (L&R 8)... AutoMKV signalled a 1015 width...
It didn't seem right to me since (704/720)1024 = 1003.52... so I set MkvMerge at 1004x432... but I'm not sure if black-space morphs in the same way as the actual movie.

Would 16 columns of black space in the VOB remain 16 columns on playback ?

Try using this little tool: -

http://www.ziova.com/forum/index.php?showtopic=873

Awesome post (http://forum.doom9.org/showthread.php?t=107039)... beautifully explained... and tx to you and Moitah for bringing a plan together and making it happen... gr8 team work...

All good


:):D:eek:
Pascal

BTW
I recently discovered a goldmine educational resource in lynda.com (http://lynda.com/)... I went through one of their tutorials on 'Digital Video Principles' which really explains all the fundamentals of PAL, NTSC... 24, 25, 30 fps film/video... chroma subsampling and much more... in a 3hr flash presentation... well worth the investment.

buzzqw
14th April 2007, 12:12
i have added some check for insert avs fuction (as last line)

No Colormatrix (no more need for nocolormatrix file)
Greyscale
MVDenoise
MVDegrain2

any other quick filter to insert ? (better if filter without parameters , so tweak(sat=xxx, hue=yyy...) isn't a good filter... only if i used with fixed parameter)

also added LimitedSharpenFaster as resize with a line like

Limitedsharpenfaster(smode=4,ss_x=1.25, ss_y=1.25, strength=150, overshoot=1,dest_x=out_width,dest_y=out_height)
it's good ?

BHH

buzzqw
14th April 2007, 14:48
ok added, simple box like this

http://img242.imageshack.us/img242/874/automkvadvsetzt4.png (http://imageshack.us)

there are space for more.. suggestions ?

EDIT: added Limiter()


BHH

TheRyuu
14th April 2007, 18:05
Thanks :p

That way should work well since I basically use the same script for everything. If you ever do add the box in AutoMKV maybe you can put it in advanced options and have some option called "advanced avisynth script" and old if that box is checked, would the avisynth box come up.

Only an idea but editing the base.avs file will work just fine for me. So if I do edit the base avs file, I would just leave the avisynth filter things in AutoMKV set to "None"?

Also, I was checking out the "Auto" feature in the Custom Matrix thing. For a 2,800kb/s moive, it was using Sharktooth's EQM v3LR.cqm. I thought that LR was for things under 1600kb/s and that v3HR would be better in this situation.

buzzqw
14th April 2007, 19:03
So if I do edit the base avs file, I would just leave the avisynth filter things in AutoMKV set to "None"?

:goodpost: that's right. in that way, modifing the base.avs, the same "modify" is applyend to all encoding

Also, I was checking out the "Auto" feature in the Custom Matrix thing. For a 2,800kb/s moive, it was using Sharktooth's EQM v3LR.cqm. I thought that LR was for things under 1600kb/s and that v3HR would be better in this situation.
isn't a bitrate issue but quantitizer ratio.
Open the log file and look at compression test: how % is ?
it is over 180% ?

here is the lookup table
Test % -> Matrix
50 "Sharktooth's EQM v3ULR.cqm"
85 "Jawor's 1CD Quantization Matrix.cqm"
95 "Sharktooth's EQM v3LR.cqm"
180 "Sharktooth's EQM v3HR.cqm"
250 "Didees SixOfNine-HVS.cqm"
350 "Fox Home Entertainment.cqm"
450 "Sharktooth's EQM v3EHR.cqm"
over "Sharktooth's EQM v3UHR.cqm"

BHH

TheRyuu
14th April 2007, 19:58
:goodpost: that's right. in that way, modifing the base.avs, the same "modify" is applyend to all encoding


isn't a bitrate issue but quantitizer ratio.
Open the log file and look at compression test: how % is ?
it is over 180% ?

here is the lookup table
Test % -> Matrix
50 "Sharktooth's EQM v3ULR.cqm"
85 "Jawor's 1CD Quantization Matrix.cqm"
95 "Sharktooth's EQM v3LR.cqm"
180 "Sharktooth's EQM v3HR.cqm"
250 "Didees SixOfNine-HVS.cqm"
350 "Fox Home Entertainment.cqm"
450 "Sharktooth's EQM v3EHR.cqm"
over "Sharktooth's EQM v3UHR.cqm"

BHH

I couldn't find it but I'll take your word for it :p
I'll leave it set to "Auto" :)
:thanks:

SeeMoreDigital
14th April 2007, 21:24
@SMD
i will look at this... iirc for x264 is the --sar option ?

BHHYes.... It provides the same thing :)

weaver4
14th April 2007, 23:26
I did a few movies using x264 - constant quality CRF. Much to my surprise these movies would not play on Quicktime on my Mac Mini. Played fine with VCL.

This brings up a bigger point. X264 is really broken. You have special encode parameters depending on what you are playing it on. Ipod, Apple TV, quicktime, PS2, PS3, xbox .... At least if you turned off qpel and gmc on XviD it would play on most anything. It appears that Nero has some momentum in that several SAPs are coming out that will play Nero AVC, Nero AVC will play on quick time. So I was wondering if we could have a profile for AutoMKV that is Nero AVC compatible?

buzzqw
15th April 2007, 08:35
Ipod, Apple TV, quicktime

Apple.

Apple product are very picky for muxer. If not muxed with compatible software it will throw errors.

it isn't a profile issue.

(let me investigate)

BHH

TheRyuu
15th April 2007, 19:06
Would there be a way to implement The aoTuV Ogg Vorbis audio encoder? (if it isn't used already for ogg encoding??)

I've read that the aoTuV version has better quality at almost all the bitrate levels compared to regular OggVorbis, mp3, and everything else.

Thanks.

Also, I found out something interesting. This is for dual core machines which gives a pretty nice speed boost. Only tested it in xvid so far.
I got one HUGE speed boost (especially on the first pass with xvid) if I added "SetMTMode(2, 0)" (w/o quotes) to the base.avs to make it look like this:
#loadpluginstart

#test1

#loadpluginend

#importstart

#test2
SetMTMode(2, 0)

#importend
SetMTMode(2, 0)

#herethesource

#filter1start

#test3
SetMTMode(2, 0)

#filter1end

#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = aspectratio
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 = outwidth
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)

#cropend

#resizestart

#test4
SetMTMode(2, 0)

#resizeend

#filter2start

#test5
SetMTMode(2, 0) <---REMOVE IF YOU NOT GONNA USE AN AVISYNTH FILTER (it will cause it to be a bad script and crash)

#filter2end


Doing that gave me one big speed boost on the first xvid pass and a little bit more on the second pass as well.

Might be a nice trick if you have a dual core machine and want a speed improvement.
I'm not sure, but you might only need the first SetMTMode since that might make it apply to the rest of the script.

That also made it better use both cores having nearly 100% use of both of them instead of ~50% use of both of them (or 100% of ONLY ONE core on a dual core machine)

buzzqw
15th April 2007, 19:55
it is already the aoTuV (2.83) with Blacksword speedup

on next full update i will update the build to latest one!

i will include only the SSE build, if someone has a more powerfull processor feel free to download the appropriate build here http://homepage3.nifty.com/blacksword/

About MT... i can include some options... :) nice hint!

BHH

TheRyuu
15th April 2007, 20:06
it is already the aoTuV (2.83) with Blacksword speedup

on next full update i will update the build to latest one!

i will include only the SSE build, if someone has a more powerfull processor feel free to download the appropriate build here http://homepage3.nifty.com/blacksword/

About MT... i can include some options... :) nice hint!

BHH

Alright thanks. I kinda thought it was the aoTuV one since it used the whole numbers and not the -q thing like the regular Vorbis encoder does.

I was pretty shocked at the amount of speed that I gained by doing that especially on the first pass.

Also, I wonder if it could be applied to some of the other avs scripts... :)

Edit:
The first time I tried the SetMTMode it was only on my SeeSaw script but then I got the idea to try it on the whole thing. And thats what did it. One time though xvid_encraw crashed only because I didn't choose a avisynth filter and under #test5, was only the "SetMTMode(2 ,0)" which I gather made it crash so watch out for that.

Edit2:
On the AoTuV site, I'm gonna want to download the Dynamic Library version right? (it has the oggenc2 exe in it??)
(in my case it would be the sse3MT)

buzzqw
15th April 2007, 20:21
i am reading the documentation of MT...
wouldn't so simply integrate... because not all filter works well.. the bottleneck part of script are the deinterlace and the resize, but mostly the deinterlace part (if needed)

some test must be done to verify if MTi("leakkerneldeint()") works and so the other deinterlacer...
moreover even the avisynth.dll must be substituted... :rolleyes: don't know if could be so easy implemented...
it is surely a very nice and useful trick (to put in wiki) but it surely needed users with some knowledge...

About OGGENC use this build http://homepage3.nifty.com/blacksword/oggenc283_sse3mt_lancer20061110.zip if you have SSE3MT: Multi-threading version of SSE3 for Athlon64X2, Pentium D, Core Duo(Dual), Core2 Duo(Conroe & Merom core)

BHH

TheRyuu
15th April 2007, 20:30
i am reading the documentation of MT...
wouldn't so simply integrate... because not all filter works well.. the bottleneck part of script are the deinterlace and the resize, but mostly the deinterlace part (if needed)

some test must be done to verify if MTi("leakkerneldeint()") works and so the other deinterlacer...
moreover even the avisynth.dll must be substituted... :rolleyes: don't know if could be so easy implemented...
it is surely a very nice and useful trick (to put in wiki) but it surely needed users with some knowledge...

About OGGENC use this build http://homepage3.nifty.com/blacksword/oggenc283_sse3mt_lancer20061110.zip if you have SSE3MT: Multi-threading version of SSE3 for Athlon64X2, Pentium D, Core Duo(Dual), Core2 Duo(Conroe & Merom core)

BHH

Thats what I was thinking as well. Like add it to the wiki as some advanced tweak.
I've read that using SetMTMode(2, 0) (or just the 2) is the most compatible.

Edit:
Got a quick question.
I noticed new HybridFuPP resize options. What are they and how do they compare to more conventional resizers like spline36?

Thanks :)

Edit2:
some test must be done to verify if MTi("leakkerneldeint()") works and so the other deinterlacer...

I thought that using something like this was more the standard:
SetMTMode(2, 0)
leakkernaldeint()

instead of what you were saying:
MTi("leakkerneldeint()")

But I really wouldn't know for sure. Thats just what I remember reading plus the SetMTmode would work for the whole script instead of having to surround everything with MT()

buzzqw
15th April 2007, 20:38
I've read that using SetMTMode(2, 0) (or just the 2) is the most compatible.

yes... i will do some test ...
if positive i could add a check for enable MT for deinterlacers (i think only for pure deinterlacer not for decimanting/ivtc/hybrid source...)... but users must first substitute the avisynth.dll and pray for no crash :D

EDIT: HybridFuPP is both a resizer and a filters. An ALL in One! Very good resizer (mostly similar to lanczos) and very well studied suite of denoiser. Basing of quality of source is possible to select the correct preset.
An HybridFuPP HybridQ is like a bilinear resize + some strong denoisers (so no need for any other denoiser)
A good approach is to use HQ presest and one light other denoiser (degrainmedian, removegrain..)

BHH

buzzqw
15th April 2007, 20:47
But I really wouldn't know for sure. Thats just what I remember reading plus the SetMTmode would work for the whole script instead of having to surround everything with MT()

i suppose that enclosing specific filter maybe more stable and secure...

i suppose, again, that some combination of filters doesn't fuction (like fft3dfilter)

BHH

TheRyuu
15th April 2007, 20:58
yes... i will do some test ...
if positive i could add a check for enable MT for deinterlacers (i think only for pure deinterlacer not for decimanting/ivtc/hybrid source...)... but users must first substitute the avisynth.dll and pray for no crash :D

BHH

I tried using the settings "interlaced" and "Hybrid" field order with HQ checked it it didn't seem to be using MT. But the script didn't crash either.

And I haven't test ANY of these in x264, only xvid so far.

So you're correct and I kinda figured that not all filters would work.

Thanks.

Edit:
HybridFuPP wasn't working and I think it's because you didn't add the HybridFuPP.avsi filter into the filter folder yet.

buzzqw
15th April 2007, 22:19
hybridfupp will be ok in next full update... i had already done the code change... but in package (0.80spc) i haven't included all filters/scripts needed

BHH

TheRyuu
15th April 2007, 22:47
SetMTMode keeps crashing xvid_encraw so I guess it wasn't as good as it all seemed :p

Even if I restrict SetMTMode to the resizer and avisynth filter, it'll still crash...

Oh well, I guess it might need some further investigating but it was nice while it lasted. :)

Edit:
I'm doing some testing which in the base.avs file I turned on and off SetMTMode around certain parts and I'll see if that works.

Edit2:
Well, after a little bit of testing (ok, 1 encode) I finally got a script that didn't crash. This is only with xvid. This is for dual core, quad core, or hypertheaded CPU's.
#loadpluginstart

#test1

#loadpluginend

#importstart

#test2
SetMTMode(2, 0)

#importend

#herethesource

#filter1start
SetMTMode(0)

#test3
SetMTMode(2, 0)

#filter1end

#cropstart

cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = aspectratio
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 = outwidth
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)

#cropend

#resizestart
SetMTMode(0)

#test4
SetMTMode(2, 0)

#resizeend

#filter2start
SetMTMode(0)

#test5
MT("insert script") <-for some reason, if I used SetMTMode(2) it would crash xvid_encraw. Set filter in AutoMKV to NONE and add your own here (or just copy and paste a filter from automkv).
#//So you would write (or copy and paste) the script you wanted to use were it says "inster script". KEEP the "" (quotation marks, they are part of the script).
#make sure to delete all this explaining stuff.

#filter2end

Anyone who wants to try it out, keep in mind that it is experimental and unstable but I think I've gotten it to not crash. (although it crashing seems random too...)
It seemed to work with a Interlaced Video (TFF, HQ checked) with a custom SeeSaw script at the end. If your not gonna use an avisynth filter script at the end delete that last MT() thing or it will not work.

Edit3:
Updated it only to add in (2, 0) to the SetMTMode so that it will detect the threads to use (so quad core will use 4, dual core 2).
Tested it on a number of different configs using fastest xvid thing. Worked well. Only thing that doesn't really gain anything is if the source is hybrid/party film. That went pretty slow compared to the others.

Seemed pretty stable.

TheRyuu
16th April 2007, 00:52
I made a wiki out of it:
http://automkv.wiki-site.com/index.php/Advanced_Multi-threading

Not sure were to put it on the main wiki page.

nx6
16th April 2007, 01:34
It's a specialized tweak. It shouldn't be on the main page.

The main page could use a more general table-of-contents like area leading into sections for individual topics, I get the impression from following a few links that there are some very informative pages on the Wiki, but you would miss them because they are only liked to by a couple other articles. So unless you're reading information about a topic and the page you're reading links to these articles, or you know the name of the article itself, you wouldn't have any idea these pages existed.

I also think the "Help" link in the navigational box should lead to a Q/A type page for help with problems using AutoMKV, instead of the manual. If someone is looking for help I would assume they had already read the manual for assistance.

That is a nice page you made, though.

TheRyuu
16th April 2007, 05:56
It's a specialized tweak. It shouldn't be on the main page.

The main page could use a more general table-of-contents like area leading into sections for individual topics, I get the impression from following a few links that there are some very informative pages on the Wiki, but you would miss them because they are only liked to by a couple other articles. So unless you're reading information about a topic and the page you're reading links to these articles, or you know the name of the article itself, you wouldn't have any idea these pages existed.

I also think the "Help" link in the navigational box should lead to a Q/A type page for help with problems using AutoMKV, instead of the manual. If someone is looking for help I would assume they had already read the manual for assistance.

That is a nice page you made, though.

I put it under Software Requirements and Installation (http://automkv.wiki-site.com/index.php/Help:Contents#Software_Requirements_and_Installation) and created an Advanced usage section.

I thought it fit well there.
Oh yea, and by speed boost I mean this:
http://img171.imageshack.us/img171/307/fastqb4.jpg

Thats with progressive source, xvid extra slow, and FluxSmoothT(8) and I think Colormatrix, Spline36 to 640x480 and of course my MT script.
I have no idea if thats how fast it would've been without MT but I doubt it would be that fast.

AMED
16th April 2007, 10:55
Hi buzzqw,

I'm having problems with the Anamorphic Encoding in Automkv.

whenever i play the resulting movie in VLC it is bigger than the original DVD

Here is the log
23:43:03 0.80b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
23:43:04 Selected Input file: K:\CURSE_OF_THE_BLACK_PEARL\VIDEO_TS\VTS_01_0.IFO
23:43:04 Selected Output dir: K:\temp\
23:43:04 Selected Final Name: CURSE_OF_THE_BLACK_PEARL
23:43:04 Selected Container type: MKV
23:43:04 Selected Encoder: X264
23:43:04 Selected Size: Don't care about size
23:43:04 Selected Slice: 1
23:43:04 Selected Profile: ConstantQuality-CRF.xml
23:43:04 Selected Width: Original
23:43:04 Selected Resizer: NONE
23:43:04 Selected Filters: RemoveGrain(mode=5)
23:43:04 Selected Deinterlacer: AUTO
23:43:04 Selected Field Order: AUTO
23:43:04 Enabled CRF/CQ AutoRes at 18 value
23:43:04 Using Matrix: M4G_MRM_V2.cfg
23:43:04 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
23:43:04 Audio Codec 1: Nero AAC
23:43:04 Audio Quality 1: 0.35
23:43:04 Audio Channel 1: Stereo
23:43:04 Advanced Audio Settings DUMP Track 1
23:43:04 Nero Option Profiles: AUTO --- Encoding Mode: Quality
23:43:04 CCT Option Profiles: AUTO --- Channel Options: AUTO
23:43:04 Lame Settings: ABR
23:43:04 Audio Normalization: 1
23:43:04 Frequency: AUTO --- Tempo : NONE
23:43:04 Pitch: NONE --- Other Add :
23:43:04 Advanced Audio Settings DUMP Track 2
23:43:04 Nero Option Profiles: AUTO --- Encoding Mode: Quality
23:43:04 CCT Option Profiles: AUTO --- Channel Options: AUTO
23:43:04 Lame Settings: ABR
23:43:04 Audio Normalization: 1
23:43:04 Frequency: AUTO --- Tempo : NONE
23:43:04 Pitch: NONE --- Other Add :
23:43:04 Activate Anamorphic Encoding
23:43:04
23:43:04 Starting Indexing
23:43:04 Dgindex CMD: J:\AutoMKV080_NORIP\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[K:\CURSE_OF_THE_BLACK_PEARL\VIDEO_TS\VTS_01_1.vob] -OF=[K:\temp\movie] -exit -minimize
23:45:51 Finished indexing
23:45:51 Starting fixing audio delay on track number 1
23:45:51 DelayCut CMD: J:\AutoMKV080_NORIP\exe\dgindex\Delaycut.exe -auto -out "K:\temp\fixed1.ac3" "K:\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
23:46:24 Original 1' Audio Size: 461377280 bytes
23:46:25 Finished fixing audio delay
23:46:25 Encoding K:\temp\fixed1.ac3 to NeroAAC with 0.35 quality
00:04:27 Encoded 1' Audio Track: 94416998 bytes
00:04:36 Number of Frames: 205985
00:04:36 Framerate: 25.000000
00:04:36 Movie length in Seconds: 8240
00:04:36 Movie Width/Height: 720/576
00:04:36 DgIndex AR: 16:9
00:07:12 Processing completed. Type is determined to be progressive.
00:07:12 Order: unk
00:07:12 Starting X264
00:07:13 CRF encoding X264: J:\AutoMKV080_NORIP\exe\encoder\x264.exe --pass 1 --crf 25.00 --stats "K:\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 umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --cqmfile "J:\AutoMKV080_NORIP\profiles\X264-profiles\matrix\M4G_MRM_V2.cfg" --output "K:\temp\movie.mp4" "K:\temp\movie.avs"
03:14:21 Accepted values are between 31876710400 and 33889976320 bytes (movie+audio)
03:14:21 Got a file of size: 921590184 bytes + audio size 94416998 bytes (1016007168)
03:14:21 Only Movie Size: 921590184 bytes
03:14:21 "J:\AutoMKV080_NORIP\exe\matroska\mkvmerge.exe" -o "K:\temp\CURSE_OF_THE_BLACK_PEARL.mkv" --track-name -1:"CURSE_OF_THE_BLACK_PEARL" --aspect-ratio 1:2.350000 --chapters "J:\AutoMKV080_NORIP\exe\chapters.txt" "K:\temp\movie.mp4" --language -1:eng "K:\temp\audio.mp4" --title "Done with AutoMKV 0.80b http://forum.doom9.org/showthread.php?p=854221 "
03:16:17 Final Muxed size: 1015800131 bytes
03:16:17 Encoding finished: 03:33:14 elapsed time
03:16:17 -----------------------------------------------------------------------
03:16:17 Script AutoCrop.log
03:16:18
03:16:18 Crop(0,74,720,432)
03:16:18 -----------------------------------------------------------------------
03:16:18 Script Resmovie.avs
03:16:18 -----------------------------------------------------------------------
03:16:18 Script movie.avs
03:16:18
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\autocrop.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\BicublinResize.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\blockbuster.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\cnr2.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\ColorMatrix.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\Convolution3D.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\corrector.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\DctFilter.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\Decomb.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\Deen.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\degrainmedian.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\DGDecode.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\EEDI2.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\fft3dfilter.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\FluxSmooth.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\frfun7.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\hqdn3d.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\LeakKernelDeint.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\MaskTools.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\medianblur.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\MipSmooth.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\mt_masktools.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\mvtools.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\NicAudio.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\RemoveGrainSSE3.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\RepairS.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\SangNom.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\SimpleResize.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\SoundOut.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\TBilateral.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\TDeint.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\TIVTC.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\TomsMoComp.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\TTempSmooth.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\UnDot.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\UnFilter.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\VSFilter.dll")
03:16:18 #loadpluginstart
03:16:18
03:16:18 #test1
03:16:18
03:16:18 Import("J:\AutoMKV080_NORIP\exe\filter\MCBob_v03c.avsi")
03:16:18 Import("J:\AutoMKV080_NORIP\exe\filter\mvbob.avsi")
03:16:18 Import("J:\AutoMKV080_NORIP\exe\filter\seesaw.avsi")
03:16:18 Import("J:\AutoMKV080_NORIP\exe\filter\spresso.avsi")
03:16:18 #importstart
03:16:18
03:16:18 #test2
03:16:18
03:16:18 movie = mpeg2source("K:\temp\movie.d2v")
03:16:18 function getOrder(clip c) {
03:16:18 order = GetParity(c) ? 1 : 0
03:16:18 Return order }
03:16:18 #filter1start
03:16:18
03:16:18 #test3
03:16:18
03:16:18 #cropstart
03:16:18
03:16:18 cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=0,threshold=34,samplestartframe=0)
03:16:18 fixed_aspect = 1
03:16:18 c_width = width(cropclip)
03:16:18 c_height = Round(height(cropclip) / fixed_aspect)
03:16:18 input_par = float(float(c_width)/float(c_height))
03:16:18 input_par = input_par > 1.4 ? input_par : (4.0/3.0)
03:16:18 out_width = 720
03:16:18 out_height = Round(float(out_width) / input_par)
03:16:18 hmod = out_height - (floor(out_height / 16 ) * 16)
03:16:18 out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
03:16:18 new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
03:16:18 autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=40,aspect=new_aspect,threshold=34,samplestartframe=0)
03:16:18
03:16:18 last = movie
03:16:18 #resizestart
03:16:18
03:16:18 #test4
03:16:18
03:16:18 #filter2start
03:16:18
03:16:18 #test5
03:16:18
03:16:18 RemoveGrain(mode=5)
03:16:18 ColorMatrix("Rec.709->Rec.601",hints=false,threads=3)
03:16:18 -----------------------------------------------------------------------
03:16:18 Script mkvmaudio.avs
03:16:18
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\NicAudio.dll")
03:16:18 LoadPlugin("J:\AutoMKV080_NORIP\exe\filter\SoundOut.dll")
03:16:18 NicAC3Source("K:\temp\fixed1.ac3")
03:16:18 #Applying STEREO downmixing routines
03:16:18 function stereo(clip a)
03:16:18 {
03:16:18 flr = GetChannel(a, 1, 2)
03:16:18 fcc = GetChannel(a, 3)
03:16:18 lfe = GetChannel(a, 4)
03:16:18 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
03:16:18 mix = MergeChannels(lfc, lfc)
03:16:18 lrc = MixAudio(flr, mix, 0.2929, 1.0)
03:16:18 blr = GetChannel(a, 5, 6)
03:16:18 Return MixAudio(lrc, blr, 1.0, 0.2929)
03:16:18 }
03:16:18 #
03:16:18 6==Audiochannels() ? stereo() : last
03:16:18 Normalize()
03:16:18 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="J:\AutoMKV080_NORIP\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.35 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
03:16:18 -----------------------------------------------------------------------
03:16:18 Script mkvmaudio.bat
03:16:18
03:16:18 "J:\AutoMKV080_NORIP\exe\BeSweet\vdub.exe" /x "K:\temp\mkvmaudio.avs"
03:16:18 -----------------------------------------------------------------------
03:16:18 Script mkvmaudio2.avs
03:16:18 -----------------------------------------------------------------------
03:16:18 Script mkvmaudio2.bat
03:16:18
03:16:18 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - - the resolution reported by mkvtoolnix for the display height/width is 1134 x 576. If i manually change from display height/width to aspect ratio 16:9 and save it the video is the same size as the dvd source and looks fine.

I'm running the same source through again to make sure there is a problem.

delacroixp
16th April 2007, 11:42
Hi buzzqw,

I'm having problems with the Anamorphic Encoding in Automkv.

whenever i play the resulting movie in VLC it is bigger than the original DVD

The resolution reported by mkvtoolnix for the display height/width is 1134 x 576. If i manually change from display height/width to aspect ratio 16:9 and save it the video is the same size as the dvd source and looks fine.
I'm running the same source through again to make sure there is a problem.

Well... it looks like you've cropped Top=70 and Bottom=74 ... and since your width is unchanged, all-else being equal, the DAR resolution should be 1024x432. It might be usefull also, to reset your aspect-ratio in VLC.

Another way to see the dimensions is to view folder as 'details' and then activate the dimensions field (mkv seams to be well supported by MS... unlike divx files)... even the duration can be usefull at times.
buzzqw has included a custom anamorphic Width*Height option and along with SeeMoreDigital's Aspect Ratio Signalling (ARS) Calculation Tool (http://forum.doom9.org/showthread.php?t=107039) you'll be pretty much set for success in the future...

Anamorphic-to-DAR calculations can get pretty hairy at times when width-cropping is involved... not recommended for the feint-of-heart.


:):D:eek:
Pascal

*** NOTE ***
Sorry about name smallcaps

buzzqw
16th April 2007, 13:45
Here is the new full package !!! 0.81!

http://www.64k.it/andres/data/a/AutoMKV081.rar
http://www.64k.it/andres/data/a/AutoMKV081_NORIP.rar

0.81 16/04/2007 Full Package
ADDED: GreyScale and Carton Mode to XviD (look on Advanced Profiles editing)
ADDED: Is now possible to encode audio file to WMA audio. Just select your wav/ac3/mp3... input file, select wmv container and WVC1 profile for WMAPro or Quick profile for WMASTD (like 1_Pass_CBR.xml from WMAPRO and 1_Pass_CBR_Quick.xml for WMASTD, or use Advanced Audio Options)
ADDED: In Advanced profile editing some avisynth check
No Colormatrix, MVDenoise, MVDegrain2 (suggestion by wizboy11)
ADDED: LimitedSharpenFaster as resizer the resize string is like Limitedsharpenfaster(smode=4,ss_x=1.25, ss_y=1.25, strength=150, overshoot=1,dest_x=out_width,dest_y=out_height)
ADDED: FFmpeg as muxer. Will be avaiable in Advanced Settings only when selecting avi container (suggestion by FrieWiled)
ADDED: Check Crop values button, it will control that values are MOD4 or MOD2 (suggestion by delacroixp)
ADDED: Removed some resizers and added some other. HybridFuPP is a combination of resizer and filters.
ADDED: External subtitles are now saved to queue.
Note: When working with MKV are possible to load more then one subtitles. Just browse for these files and select one at time. Every time you will click on ADD to Queue the external subtitles will be saved and reset (check opening the queueXXX.ini). Also remember that external subtitle are remembered between consecutive encoding, for freeing simply open the external sub window and click cancel without selection any file
ADDED: Is now possible to encode audio to WMA without muxing to WMV (so you can build x264+wma muxed in mkv) (alpha, to test). Remember also that actually that neither mkvmerge or mp4box can mux wma audio (yes... pretty useless features... ;) )
ADDED: Possibility to use custom PAR on X264
ADDED: Possibility to use custom PAR on XviD
ADDED: Sar option to X264 profiles (actually valorized only in in Ipod/QuickTime)
ADDED: On Ipod profiles (Ipod and Ipod 5.5) the width is proposed at 640
ADDED: Changed Mp4Box.exe with NicMp4Mux.exe. Same compatibility and support for Apple
ADDED: Changed FFmpeg.exe encoding. Now in Advanced Settigs is possible to select the encoding (also memorized on queue)
ADDED: FFmpeg.exe can now encode to mpeg4
ADDED: FFmpeg.exe can now encode to h264
FIXED: When encoding to FFmpeg.exe audio switch to mp3 lame (just for set correctly the audio bitrate)
FIXED: Using FFmpeg.exe to encode for "msmpeg4v2" wasn't correctly move the file to destination folder
FIXED: Changed in WMV9 profiles the audio codec to wmapro
FIXED: On WMV the Quality for Autoresize is now 90
FIXED: -v_percopt usage on WMV profiles
FIXED: Use of -v_mslevel with new WMCmd.vbs
FIXED: In Advanced Audio Options is now memorized (on job queueing) the language (thanks to nx6)
FIXED: Removed some unused code
FIXED: When encoding to WMV with no audio, the audio options isn't included in command string
FIXED: Revisited WMV profiles name
FIXED: Now WMV encoding will pre-process audio to WAV (2 channels) and then will feed this wav to WMcmd encoder
FIXED: Changed a little bit the calculation of WMV bitrate. Will be less prone to oversize
FIXED: Movie deinterlacer before autocrop (suggestion by Tobytl)
FIXED: When AutoCrop isn't needed isn't more added to avs
FIXED: Queuing the same subtitles more than one time cause a multiple quotes to appear and break the queue. (thanks to nx6)
FIXED: Process this IFO wasn't selectable before input choice
FIXED: X264 Ipod profiles (??? need testing)
UPDATE: Downgraded DGindex to 1.4.8 (should fix all problem with tivtc ), mvtools 1.6.2,HybridFuPP 0.96, WMCmd.vbs 14/04/2007, oggenc 2.8.3 lancer aoTuV b5 (SSE needed)

BHH

Bigmango
16th April 2007, 14:25
Here is the new full package !!! 0.81!


Nice !

So you are not going to add a gui option to specify the video frame rate ?

I know about the avs command line, but this is not end user friendly...

buzzqw
16th April 2007, 14:55
@Bigmango

noted. Will be present in next update!

BHH

FrieWiled
16th April 2007, 15:24
buzzqw,

Thanks!!!

:)))

Will report back!

Bigmango
16th April 2007, 19:02
@Bigmango

noted. Will be present in next update!

BHH

:thanks:

delacroixp
17th April 2007, 00:11
I used avinaptic, which buzz told me about.
Awesome Utility (http://forum.doom9.org/showthread.php?t=123076)
[ About file ]
Name: BoB 02 - 640x360.mkv
Date: 20/03/2007 19:21:20

[ About H.264 encoding ]
User data: crf=23.0

[ DRF analysis ]
Average DRF: 25.505621
Standard deviation: 3.105367
Max DRF: 34

DRF<10: 0 ( 0.000 %)
DRF=10: 188 ( 0.251 %)
DRF=11: 144 ( 0.192 %)
DRF=12: 309 ( 0.412 %)
DRF=13: 135 ( 0.180 %)
DRF=14: 167 ( 0.223 %)
DRF=15: 183 ( 0.244 %)
DRF=16: 153 ( 0.204 %)
DRF=17: 117 ( 0.156 %)
DRF=18: 133 ( 0.177 %)
DRF=19: 204 ( 0.272 %)
DRF=20: 715 ( 0.954 %)
DRF=21: 1572 ( 2.097 %) #
DRF=22: 4357 ( 5.811 %) #
DRF=23: 8309 ( 11.081 %) ###
DRF=24: 9955 ( 13.277 %) ###
DRF=25: 11611 ( 15.485 %) ####
DRF=26: 9386 ( 12.518 %) ###
DRF=27: 7814 ( 10.421 %) ###
DRF=28: 7064 ( 9.421 %) ##
DRF=29: 5988 ( 7.986 %) ##
DRF=30: 3879 ( 5.173 %) #
DRF=31: 1846 ( 2.462 %) #
DRF=32: 645 ( 0.860 %)
DRF=33: 80 ( 0.107 %)
DRF=34: 27 ( 0.036 %)
DRF>34: 0 ( 0.000 %)

This report was created by AVInaptic (06-03-2007) on 21 mar 2007, h 20:03:47

What does it all mean...
It certainly looks like a variety of statistical quantizers are being used... all the way from Q10 to Q34...

Stupid question here: what is the numerical range for the ConstantQuality-CRF profile quality scale? I'm been thinking of trying something higher in quality than 18.

Unless you're working with RAW AVI or a very high bitrate, possibly Sony Superbit, production then Q18 is considered the lowest level
this is a big error :)

The CRF profile is NOT A CONSTANT QUALITY PROFILE but a CONSTANT RATE FACTOR PROFILE.



You got me thinking about quality levels above Q18-CRF... I know that buzzqw mentioned that the CQ-CRF-profile is a CONSTANT RATE FACTOR PROFILE and Q18 isn't even an average quality but merely a nominal figure where the average quality could be 2-levels less at Q20... as in the case of the above AVInaptic analysis of a Q23-CQ-CRF encode... and the actual quality can range from Q10 to Q34...
However, Q18-CQ-CRF is still the lowest setting generally used for this profile unless you're encoding RAW AVI as source-material for future projects and would prefer to use, possibly, Q16-CQ-CRF...


So I tried Q18-CQ-CRF on DAR resolution (1024x576) comparing the results to a Q18-CQ-CRF Anamorphic (720x576) encode and to the VOB-original...

Anamorphic Text http://souls-online.net/delacroixp/AutoMKV/BoB/BoB_Text_Anamorphic.png ... DAR http://souls-online.net/delacroixp/AutoMKV/BoB/BoB_Text_DAR.png ... VOB http://souls-online.net/delacroixp/AutoMKV/BoB/BoB_Text_VOB.png

Nobody is interested in great looking text... but it is a relative indicator of the quality of the rest of the encode... look especially at the bottom of the angled leg of the capital R...


Then I also used VLC Player to take snapshots during the movie...

Anamorphic http://souls-online.net/delacroixp/AutoMKV/BoB/BoB_ Anamorphic_Thumb.jpg (http://souls-online.net/delacroixp/AutoMKV/BoB/BoB_Anamorphic.png) ... DAR http://souls-online.net/delacroixp/AutoMKV/BoB/BoB_DAR_Thumb.jpg (http://souls-online.net/delacroixp/AutoMKV/BoB/BoB_DAR.png) ... VOB http://souls-online.net/delacroixp/AutoMKV/BoB/BoB_VOB_Thumb.jpg (http://souls-online.net/delacroixp/AutoMKV/BoB/BoB_VOB.png)

If you download the VLC snapshots and watch the jeep, particularly between the Anamorphic and DAR encode... the clarity and detail will just jump right out at you...


This DAR quality, however, does not come cheep... the Anamorphic encode is 45% less-than the VOB while the DAR encode is only 24% less-than the VOB original... and encodes times are also 25% slower. A further consideration is that Q18-Anamorphic may equate to Q19 or even Q20-DAR and your movie has been correctly resized during encode rather than, in realtime on plaback... where quality may suffer...

I used the Lanczos4 resize filter though there may well be a filter better suited since the movie hasn't been resized, as much as, re-mapped to it's originally intended resolution.

Is it worth it... well that's up to you...



:):D:eek:
Pascal


BTW
Does anyone know of a utility that will take a snapshot of any particular frame-number... from a VOB, MKV or MP4 video file...

Bigmango
17th April 2007, 00:29
BTW
Does anyone know of a utility that will take a snapshot of any particular frame-number... from a VOB, MKV or MP4 video file...

Yes, Avidemux. You can go to any frame number and then save the frame (menu/save)

http://fixounet.free.fr/avidemux/

Latest unstable windows devel version is here (the devel version is nice as it includes the latest codec versions, use the official version if you get bugs):
http://www.razorbyte.com.au/avidemux/
(http://www.razorbyte.com.au/avidemux/)

sunflash10
17th April 2007, 00:41
Yes, Avidemux. You can go to any frame number and then save the frame (menu/save)

http://fixounet.free.fr/avidemux/

Latest unstable windows devel version is here (the devel version is nice as it includes the latest codec versions, use the official version if you get bugs):
http://www.razorbyte.com.au/avidemux/
(http://www.razorbyte.com.au/avidemux/)

Another alternative would be Media Player Classic.

That way, you don't have to install anything.

TheRyuu
17th April 2007, 02:06
It seems that using the Auto mode for deinterlacer doesn't seem to analyze the movie right.

I know for a fact that the move is 29fps with it being 3p/2i so 3/2 pull down is needed (not sure what you call it. IVTC? Inverse Tech something... not that video literate here but you get the point right?)

However, for some reason, the deinterlacer is using Party Film with a hybrid field. Both are wrong. I also know that it is TFF and requires the decimating filter. Luckily I know how to see a 3/2 film (it ain't hard, just look at the video in step mode in MPC to see the 3p frames and 2i frames in a pattern).

How come the auto deinterlacer isn't analyzing it correctly?? Or is it just not perfect when it comes to everything :)

ricardo.santos
17th April 2007, 02:07
Ive been trying AutoMKV but i always used to get errors while testing it, this is actually the first version that doesnt give me any errors:

i used a 5 minute vob and a target size of 50 Mg to test it against AutoGk, StaxRip,Avi.Net,Fairuse WIZARD,vIRTUALdUB Mod using Xvid, all using same audio/video settings.

1-AutoMkv was the only producing an undersized file (42mg) all the others were right on, the quality at 42 mg was good but so were the others when i also tested them at 42mg.

2- AutoMkv took 35% more time to encode the same file. AutoGk was faster even with the Compcheck test

3- AutoMkv was the one that took more time to setup, StaxRip his fully customazible but has a more user friendly GUI, my opinion anyway. too many tabs and drop down menus.

It has potential with all the choice of codecs, but i will stick with Autogk/avi.Net for my xvid backups. Keep up the good work

gonwk
17th April 2007, 04:54
Hi folks,

@ Ricardo ... first of all I have to inform you that I am not at all Video expert ... just point & click type of a person ...

but is anyone of the ones that you mentioned "Portable" meaning all applications needed "Contained" in it's own little folder ...

I can tell you that is why I won't have "AutoGK" on my computer ... and I have never been able to use "Staxrip" ...

G!

nx6
17th April 2007, 07:36
Okay, I'm having issues with the new build. This is a two minute sample I made for the purpose of testing encoding and filter settings.
00:33:21 0.81 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
00:33:21 Selected Input file: S:\AutoMKV081\Bleach Test 2\VTS_01_0.d2v
00:33:21 Selected Output dir: S:\AutoMKV081\Bleach Test 2\temp\
00:33:21 Selected Final Name: BT02v081Test2
00:33:21 Selected Container type: MKV
00:33:21 Selected Encoder: X264
00:33:21 Selected Size: 1 CD
00:33:21 Selected Slice: 1
00:33:21 Selected Profile: ConstantQuality-CRF.xml
00:33:21 Selected Width: Original
00:33:21 Selected Resizer: NONE
00:33:21 Selected Filters: NONE
00:33:21 Selected Deinterlacer: AUTO
00:33:21 Selected Field Order: AUTO
00:33:21 Enabled CRF/CQ AutoRes at 18 value
00:33:21 Track Language 1: S:\AutoMKV081\Bleach Test 2\VTS_01_0 T01 2_0ch 224Kbps DELAY -135ms.ac3
00:33:21 Audio Codec 1: Nero AAC
00:33:21 Audio Quality 1: 0.35
00:33:21 Audio Channel 1: Stereo
00:33:21 Track Language 2: S:\AutoMKV081\Bleach Test 2\VTS_01_0 T02 2_0ch 224Kbps DELAY -135ms.ac3
00:33:21 Audio Codec 2: Nero AAC
00:33:21 Audio Quality 2: 0.35
00:33:21 Audio Chennel 2: Stereo
00:33:21 Advanced Audio Settings DUMP Track 1
00:33:21 Movie title Name: (no filters)
00:33:21 Nero Option Profiles: AUTO --- Encoding Mode: Quality
00:33:21 CCT Option Profiles: AUTO --- Channel Options: AUTO
00:33:21 Lame Settings: ABR
00:33:21 Audio Normalization: 1
00:33:21 Frequency: AUTO --- Tempo : NONE
00:33:21 Pitch: NONE --- Other Add :
00:33:21 Advanced Audio Settings DUMP Track 2
00:33:21 Nero Option Profiles: AUTO --- Encoding Mode: Quality
00:33:21 CCT Option Profiles: AUTO --- Channel Options: AUTO
00:33:21 Lame Settings: ABR
00:33:21 Audio Normalization: 1
00:33:21 Frequency: AUTO --- Tempo : NONE
00:33:21 Pitch: NONE --- Other Add :
00:33:21 Selected Unlimited media size
00:33:22 DelayCut CMD: S:\AutoMKV081\exe\dgindex\Delaycut.exe -auto -out "S:\AutoMKV081\Bleach Test 2\temp\fixed1.ac3" "S:\AutoMKV081\Bleach Test 2\VTS_01_0 T01 2_0ch 224Kbps DELAY -135ms.ac3"
00:33:22 DelayCut CMD: S:\AutoMKV081\exe\dgindex\Delaycut.exe -auto -out "S:\AutoMKV081\Bleach Test 2\temp\fixed2.ac3" "S:\AutoMKV081\Bleach Test 2\VTS_01_0 T02 2_0ch 224Kbps DELAY -135ms.ac3"
00:33:22 Encoding S:\AutoMKV081\Bleach Test 2\temp\fixed1.ac3 to NeroAAC with 0.35 quality
00:33:53 Encoded 1' Audio Track: 1438861 bytes
00:33:53 Encoding S:\AutoMKV081\Bleach Test 2\temp\fixed2.ac3 to NeroAAC with 0.35 quality
00:34:20 Encoded 2' Audio Track: 1454831 bytes
00:34:25 Avi engage mode not corrected, switched to DirectShowSource
00:34:28 !!! BREAK - FILE NOT SUPPORTED !!! - Trying with MediaInfo!
00:34:29 Aspect ratio: 4:3
00:34:29 Number of Frames:
00:34:29 Framerate:
00:34:29 Movie length in Seconds: 1
00:34:29 Movie Width/Height: /
00:34:29 DgIndex AR: 4:3
00:34:29 Number of Frames:
00:34:29 Framerate:
00:34:29 Movie length in Seconds: 1
00:34:29 Movie Width/Height: /
00:34:29 DgIndex AR: 4:3
00:34:33 Order: unk
00:34:33 Starting X264
00:34:33 CRF encoding X264: S:\AutoMKV081\exe\encoder\x264.exe --pass 1 --crf 18 --stats "S:\AutoMKV081\Bleach Test 2\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:\AutoMKV081\Bleach Test 2\temp\movie.mp4" "S:\AutoMKV081\Bleach Test 2\temp\movie.avs"
00:34:36 Accepted values are between 697303040 and 741343232 bytes (movie+audio)
00:34:36 Got a file of size: 0 bytes + audio size 2893694 bytes (2893694)
00:36:46 "S:\AutoMKV081\exe\matroska\mkvmerge.exe" -o "S:\AutoMKV081\Bleach Test 2\temp\BT02v081Test2.mkv" --track-name -1:"BT02v081Test2" --aspect-ratio 1:-1.#IND00 "S:\AutoMKV081\Bleach Test 2\temp\movie.mp4" --language -1:und "S:\AutoMKV081\Bleach Test 2\temp\audio.mp4" --language -1:und "S:\AutoMKV081\Bleach Test 2\temp\audio2.mp4" --title "(no filters)"
00:36:49 Final Muxed size: -1 bytes
00:36:49 Encoding finished: 00:03:28 elapsed time
00:36:49 -----------------------------------------------------------------------
00:36:49 Script AutoCrop.log
00:36:49 -----------------------------------------------------------------------
00:36:49 Script Resmovie.avs
00:36:49 -----------------------------------------------------------------------
00:36:49 Script movie.avs
00:36:49
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\AddGrain.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\autocrop.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\BicublinResize.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\blockbuster.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\cnr2.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\ColorMatrix.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\Convolution3D.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\corrector.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\DctFilter.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\Decomb.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\Deen.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\degrainmedian.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\DGDecode.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\EEDI2.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\fft3dfilter.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\FluxSmooth.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\frfun7.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\hqdn3d.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\LeakKernelDeint.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\MaskTools.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\medianblur.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\MipSmooth.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\MSharpen.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\mt_masktools.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\mvtools.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\NicAudio.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\RemoveGrainS.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\RepairS.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\SangNom.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\SimpleResize.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\SoundOut.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\TBilateral.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\TDeint.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\TIVTC.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\TomsMoComp.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\TTempSmooth.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\UnDot.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\UnFilter.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\VSFilter.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\warpsharp.dll")
00:36:49 #loadpluginstart
00:36:49
00:36:49 #test1
00:36:49
00:36:49 Import("S:\AutoMKV081\exe\filter\HybridFuPP.avsi")
00:36:49 Import("S:\AutoMKV081\exe\filter\LimitedSharpenFaster.avsi")
00:36:49 Import("S:\AutoMKV081\exe\filter\MCBob_v03c.avsi")
00:36:49 Import("S:\AutoMKV081\exe\filter\mvbob.avsi")
00:36:49 Import("S:\AutoMKV081\exe\filter\seesaw.avsi")
00:36:49 Import("S:\AutoMKV081\exe\filter\spresso.avsi")
00:36:49 #importstart
00:36:49
00:36:49 #test2
00:36:49
00:36:49 movie = mpeg2source("S:\AutoMKV081\Bleach Test 2\VTS_01_0.d2v")
00:36:49 function getOrder(clip c) {
00:36:49 order = GetParity(c) ? 1 : 0
00:36:49 Return order }
00:36:49 #filter1start
00:36:49
00:36:49 #test3
00:36:49
00:36:49 last = movie
00:36:49 #resizestart
00:36:49
00:36:49 #test4
00:36:49
00:36:49 #filter2start
00:36:49
00:36:49 #test5
00:36:49
00:36:49 return last
00:36:49 -----------------------------------------------------------------------
00:36:49 Script mkvmaudio.avs
00:36:49
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\NicAudio.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\SoundOut.dll")
00:36:49 NicAC3Source("S:\AutoMKV081\Bleach Test 2\temp\fixed1.ac3")
00:36:49 #Applying STEREO downmixing routines
00:36:49 function stereo(clip a)
00:36:49 {
00:36:49 flr = GetChannel(a, 1, 2)
00:36:49 fcc = GetChannel(a, 3)
00:36:49 lfe = GetChannel(a, 4)
00:36:49 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
00:36:49 mix = MergeChannels(lfc, lfc)
00:36:49 lrc = MixAudio(flr, mix, 0.2929, 1.0)
00:36:49 blr = GetChannel(a, 5, 6)
00:36:49 Return MixAudio(lrc, blr, 1.0, 0.2929)
00:36:49 }
00:36:49 #
00:36:49 6==Audiochannels() ? stereo() : last
00:36:49 Normalize()
00:36:49 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="S:\AutoMKV081\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.35 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
00:36:49 -----------------------------------------------------------------------
00:36:49 Script mkvmaudio.bat
00:36:49
00:36:49 "S:\AutoMKV081\exe\BeSweet\vdub.exe" /x "S:\AutoMKV081\Bleach Test 2\temp\mkvmaudio.avs"
00:36:49 -----------------------------------------------------------------------
00:36:49 Script mkvmaudio2.avs
00:36:49
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\NicAudio.dll")
00:36:49 LoadPlugin("S:\AutoMKV081\exe\filter\SoundOut.dll")
00:36:49 NicAC3Source("S:\AutoMKV081\Bleach Test 2\temp\fixed2.ac3")
00:36:49 #Applying STEREO downmixing routines
00:36:49 function stereo(clip a)
00:36:49 {
00:36:49 flr = GetChannel(a, 1, 2)
00:36:49 fcc = GetChannel(a, 3)
00:36:49 lfe = GetChannel(a, 4)
00:36:49 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
00:36:49 mix = MergeChannels(lfc, lfc)
00:36:49 lrc = MixAudio(flr, mix, 0.2929, 1.0)
00:36:49 blr = GetChannel(a, 5, 6)
00:36:49 Return MixAudio(lrc, blr, 1.0, 0.2929)
00:36:49 }
00:36:49 #
00:36:49 6==Audiochannels() ? stereo() : last
00:36:49 Normalize()
00:36:49 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="S:\AutoMKV081\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.35 -if - -of audio2.mp4",postfilename="",nofilename=true,showoutput=false)
00:36:49 -----------------------------------------------------------------------
00:36:49 Script mkvmaudio2.bat
00:36:49
00:36:49 "S:\AutoMKV081\exe\BeSweet\vdub.exe" /x "S:\AutoMKV081\Bleach Test 2\temp\mkvmaudio2.avs"
00:36:49
00:36:49 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
17th April 2007, 08:13
@wizboy11
more then ofte appear this problem... i must "tune" better bautodeint...

@nx6
kay, I'm having issues with the new build

UPDATE: Downgraded DGindex to 1.4.8 (should fix all problem with tivtc )

most probably you have done VTS_01_0.d2v with 1.49 beta xxx BUT now i downgrade dgindex to resolve most of issue with ivtc.
Re-DgIndex your sample :)

@ricardo.santos
i used a 5 minute vob and a target size of 50 Mg to test it against AutoGk, StaxRip,Avi.Net,Fairuse WIZARD,vIRTUALdUB Mod using Xvid, all using same audio/video settings.

the problem is VFW Vs XviD_EncRaw. XviD_Encraw isn't so precise to hit final size... most depends on imin/imax/pmin/pmax...

AutoMkv took 35% more time to encode the same file

most probably is interlaced. AutoGK deinterlace AFTER cropping, AutoMKV deinterlace BEFORE cropping, so some chroma aberration doesn't appear

AutoMkv was the one that took more time to setup,
... automkv is a three click application.. launch it, browse your file, click start

It has potential with all the choice of codecs, but i will stick with Autogk/avi.Net for my xvid backups. Keep up the good work

thanks ricardo! i will try to make automkv better and better ! :)

BHH

nx6
17th April 2007, 08:47
@nx6

most probably you have done VTS_01_0.d2v with 1.49 beta xxx BUT now i downgrade dgindex to resolve most of issue with ivtc.
Re-DgIndex your sample :)

Well, that might have been part of the problem, but it's still failing to encode. I just now made a new d2v sample from the original VOBs.

01:41:00 0.81 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
01:41:00 Selected Input file: S:\AutoMKV081\Bleach Test 3\VTS_01_1.d2v
01:41:00 Selected Output dir: S:\AutoMKV081\Bleach Test 3\temp\
01:41:00 Selected Final Name: BT03v081
01:41:00 Selected Container type: MKV
01:41:00 Selected Encoder: X264
01:41:00 Selected Size: 1 CD
01:41:00 Selected Slice: 1
01:41:00 Selected Profile: ConstantQuality-CRF.xml
01:41:00 Selected Width: Original
01:41:00 Selected Resizer: NONE
01:41:00 Selected Filters: NONE
01:41:00 Selected Deinterlacer: AUTO
01:41:00 Selected Field Order: AUTO
01:41:00 Enabled CRF/CQ AutoRes at 18 value
01:41:00 Track Language 1: S:\AutoMKV081\Bleach Test 3\VTS_01_1 T01 2_0ch 224Kbps DELAY -185ms.ac3
01:41:00 Audio Codec 1: Nero AAC
01:41:00 Audio Quality 1: 0.30
01:41:00 Audio Channel 1: Stereo
01:41:00 Track Language 2: S:\AutoMKV081\Bleach Test 3\VTS_01_1 T02 2_0ch 224Kbps DELAY -185ms.ac3
01:41:00 Audio Codec 2: Nero AAC
01:41:00 Audio Quality 2: 0.30
01:41:00 Audio Chennel 2: Stereo
01:41:00 Advanced Audio Settings DUMP Track 1
01:41:00 Movie title Name: (no filters)
01:41:00 Audio Track Language: eng
01:41:00 Nero Option Profiles: AUTO --- Encoding Mode: Quality
01:41:00 CCT Option Profiles: AUTO --- Channel Options: AUTO
01:41:00 Lame Settings: ABR
01:41:00 Audio Normalization: 1
01:41:00 Frequency: AUTO --- Tempo : NONE
01:41:00 Pitch: NONE --- Other Add :
01:41:00 Advanced Audio Settings DUMP Track 2
01:41:00 Audio Track Language: jpn
01:41:00 Nero Option Profiles: AUTO --- Encoding Mode: Quality
01:41:00 CCT Option Profiles: AUTO --- Channel Options: AUTO
01:41:00 Lame Settings: ABR
01:41:00 Audio Normalization: 1
01:41:00 Frequency: AUTO --- Tempo : NONE
01:41:00 Pitch: NONE --- Other Add :
01:41:00 Selected Unlimited media size
01:41:00 DelayCut CMD: S:\AutoMKV081\exe\dgindex\Delaycut.exe -auto -out "S:\AutoMKV081\Bleach Test 3\temp\fixed1.ac3" "S:\AutoMKV081\Bleach Test 3\VTS_01_1 T01 2_0ch 224Kbps DELAY -185ms.ac3"
01:41:01 DelayCut CMD: S:\AutoMKV081\exe\dgindex\Delaycut.exe -auto -out "S:\AutoMKV081\Bleach Test 3\temp\fixed2.ac3" "S:\AutoMKV081\Bleach Test 3\VTS_01_1 T02 2_0ch 224Kbps DELAY -185ms.ac3"
01:41:03 Encoding S:\AutoMKV081\Bleach Test 3\temp\fixed1.ac3 to NeroAAC with 0.30 quality
01:41:29 Encoded 1' Audio Track: 986982 bytes
01:41:29 Encoding S:\AutoMKV081\Bleach Test 3\temp\fixed2.ac3 to NeroAAC with 0.30 quality
01:41:51 Encoded 2' Audio Track: 994291 bytes
01:42:05 Number of Frames: 3406
01:42:05 Framerate: 29.970030
01:42:05 Movie length in Seconds: 114
01:42:05 Movie Width/Height: 720/480
01:42:05 DgIndex AR: 4:3
01:43:28 Order: unk
01:43:28 Starting X264
01:43:28 CRF encoding X264: S:\AutoMKV081\exe\encoder\x264.exe --pass 1 --crf 18 --stats "S:\AutoMKV081\Bleach Test 3\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:\AutoMKV081\Bleach Test 3\temp\movie.mp4" "S:\AutoMKV081\Bleach Test 3\temp\movie.avs"
01:43:31 Accepted values are between 697303040 and 741343232 bytes (movie+audio)
01:43:31 Got a file of size: 0 bytes + audio size 1981275 bytes (1981275)
01:45:42 "S:\AutoMKV081\exe\matroska\mkvmerge.exe" -o "S:\AutoMKV081\Bleach Test 3\temp\BT03v081.mkv" --track-name -1:"BT03v081" --aspect-ratio 1:1.000000 "S:\AutoMKV081\Bleach Test 3\temp\movie.mp4" --language -1:eng "S:\AutoMKV081\Bleach Test 3\temp\audio.mp4" --language -1:jpn "S:\AutoMKV081\Bleach Test 3\temp\audio2.mp4" --title "(no filters)"
01:45:43 Final Muxed size: -1 bytes
01:45:43 Encoding finished: 00:04:43 elapsed time
01:45:43 -----------------------------------------------------------------------
01:45:43 Script AutoCrop.log
01:45:43
01:45:43 Crop(4,0,712,480)
01:45:43 -----------------------------------------------------------------------
01:45:43 Script Resmovie.avs
01:45:43 -----------------------------------------------------------------------
01:45:43 Script movie.avs
01:45:43
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\AddGrain.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\autocrop.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\BicublinResize.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\blockbuster.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\cnr2.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\ColorMatrix.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\Convolution3D.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\corrector.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\DctFilter.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\Decomb.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\Deen.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\degrainmedian.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\DGDecode.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\EEDI2.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\fft3dfilter.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\FluxSmooth.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\frfun7.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\hqdn3d.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\LeakKernelDeint.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\MaskTools.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\medianblur.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\MipSmooth.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\MSharpen.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\mt_masktools.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\mvtools.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\NicAudio.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\RemoveGrainS.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\RepairS.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\SangNom.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\SimpleResize.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\SoundOut.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\TBilateral.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\TDeint.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\TIVTC.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\TomsMoComp.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\TTempSmooth.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\UnDot.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\UnFilter.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\VSFilter.dll")
01:45:43 LoadPlugin("S:\AutoMKV081\exe\filter\warpsharp.dll")
01:45:43 #loadpluginstart
01:45:43
01:45:43 #test1
01:45:43
01:45:43 Import("S:\AutoMKV081\exe\filter\HybridFuPP.avsi")
01:45:43 Import("S:\AutoMKV081\exe\filter\LimitedSharpenFaster.avsi")
01:45:43 Import("S:\AutoMKV081\exe\filter\MCBob_v03c.avsi")
01:45:43 Import("S:\AutoMKV081\exe\filter\mvbob.avsi")
01:45:43 Import("S:\AutoMKV081\exe\filter\seesaw.avsi")
01:45:43 Import("S:\AutoMKV081\exe\filter\spresso.avsi")
01:45:43 #importstart
01:45:43
01:45:43 #test2
01:45:44
01:45:44 movie = mpeg2source("S:\AutoMKV081\Bleach Test 3\VTS_01_1.d2v")
01:45:44 function getOrder(clip c) {
01:45:44 order = GetParity(c) ? 1 : 0
01:45:44 Return order }
01:45:44 #filter1start
01:45:44
01:45:44 #test3
01:45:44
01:45:44 last = movie
01:45:44 #resizestart
01:45:44
01:45:44 #test4
01:45:44
01:45:44 #filter2start
01:45:44
01:45:44 #test5
01:45:44
01:45:44 -----------------------------------------------------------------------
01:45:44 Script mkvmaudio.avs
01:45:44
01:45:44 LoadPlugin("S:\AutoMKV081\exe\filter\NicAudio.dll")
01:45:44 LoadPlugin("S:\AutoMKV081\exe\filter\SoundOut.dll")
01:45:44 NicAC3Source("S:\AutoMKV081\Bleach Test 3\temp\fixed1.ac3")
01:45:44 #Applying STEREO downmixing routines
01:45:44 function stereo(clip a)
01:45:44 {
01:45:44 flr = GetChannel(a, 1, 2)
01:45:44 fcc = GetChannel(a, 3)
01:45:44 lfe = GetChannel(a, 4)
01:45:44 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
01:45:44 mix = MergeChannels(lfc, lfc)
01:45:44 lrc = MixAudio(flr, mix, 0.2929, 1.0)
01:45:44 blr = GetChannel(a, 5, 6)
01:45:44 Return MixAudio(lrc, blr, 1.0, 0.2929)
01:45:44 }
01:45:44 #
01:45:44 6==Audiochannels() ? stereo() : last
01:45:44 Normalize()
01:45:44 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="S:\AutoMKV081\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.30 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
01:45:44 -----------------------------------------------------------------------
01:45:44 Script mkvmaudio.bat
01:45:44
01:45:44 "S:\AutoMKV081\exe\BeSweet\vdub.exe" /x "S:\AutoMKV081\Bleach Test 3\temp\mkvmaudio.avs"
01:45:44 -----------------------------------------------------------------------
01:45:44 Script mkvmaudio2.avs
01:45:44
01:45:44 LoadPlugin("S:\AutoMKV081\exe\filter\NicAudio.dll")
01:45:44 LoadPlugin("S:\AutoMKV081\exe\filter\SoundOut.dll")
01:45:44 NicAC3Source("S:\AutoMKV081\Bleach Test 3\temp\fixed2.ac3")
01:45:44 #Applying STEREO downmixing routines
01:45:44 function stereo(clip a)
01:45:44 {
01:45:44 flr = GetChannel(a, 1, 2)
01:45:44 fcc = GetChannel(a, 3)
01:45:44 lfe = GetChannel(a, 4)
01:45:44 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
01:45:44 mix = MergeChannels(lfc, lfc)
01:45:44 lrc = MixAudio(flr, mix, 0.2929, 1.0)
01:45:44 blr = GetChannel(a, 5, 6)
01:45:44 Return MixAudio(lrc, blr, 1.0, 0.2929)
01:45:44 }
01:45:44 #
01:45:44 6==Audiochannels() ? stereo() : last
01:45:44 Normalize()
01:45:44 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="S:\AutoMKV081\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.30 -if - -of audio2.mp4",postfilename="",nofilename=true,showoutput=false)
01:45:44 -----------------------------------------------------------------------
01:45:44 Script mkvmaudio2.bat
01:45:44
01:45:44 "S:\AutoMKV081\exe\BeSweet\vdub.exe" /x "S:\AutoMKV081\Bleach Test 3\temp\mkvmaudio2.avs"
01:45:44
01:45:44 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

I saw an error flash up real fast just before the job "finished" but I wasn't sure what was running when it happened. If you know I can rerun from DOS and give you the output.

delacroixp
17th April 2007, 09:12
Perhaps 'Original' could be set to mean 'DAR Original' and perhaps, 'AutoCrop Only' could be set to mean 'DAR AutoCrop Only'...
This would avoid the confusion amongst MP4v users you can't do anamorphic encodes inherently.

MKV users should probably resort to manual anamorphic encodes because of the complexities of calculating the correct DAR... especially when width-cropping has been implemented...


:):D:eek:
Pascal

delacroixp
17th April 2007, 09:28
Okay, I'm having issues with the new build. This is a two minute sample I made for the purpose of testing encoding and filter settings.
00:33:21 0.81 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
00:33:21 Selected Input file: S:\AutoMKV081\Bleach Test 2\VTS_01_0.d2v
00:33:21 Selected Output dir: S:\AutoMKV081\Bleach Test 2\temp\

00:36:49 Script mkvmaudio2.bat
00:36:49
00:36:49 "S:\AutoMKV081\exe\BeSweet\vdub.exe" /x "S:\AutoMKV081\Bleach Test 2\temp\mkvmaudio2.avs"
00:36:49
00:36:49 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

I take it you've been encoding Bleach (http://en.wikipedia.org/wiki/Bleach_(manga)), the Tokyo TV series... my nephew is nuts about the series and his younger brother just loves Dragonball Z (http://www.dragonballz.com/)...
Bleach has over 100 episodes and Drogonball Z has almost 300 episodes.

I'ld love to get the DVD's and make them a H264 encode version...


:):D:eek:
Pascal

delacroixp
17th April 2007, 09:36
:thanks: much for the heads-up on recommending Avidemux and Media Player Classic to capture specific frame-number snapshots...

Very much appreciated


:):D:eek:
Pascal

nx6
17th April 2007, 09:47
I'ld love to get the DVD's and make them a H264 encode version...
Pascal

That would be exactly what I'm doing. I haven't been thrilled with the quality of the DVD releases, though. The video has this slight blurriness to it. That is why I was asking about sharpening filters last week. There also are few extras (not that I'm heavy into extra content).

Meanwhile, I was watching Full Metal Alchemist last week, and they have a 5.1 English track in addition to the normal 2.0 channel Eng and Jap. and two angles for each episode so you can see all the credits and such in whichever language you choose.

Speaking of being sharper...
@buzzwq

I notice you're including the MSharpen filter (http://neuron2.net/msharpen/msharpen.html) in AutoMKV now. That's funny, that was the same filter I was adding to my set (http://forum.doom9.org/showpost.php?p=988043&postcount=1832) for v080b a few days ago. :D

delacroixp
17th April 2007, 09:49
I'm been thinking of trying something higher in quality than 18. Also, any recommendation of a filter to sharpen? I figured you might know since you were processing VHS tapes (made into AVIs) for a library I assume?
Try 17-CQ-CRF... I certainly am, especially after seeing the kind of results that can be achieved with AutoMKV and H264.

I prefer '1 disc - 1 movie' and often a 10 or 20% reduction will do the trick... even including the original AC3 audio track(s)... actually, I've had a very real problem converting AC3-surround to MP4-surround... the BeSweet-to-WAV conversion is flawless but the WAV-to-MP4 crashes instantly... any thoughts...

After seeing Q18-DAR results... I'm iching to try Q17-Anamorphic, maybe even Q16... it's like a desease, an affliction, I'm hooked and addicted... please help...

Cya... compie's calling... got to go... again... (it's the Aliens)* : .


:):D:eek:
Pascal

nx6
17th April 2007, 09:51
Try 17-CQ-CRF... I certainly am, especially after seeing the kind of results that can be achieved with AutoMKV and H264.

I've already tried that. I didn't see much difference (but I was using anime as a test, and I imagine it would have a greater impact on a movie).

buzzqw
17th April 2007, 09:56
@nx6

got it, is due to no filters at all applyed (and no colormatrix... )

fixed in next update... now apply at least a filter or as last line avs write "return last"

BHH

nx6
17th April 2007, 10:07
@buzzqw

The encode is running right now, so you have found it. Thank you for your prompt response.

Is it okay to use the SSE2 version of NeroAACEnc? I just realized today one exists, and was going to use it and just rename it to match the original filename AutoMKV is looking for on startup.

Also, probably wont effect any normal projects, but I noticed DGIndex is set to rip the main audio track only by default right now, not rip all tracks like previously. It caught me off guard when I made my test over again and only got one audio track to use when it finished building the new d2v file.

buzzqw
17th April 2007, 10:11
Is it okay to use the SSE2 version of NeroAACEnc

no prob at all!
even more substitute the removegrain.dll with sse2/sse3 avaiable (and all dll that have more powerfull version)

not rip all tracks like previously
this behavior isn't changed... dgindex will switch to demux alla tracks only if request or if the requested track isn't found...

BHH

buzzqw
17th April 2007, 12:37
update 0.81a

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

0.81a 17/04/2007
ADDED: Varius way of changing fps in Advanced Avisynth. Note all but MVFlowFps and MVFlowFps2 want fps expressed as "Numerator,Denominator". Note MVFlowFps and MVFlowFps2 have a fixed denominator of 100, so simply write 2500 for 25 fps
FIXED: The avs will not return clip if no resizer, no colormatrix , no deinterlacer and no filter used (thanks to nx6)

BHH

TheRyuu
17th April 2007, 22:31
That would be exactly what I'm doing. I haven't been thrilled with the quality of the DVD releases, though. The video has this slight blurriness to it. That is why I was asking about sharpening filters last week. There also are few extras (not that I'm heavy into extra content).

Meanwhile, I was watching Full Metal Alchemist last week, and they have a 5.1 English track in addition to the normal 2.0 channel Eng and Jap. and two angles for each episode so you can see all the credits and such in whichever language you choose.

Speaking of being sharper...
@buzzwq

I notice you're including the MSharpen filter (http://neuron2.net/msharpen/msharpen.html) in AutoMKV now. That's funny, that was the same filter I was adding to my set (http://forum.doom9.org/showpost.php?p=988043&postcount=1832) for v080b a few days ago. :D

If your looking for a good sharpening filter I think that you really can't go wrong with SeeSaw.

Example of a Seesaw scipt:
SeeSaw(NRlimit=0, NRlimit2=5, Sstr=1.70, Szp=1, Slimit=50, Sdamplo=29, Spower=1, sootheT=0, SdampHi=35)

The Sstr value is for the amount of sharpening. 1.70 is really high though, especially with the standard seesaw script that comes with AutoMKV. Might want to try a value of 1.5 or lower.

Like use something like this:
FluxSmoothT(8).SeeSaw(NRlimit=0, NRlimit2=5, Sstr=1.50, Szp=1, Slimit=50, Sdamplo=29, Spower=1, sootheT=0, SdampHi=35)

SeeSaw can do wonders :)
Also check out some stuff here. (http://www.avsforum.com/avs-vb/showthread.php?t=719041&page=1&pp=30)
And the 8:13 guy on the above page customized the SeeSaw.avsi to produce less ringing and it's in the DVD Package on the page. With that you might be able to get away with 1.5 Sstr value but that sort of gave me ringing.

nx6
17th April 2007, 23:49
I have added a dedicated page on the Wiki that covers the installation of AutoMKV.

http://automkv.wiki-site.com/index.php/Installation

delacroixp
18th April 2007, 01:02
Try 17-CQ-CRF... I certainly am, especially after seeing the kind of results that can be achieved with AutoMKV and H264.

I've already tried that. I didn't see much difference (but I was using anime as a test, and I imagine it would have a greater impact on a movie).
I tried Q16-Anamorphic, I saw the difference and I conquered...

Funny thing is, though, it's no better than Q18-Anamorphic, the filesize is equal to Q18-DAR... It's as though Q18 is the quality limit, per pixel, but by encoding in DAR resolution you give it more pixels to work with and the quality goes up another notch... try and C 4 yourself...

Conclusion... Q18-DAR is better quality... Q18-Anamorphic is better filesize...


:):D:eek:
Pascal

delacroixp
18th April 2007, 01:34
Sorry... double post...

It's almost 2 in the morning and I'm losing the plot

delacroixp
18th April 2007, 01:35
I have added a dedicated page on the Wiki that covers the installation of AutoMKV.

http://automkv.wiki-site.com/index.php/Installation
Beautifully laid out... and nicely explained... which reminded me about the RemoveGrainSSE2.dll which I hadn't done...
I'm running Q16-Anamorphic again since I use RemoveGrainSSE2.dll and the encode didn't seam quite happy the first time...

Too many FPS...


:):D:eek:
Pascal

nx6
18th April 2007, 01:53
Yeah, I was thinking about these occasional performance tweaks that are mentioned in the forums and are quickly lost within the hundred or so pages that make up the thread. I realize the installation page is repeating information that already makes up the first section of the full manual, but covering it in the detail I did seems to be too much info to not warrant a separate article for it (kinda like when you get a new stereo component and they have a "quick start guide" that gives you the installation steps without having to thumb through the whole manual.

Plus it gives a place to additional links pointing to other info (like the multithread article).

dlflannery
18th April 2007, 05:40
I have added a dedicated page on the Wiki that covers the installation of AutoMKV.

http://automkv.wiki-site.com/index.php/Installation
Nice! :thanks: ---- but did you leave out the WMEncoder installation?

Quoting from the first post in this thread:

For WVC1 support is needed WMEncoder (9 serie's) + Windows Media Player 11
for trouble look at this thread http://forum.doom9.org/showthread.php?p=911873

nx6
18th April 2007, 07:09
Nice! :thanks: ---- but did you leave out the WMEncoder installation?

That's the great thing about a wiki, anyone can contribute so when I leave something out then someone else can pick up the ball. :D

I just read through the thread and I'm looking for a link to post to the wiki to get the required software and I'm not finding it.

They mention this site:
http://www.citizeninsomniac.com/WMV/#WMCmd

but there doesn't appear to be anything there. It's just a blank sky blue page for me. :confused:

I guess I'll go on Microsoft's site looking for the SDK download.

nx6
18th April 2007, 08:02
Okay, I've added the WVC1 stuff in, or made an good effort at least. It would be nice if someone who actually is using the Windows Media encoding could review/correct/add to it as I did not install any of the components myself, since I have no intention of ever using them.

buzzqw
18th April 2007, 08:41
update the wiki on wvc1 stuff... i will re-check later

BHH

nx6
18th April 2007, 11:00
@buzzqw

Have there been any changes made recently in the deinterlacing routines? I'm getting some interlacing issues that I wasn't with 0.80b.

buzzqw
18th April 2007, 13:04
0.81
FIXED: Movie deinterlacer before autocrop (suggestion by Tobytl)

this is for NOT having problem!

what issue have you ?

BHH

nx6
18th April 2007, 19:45
this is for NOT having problem!
what issue have you ?
BHH

I'm getting interlacing patterns in areas of action. Like here (person running).
http://img48.imageshack.us/img48/9586/vlcsnap15977rg2.th.jpg (http://img48.imageshack.us/my.php?image=vlcsnap15977rg2.jpg)

Or here where the view is panning...
http://img337.imageshack.us/img337/2255/vlcsnap19492sm9.th.jpg (http://img337.imageshack.us/my.php?image=vlcsnap19492sm9.jpg)

I reinstalled and ran tests with both 0.80 and 0.80b and had the same problem though, so it's not the version of AutoMKV.

Can the length of a D2V effect how well deinterlacing works? The earlier encodes without this problem were full episodes, but when I started using these 2-3 minute samples is when I started to see this.

buzzqw
18th April 2007, 20:00
open the log.. and search for autodeint finds..
search

Processing completed. Type is determined to ???
BFF: ???
TFF: ???
Order: ???

what is reported ?

EDIT: and yes more long is the sample/movie better is the deinterlacer routines... but i think some change... :) (like in megui the pre-analysis)

BHH

nx6
18th April 2007, 23:31
I ran the test encode again just now in 0.81a (those sample frames are from 080b).

open the log.. and search for autodeint finds..
search

Processing completed. Type is determined to ???
BFF: ???
TFF: ???
Order: ???

what is reported ?

You know, I don't see those at all. :confused:

16:15:41 0.81a - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
16:15:41 Selected Input file: S:\Bleach081d2vfiles\Bleach Test 3\VTS_01_1.d2v
16:15:41 Selected Output dir: S:\Bleach081d2vfiles\Bleach Test 3\temp\
16:15:41 Selected Final Name: deinttest1
16:15:41 Selected Container type: MKV
16:15:41 Selected Encoder: X264
16:15:41 Selected Size: Don't care about size
16:15:41 Selected Slice: 1
16:15:41 Selected Profile: ConstantQuality-CRF.xml
16:15:41 Selected Width: Original
16:15:41 Selected Resizer: NONE
16:15:41 Selected Filters: NONE
16:15:41 Selected Deinterlacer: AUTO
16:15:41 Selected Field Order: AUTO
16:15:41 Enabled CRF/CQ AutoRes at 18 value
16:15:41 Track Language 1: S:\Bleach081d2vfiles\Bleach Test 3\VTS_01_1 T01 2_0ch 224Kbps DELAY -185ms.ac3
16:15:41 Audio Codec 1: Nero AAC
16:15:41 Audio Quality 1: 0.30
16:15:41 Audio Channel 1: Stereo
16:15:41 Track Language 2: S:\Bleach081d2vfiles\Bleach Test 3\VTS_01_1 T02 2_0ch 224Kbps DELAY -185ms.ac3
16:15:41 Audio Codec 2: Nero AAC
16:15:41 Audio Quality 2: 0.30
16:15:41 Audio Chennel 2: Stereo
16:15:41 Advanced Audio Settings DUMP Track 1
16:15:41 Nero Option Profiles: AUTO --- Encoding Mode: Quality
16:15:41 CCT Option Profiles: AUTO --- Channel Options: AUTO
16:15:41 Lame Settings: ABR
16:15:41 Audio Normalization: 1
16:15:41 Frequency: AUTO --- Tempo : NONE
16:15:41 Pitch: NONE --- Other Add :
16:15:41 Advanced Audio Settings DUMP Track 2
16:15:41 Nero Option Profiles: AUTO --- Encoding Mode: Quality
16:15:41 CCT Option Profiles: AUTO --- Channel Options: AUTO
16:15:41 Lame Settings: ABR
16:15:41 Audio Normalization: 1
16:15:41 Frequency: AUTO --- Tempo : NONE
16:15:41 Pitch: NONE --- Other Add :
16:15:41
16:15:41 DelayCut CMD: S:\AutoMKV081a\exe\dgindex\Delaycut.exe -auto -out "S:\Bleach081d2vfiles\Bleach Test 3\temp\fixed1.ac3" "S:\Bleach081d2vfiles\Bleach Test 3\VTS_01_1 T01 2_0ch 224Kbps DELAY -185ms.ac3"
16:15:44 DelayCut CMD: S:\AutoMKV081a\exe\dgindex\Delaycut.exe -auto -out "S:\Bleach081d2vfiles\Bleach Test 3\temp\fixed2.ac3" "S:\Bleach081d2vfiles\Bleach Test 3\VTS_01_1 T02 2_0ch 224Kbps DELAY -185ms.ac3"
16:15:46 Encoding S:\Bleach081d2vfiles\Bleach Test 3\temp\fixed1.ac3 to NeroAAC with 0.30 quality
16:16:18 Encoded 1' Audio Track: 985947 bytes
16:16:18 Encoding S:\Bleach081d2vfiles\Bleach Test 3\temp\fixed2.ac3 to NeroAAC with 0.30 quality
16:16:41 Encoded 2' Audio Track: 993494 bytes
16:16:47 Number of Frames: 3406
16:16:47 Framerate: 29.970030
16:16:47 Movie length in Seconds: 114
16:16:47 Movie Width/Height: 720/480
16:16:47 DgIndex AR: 4:3
16:17:38 Order: unk
16:17:38 Starting X264
16:17:39 CRF encoding X264: S:\AutoMKV081a\exe\encoder\x264.exe --pass 1 --crf 18 --stats "S:\Bleach081d2vfiles\Bleach Test 3\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:\Bleach081d2vfiles\Bleach Test 3\temp\movie.mp4" "S:\Bleach081d2vfiles\Bleach Test 3\temp\movie.avs"
16:28:16 Accepted values are between 31876710400 and 33889976320 bytes (movie+audio)
16:28:16 Got a file of size: 21890071 bytes + audio size 1979443 bytes (23869514)
16:28:16 Only Movie Size: 21890071 bytes
16:28:16 "S:\AutoMKV081a\exe\matroska\mkvmerge.exe" -o "S:\Bleach081d2vfiles\Bleach Test 3\temp\deinttest1.mkv" --track-name -1:"deinttest1" --aspect-ratio 1:1.333333 "S:\Bleach081d2vfiles\Bleach Test 3\temp\movie.mp4" --language -1:und "S:\Bleach081d2vfiles\Bleach Test 3\temp\audio.mp4" --language -1:und "S:\Bleach081d2vfiles\Bleach Test 3\temp\audio2.mp4" --title "Done with AutoMKV 0.81a http://forum.doom9.org/showthread.php?p=854221 "
16:28:29 Final Muxed size: 23862642 bytes
16:28:29 Encoding finished: 00:12:48 elapsed time
16:28:29 -----------------------------------------------------------------------
16:28:29 Script AutoCrop.log
16:28:29
16:28:29 Crop(4,0,712,480)
16:28:29 -----------------------------------------------------------------------
16:28:29 Script Resmovie.avs
16:28:29 -----------------------------------------------------------------------
16:28:29 Script movie.avs
16:28:29
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\AddGrain.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\autocrop.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\BicublinResize.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\blockbuster.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\cnr2.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\ColorMatrix.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\Convolution3D.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\corrector.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\DctFilter.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\Decomb.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\Deen.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\degrainmedian.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\DGDecode.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\EEDI2.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\fft3dfilter.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\FluxSmooth.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\frfun7.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\hqdn3d.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\LeakKernelDeint.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\MaskTools.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\medianblur.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\MipSmooth.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\MSharpen.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\mt_masktools.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\mvtools.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\NicAudio.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\RemoveGrainSSE2.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\RepairSSE2.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\RSharpenSSE2.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\SangNom.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\SimpleResize.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\SoundOut.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\TBilateral.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\TDeint.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\TIVTC.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\TomsMoComp.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\TTempSmooth.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\UnDot.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\UnFilter.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\VSFilter.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\warpsharp.dll")
16:28:29 #loadpluginstart
16:28:29
16:28:29 #test1
16:28:29
16:28:29 Import("S:\AutoMKV081a\exe\filter\HybridFuPP.avsi")
16:28:29 Import("S:\AutoMKV081a\exe\filter\LimitedSharpenFaster.avsi")
16:28:29 Import("S:\AutoMKV081a\exe\filter\MCBob_v03c.avsi")
16:28:29 Import("S:\AutoMKV081a\exe\filter\mvbob.avsi")
16:28:29 Import("S:\AutoMKV081a\exe\filter\seesaw.avsi")
16:28:29 Import("S:\AutoMKV081a\exe\filter\spresso.avsi")
16:28:29 #importstart
16:28:29
16:28:29 #test2
16:28:29
16:28:29 movie = mpeg2source("S:\Bleach081d2vfiles\Bleach Test 3\VTS_01_1.d2v")
16:28:29 function getOrder(clip c) {
16:28:29 order = GetParity(c) ? 1 : 0
16:28:29 Return order }
16:28:29 #filter1start
16:28:29
16:28:29 #test3
16:28:29
16:28:29 last = movie
16:28:29 #resizestart
16:28:29
16:28:29 #test4
16:28:29
16:28:29 #filter2start
16:28:29
16:28:29 #test5
16:28:29
16:28:29 return last
16:28:29 -----------------------------------------------------------------------
16:28:29 Script mkvmaudio.avs
16:28:29
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\NicAudio.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\SoundOut.dll")
16:28:29 NicAC3Source("S:\Bleach081d2vfiles\Bleach Test 3\temp\fixed1.ac3")
16:28:29 #Applying STEREO downmixing routines
16:28:29 function stereo(clip a)
16:28:29 {
16:28:29 flr = GetChannel(a, 1, 2)
16:28:29 fcc = GetChannel(a, 3)
16:28:29 lfe = GetChannel(a, 4)
16:28:29 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
16:28:29 mix = MergeChannels(lfc, lfc)
16:28:29 lrc = MixAudio(flr, mix, 0.2929, 1.0)
16:28:29 blr = GetChannel(a, 5, 6)
16:28:29 Return MixAudio(lrc, blr, 1.0, 0.2929)
16:28:29 }
16:28:29 #
16:28:29 6==Audiochannels() ? stereo() : last
16:28:29 Normalize()
16:28:29 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="S:\AutoMKV081a\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.30 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
16:28:29 -----------------------------------------------------------------------
16:28:29 Script mkvmaudio.bat
16:28:29
16:28:29 "S:\AutoMKV081a\exe\BeSweet\vdub.exe" /x "S:\Bleach081d2vfiles\Bleach Test 3\temp\mkvmaudio.avs"
16:28:29 -----------------------------------------------------------------------
16:28:29 Script mkvmaudio2.avs
16:28:29
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\NicAudio.dll")
16:28:29 LoadPlugin("S:\AutoMKV081a\exe\filter\SoundOut.dll")
16:28:29 NicAC3Source("S:\Bleach081d2vfiles\Bleach Test 3\temp\fixed2.ac3")
16:28:29 #Applying STEREO downmixing routines
16:28:29 function stereo(clip a)
16:28:29 {
16:28:29 flr = GetChannel(a, 1, 2)
16:28:29 fcc = GetChannel(a, 3)
16:28:29 lfe = GetChannel(a, 4)
16:28:29 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
16:28:29 mix = MergeChannels(lfc, lfc)
16:28:29 lrc = MixAudio(flr, mix, 0.2929, 1.0)
16:28:29 blr = GetChannel(a, 5, 6)
16:28:29 Return MixAudio(lrc, blr, 1.0, 0.2929)
16:28:29 }
16:28:29 #
16:28:29 6==Audiochannels() ? stereo() : last
16:28:29 Normalize()
16:28:29 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="S:\AutoMKV081a\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.30 -if - -of audio2.mp4",postfilename="",nofilename=true,showoutput=false)
16:28:29 -----------------------------------------------------------------------
16:28:29 Script mkvmaudio2.bat
16:28:29
16:28:29 "S:\AutoMKV081a\exe\BeSweet\vdub.exe" /x "S:\Bleach081d2vfiles\Bleach Test 3\temp\mkvmaudio2.avs"
16:28:29
16:28:29 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

gonwk
19th April 2007, 01:17
Hi folks,

I was wondering if somehow the "Profiles" can be associated with Quality Size ... for amatuers (beginners) like myself. It would probably be easier to see something like any one of the following options ...

Option 1: 100% or 75% ... or something like

Option 2: Best, Better, Good range ... or

Option 3: A very brief explaination of Profiles in the Wiki ... in a "Simple" lingo.

Thanks,
G!:)

dlflannery
19th April 2007, 01:46
I just read through the thread and I'm looking for a link to post to the wiki to get the required software and I'm not finding it.

They mention this site:
http://www.citizeninsomniac.com/WMV/#WMCmd


Good job on the WVC1 wiki addition. The correct link for the latest WMcmd.vbs is http://citizeninsomniac.com/WMV/WMCmd_20070414.zip
but as you say this is provided with AutoMKV so it doesn't have to be installed. This link is from the thread started by Zambelli on this script (http://forum.doom9.org/showthread.php?p=974126#post974126) (which AFAIK he authors, or at least maintains). The link you mentioned is dead for me too -- correction: just tried it and it's good now.

nx6
19th April 2007, 02:08
Good job on the WVC1 wiki addition.
No. Actually buzzqw rewrote it later on, his version was much less confusing. :)
The link you mentioned is dead for me too -- correction: just tried it and it's good now.
Yeah, it's working for me now, too.

TheRyuu
19th April 2007, 02:43
I'm getting interlacing patterns in areas of action. Like here (person running).
http://img48.imageshack.us/img48/9586/vlcsnap15977rg2.th.jpg (http://img48.imageshack.us/my.php?image=vlcsnap15977rg2.jpg)

Or here where the view is panning...
http://img337.imageshack.us/img337/2255/vlcsnap19492sm9.th.jpg (http://img337.imageshack.us/my.php?image=vlcsnap19492sm9.jpg)

I reinstalled and ran tests with both 0.80 and 0.80b and had the same problem though, so it's not the version of AutoMKV.

Can the length of a D2V effect how well deinterlacing works? The earlier encodes without this problem were full episodes, but when I started using these 2-3 minute samples is when I started to see this.

Open the original movie in MPC or some other movie player that you can use some sort of step by step frame in.

If you notice 3 progressive frames followed by 2 interlaced frames then AutoMKV probably is not detecting it correctly and it is also probably not detecting the field order right either.

Open the same file (if possible) in DGIndex and see the field order. If you can't open it in DGIndex then most of the time you can assume it is TFF.

If it is the case and you do have 3p/2i frames then you need to use the Decimating deinterlacer using (probably) TFF for the field order.

That might help but only if it is 3/2 like that. If it is pure interlaced then I'm not sure.

nx6
19th April 2007, 02:58
Open the original movie in MPC or some other movie player that you can use some sort of step by step frame in.

If you notice 3 progressive frames followed by 2 interlaced frames then AutoMKV probably is not detecting it correctly and it is also probably not detecting the field order right either.


This wasn't playing correctly on MPC. The video was running at about 1/8 correct speed while audio sounded fine. The interlacing pattern isn't constant. During the running segment it was staying at 4p-1i, but that changes to 3p-1i and then 2p-1i at some points.

buzzqw
19th April 2007, 13:15
update 0.81b
http://www.64k.it/andres/data/a/AutoMKV081b.exe

ADDED: More info about deinterlace in Log file
ADDED: On Advanced settings "Allow Hybrid Order/Pattern". If NOT allowed the "partly film", "partly interlaced", "Hybrid Order" will switch to "Film", "Interlaced" and majority order (bff/tff). This check is added because these kind of file aren't common but on short source the auto-detection could fail an so will set these value. If you know that your source belong to anime or bad NTSC tranfer check this value, otherwise DON'T CHECK
ADDED: On Advanced Setting "Test Deint" it will run the usual deinterlace test and will report the information. It will also set the deinterlace pattern
FIXED: Some issue on Deinterlace routines
FIXED: Some code optimization

BHH

TheRyuu
20th April 2007, 00:05
This wasn't playing correctly on MPC. The video was running at about 1/8 correct speed while audio sounded fine. The interlacing pattern isn't constant. During the running segment it was staying at 4p-1i, but that changes to 3p-1i and then 2p-1i at some points.

Eh, I'd try the decimating deinterlacer for the hell of it. See what it gets you :p

delacroixp
20th April 2007, 18:02
Hi folks,

I was wondering if somehow the "Profiles" can be associated with Quality Size ... for amatuers (beginners) like myself. It would probably be easier to see something like any one of the following options ...

Option 1: 100% or 75% ... or something like
Option 2: Best, Better, Good range ... or

I had the same thought with DivX awhile back.... perhaps we could have 3 settings for size based on a 2-pass strategy and 3 settings for quality based in CQ-CRF...
This would allow really clueless newbies to get started... and then pick up a bit more later on if they choose... possibly like buying an automatic vehicle because a manual is too complicated...

Some will develope further... while others wont but it'll increase the general awareness and popularity of AutoMKV in the same way that DVDFab (http://www.dvdfab.com/free.htm) has used elegant-simplicity to go from strength to strength...


:):D:eek:
Pascal

DDogg
21st April 2007, 00:30
Hmm, I am starting to wonder if it is time to pull out this old and worn out thread. It does not apply in some ways because the users of AutoMKV have always understood that Buzz works hard to honor requests ... Still, it might be worth a read for some of the newer members.

http://forum.doom9.org/showthread.php?s=&threadid=7770

buzzqw
21st April 2007, 09:55
Thanks DDogg!

your words are always welcome and i hope followed by users

i would like to write here some sarcastic comments or some sad words...

but... thanks, thanks for your support DDogg, you know, AutoMKV will be half of what is now, without you!

BHH

Henrikx
21st April 2007, 10:45
AutoMKV is a very good program!
Many fans in germany !
Thanks buzzqw, for this work !
I plan a German translation of your Wiki.

delacroixp
21st April 2007, 11:32
Hmm, I am starting to wonder if it is time to pull out this old and worn out thread. It does not apply in some ways because the users of AutoMKV have always understood that Buzz works hard to honor requests ... Still, it might be worth a read for some of the newer members.
(2001) I thought I would take a few minutes to put a few things into perspective, especially for the newer participants to this forum (and have a little fun doing it).

Let's go back to the early part of 2001. At that time only a few, very proficient people could backup a dvd to svcd. It was a mind-boggling concoction of different programs, many of which worked poorly. To be able to hand make a svcd backup was close to an art. It was extremely new, difficult, and more importantly, terribly time consuming. It was not unusual for a backup to take a week of evenings to finish.

Along comes DVD2SVCD the author. He did a fairly quick down and dirty hack to be able to automate some of the stuff we were doing manually so in the wee hours of the morning a process could be completed and another begun automatically. That was a terrific thing for those of us who could do all the steps and we were VERY appreciative of what he did.

Now comes the blessing or the curse depending on your perspective :)
Many more features were added and DVD2SVCD became a feature packed robust program a long way from its humble origin. Doing a backup became much easier and so began to attract less experienced users. These users not only had less computer experience, they also had much less "board" experience in an online community and some did not understand forum manners.

Why is that a curse to some? Well let me answer that question, with a question. If somebody stops by your house and brings a nice pie, do you say to that person, "You FOOL!!!, WHY did you bring me a cherry pie, I WANTED an APPLE PIE!!!!!!!!!!!!!!!!!!!!!! [edited for language - 2001 was a different time than now regarding language on this board]

Btw, to the newer folks, note how irritating the caps and exclamation marks are (besides the content). (See this post about that) (http://forum.doom9.org/showthread.php?s=&threadid=51632) So, from the perspective of many of the older members of this group, DVD2SVCD was nice enough to bring us a great pie (without being asked). That was a neighborly thing to do, yes? Even if I didn't like cherry pie, I would not offend my neighbor by suggesting I just was not satisfied with what he brought me. If I did, I could count on getting no more free pie :) Everybody with me? LOL

Now here is the problem, the pie is good, free and in demand. The chef is getting stressed out trying to keep all his old and new friends in great tasting pie. In short, it is becoming a pain in the ass for the pie maker. Adding to that, most will not even do him the courtesy of buying a little flour and eggs by way of making a small donation. They just want the free pie AND THEY WANT TO BITCH ABOUT IT. Amazing!

The moral of this story is: if you like free pie, but not this weeks flavor, keep your pie hole shut about it, or you may not get the chance to try next weeks flavor. Or you can go bake your own, of course. If you do, I strongly suggest you don't start baking for all your neighbors. It is way too stressful. :)

DD

I am certainly one of those newer participants on this forum... few are newer than I.

I guess 2001 was the time of Kubrick's 2001: A Space Odyssey (http://en.wikipedia.org/wiki/2001:_A_Space_Odyssey_(film)) and also when a few elite programmers and geeks were 'one-eyed kings in the land of the blind'... possibly like the early days of cars in the 20's when you could have any colour model-T... as long as it was black. Now everybody wants a custom paint job.
One of my first lessons on Economics 101 was that "there is no such thing as a free lunch'... everyone pays the price for getting 'fat on free food' and 'drunk on free drink'.

Making free pie for the neighbours, be it cherry or apple, is certainly a magnanamous gesture that few, like the good Samaritan, can sustain for the long-haul... We are all one-nighters looking for ever-increasing degrees of reward...
OSS projects like UNIX© are not inherently beter than CS projects like Windows© and MS's approach in general...

Either way it takes special people (like buzzqw or Bill Gates) to excel at one or the other...


:):D:eek:
Pascal

btw
The moral of the story is: If everyone is getting free pie, from competing home bakers... then it might well be the right time to diversify into organic health foods or cheese cake...

weaver4
21st April 2007, 19:36
I had the same thought with DivX awhile back.... perhaps we could have 3 settings for size based on a 2-pass strategy and 3 settings for quality based in CQ-CRF...
This would allow really clueless newbies to get started... and then pick up a bit more later on if they choose... possibly like buying an automatic vehicle because a manual is too complicated...

Some will develope further... while others wont but it'll increase the general awareness and popularity of AutoMKV in the same way that DVDFab (http://www.dvdfab.com/free.htm) has used elegant-simplicity to go from strength to strength...


:):D:eek:
Pascal

I had requested the same thing to the AutoGK group last year it was not accepted very well by that group, maybe it will be better received by this group.

I had said that how would anyone know that for XviD that 55% is poor, 67% is good, and 75% is excellent. And for Divx poor is 40%, good is 50% and 67% is excellent. What basis would people (newbies) know this? For that matter how would anyone know what the correlation is between codecs, quantizer and quality.

If someone hands me a video they might say "I need a good copy of this video, I need for it to play in XXXX and I need it to fit on a CD." Why isn't that the way encoding tools work.

Might be something you could do with profiles? Like:

> XviD -- Constant Quality - Fair
> XviD -- Constant Quality - Good
> XviD -- Constant Quality - Very Good
> XviD -- Constant Quality - Excellent

> AVC -- Constant Quality - Fair
> AVC -- Constant Quality - Good
> AVC -- Constant Quality - Very Good
> AVC -- Constant Quality - Excellent

> WMV -- Constant Quality - Fair
> WMV -- Constant Quality - Bad
> WMV -- Constant Quality - Worse
> WMV -- Constant Quality - Just Awful

weaver4
21st April 2007, 19:43
Buzz, I know you don't want to do this, but for the world that does not visit doom9 the most "known" coded is DivX. DivX certification is on at least 2 DVD players on every major retailers shelf. I don't think the common user understands they can use XviD encoding on a DivX player as long turn off GMC and QPEL.

Plus this link has put DivX in a whole new light, right or wrong.
http://www.compression.ru/video/codec_comparison/subjective_codecs_comparison_en.html

buzzqw
21st April 2007, 20:22
about quality preset... those are present !

look at advanced settings Specify Quality

yes, i undestand that some profile could be "easier" to spot and use... but if add those list the profile list go very long.. and i think that isn't good

about divx... i had say that divx stay out.
well, i usually change opinion quite easy.. but not now, or not early

and btw ... look at this (working on)

http://img402.imageshack.us/img402/5977/automkvcropny6.png (http://imageshack.us)


:)

BHH

nx6
22nd April 2007, 00:05
Hey, that's pretty cool.

Your new build didn't help my interlacing problems (tried the new deinterlacing feature), but I will keep working on it here. I had a paper to write yesterday and was unable to focus on encoding video much.

It seems very weird that back on April 9th encoding did not result in these interlacing problems with the same series, but now it does, and even when I go back to the version of AutoMKV I was using back then, I still have issues. I also tried a different series of anime, and had the same problem. In this case I was using IFO input and had ripped by chapter in DVDFabDecryter to separate the individual episodes. I had an odd looping skip in the resulting file, even worse than the d2v input with the other series. It caused an audio skip and grey screen to flicker in output, it wasn't even watchable.

Does DGIndex have any system files it creates/installs when it runs? I'm wondering if even though you downgraded DGIndex back to the non-beta version, there are still some files the beta version created that are being used by the older version and creating problems.

Unrealbr
22nd April 2007, 00:33
I'm having a bit of issues with 0.80b and 0.81b.
I set it to auto-encode in a res but its strangely swaping the height with the width.
What could be causing this problem and how to solve it?
T/Y for all your effort buzzqw

PS:
It looks like when its muxing it screws the res coz the temp files are alright. :(

buzzqw
22nd April 2007, 01:25
@nx6
you must look at log of "good" encoding and spoot what deinterlacer was used... then replicate in automkv
i don't know the source file... so i cannot help.
Feel free to ask support on avisynth usage forum

. It caused an audio skip and grey screen to flicker in output
manual crop ?
post the script, also open the script in virtualdub ... any errors or artifacts ?

What could be causing this problem and how to solve it?
since is a muxing issue is most probably your sorce is an avi or mpeg4 file... try forcing muxing aspect ratio! :)

BHH

Unrealbr
22nd April 2007, 01:32
since is a muxing issue is most probably your sorce is an avi or mpeg4 file... try forcing muxing aspect ratio! :)

BHH

Its an MKV x264 source.
I'll try forcing muxing aspect ratio.
T/Y Buzzqw

nx6
22nd April 2007, 01:33
@nx6
you must look at log of "good" encoding and spot what deinterlacer was used... then replicate in automkv
i don't know the source file... so i cannot help.
Feel free to ask support on avisynth usage forum

I don't have that log anymore :( Maybe I can recover it somehow.

manual crop ?
post the script, also open the script in virtualdub ... any errors or artifacts ?

We'll see... at right work now.

P.S.: On CQ-CRF profile, the width is back to going to '720' instead of 'Original' like you had fixed in 0.80.

gonwk
22nd April 2007, 03:20
Hi folks,

@ buzzqw ... just wanted to drop a line and say ...

THANK YOU VERY MUCH for all of your Hard Work!

And I LOVE AutoMKV for the simple fact is "PORTABLE" ...

G!:thanks:

nx6
22nd April 2007, 04:12
And I LOVE AutoMKV for the simple fact is "PORTABLE" ...

G!:thanks:

Almost.


Added ability for AutoMKV to ask to copy libsndfile-1.dll into c:\windows\system32 as needed for SoundOut to function.


AutoMKV will not run if SoundOut cannot function, and if you do not have administrative access to your PC, you cannot write to c:\windows\system32, and SoundOut cannot run. So it isn't truly portable, as a portable app would be self-contained and be capable of running from its folder, ragardless of whether it was on a boot drive or not.

I do believe AutoMKV could be a portable app with very little work by buzz and the other package maintainers, though.

branko
22nd April 2007, 08:20
I tried this program for the first time yesterday. I noticed that the 1-pass with x264 is a lot slower compared to other programs I use (Megui or Staxrip). I think it is because AutoMKV use different settings for 1 pass for the same profile. Is it really necessary to use such command parameters for 1. pass that make encoding slower?

nx6
22nd April 2007, 08:47
@nx6
you must look at log of "good" encoding and spoot what deinterlacer was used...

I found the log file for one of my earlier attempts that didn't have the interlacing artifacts, it was in the Recycling Bin still (thank god, the file recovery utility was taking forever to scan by HD clusters). I opened it and found...
05:40:42 tfm(d2v="S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\Ep01.d2v").tdecimate()
Which means:
Eh, I'd try the decimating deinterlacer for the hell of it. See what it gets you :p
Was actually the correct answer.
I made a new D2V test input, a real short one (under 1800 frames) that was mostly the "running scene", I tried the "Allow Hybrid Order/Pattern" option and ran and deint test (which gave unknown for type" and then manually chose decimating deinterlacing. The resulting movie does not have the interlacing artifacts the tests have had up to this point! :D

I'll need to try some full episodes but this is very encouraging.

weaver4
22nd April 2007, 15:07
What does "Specify Quality" do? Does it change the quantizer in single pass CQ-Mode? What percentage equals what quantizer value?

Love AutoMKV, when will you be at 1.0?

delacroixp
22nd April 2007, 16:44
@delacroixp

Check out this picture (http://automkv.wiki-site.com/index.php/Image:BoB01_Org_VOBedit.jpg).

I took your original images and combined them. The right half is your VOB, the left is the encoded file. On the upper 40% of so of the encoded file side I have done Brightness/Contrast adjustment to it (you can see the border running just above the truck's headlights). This is why the sky is similar in brightness to the VOB side. But there is a saturation problem as you diagnosed.

In the middle of the entire frame I have applied a saturation adjustment which overlaps all three areas (enclosed in white frame). You can see the upper left quadrant of it is the closest to the VOB sample area outside the white frame. Just so you have the figure: this is a 60% increase in saturation. So you would need to adjust brightness, contrast, and saturation to get an encoding closer to the original material.

I didn't get to see the pic... it did like Donald... and ducked...

This colour, saturation, hue, brightness, contrast thing is so complicated that I feel quite overwhelmed...
However, the DAR (http://forum.doom9.org/showpost.php?p=989749&postcount=1888) encode really worked for me... It only decreased the filesize by 24% but I got a near-perfect original...
Some say I should have just used DVDShrink since it really excels at 10% - 20% decrease in filesize and of course, you maintain the menu structure...

Perhaps it can work for you... Bleach is 4:3 so that the increase to DAR resolution (768x576) is quite small at 6%... a far cry from 'Lord of the Rings' which has a 2.35:1 aspect ratio and a DAR resolution of (1354x576).

Funny thing... I've just finished encoding Ferris Bueller's Day Off (http://en.wikipedia.org/wiki/Ferris_Bueller's_Day_Off) at DAR-Q18 along with 3 direct-copy audio tracks (main, commentary, french) and 6 subtitle tracks (english, french, hungarian) and the file is still 50% less than the original VOB.

As buzzqw often says... 'there's no 1 generic movie... they're all unique'.


:):D:eek:
Pascal

TheRyuu
22nd April 2007, 18:23
I found the log file for one of my earlier attempts that didn't have the interlacing artifacts, it was in the Recycling Bin still (thank god, the file recovery utility was taking forever to scan by HD clusters). I opened it and found...
05:40:42 tfm(d2v="S:\AutoMKV080b\temp\FullDisc\Bleach Volume 1\VIDEO_TS\Ep01.d2v").tdecimate()
Which means:

Was actually the correct answer.
I made a new D2V test input, a real short one (under 1800 frames) that was mostly the "running scene", I tried the "Allow Hybrid Order/Pattern" option and ran and deint test (which gave unknown for type" and then manually chose decimating deinterlacing. The resulting movie does not have the interlacing artifacts the tests have had up to this point! :D

I'll need to try some full episodes but this is very encouraging.

Told ya :)
And when you use the decimating feature, select a field order (normally TFF, but check it out in DGIndex). The Auto thing doesn't seem to work for me for field order.

A lot of Cartoons/Anime is 3/2 like that and requires decimating. I was also having problems with interlacing like that and I searched and searched and searched and I found a post about ivtc (I think) and how to see the 3/2 by stepping it in MPC frame by frame. Sure enough it was, ran the decimating and it worked.

The interlacer that you use is dependent on whether it is true interlaced material, or it's ivtc 3/2 (right?, not sure on the terminology here).

nx6
22nd April 2007, 21:54
I didn't get to see the pic... it did like Donald... and ducked...

Sorry, it's been removed now because I realized I couldn't delete it myself easily and figured I didn't need them anymore. If I stil have it I'll post it to the imageshack account I have now for this stuff,

This colour, saturation, hue, brightness, contrast thing is so complicated that I feel quite overwhelmed...

The good new is that you can fix all this with AVISynth filters, so you should be able to fix it with AutoMKV I assume.

Perhaps it can work for you... Bleach is 4:3 so that the increase to DAR resolution (768x576) is quite small at 6%... a far cry from 'Lord of the Rings' which has a 2.35:1 aspect ratio and a DAR resolution of (1354x576).

I'm not changing DAR, I'm leaving it as it is on the DVD. I don't have an issue with how it looks on my monitor at full screen, and I want to maintain a TV-happy DAR.

Told ya :)
And when you use the decimating feature, select a field order (normally TFF, but check it out in DGIndex). The Auto thing doesn't seem to work for me for field order.

I didn't see a difference with leaving it at Auto. But I'll probably change that for a full episode.

A lot of Cartoons/Anime is 3/2 like that and requires decimating. I was also having problems with interlacing like that and I searched and searched and searched and I found a post about ivtc (I think) and how to see the 3/2 by stepping it in MPC frame by frame. Sure enough it was, ran the decimating and it worked.

This still isn't playing right in MPC, but I think that may be a decoding components clashing or something. I was reading some guides about this stuff (http://www.animemusicvideos.org/guides/avtech/videogetb2a.html) yesterday while I was at work.

gonwk
22nd April 2007, 23:57
Hi NX6,

I am not AT ALL software saavy ...

The reason AutoMKV seemed "Portable" to me was because I am running it from my 2.5" external USB ... and it runs A-OK ... even though I work on my desktop as "Only" a limited "Power User" ... which I don't think that qualifies for Admin Right type person.

So, I guess as long as it acts as one for my use ... I am fat, dumb, and happy!

I wish more & more programs would be written as such ... or smart folks like you and others here figure out how to make Other programs portable also.

Thanks,
G!:)

buzzqw
23rd April 2007, 13:55
P.S.: On CQ-CRF profile, the width is back to going to '720' instead of 'Original' like you had fixed in 0.80.
... for me is fixed already... are you sure ?

. I noticed that the 1-pass with x264 is a lot slower compared to other programs
there are three 1 pass profile (fast, intermediate, good), maybe i changed a little but shouldn't be so lower in speed...

What does "Specify Quality" do? Does it change the quantizer in single pass CQ-Mode? What percentage equals what quantizer value?

x264 quant= (40-qualityvalue)/4

xvid quant= 12-Sqr(qualityvalue+12)

Love AutoMKV, when will you be at 1.0?
no date... depends on how much free time i have (more time -> more build)

The Auto thing doesn't seem to work for me for field order.

... on decimate/film isn't needed the field order

The interlacer that you use is dependent on whether it is true interlaced material, or it's ivtc 3/2
absolutely right. look on wikipedia per interlace and inverse telecine

i have some problem with visual-manual crop... the image of movie on another pc isn't displayed :confused:
on pc have a ati aiw9700pro, the other an intel integrated graphic card (865)... dunno what can be...
most probably the release will be delayed

BHH

weaver4
23rd April 2007, 17:35
Buzz,

I am a little confused on this:
x264 quant= (40-qualityvalue)/4

If the qualityvalue is zero the quantizer would be 10 and that is the highest value it could get to. If qualityvalue was 100 it would be -15. But normal X264 quantizer values are 15 to 25.

buzzqw
23rd April 2007, 18:07
ehmm.. parenthesis error... :o

x264 quant= 40-(qualityvalue/4)

so for qualityvalue=100 quant=15
for qual=80 quant=20
for qual=75 quant=21
for qual=70 quant=22.5

also i have fixed the not display... but monitor color depth bust be 32bit

now is missing the ar% error on resize

here the latest version

http://img170.imageshack.us/img170/3849/automkvcrop2gf6.png (http://imageshack.us)

BHH

branko
23rd April 2007, 18:37
I meant 1. pass in 2-pass encoding (profile HQ-slow). The 1. pass is much slower than the 1. pass in Megui or Staxrip, using the profile HQ-Slow. I tested several movies and everytime I get slower 1. pass in AutoMKV than in Staxrip. For example: Staxrip on 1. pass = 19 fps, AutoMKV on 1. pass= 13 fps.

nx6
23rd April 2007, 19:25
... for me is fixed already... are you sure ?

It looks like it only happens when you have "don't care about size" selected for the size and CQ-CRF for profile, even though AutoMKV is ignoring the size anyway.

Actually I seem unable to choose any profile BUT CQ when I have "don't care about size" selected for the size. If I choose AVI/XviD and have "don't care about size" as the selected size it only uses "XVid_CQ" profile and after the "Hit Media Size/Go Unlimited" dialog the resizer is still using 720px width. But if I have "1 CD" or "1/4 CD" or whatever in the movie size setting first, then after the "Hit Media Size/Go Unlimited" dialog, CQ profile gives Original/NONE for resizer.

buzzqw
23rd April 2007, 20:11
@branko

thanks... i will look (anyway could be also a filter issue..., remember that automkv will always insert colormatrix and removegrain...)

@nx6
It looks like it only happens when you have "don't care about size" selected for the size and CQ-CRF for profile, even though AutoMKV is ignoring the size anyway.

noted!

Actually I seem unable to choose any profile BUT CQ when I have "don't care about size"
Should i do a 2 pass encoding or 1 pass encoding with bitrate 1000000000 ?
Much better a crf/cq profile (for me..)

BHH

delacroixp
23rd April 2007, 20:24
P.S.: On CQ-CRF profile, the width is going back to '720' instead of 'Original' like you had fixed in 0.80.
... for me is fixed already... are you sure ?

720 sounds good... 'original' is ambiguous in the world of anamorphic vs square-pixel encoding...
I'm probably one of the few members of the entire Doom9 forums that believes 'bigger is better' and encodes at OriginalDisplayResolution-Q18-CRF.
I encoded The Deer Hunter again last night... at 1008x432 with direct-copy audio track... the mkv jetting in at 4.33 GB... just barely 50MB short of a DVD... close call...

I gather MkvToolnix has the option to span... so a movie like Once Upon a Time in America (http://en.wikipedia.org/wiki/Once_Upon_a_Time_in_America) which is 360 min and 12GB (vob)... could be spanned over 2 DVD's if necessary...


:):D:eek:
Pascal

delacroixp
23rd April 2007, 20:54
ehmm.. parenthesis error... :o

x264 quant= 40-(qualityvalue/4)

so for qualityvalue=100 quant=15
for qual=80 quant=20
for qual=75 quant=21
for qual=70 quant=22.5

also i have fixed the not display... but monitor color depth must be 32bit

now is missing the ar% error on resize

here the latest version

http://img170.imageshack.us/img170/3849/automkvcrop2gf6.png (http://imageshack.us)

Awesome... truly, a work of art and magic...
I hope you're going to change the spelling of Anamorph... to Anamorphic.

I'm really enjoying encoding from IFO's of late... directly from DVD... and in my case, from 'images'. I have an HTPC with tons of images backed up from my DVD library collection...
IFO encoding is intelligent (AI) software at it's best... I don't mind hard work but there's no need to be foolish and 'dig your own grave'...
Well actually, I used to rip the movies into a single VOB... (with DVD Decrypter from an image) and then rename the VOB and IFO alike, but I could never rip the subs... either with AutoMKV or VSRip... while now it works flawlessly...

AutoMKV is the best... wayyy better than MeGUI... I'm sure 1.0 will be just unbelievable... given time and due thought...


:):D:eek:
Pascal

buzzqw
23rd April 2007, 22:16
thanks delacroixp!

just a notd 1008/432=2.3333
is 2.3333 the correct dar ? shouldn't be 2.35 and so 1024 and not 1008 ?

also... in orginal AR i list only 16:9, 4:3 and 1:1

i don't think 2.35 should be allowed...

and what do you think about allow and editable list ?

BHH

delacroixp
23rd April 2007, 23:20
thanks delacroixp!

just a notd 1008/432=2.3333
is 2.3333 the correct dar ? shouldn't be 2.35 and so 1024 and not 1008 ?

also... in orginal AR i list only 16:9, 4:3 and 1:1

i don't think 2.35 should be allowed...

and what do you think about allow and editable list ?

Well, it was a rather funny encode... it had cropping L=R=8 and the true DAResolution should have been 1002x432... but 1002 is not MOD16... so encoded 1008 and remuxed with Mosu's MkvToolnix (http://forum.doom9.org/showthread.php?t=120648&page=15) set to 1002... I suppose doing an AutoMKV anamorphic encode of 1008 but signalled to 1002 should also have worked just fine.


Buzz.... Is there any chance a "User Value" or "User Ratio" option can be included for both Xvid and x264. Something like this: -

http://img238.imageshack.us/img238/3151/proposalkm4.png

I like SeeMoreDigital's idea of a drop down list including 'custom SAR' since most movies have black-space and can wreak havoc with your DAR calculations...

However, I have never encoded an Xvid movie eventhough I support DivX and have encoded many, many divx movies... I still feel MKV and HTPC is where it's at.
Having said that... the MKV 'Force Muxing AR, DAR, SAR, PAR' does pretty well with 4:3 and 16:9... since even if you only vaguely know your stuff... inserting a 'custom resolution' is eminently superior to the serious AR maths...
The way I understand it is that... if you have a movie that is 2.35:1 it's probably got some serious black stuff top and bottom... and given even-cropping and MOD16/4/2 etc... you probably wont end up with a true 2.35 movie anyway.

In some cases an actual AR figure may be necessary with dodgey players... even Zoom player gets funny on me occasionally... but I'm sure MKV can sort it all out... mostly...


:):D:eek:
Pascal

delacroixp
23rd April 2007, 23:26
I'm encoding Lord of the Rings and expected something like 1354x576 (2.35x576) but it's just a regular 1024x432 movie with tons of black stuff all over the place...

:):D:eek:
Pascal

.
..
... I suppose not !

nx6
24th April 2007, 01:16
Well, it was a rather funny encode... it had cropping L=R=8 and the true DAResolution should have been 1002x432... but 1002 is not MOD16... so encoded 1008 and remuxed with Mosu's MkvToolnix (http://forum.doom9.org/showthread.php?t=120648&page=15) set to 1002... I suppose doing an AutoMKV anamorphic encode of 1008 but signalled to 1002 should also have worked just fine.

What if there was a checkbox that could be turned on and would restrict what values could be used, and it had a drop down menu for selecting MOD2/4/8/16?

delacroixp
24th April 2007, 11:45
What if there was a checkbox that could be turned on and would restrict what values could be used, and it had a drop down menu for selecting MOD2/4/8/16?
Beautifull... quite frankly, I think that totally inadmissable values (eg NON-, even-cropping, height-MOD2, width-MOD4) should be arrested well before the encode even starts... like implementing a numerical-field setting in a database for numbers-only... wayy tooo many encodes crash for no fault of the movie or AutoMKV encoding-workability...
A drop-down menu-choice for MOD16 and MOD8 would be great... even to see how this affects your number-crunching... I guess Default would be the MOD4/MOD2 standard arrangement...
I suppose each container has it's own specs...

A simple slider calc would probably best show the changing values... depending on your choice of cropping (see post (http://forum.doom9.org/showpost.php?p=969913&postcount=1276)).
A system of Automatic cropping (pre-encode movie-analysis) with recommended values would be nice...


:):D:eek:
Pascal

btw
I did LotR 1 last night... Dr DivX reported black-space T=75 and B=76... I chose to crop T=B=72 with H=432 to maintain MOD16...
I guess I could have cropped T=74, B=76... and still have H=432 (resized) but signalled DAResolution 1024x426 or AR = 1024/426 = 512:213 = 2.4:1
I would have had less black-stuff and more quality...

buzzqw
24th April 2007, 16:50
for the brave and the bold

http://www.64k.it/andres/data/a/AutoMKV082spc.rar
unrar into automkv folder, now you will have the new AutoMKV082alpha.exe and AVSredirect.dll

start automkv082alpha.exe load your source file , go in advanced settings and click on visualcrop :cool:

BHH

delacroixp
25th April 2007, 13:11
I managed to crop all the black space from 'Lord of the Rings 1'... leaving 1024 x 426 => 2.4:1 (720x576 PAL / 16:9)
So I up-sized to 1152 x 480 (all MOD16)... using Lanczos4 (I'm still using 0.80)... and the file is still way short of 1 DVD...

The quality is just indescribable and beyond words...


:):D:eek:
Pascal

buzzqw
25th April 2007, 15:49
with 0.80 the better resizer is lanczos4 in new installer there is also limitedsharpenfaster...

BHH

ryc0203
25th April 2007, 16:50
:thanks: for this great software

one cuestion what are the diference betwen filter qmlf1-3 motion and qmlf2-4 motion, qmlf3-5 motion..... etc

I know what's are a conditional filter, but not the especific use of the qmlf

PD: Sorry by my english but is not my natural language

buzzqw
25th April 2007, 18:42
look at \exe\script and at .avs file... these are the qmf

also i can suggest for this feature to wait the next update. I will introduce the qmtrim (http://www.digitalexpression.it/forum/index.php?showtopic=416&st=0 , sorry only italian)
it would be an vectorial analysis of frames using mvanalyze and will construct a avs much similar (and much better) to ArCalculator

BHH

ryc0203
25th April 2007, 21:13
thanks again .... very good work :)

malacai
26th April 2007, 10:38
10:35:13 WMV CMD: cscript.exe "R:\AutoMKV080\exe\encoder\WMCmd.vbs" -input "R:\temp\movie.avs" -output "R:\temp\movie.wmv" -v_codec WVC1 -v_mode 3 -v_bitrate 3824275456 -s_config "R:\temp\wmv_crb" -v_preset best -v_dquantoption 3 -v_bdeltaqp 1 -a_codec wmapro -a_mode 0 -title "swe6-1itp1its9-sample" -year 2007 -copyright "Done with AutoMKV! 0.82" -a_setting 192_48_2_16
10:35:17 BREAK ! FILE NOT SUPPORTED ! LAST TRY WITH FFMPEG!


i always get this when trying to encode WMV

buzzqw
26th April 2007, 11:32
i need more info

post the log file

it is ok when encoding to x264/xvid ?

BHH

woody_green
26th April 2007, 14:13
Hello, I encoded some anime, and there is a slight problem. The video is playing too fast. Audio is good, but the video is just too fast for the audio. What should I do?

19:25:59 0.81b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
19:25:59 Selected Input file: C:\Documents and Settings\Cora\My Documents\skulfiles\nodame_cantabile\[Froth-Bite]Nodame_Cantabile_010.mp4
19:25:59 Selected Output dir: D:\temp\
19:25:59 Selected Final Name: [Froth-Bite]Nodame_Cantabile_010
19:25:59 Selected Container type: MKV
19:25:59 Selected Encoder: X264
19:25:59 Selected Size: 33
19:25:59 Selected Slice: 1
19:25:59 Selected Profile: 1Pass-Maxspeed.xml
19:25:59 Selected Width: 720
19:25:59 Selected Resizer: Spline36Resize (neutral sharp)
19:25:59 Selected Filters: Deen().Spresso().TTempSmooth()
19:25:59 Selected Deinterlacer: AUTO
19:25:59 Selected Field Order: AUTO
19:25:59 Manual Crop: Enabled
19:25:59 Left Crop: 0
19:25:59 Top Crop: 0
19:25:59 Right Crop: 0
19:25:59 Botton Crop: 0
19:25:59 Manual Width: 512
19:25:59 Manual Height: 288
19:25:59 Enabled CRF/CQ AutoRes at 18 value
19:26:00 Track Language 1: [Froth-Bite]Nodame_Cantabile_010.mp4
19:26:00 Audio Codec 1: Nero AAC
19:26:00 Audio Quality 1: 0.50
19:26:00 Audio Channel 1: Stereo
19:26:00 Advanced Audio Settings DUMP Track 1
19:26:00 Nero Option Profiles: AUTO --- Encoding Mode: Quality
19:26:00 CCT Option Profiles: AUTO --- Channel Options: AUTO
19:26:00 Lame Settings: ABR
19:26:00 Audio Normalization: 1
19:26:00 Frequency: AUTO --- Tempo : NONE
19:26:00 Pitch: NONE --- Other Add :
19:26:00 Advanced Audio Settings DUMP Track 2
19:26:00 Nero Option Profiles: AUTO --- Encoding Mode: Quality
19:26:00 CCT Option Profiles: AUTO --- Channel Options: AUTO
19:26:00 Lame Settings: ABR
19:26:00 Audio Normalization: 1
19:26:00 Frequency: AUTO --- Tempo : NONE
19:26:00 Pitch: NONE --- Other Add :
19:26:00 Activate Anamorphic Encoding
19:26:00 Activate use ProjectX
19:26:00
19:26:25 Number of Frames: 33870
19:26:25 Framerate: 25.000000
19:26:25 Movie length in Seconds: 1355
19:26:25 Movie Width/Height: 704/400
19:26:28 Encoding D:\temp\ to NeroAAC with 0.50 quality
19:28:56 Encoded 1' Audio Track: 25157989 bytes
19:28:56 Starting X264
19:28:57 ABR encoding X264: D:\AutoMKV081\exe\encoder\x264.exe --pass 1 --crf 32.50 --stats "D:\temp\.stats" --progress --keyint 250 --bframes 0 --qpmin 10 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --subme 0 --direct none --vbv-maxrate 25000 --me dia --no-ssim --merange 8 --nf --no-cabac --no-b-adapt --no-chroma-me --threads 2 --sar 64:45 --output "D:\temp\movie.mp4" "D:\temp\movie.avs"
20:00:43
20:00:43 Only Movie Size: 47788592 bytes
20:00:43 "D:\AutoMKV081\exe\matroska\mkvmerge.exe" -o "D:\temp\[Froth-Bite]Nodame_Cantabile_010.mkv" --track-name -1:"[Froth-Bite]Nodame_Cantabile_010" --aspect-ratio 1:16:9 "D:\temp\movie.mp4" --language -1:und "D:\temp\audio.mp4" --title "Done with AutoMKV 0.81b http://forum.doom9.org/showthread.php?p=854221 "
20:00:49 Final Muxed size: 73158701 bytes
20:00:49 Encoding finished: 00:34:50 elapsed time
20:00:49 -----------------------------------------------------------------------
20:00:49 Script AutoCrop.log
20:00:49
20:00:49 Crop(6,0,692,400)
20:00:49 -----------------------------------------------------------------------
20:00:49 Script Resmovie.avs
20:00:49 -----------------------------------------------------------------------
20:00:50 Script movie.avs
20:00:50
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\AddGrain.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\autocrop.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\BicublinResize.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\blockbuster.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\cnr2.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\ColorMatrix.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\Convolution3D.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\corrector.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\DctFilter.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\Decomb.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\Deen.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\degrainmedian.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\DGDecode.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\EEDI2.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\fft3dfilter.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\FluxSmooth.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\frfun7.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\hqdn3d.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\LeakKernelDeint.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\MaskTools.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\medianblur.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\MipSmooth.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\MSharpen.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\mt_masktools.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\mvtools.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\NicAudio.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\RemoveGrainS.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\RepairS.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\SangNom.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\SimpleResize.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\SoundOut.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\TBilateral.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\TDeint.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\TIVTC.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\TomsMoComp.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\TTempSmooth.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\UnDot.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\UnFilter.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\VSFilter.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\warpsharp.dll")
20:00:50 #loadpluginstart
20:00:50
20:00:50 #test1
20:00:50
20:00:50 Import("D:\AutoMKV081\exe\filter\HybridFuPP.avsi")
20:00:50 Import("D:\AutoMKV081\exe\filter\LimitedSharpenFaster.avsi")
20:00:50 Import("D:\AutoMKV081\exe\filter\MCBob_v03c.avsi")
20:00:50 Import("D:\AutoMKV081\exe\filter\mvbob.avsi")
20:00:50 Import("D:\AutoMKV081\exe\filter\seesaw.avsi")
20:00:50 Import("D:\AutoMKV081\exe\filter\spresso.avsi")
20:00:50 #importstart
20:00:50
20:00:50 #test2
20:00:50
20:00:50 movie = directshowsource("C:\Documents and Settings\Cora\My Documents\skulfiles\nodame_cantabile\[Froth-Bite]Nodame_Cantabile_010.mp4",audio=false)
20:00:50 movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
20:00:50 movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
20:00:50 function getOrder(clip c) {
20:00:50 order = GetParity(c) ? 1 : 0
20:00:50 Return order }
20:00:50 #filter1start
20:00:50
20:00:50 #test3
20:00:50
20:00:50 last = movie
20:00:50 crop(0,0,-0,-0)
20:00:50 #resizestart
20:00:50
20:00:50 #test4
20:00:50
20:00:50 Spline36Resize(512,288)
20:00:50 #filter2start
20:00:50
20:00:50 #test5
20:00:50
20:00:50 Deen().Spresso().TTempSmooth()
20:00:50 -----------------------------------------------------------------------
20:00:50 Script mkvmaudio.avs
20:00:50
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\NicAudio.dll")
20:00:50 LoadPlugin("D:\AutoMKV081\exe\filter\SoundOut.dll")
20:00:50 DirectShowSource("C:\Documents and Settings\Cora\My Documents\skulfiles\nodame_cantabile\[Froth-Bite]Nodame_Cantabile_010.mp4",video=false)
20:00:50 #Applying STEREO downmixing routines
20:00:50 function stereo(clip a)
20:00:50 {
20:00:50 flr = GetChannel(a, 1, 2)
20:00:50 fcc = GetChannel(a, 3)
20:00:50 lfe = GetChannel(a, 4)
20:00:50 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
20:00:50 mix = MergeChannels(lfc, lfc)
20:00:50 lrc = MixAudio(flr, mix, 0.2929, 1.0)
20:00:50 blr = GetChannel(a, 5, 6)
20:00:50 Return MixAudio(lrc, blr, 1.0, 0.2929)
20:00:50 }
20:00:50 #
20:00:50 6==Audiochannels() ? stereo() : last
20:00:50 Normalize()
20:00:51 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="D:\AutoMKV081\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.50 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
20:00:51 -----------------------------------------------------------------------
20:00:51 Script mkvmaudio.bat
20:00:51
20:00:51 "D:\AutoMKV081\exe\BeSweet\vdub.exe" /x "D:\temp\mkvmaudio.avs"
20:00:51 -----------------------------------------------------------------------
20:00:51 Script mkvmaudio2.avs
20:00:51 -----------------------------------------------------------------------
20:00:51 Script mkvmaudio2.bat
20:00:51
20:00:51 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Thanks!

buzzqw
26th April 2007, 15:01
from log file i can see that your source is processed via directshowsource....
is the original file syncronized when played with mpc/wmp?

is correct 25 as framerate ?

you could try to edit your movie.avs and change the movie=directshow... to this

movie = directshowsource("C:\Documents and Settings\Cora\My Documents\skulfiles\nodame_cantabile\[Froth-Bite]Nodame_Cantabile_010.mp4",audio=false,fps=25,convertfps=true)

the reclick on encoding bat file (x264cmdq_ABR.bat)

i will look at this issue!

thanks

BHH

dlflannery
26th April 2007, 16:10
10:35:13 WMV CMD: cscript.exe "R:\AutoMKV080\exe\encoder\WMCmd.vbs" -input "R:\temp\movie.avs" -output "R:\temp\movie.wmv" -v_codec WVC1 -v_mode 3 -v_bitrate 3824275456 -s_config "R:\temp\wmv_crb" -v_preset best -v_dquantoption 3 -v_bdeltaqp 1 -a_codec wmapro -a_mode 0 -title "swe6-1itp1its9-sample" -year 2007 -copyright "Done with AutoMKV! 0.82" -a_setting 192_48_2_16
10:35:17 BREAK ! FILE NOT SUPPORTED ! LAST TRY WITH FFMPEG!


i always get this when trying to encode WMV

-v_bitrate 3824275456
Isn't this a rather astounding bitrate? :confused:

valan
27th April 2007, 02:27
I'm having some trouble with deinterlacing, I just set it to auto. In previous versions it worked great, but in .81+ it doesn't seem to be working.

I get this error in deint.log:

Error: Error calling AVIStreamGetFrameOpen

I attached the log file for an encode from a dvd source

payne_en_diaz
27th April 2007, 03:54
Hi,I just started using this to encode my dvds to stream to my xbox 360.
Why does my Norton Anti virus keep reporting a malicious script and how do I stop it?
Sometimes the audio doesn't get merged with the video,how can I fix that.Here is log.

nx6
27th April 2007, 07:42
Why does my Norton Anti virus keep reporting a malicious script and how do I stop it?


Norton is probably alarmed by the scripts that AutoMKV uses that are creating many files on their own, which are then used in other scripts to make even more files. The result being Norton thinks your machine has been inducted into a zombie net, or is building a virus from scratch in-house like a trojan to avoid Norton's protection that is monitoring your network connection.

I dumped Norton years ago otherwise I would check around in the settings to see what could be "toned down" to allow things to run more smoothly.

buzzqw
27th April 2007, 10:36
@valan

this error often is due to missing/corrupted yv12 decoder
try reinstalling xivd
for deinterlacer problems try enabling "allow hybrid order/pattern"

@payne_en_diaz
as well say by nx6, automkv will use vbs script to automatize audio encoding. i can suggest to disable on norton the vbs script checking... or better use a more modern av (like avira,kaspersky,nod32...)

@nx6

thanks!

BHH

nx6
27th April 2007, 18:22
@payne_en_diaz

Apparently this is a common problem that isn't (http://www.hardforum.com/showthread.php?t=1181676) that easy to find a solution for. I had to jump around in Google for almost 20 minutes to find these answers.

How to disable script blocking in NAV 2002/2003. (http://service1.symantec.com/SUPPORT/nav.nsf/docid/2001082912274906?Open&docid=2002011812413006&nsf=nav.nsf&view=aab56492973adccd8825694500552355)

How to allow the "authorize" option for scripts. (http://service1.symantec.com/SUPPORT/nav.nsf/b69c799adfa31ecc85256aa30052f4d0/6216e0fdef41999685256a2d005c8e6e?OpenDocument&src=bar_sch_nam)

Here's another post of how to disable script blocking, but no mention of which version of Norton this works on. (http://www.computing.net/windowsme/wwwboard/forum/41151.html)

It almost looks like there is no way to disable it in NAV 2006/2007. I don't know if you'll have to "authorize" the scripts to run every time you do a job or if Norton will allow them from then on by name. If they use the filepath you'll have probelms since the filepath could change depending on where the "temp" folder is being created (inside the DVD rip folder for example). If that is the case, perhaps if you set your output destination to someplace else you'll only have to authorize them once, since then the temp folder will overwrite itself everytime and the filepath for the VBS scripts wont change, keeping them on Norton's Whitelist (if it has a permanent whitelist, that is).

delacroixp
27th April 2007, 19:32
Does AutoMKV support .DAT input file format... or are there any plans to in the future...
I'm sure there is no great demand but I tried to encode a video.dat just for fun... obviously without any success.

I'm still using AutoMKV 0.80 but I found that setting the AR to 4:3 for an anamorphic video signalled 720xDDD while MkvMerge signalled 768x576 as it probably should be...

It probably no longer an issue...


:):D:eek:
Pascal

nx6
27th April 2007, 20:52
How about we add OGM container support just for fun while we're at it? (Yes, I am aware OGM is considered a "hack" container format and MKV would be the proper implementation.) :D

buzzqw
27th April 2007, 22:24
@delacroixp
Does AutoMKV support .DAT input file format
rename .dat in .mpg and is supported :D

btw .dat could be anything...

and btw(2) 768 is ok with new visual crop :D


@nx6

NO. Organism Genitic Modified are not allowed :D

mp4 and MKV is more then enough

BHH

TheRyuu
28th April 2007, 02:46
Hi,I just started using this to encode my dvds to stream to my xbox 360.
Why does my Norton Anti virus keep reporting a malicious script and how do I stop it?
Sometimes the audio doesn't get merged with the video,how can I fix that.Here is log.

Get a better Anti-Virus. :D

Best free anti virus is AOL Kaspersky (http://www.activevirusshield.com/antivirus/freeav/index.adp?). Yes, thats right. AOL did something GOOD. It has the same detection rate as the normal kaspersky (which according to tests has the best) and does not contain any maleware (as of yet).

You can read stuff about it here. (http://forums.anandtech.com/messageview.aspx?catid=33&threadid=1982241&enterthread=y)

nx6
28th April 2007, 03:38
I would add that if you're currently in school you might just check with your university's computing department. Many colleges give students subscriptions to major antivirus software to keep their networks free of viruses.

I'm using Sophos Anti-Virus 6 (provided by my college) right now.

delacroixp
28th April 2007, 14:07
Get a better Anti-Virus. :D

Best free anti virus is AOL Kaspersky (http://www.activevirusshield.com/antivirus/freeav/index.adp?). Yes, thats right. AOL did something GOOD. It has the same detection rate as the normal kaspersky (which according to tests has the best) and does not contain any maleware (as of yet).

You can read stuff about it here. (http://forums.anandtech.com/messageview.aspx?catid=33&threadid=1982241&enterthread=y)
Gr8... :thanks: for the heads-up...


:):D:eek:
Pascal

delacroixp
28th April 2007, 14:10
@delacroixp

rename .dat in .mpg and is supported :D

btw .dat could be anything...

and btw(2) 768 is ok with new visual crop :D


@nx6

:thanks: much... :stupid:


:):D:eek:
Pascal

payne_en_diaz
28th April 2007, 15:55
Norton is probably alarmed by the scripts that AutoMKV uses that are creating many files on their own, which are then used in other scripts to make even more files. The result being Norton thinks your machine has been inducted into a zombie net, or is building a virus from scratch in-house like a trojan to avoid Norton's protection that is monitoring your network connection.

I dumped Norton years ago otherwise I would check around in the settings to see what could be "toned down" to allow things to run more smoothly.

Thanks,so thats why the audio doesnt get merged because nortons is stopping it?
Also why is Norton not a good AV.Isn't it just doing its job by alerting me of a script?
In my version of Nortons(2002) there is an option to turn off script blocking i'll try that but won't that expose me to potential harmful scripts?

buzzqw
28th April 2007, 16:36
In my version of Nortons(2002)
that's quite old, i suggest to upgrade to 2007
Norton has made quite strong progress

but won't that expose me to potential harmful scripts?
that's a good point.

i suggest if norton has this option to esclude from on access scanner the directory of automkv and the teporary directory of encoding file

BHH

P.S http://www.av-comparatives.org/seiten/ergebnisse_2007_02.php for an update antivirus comparison

movmasty
29th April 2007, 19:24
Excuse me if i didnt read all the 2000 posts :o

But aac audio works in avi container ?? :helpful:

buzzqw
29th April 2007, 20:13
no, not work because isn't possible (in normal way)

in avi is allowed to mux only mp3 or ac3

aac is allowed in matroska (mkv) or mp4

BHH

Unrealbr
30th April 2007, 03:07
no, not work because isn't possible (in normal way)

in avi is allowed to mux only mp3 or ac3

aac is allowed in matroska (mkv) or mp4

BHH

maybe you could make ac3 5.1 work with mkv, i'd be happy :D

movmasty
30th April 2007, 05:55
no, not work because isn't possible (in normal way)

in avi is allowed to mux only mp3 or ac3

aac is allowed in matroska (mkv) or mp4

BHH:thanks:

Thanks :(


But possible that no one finds some hack for AAC audio in avis??

movmasty
30th April 2007, 06:13
Since "mkvmagic is a ended project." i reply my post here

"Hi, in the wide resize section of Mkv i dont see the Bell filter,

i'm using it with good results for pics, so would be nice to have for movies too,

or maybe some filter that i dont know gives same results of Bell?(removing noise but sharper than bilinear)"

http://automkv.wiki-site.com/images/2/26/Resizer.png

buzzqw
30th April 2007, 08:38
about bell filter
http://forum.doom9.org/showthread.php?t=118282

and btw, if you know how to tweak gauss... post your info :)

BHH

Unrealbr
30th April 2007, 13:16
Hey Buzzqw.
I've got my hands on an anime dvd9 and it has 5 chapters on it bu automkv wont see them, it will recognize it as 1 2h movie.
What could be done here so that i can split it in episodes?

buzzqw
30th April 2007, 14:50
on PGC list what you see ?

BHH

Unrealbr
30th April 2007, 15:05
on PGC list what you see ?

BHH

2:00:09:16
2:00:09:16
0:00:02:01
2:00:09:16
0:00:02:01
0:24:03:20

that.

buzzqw
30th April 2007, 15:26
i suppose that "2:00:09:16" is the full lenght of those episodes... if so i suggest to do 1 big mkv and use chapter for "splitting" those episodes...

the ifo isn't reporting 5 episodes... so... i cannot do anything

BHH

Unrealbr
30th April 2007, 15:28
i suppose that "2:00:09:16" is the full lenght of those episodes... if so i suggest to do 1 big mkv and use chapter for "splitting" those episodes...

the ifo isn't reporting 5 episodes... so... i cannot do anything

BHH

Is there any way i can set a trim in automkv for it rip only from frame X to frame Y?

buzzqw
30th April 2007, 15:33
YES!

use the "Last line avs Script" and write trim(xxx,yyyy) :)

BHH

P.S. i will try to add this to the new preview fuction...