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

wallstreetcrash
28th May 2007, 13:25
You said you can't get WMV+5.1 WMA audio.

What if you turn the AC3/MP3 audio into 6-channel wav, then add it?

buzzqw
28th May 2007, 13:32
What if you turn the AC3/MP3 audio into 6-channel wav, then add it?

i already done this

and it work if i encode only the audio

but since is not possible (there aren't command line muxer) to mux wmv video and wma audio together in new wmv file... i must encode audio WITHIN the video file

When encoding within video i can use the directshowsource or the wavsource but the 5.1 file audio got borked :(

in new avisynth 2.58 (alpha) there are some workaround ... i hope to get 5.1 fuctional

BHH

wallstreetcrash
28th May 2007, 13:38
Thanks, maybe have a look at Encode360, its open source and can covert using 5.1 audio :)

And, thanks for the prompt replies and help.

esso
28th May 2007, 18:34
I have a resolution question:

A file that I encoded is coming out as a 4:3 encode. It's originally 16:9.

The original resolution/aspect is 720*480/16:9 but when I encode it AutoMKV changes it to 720*576/5:4 (at least this is what mediainfo tells me when I check the encode.

I left the resolution at original.

When I check the original in Avinaptic it says:

Resolution: VERY HIGH (720 x 480)
Width: multiple of 16 (GOOD)
Height: multiple of 16 (GOOD)

[ Video track ]

Codec ID: V_MPEG4/ISO/AVC
Resolution: 720 x 480
Frame aspect ratio: 3:2 = 1.5
Pixel aspect ratio: 853:720 = 1.184722
Display aspect ratio: 853:480 = 1.777083 (~16:9)
Framerate: 23.976024 fps

The display says 853:480 = 1.777083 (~16:9), but its not 16:9 at all.

Im not sure if Im making any sense here LOL, or if im even really understanding what im reading. But....

My question is, How do I keep it widescreen when I encode? I've tried resizing it to 704*400, 1280*720 (for PS3), and Original and the picture always comes out squeezed.

http://img502.imageshack.us/img502/3083/originalam1.th.png (http://img502.imageshack.us/my.php?image=originalam1.png)
Original File

http://img525.imageshack.us/img525/7924/encodedyp4.th.png (http://img525.imageshack.us/my.php?image=encodedyp4.png)
Encoded file keeping original resolution

http://img504.imageshack.us/img504/8831/resolutionld7.th.png (http://img504.imageshack.us/my.php?image=resolutionld7.png)
avinaptic output of original file

http://img341.imageshack.us/img341/7030/originalavinpaticom5.th.png (http://img341.imageshack.us/my.php?image=originalavinpaticom5.png)
avinaptic output of encoded file

esso
28th May 2007, 19:27
Here's the complete output from avinaptic after I encoded the file:


[ About file ]

Name: Appleseed [Movie] 2004.mp4
Date: 28/05/2007 04:27:05
Size: 1,875,999,736 bytes

[ Generic info ]

Play duration: 01:45:25 (6324.841666 s)
Container type: MP4/MOV
Major brand: ISO Base Media version 1
Compatible brands: JVT AVC
Creation time: 27/05/2007 08:22:59 UTC
Modification time: 27/05/2007 08:22:59 UTC
Number of streams: 2
Type of stream nr. 1: video (avc1) {GPAC ISO Video Handler}
Type of stream nr. 2: audio (mp4a) {GPAC ISO Audio Handler}
Audio streams: 1

[ About quality ]

Resolution: VERY HIGH (720 x 576)
Width: multiple of 16 (GOOD)
Height: multiple of 16 (GOOD)

[ Video track ]

Codec: avc1
Resolution: 720 x 576
Frame aspect ratio: 5:4 = 1.25
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 5:4 = 1.25
Framerate: 23.976023 fps
Number of frames: 151643
Bitrate: 2208.240315 kbps

[ Audio track ]

Codec: mp4a
Bitrate: 161.199606 kbps
Channels: 2
Sample rate: 48000 Hz

[ About H.264 encoding ]

User data: x264
User data: core 54 svn-654M
User data: H.264/MPEG-4 AVC codec
User data: Copyleft 2005
User data: http://www.videolan.org/x264.html
User data: cabac=1
User data: ref=3
User data: deblock=1:0:0
User data: analyse=0x1:0x131
User data: me=umh
User data: subme=6
User data: brdo=1
User data: mixed_ref=1
User data: me_range=16
User data: chroma_me=1
User data: trellis=1
User data: 8x8dct=0
User data: cqm=0
User data: deadzone=21,11
User data: chroma_qp_offset=0
User data: threads=1
User data: nr=0
User data: decimate=1
User data: mbaff=0
User data: bframes=3
User data: b_pyramid=0
User data: b_adapt=1
User data: b_bias=0
User data: direct=3
User data: wpredb=1
User data: bime=1
User data: keyint=250
User data: keyint_min=25
User data: scenecut=40
User data: rc=2pass
User data: bitrate=2208
User data: ratetol=1.0
User data: rceq='blurCplx^(1-qComp)'
User data: qcomp=0.60
User data: qpmin=10
User data: qpmax=51
User data: qpstep=4
User data: cplxblur=20.0
User data: qblur=0.5
User data: ip_ratio=1.40
User data: pb_ratio=1.30
SPS id: 0
Num ref frames: 4
PPS id: 0
Entropy coding type: CABAC
Weighted prediction: No

This report was created by AVInaptic (06-03-2007) on 28 mag 2007, h 13:24:28


In case anyone needs it :)

buzzqw
28th May 2007, 19:54
your source file is mkv and automkv don't know the AR of these file

automkv could extract correct ar from mpeg files not mpeg4 files like .avi/.ogm/.mkv...

i suggest to use in advanced settings "Force Mux AR" and set it to 16:9

also.. look at encoding log file... what is written in mkvmerge command line ?

BHH

esso
28th May 2007, 20:32
i suggest to use in advanced settings "Force Mux AR" and set it to 16:9

Do you suggest that I set the resolution I want, then set "Force Mux AR" 16:9?

And it should be okay?

buzzqw
28th May 2007, 20:46
yep.. i hope! (try with a small sample...)

BHH

Unrealbr
29th May 2007, 03:21
Hey buzzqw do you think that i used an .avs script with the loadsubtitles script in it automkv would work and harsub it correctly?

buzzqw
29th May 2007, 09:17
why not ... ?

try :)

BHH

Unrealbr
29th May 2007, 21:11
Seems to have had worked \o/

esso
30th May 2007, 01:27
Hey buzzqw,

It seems that the PS3 profile is not working for me anymore after I updated to 84b.

I did not change any of the settings I used normally, its just displaying unsupported file on the PS3 now.

esso
30th May 2007, 03:45
Hey buzzqw,

It seems that the PS3 profile is not working for me anymore after I updated to 84b.

I did not change any of the settings I used normally, its just displaying unsupported file on the PS3 now.

sorry its working now.

I was a little worried about subtitles though. I kept loading external subs and the box kept saying NONE. I thought it would not load them but then I read here that it does not change on external subs. The only way I can tell if they are loaded is if I start the conversion and check the log.

buzzqw
30th May 2007, 08:03
I thought it would not load them but then I read here that it does not change on external subs

i know... is wanted
if you are unsure.. i could pop-up a message of correct loading .. ?

It seems that the PS3 profile

in next update i will add (not sostitute) a new ps3 profile with level 40 (testes on PAL PS3 thanks to Jeroen)

BHH

buzzqw
30th May 2007, 16:42
@ALL WMV 5.1ch ...

look at this http://automkv.wiki-site.com/index.php/Audio_Troubleshooting

i have successfull encoded in wmv 5.1!

wait for new update

BHH

wallstreetcrash
30th May 2007, 17:16
Thanks, great news :)

TheRyuu
30th May 2007, 21:42
As a suggestion, I think you should include this version (mt_masktools version) of SeeSaw instead of the "official" Didée version.

This one uses MaskTools v2 (faster) and it was made by foxyshadis.
# SeeSaw v0.3e (02 Jan 2006)
#
# (Full Name: "Denoiser-and-Sharpener-are-riding-the-SeeSaw" )
#
# This function provides a (simple) implementation of the "crystality sharpen" principle.
# In conjunction with a user-specified denoised clip, the aim is to enhance
# weak detail, hopefully without oversharpening or creating jaggies on strong
# detail, and produce a result that is temporally stable without detail shimmering,
# while keeping everything within reasonable bitrate requirements.
# This is done by intermixing source, denoised source and a modified sharpening process,
# in a seesaw-like manner.
#
# This version is considered alpha.
#
# Usage:
#
# a = TheNoisySource
# b = a.YourPreferredDenoising()
# SeeSaw( a, b, [parameters] )
#
# You're very much encouraged to feed your own custom denoised clip into SeeSaw.
# If the "denoised" clip parameter is omitted, a simple "spatial pressdown" filter is used.
#
#
# Fiddled together by Didée, for your pleasure.
#


# ======= Main function =======

function SeeSaw( clip clp, clip "denoised",
\ int "NRlimit",int "NRlimit2",
\ float "Sstr", int "Slimit", float "Spower", float "SdampLo", float "SdampHi", float "Szp",
\ float "bias", int "Smode", int "sootheT", int "sootheS", float "ssx", float "ssy")
{
ssx = default( ssx, 1.0 ) # supersampling factor x / SeeSaw doesn't require supersampling urgently.
ssy = default( ssy, ssx ) # supersampling factor y / if at all, small values ~1.25 seem to be enough.
NRlimit = default( NRlimit, 2 ) # absolute limit for pixel change by denoising
NRlimit2 = default( NRlimit2, NRlimit+1) # limit for intermediate denoising
Sstr = default( Sstr, 1.5 ) # Sharpening strength (don't touch this too much)
Slimit = default( Slimit, NRlimit+2 ) # positive: absolute limit for pixel change by sharpening
# negative: pixel's sharpening difference is reduced to diff=pow(diff,1/abs(limit))
Spower = default( Spower, 4 ) # exponent for modified sharpener
Szp = default( Szp, 16+2 ) # zero point - below: overdrive sharpening - above: reduced sharpening
SdampLo = default( SdampLo, Spower+1 ) # reduces overdrive sharpening for very small changes
SdampHi = default( SdampHi, 24 ) # further reduces sharpening for big sharpening changes. Try 15~30. "0" disables.
bias = default( bias, 49 ) # bias towards detail ( >= 50 ) , or towards calm result ( < 50 )
Smode = default( Smode, ssx<1.35 ? 11 : ssx<1.51 ? 20 : 19 )
sootheT = default( sootheT, 49 ) # 0=minimum, 100=maximum soothing of sharpener's temporal instableness.
# (-100 .. -1 : will chain 2 instances of temporal soothing.)
sootheS = default( sootheS, 0 ) # 0=minimum, 100=maximum smoothing of sharpener's spatial effect.

Szp = Szp / pow(Sstr, 1.0/4.0) / pow( (ssx+ssy)/2.0, 1.0/2.0 )
SdampLo = SdampLo / pow(Sstr, 1.0/4.0) / pow( (ssx+ssy)/2.0, 1.0/2.0 )

ox=clp.width
oy=clp.height
xss = m4(ox*ssx)
yss = m4(oy*ssy)
NRL = string( NRlimit )
NRL2 = string( NRlimit2 )
NRLL = string( int(round( NRlimit2 * 100.0/bias - 1.0 )) )
SLIM = string( abs(Slimit) )
BIAS1 = string( bias )
BIAS2 = string( 100-bias )
#ZRP = string( abs(Szp) )
#PWR = string( abs(Spower) )
#DMP = string( SdampLo )

denoised = defined(denoised) ? denoised : mt_lutxy(clp,clp.removegrain(4,-1),"x "+NRL+" + y < x "+NRL+" + x "+NRL+" - y > x "+NRL+" - y ? ?",chroma="copy first")

NRdiff = mt_makediff(clp,denoised,chroma="process")
tame = mt_lutxy(clp,denoised,"x "+NRLL+" + y < x "+NRL2+" + x "+NRLL+" - y > x "+NRL2+" - x "+BIAS1+" * y "+BIAS2+" * + 100 / ? ?")
head = tame.sharpen2(Sstr,Spower,Szp,SdampLo,SdampHi,4)
# head = head.mt_merge(tame,tame.prewitt(multiplier=1.0).mt_expand().removegrain(20))

(ssx==1.0 && ssy==1.0) ? repair(tame.sharpen2(Sstr,Spower,Szp,SdampLo,SdampHi,Smode),head,1,-1,-1)
\ : repair(tame.lanczosresize(xss,yss).sharpen2(Sstr,Spower,Szp,SdampLo,SdampHi,Smode),head.bicubicresize(xss,yss,-.2,.6),1,-1,-1).lanczosresize(ox,oy)

SootheSS(last,tame,sootheT,sootheS)
sharpdiff= mt_makediff(tame,last)

(NRlimit==0) ? clp : \
mt_lutxy(clp,NRdiff, "y 128 "+NRL+" + > x "+NRL+" - y 128 "+NRL+" - < x "+NRL+" + x y 128 - - ? ?",chroma="process")

Slimit>=0 ? mt_lutxy(last,sharpdiff,"y 128 "+SLIM+" + > x "+SLIM+" - y 128 "+SLIM+" - < x "+SLIM+" + x y 128 - - ? ?",chroma="copy first")
\ : mt_lutxy(last,sharpdiff,"y 128 == x x y 128 - abs 1 "+SlIM+" / ^ y 128 - y 128 - abs / * - ?",chroma="copy first")

return( last )
}


# ======= Modified sharpening function =======

function sharpen2(clip clp, float strength, int power, float zp, float lodmp, float hidmp, int rgmode)
{
STR = string( strength )
PWR = string( 1.0/float(power) )
ZRP = string( ZP )
DMP = string( lodmp )
HDMP = (hidmp==0) ? "1" : "1 x y - abs "+string(hidmp)+" / 4 ^ +"

mt_lutxy( clp, clp.RemoveGrain(rgmode,-1,-1), \
"x y == x x x y - abs "+ZRP+" / "+PWR+" ^ "+ZRP+" * "+STR+" * x y - 2 ^ x y - 2 ^ "+DMP+" + / * x y - x y - abs / * "+HDMP+" / + ?",chroma="copy first")
return( last )
}


# ======= Soothe() function to stabilze sharpening =======

function SootheSS(clip sharp, clip orig, int "sootheT", int "sootheS")
{
sootheT = default(sootheT, 25 )
sootheS = default(sootheS, 0 )
sootheT = (sootheT > 100) ? 100 : (sootheT < -100) ? -100 : sootheT
sootheS = (sootheS > 100) ? 100 : (sootheS < 0) ? 0 : sootheS
ST = string( 100 - abs(sootheT))
SSPT = string( 100 - abs(sootheS))

mt_makediff(orig,sharp)

(sootheS==0) ? last
\ : mt_lutxy( last, last.removegrain(20,-1,-1),
\ "x 128 - y 128 - * 0 < x 128 - 100 / "+SSPT+" * 128 + x 128 - abs y 128 - abs > x "+SSPT+" * y 100 "+SSPT+" - * + 100 / x ? ?", chroma="ignore")

(sootheT==0) ? last
\ : mt_lutxy( last, last.temporalsoften(1,255,0,32,2),
\ "x 128 - y 128 - * 0 < x 128 - 100 / "+ST+" * 128 + x 128 - abs y 128 - abs > x "+ST+" * y 100 "+ST+" - * + 100 / x ? ?", chroma="ignore")

(sootheT > -1) ? last
\ : mt_lutxy( last, last.temporalsoften(1,255,0,32,2),
\ "x 128 - y 128 - * 0 < x 128 - 100 / "+ST+" * 128 + x 128 - abs y 128 - abs > x "+ST+" * y 100 "+ST+" - * + 100 / x ? ?",chroma="ignore")

mt_makediff(orig,last)
# mergechroma(sharp) # not needed in SeeSaw
return( last )
}


# ======= MOD4-and-atleast-16 helper function =======

function m4(float x) {x<16?16:int(round(x/4.0)*4)}

esso
30th May 2007, 22:40
if you are unsure.. i could pop-up a message of correct loading .. ?

That would be great as I do encode alot of anime with external sub s.

Another thing that happens once in awhile... AutoMKV will not complete the encoding process. The movie file will be there named "Movie.MP4" with no audio. But there will also be an audio file too.

It's only happened twice that I know of.

Just thought I'd let you know if it has not happened to anyone yet.

esso
30th May 2007, 22:45
Heres my log of the file that did not complete (uploaded as .txt file)

TheRyuu
31st May 2007, 04:54
Not sure if this is a bug or not but when the "All Profiles" option is checked in 84b, it seems to work with everything except xvid. (Where "Xvid_Extra_Slow" should show up it doesn't)

buzzqw
31st May 2007, 08:24
@wizboy11
will be update in next release! thanks

Where "Xvid_Extra_Slow" should show up it doesn't
since there are few xvid profile.. the extra slow have just been renamed to "2_Pass_Insane_Quality.xml"
you could also open the xml and look at first row for look at original name

@esso
added message !

Another thing that happens once in awhile... AutoMKV will not complete the encoding process
while waiting the log remember that in mp4 is not possible/easy (actually) to mux ac3 audio


BHH

delacroixp
1st June 2007, 13:35
Any news on the next update and whether it'll output PSNR and SSIM values for the encode...
Thanks for a great product and it is very much appreciated, despite DDogg's aspertions to the contrary...

Any other interesting output reporting info would also be welcome.


:):D:eek:
Pascal

vasili69
1st June 2007, 14:02
well done and thanks for this gr8 prog. buzzqw. i have managed to encode without any probs so far. i have 2 questions:

1. is it possible to place a mark/tag so that the credits (at the end of a movie) are encoded at a lower resolution/bitrate ?

2. when i check the file properties (using 'The KMPlayer") it shows the file as being 'MP4' and not x264. this makes it difficult to know what format the file is in for future reference. is it possible to change this info on the encoded file?

SeeMoreDigital
1st June 2007, 14:44
2. when i check the file properties (using 'The KMPlayer") it shows the file as being 'MP4' and not x264. this makes it difficult to know what format the file is in for future reference. is it possible to change this info on the encoded file?Just in-case you were not aware....

MP4 signifies the container that your x264 (MPEG-4 AVC) video stream has been placed within.

Technically it is possible to place MPEG-1, MPEG-2, MPEG-4 (Part-2) ASP or MPEG-4 (Part-10) AVC video streams within the .MP4 container.....

vasili69
1st June 2007, 16:06
i use mkv container, but under 'codec' it does not state x264/h264. i know that when i was encoding using Gordian Knot in x264 and mkv, i would always get the x264 as the codec (when using kmplayer 'media info').

Prospero424
1st June 2007, 16:22
If I have a 1080 60fps MPEG2 TS source, is there an easy way to preserve the frame rate when converting to an x264 MKV?

Or does it do it automatically? I haven't tried converting it yet as another process is still active.

TIA

buzzqw
1st June 2007, 17:45
@delacroixp

Any news on the next update and whether it'll output PSNR and SSIM values for the encode

i am working on it .. but have some problems.. not present in next update.. sorry

@vasili69
1. is it possible to place a mark/tag so that the credits (at the end of a movie) are encoded at a lower resolution/bitrate ?

you must use the "Add to line:" and specify the here the zone

is it possible to change this info on the encoded file
try analyzing with avinaptic :)

i use mkv container, but under 'codec' it does not state x264/h264
:confused:
what the problem here ? http://img240.imageshack.us/img240/3174/mkvx264kl1.png

@Prospero424
If I have a 1080 60fps MPEG2 TS source, is there an easy way to preserve the frame rate when converting to an x264 MKV?
the only way to "decimate" the framerate is to specify to apply a deinterlacer like FILM or Decimate... otherwise automkv will not touch the fps

BHH

Mrsash
2nd June 2007, 02:58
This might be a stupid question, but the rave these days seems to be x264 and not Xvid. Can I ask if x264 is better and why?

TheRyuu
2nd June 2007, 03:08
This might be a stupid question, but the rave these days seems to be x264 and not Xvid. Can I ask if x264 is better and why?

It's not stupid, it's a great question.
Codecs can be confusing.
This is very general since I don't know the specifics of each codec.

It has a lot more features for better compression and quality at lower bit rates.

It's basically mpeg-4 Part 2 (http://en.wikipedia.org/wiki/MPEG-4_Part_2) (Divx/Xvid) vs. mpeg-4 Part 10 (http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC) (H.264/AVC/X264)

Conclusion:
mpeg4-Part 10 > Mpeg4 part 2.
AVC/H.264/x264 > Xvid/Divx

Compare the quality of the two codecs at lower bitrates. For example a normal release of a 24 minute episode is ~175mb for an Xvid avi file. The same quality can be archived with x264 with only 135-140mb.

delacroixp
2nd June 2007, 10:06
It has a lot more features for better compression and quality at lower bit rates.

It's basically mpeg-4 Part 2 (http://en.wikipedia.org/wiki/MPEG-4_Part_2) (Divx/Xvid) vs. mpeg-4 Part 10 (http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC) (H.264/AVC/X264)

Conclusion:
mpeg4-Part 10 > Mpeg4 part 2.
AVC/H.264/x264 > Xvid/Divx

Compare the quality of the two codecs at lower bitrates. For example a normal release of a 24 minute episode is ~175mb for an Xvid avi file. The same quality can be archived with x264 with only 135-140mb.
Nice reply... it certainly puts things into perspective for me...

Also thanks...


:):D:eek:
Pascal

buzzqw
3rd June 2007, 16:11
Hi All

i found the way to display theencoding status of x264 (basically read the stderr)

i could hide the x264 encoding and show this http://img454.imageshack.us/img454/7516/x264statsbe2.png status
what the problem ?
well. quite stupid.. this "status" need 3%/5% of cpu power...

so i don't know if integrate as default status or allow it as optional

i accept suggestion

BHH

P.S. the final report of x264 is on stdout or stderr ? (i think stdout)

delacroixp
3rd June 2007, 17:12
Hi All

i found the way to display the encoding status of x264 (basically read the stderr).

P.S. the final report of x264 is on stdout or stderr ? (i think stdout)
Great stuff... I don't mind the DOS box during encoding though some pretty pictures and graphics may clarify the encoding process and improve understanding of which settings are best...
Which interesting stuff can H264 report... I came accross a post (http://forum.doom9.org/showthread.php?p=1005856#post1005856) but it didn't reveal very much...

Is it possible to generate a graph-report of fps during the encode ?



:):D:eek:
Pascal

buzzqw
3rd June 2007, 18:06
Is it possible to generate a graph-report of fps during the encode ?

even if possible.. isn't so utils.. most of time will be a no curve line... since fps is almost constant

BHH

TheRyuu
3rd June 2007, 23:20
Hi All

i found the way to display theencoding status of x264 (basically read the stderr)

i could hide the x264 encoding and show this http://img454.imageshack.us/img454/7516/x264statsbe2.png status
what the problem ?
well. quite stupid.. this "status" need 3%/5% of cpu power...

so i don't know if integrate as default status or allow it as optional

i accept suggestion

BHH

P.S. the final report of x264 is on stdout or stderr ? (i think stdout)

I think the DOS box pretty much tells me all that stuff so I really don't need it. Although you could add it on as optional. I wouldn't mind it as long as I could turn it off. (I want those 3/5% CPU power). :)

AMED
4th June 2007, 11:23
I think i've found a small bug in 0.84b while i was backing up my boston legal season two boxset.

i have two folders with files with the same names in them
e.g


F:\Boston_Legal\Boston Legal - S2xE01 - The Black Widow\
VTS_01 - Stream Information.txt
VTS_01_0.IFO
VTS_01_1.VOB
VTS_01_2.VOB

And
F:\Boston_Legal\Boston Legal - S2xE02 - Schadenfreude\
VTS_01 - Stream Information.txt
VTS_01_0.IFO
VTS_01_1.VOB
VTS_01_2.VOB

When i open VTS_01_0.IFO from the black widow folder in Automkv it opens fine and i add it to the encoding queue. If i now open the VTS_01_0.IFO from the Schadenfreude folder the input folder in Automkv wont change from the black widow folder. What i need to do is open one IFO and add it to the queue close automkv open automkv and then open the next IFO and add to the queue, repeat 25 times.

buzzqw
4th June 2007, 13:54
@wizboy11

ok.. optional!

@AMED
Fixed in next update!

BHH

delacroixp
4th June 2007, 15:43
I think the DOS box pretty much tells me all that stuff so I really don't need it. Although you could add it on as optional. I wouldn't mind it as long as I could turn it off. (I want those 3/5% CPU power). :)
ok.. optional!

Personally, I think it should be on by default... the only way to expand the user-base is by improving the graphical layout and 3D appearance... like MS have done with Vista.
Most people shy away from programmes that look like they have been knocked together with assembler and machine-code...


:):D:eek:
Pascal

vgiozo
4th June 2007, 19:02
Has anyone been able (or tried) to run AutoMKV in Vista x64? I tried encoding a Mpeg2 tv recorded program into x264 and it skipped video encoding...

(why run vista, then? Well as strange as it sounds I was having issues with Xp Pro that just do not appear in Vista, it is a tad heavier, but on the whole a better experience than XP)

TheRyuu
4th June 2007, 20:18
Personally, I think it should be on by default... the only way to expand the user-base is by improving the graphical layout and 3D appearance... like MS have done with Vista.
Most people shy away from programmes that look like they have been knocked together with assembler and machine-code...


:):D:eek:
Pascal

I agree with that.
Just make sure there's an option to turn it off.

buzzqw
4th June 2007, 20:28
I tried encoding a Mpeg2 tv recorded program into x264 and it skipped video encoding

is movie.avs created (or resmovie.avs) ? if yes open it in virtualdub ... any errors?

@wizby11
Just make sure there's an option to turn it off.
i already added the option.. is just to know if it would be set on by default or not...

BHH

jefrey
4th June 2007, 23:24
Hi guys i tried to encode some files with the profile ps3 but they didnt work yet on my ps3 pal console. The only thing i've changed, that was the resolution to Original ( 1080p or 720p). But after i've stopped the x264.exe and edit the 1st and 2nd pass.bat files to
"L:\x264.exe" --pass 1 --stats "C:\temp\.stats" --bitrate 5500 --sar 1:1 -A all --aud --level 4.1 --ref 3 --mixed-refs --bframes 3 --direct auto --analyse none --me dia --subme 1 --threads 1 --progress --output Null "C:\temp\movie.avs"
and
"L:\x264.exe" --pass 2 --stats "C:\temp\.stats" --bitrate 5500 --sar 1:1 -A all --aud --level 4.1 --ref 3 --mixed-refs --bframes 3 --direct auto --analyse p8x8,b8x8,i4x4,p4x4 --subme 7 --me umh --b-rdo --bime --weightb --trellis 1 --threads 1 --progress --output "C:\temp\movie.mp4" "C:\temp\movie.avs"

and started the bat file/s again,after the encoding i muxed it with yamb/mp4 bat file, then it works very fine on my ps3. Is it possible to make a PS3 HD profile with such settings ?

buzzqw
5th June 2007, 08:13
@jefrey

in next update there is a new ps3 profile with 4.1 level

(already tested on PS3 (PAL) thanks to Jeroen)

BHH

smekoslav
5th June 2007, 19:32
I just found out this great piece of software and tried to backup a HDDVD, but x264 1st pass is taking as long as 2nd pass...while in meGUI it was always very short. Any idea why?
Here's the cmd lines:
14:32:47 Command Line 1' Pass X264: Q:\iNCoMiNG\AutoMKV084\exe\encoder\x264.exe --pass 1 --bitrate 8749 --stats "Q:\RESiSTANCE\THE_POLAR_EXPRESS_HDDVD\temp\.stats" --ref 1 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --merange 12 --weightb --b-pyramid --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --cqmfile "Q:\iNCoMiNG\AutoMKV084\profiles\X264-profiles\matrix\eqm_avc_hr.cfg" --output NUL "Q:\RESiSTANCE\THE_POLAR_EXPRESS_HDDVD\temp\movie.avs"
14:32:47 Command Line 2' Pass X264: Q:\iNCoMiNG\AutoMKV084\exe\encoder\x264.exe --pass 2 --bitrate 8749 --stats "Q:\RESiSTANCE\THE_POLAR_EXPRESS_HDDVD\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --merange 12 --weightb --b-pyramid --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --cqmfile "Q:\iNCoMiNG\AutoMKV084\profiles\X264-profiles\matrix\eqm_avc_hr.cfg" --output "Q:\RESiSTANCE\THE_POLAR_EXPRESS_HDDVD\temp\movie.mp4" "Q:\RESiSTANCE\THE_POLAR_EXPRESS_HDDVD\temp\movie.avs"

buzzqw
5th June 2007, 19:54
@smekoslav

thanks for pointing me this "issue", i will look at this!

BHH

kikker
5th June 2007, 20:27
I just want to make sure I'm not overlooking a way to edit the avs file within the app itself, as it doesn't seem possible. This is fine by me, as I'd rather not deal with avs files.

Secondly, I notice that the movie.avs imports all possible avsi files, which I presume are the advanced avs settings avs scripts that can enhance the quality of each frame that is passed on to the encoder. Now, how does one actually use these avsi files? I see no option to turn on seesaw, for instance, in the GUI. Are the avsi files used automatically depending on the quality of the source or whether the source is DVD-based mpeg2?

I've been using AutoMKV to transcode progressive 24 films and it seems these avsi scripts are not being used. I do realize that encoding would take a lot longer if the scripts were used, but I'm not sure when it is appropriate.

Lastly, could someone please point out a link to what the numbers behind the 'EncodingMode' mean in the XML profiles? I really can't seem to find this info. Thanks!

buzzqw
5th June 2007, 22:10
I'm not overlooking a way to edit the avs file within the app itself, as it doesn't seem possible

yes, that's not possible

only change are possible editing base.avs (but make first a copy)

all possible avsi files
all avsi file present in \exe\script folder are automatically imported BUT the call is demanded to user

I see no option to turn on seesaw
look at the filter list... also .. you can write on filter list what you want like.. seesaw().undot().deen().deen() ...

the <EncodingMode> values are
0 : 1 pass ABR
1 : 1 pass QP
9 : 1 pass CRF
4 : 2 pass encoding
8 : 2 pass encoding

BHH

TheRyuu
5th June 2007, 23:55
I just want to make sure I'm not overlooking a way to edit the avs file within the app itself, as it doesn't seem possible. This is fine by me, as I'd rather not deal with avs files.

Secondly, I notice that the movie.avs imports all possible avsi files, which I presume are the advanced avs settings avs scripts that can enhance the quality of each frame that is passed on to the encoder. Now, how does one actually use these avsi files? I see no option to turn on seesaw, for instance, in the GUI. Are the avsi files used automatically depending on the quality of the source or whether the source is DVD-based mpeg2?

I've been using AutoMKV to transcode progressive 24 films and it seems these avsi scripts are not being used. I do realize that encoding would take a lot longer if the scripts were used, but I'm not sure when it is appropriate.

Lastly, could someone please point out a link to what the numbers behind the 'EncodingMode' mean in the XML profiles? I really can't seem to find this info. Thanks!

My suggestion if you want to use SeeSaw would be to edit the base.avs as buzzqw suggested.

Under "#Test 5" is were you need to put it.
So you could do something like this:
#test5
Removegrain(mode=1)
hqdn3d()
LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, smode=4, strength=150, overshoot=1, undershoot=1)

In the base.avs file. (just make a backup just in case).
For SeeSaw you can call the full Seesaw command too like this:
#test5
a= last
b=a.yourfavoritedenoiser()
SeeSaw(a,b, NRlimit=3, NRlimit2=4, Sstr=1.5, Slimit=5, Spower=5, Sdamplo=6, Szp=16)

Instead of just Seesaw() from the filters list.
If you do any of this just make sure to set the filter in AutoMKV to None. It will use the script you added to base.avs. I suggest you just make a shortcut on the desktop to the base.avs if you need to change it a lot.

vasili69
6th June 2007, 04:26
this may be another silly ?, does or will AC3 be supported ? for DTS or can i keep DTS simply by choosing 'Nero AAC' and 'original'.

btw has anyone compared the audio quality of nero to ogg/ac3 etc. ?

buzzqw
6th June 2007, 08:13
AC3 and DTS are supporteb by copying it
automkv will not encode to ac3 or dts

if your source file is an mpeg2 file (vob/ts/pvr...) automkv will extract the audio tracks and if COPY ORIGINAL is selected will copy this audio to final movie

if your source file is an .avi/.mkv./.ogm/.mp4... automkv isn't able to demux audio tracks only to encode to neroa/lame/ogg...

www.hydrogenaudio.org

@wizboy11
thanks.. as usually! :)

BHH

buzzqw
6th June 2007, 12:10
0.85 Full Package 06/06/2007

Link on first PAGE... please use a mirror if updated.. thanks!

ADDED: "AUDIO vorbis" to FFmpeg supported output
ADDED: XviD to FFmpeg supported output
ADDED: Log of WMV
ADDED: VirtualDubMod to muxer Options
ADDED: Splitting support to VirtualDubMod muxer
ADDED: In Log the FFmpeg muxing parameters
ADDED: In Log the Virtualdubmod muxing parameters
ADDED: An option to check integrity of avisynth script. Before starting encoding AutoMKV will check the script for avisynth errors. If errors are found those errors are written in log and user is requested to quit or proceed (if proceed it will trigger FFmpeg.exe)
ADDED: External subtitle (only SRT type) support to DivxMuxer and VirtualdDubMod muxers
ADDED: Preset to Tempo options
ADDED: Deinterlace to FFmpeg encoding. If the auto detection or user set a deinterlace pattern this value is passed to FFmpeg.exe
ADDED: AR Error in Preview panel (beta)
ADDED: HGAVS Optimizer by HellGauss
ADDED: MediaInfo is now used in preview panel for setting the original AR
ADDED: New PS3 profile, with level 41 (PS3_41.xml) (submitted by Jeroen)
ADDED: Again support to 5.1ch for WMV, be sure to read this before http://automkv.wiki-site.com/index.php/Audio_Troubleshooting
ADDED: Message to confirm external subtitle loading (suggestion by esso)
ADDED: Gauss_Based_Resize.lvl (QMtrim profile)
ADDED: In Advanced Profile Editing "Allow x264 Stats". This option is checked by default. When enabled will allow AutoMKV to diplay a graphical windows of X264 encoding status. Will be displayed the current video frame, the size of movie, % of progress, encoding speed, time elapsed and time remaining. Is also possible to abort encoding (killing the x264.exe). This feature uses from 0% to 5% of cpu power (depends of cpu power... of course :) )
ADDED: "Allow x264 Stats" in Save Settings
FIXED: Reworked avi muxers options
FIXED: Substitued VirtualDub.exe with VirtualDubMod.exe
FIXED: When input is an not mpeg container file (OGM/MKV/AVI/DIVX/MP4...) Copy Original as audio isn't more possible
FIXED: If LanczosPlus is used for downscaling the Spline36Resize is triggered
FIXED: Better code to handle FFmpeg usage (should be a little faster on 2 pass encoding)
FIXED: Some issues in preview panel
FIXED: If input file is an AVI/MKV/OGM the AR is extrated with MediaInfo
FIXED: When quequing IFO jobs AutoMKV will not queue if new movie is shorter (ugly bug present from 0.19, thanks to AMED)
FIXED: First pass of X264 is now quick. (thanks to smekoslav)
UPDATE: aWharpSharp to aWharSharp(Pruned), WMCmd.vbs 21/05/2007, DgIndex 1.4.9 VC6, FFT3DFilter 2.1.1, LanczosmtPlus 28/05/2007 , TITVC 1.02, ffmpeg rev 9133, SoundOut 1.0.1, SeeSaw 0.3e update by Foxyshadis (suggestion by wizboy11), QMtrim 0.5b1
REMOVED: AviMux_GUI

BHH

vasili69
6th June 2007, 13:57
thanks buzzqw for the info and the audio forum !! (never would have found it myself).

sti3
6th June 2007, 18:16
Yes I am a complete noob to this program but:

I don't understand why when I open a .mkv with 5.1 ac3 sound and 720p h264 video to try to convert to lower-resolution xvid .avi "copy original" is not an option in the downmix audio box. I am using the new version, 0.85b In the audio dropdown it just have the name of the .mkv. I installed CCCP.

EDIT: So I read the above. That means that I can't copy ac3 audio from an MKV to an AVI? Trying transcoding to Nero AAC...

kikker
6th June 2007, 19:07
if your source file is an .avi/.mkv./.ogm/.mp4... automkv isn't able to demux audio tracks only to encode to neroa/lame/ogg...



Thanks for the update! Is the reason above not to including audio copying for non-mpeg2 sources a syncing issue? Or, is there some other unforeseen difficulty?

jefrey
6th June 2007, 20:26
great update:) but just one question have anyone tested the ps3 41 level on the xbox 360? and does it works fine?because sometimes when i test some short clips with high res. with that profile the movie works fine, but the sound aac dlp II run away (micky mouse voices) but if i make stereo aac or dlp I the mp4 will didnt work :(
media file not supported ;(

kikker
6th June 2007, 20:37
I know we talked about this a bit back in this discussion, and I'm not quite sure how this can be remedied. If I have short movie to be encoded with the ipod profile, I do realize I can enter a bitrate for the encode on the advanced page to override the file size.

However, if I do not enter a bitrate and let the file size dictate the bitrate, even the 1/4 CD is too large and a bitrate over 30,000 is fed to the encoder. Now, this violates the --vbvmaxrate 768 in the ipod profile, and the file generated indeed has a bitrate that exceeds 768. Is this a problem? Well, not for me, but this could lead to problems for others I suppose.

This makes me wonder then, even if I *were* to select a bitrate of 700 (<768), would there be short segments of the video that would exceed the --vbvmaxbitrate even over those short segments? I suppose this would be a function more of the encoder itself than the GUI.

buzzqw
6th June 2007, 20:47
@kikker AND @sti3

syncro is one reason.. the other is that i haven't implemended audio extraction from not mpeg2 file
(but working on it...)

@jefrey
but the sound aac dlp II run away
sorry pal.. but video profile has nothing to spare with audio profile... totally nothing
try using Nero aac or CCT aac...

@kikker
as you say on ipod profile there is <VBVMaxBitrate>768</VBVMaxBitrate> or <VBVMaxBitrate>1500</VBVMaxBitrate> for 5.5 profile
I suppose this would be a function more of the encoder itself than the GUI.

i tryed an encoding of 12sec with a file size of 100mb and ipod profile... (--bitrate 64365 )...
this is the (trimmed) report of avinaptic
Bitrate: 1521.914920 kbps

as can see seems that x264 is able to "obey" to max bitrate... (or we hope so...)

BHH

jefrey
7th June 2007, 00:03
i've used nero aac.

BleedingGums
7th June 2007, 05:42
in 0.85 when i select my .ifo file the codec selection and quality sliders reset back to defaults, despite my changing them.

buzzqw
7th June 2007, 08:15
@BleedingGums

quality sliders reset back to defaults
got it, fixed in next update

the codec selection

now working on it!

@jefrey

but the sound aac dlp II run away (micky mouse voices)
even if you listen the audio.mp4 on pc there is this problem ?

BHH

vgiozo
7th June 2007, 22:40
For those interested, this version seems to run ok in Vista...DirectShowSource fails, it is able to encode with FFMpeg though...

TheRyuu
7th June 2007, 23:30
How about a free and really fast mirror (IMHO):
http://files.filefront.com/AutoMKV085rar/;7720172;;/fileinfo.html

(I often hit 1mB/s+ with them)

delacroixp
8th June 2007, 14:05
0.85 Full Package 06/06/2007

Link on first PAGE... please use a mirror if updated.. thanks!

ADDED: In Advanced Profile Editing "Allow x264 Stats". This option is checked by default. When enabled will allow AutoMKV to diplay a graphical windows of X264 encoding status.
Will be displayed the current video frame, the size of movie, % of progress, encoding speed, time elapsed and time remaining. Is also possible to abort encoding (killing the x264.exe). This feature uses from 0% to 5% of cpu power (depends of cpu power... of course :) )
ADDED: "Allow x264 Stats" in Save Settings

:thanks: tooo much... stats rock... !!!


:):D:eek:
Pascal

buzzqw
8th June 2007, 19:31
thanks delacroixp!

how much cpu use the automkv.exe on your pc while displaying the stats ? (also.. what cpu you have ?)

BHH

delacroixp
9th June 2007, 15:21
how much cpu use the automkv.exe on your pc while displaying the stats ? (also.. what cpu you have ?)

I'm using an entry level dual-core which is slightly overclocked!
I tested with Band of Brothers 1 @ 720x576 @ 1%, 5% and 10%

The results:
With GUI: FPS = 15.61 , 12.18 , 11.11
No... GUI: FPS = 15.90 , 12.45 , 11.35

Difference in Percentage = 1.82% , 2.1% , 2.1%
Which is roughly, a 2% decrease... which will fluctuate depending on the complexity and/or resolution of the material... and of course, the power of your CPU.

1) It struck me that the Current Video Frame could use 1000's separated by a space or a comma ','
2) The video size could be expressed in MB (also using comma notation)... alternatively, KB, MB and GB as each became more appropriate...
3) Time Elapsed could be expressed in the minimum number of fields instead of 00:00:00 (eg, 6:52)... it's easier to read and understand the figure '25' compared to 025 or 0025.
In a database you might use a 3-digit number to help sort and arrange but only display the stripped-off actual number.


:):D:eek:
Pascal

jeffy
9th June 2007, 16:03
Hi, buzzqw,

I am sorry for bothering you, but I used the "Search this thread" (term: Yadif) button before asking.

When you select deinterlacer "Interlaced" what deinterlacer is it? Can I select my preferred one somehow? Can I use Yadif? TDeint? MCBob? Anything else? Will I see it anywhere else than in the log?

If you cannot choose do you consider this option?

Sample from the log:
LeakKernelDeint(movie,order=1,sharp=true)

Thank you for your time and have a nice weekend.
Jeffy

buzzqw
9th June 2007, 17:37
here the answer

http://forum.doom9.org/showthread.php?p=937978#post937978

about yadif the answer is yes ... but difficult since yadif required loadcplugin and not loadplugin

you must edit the base.avs and specify the loadplugin("c:\...\..\yadif.dll")

then in deinterlacer list write yadif(....)

BHH

EDIT: for use MCBob just write MCbob() on deinterlacer list.. ans o on

jeffy
9th June 2007, 19:57
here the answer

http://forum.doom9.org/showthread.php?p=937978#post937978

about yadif the answer is yes ... but difficult since yadif required loadcplugin and not loadplugin

you must edit the base.avs and specify the loadplugin("c:\...\..\yadif.dll")

then in deinterlacer list write yadif(....)

BHH

EDIT: for use MCBob just write MCbob() on deinterlacer list.. ans o on

Thank you! How did you know there was something on the page 39? :)
I will try it and report back later...

buzzqw
9th June 2007, 20:10
i used the search... ;)

anyway i added a link to this topic in automkv wiki ... :)

...remember the autoload fuction of filters

BHH

weaver4
10th June 2007, 14:40
I loaded the XviD_Constant_Quality profile and the command line at the bottom of the Advanced Tab was:

-pass2 -progress -bitrate -threads 0 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 100 -bquant_offset 0 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "D:\Downloads\AutoMKV\AutoMKV85\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm"

This command line shows two pass and not a quantizer value of 2.5. I clicked on "use this profile" but it made no difference.

buzzqw
10th June 2007, 15:14
I loaded the XviD_Constant_Quality profile and the command line at the bottom of the Advanced Tab was:

-pass2 -progress -bitrate -threads 0 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 100 -bquant_offset 0 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "D:\Downloads\AutoMKV\AutoMKV85\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm"

This command line shows two pass and not a quantizer value of 2.5. I clicked on "use this profile" but it made no difference.

you are right! but is a problem only of display
if you encode using the Constant Quality profile, AutoMKV will encode at cq 2.5 as default

thanks for the diplaye bug!

BHH

DIEGO7-5
11th June 2007, 22:39
Hi buzzqw!

Thanks for this great software! I have 2 issues i would like to bring in:

1. I was encoding a testclip from a DVD with burnt-in subs and activated "HG AVS Optimizer". But in the final .avs script there is no line that says something like:

VobSub("D:\TEST\subs.idx")

The line is simply missing every time. This only seems to happen with HG Avs Optimizer enabled. Didn´t try with QmTrim yet...

2. More a question. Wouldn´t it make more sense to put the autoresize routine after HG avs Optimizer or QMTrim have done their part? Maybe you get better results (better resolution) with already filtered material. MKVMagic does it that way.

Thanks for your time :-)

buzzqw
12th June 2007, 10:25
First of all Welcome to the Forum!

thanks for your bugs, the first one is fixed in next update

More a question. Wouldn´t it make more sense to put the autoresize routine after HG avs Optimizer or QMTrim have done their part?
QmTrim work already as this, for HG... wait a future update :)

BHH

DIEGO7-5
12th June 2007, 13:56
Thanks for your quick reply! Just one more thing: Is there a quality difference in filtering between QmTrim and HG AVS optimizer?

buzzqw
12th June 2007, 14:15
s there a quality difference in filtering between QmTrim and HG AVS optimizer?

qmtrim is based on motion vector analysis, hg avs is based on frames size

both offer very good analysis , hg avs is more stable and "secure" on this analysis while qmtrim is more efficent but prone to errors since is "very beta" (better analysis on next update)

BHH

delacroixp
12th June 2007, 15:04
A friend of mine bought a Sony HD video camera... it takes HD anamorphic material @ 1440x1080 onto a DAT tape cassette in mpeg format...
I encoded a clip @ Q18 with only a 20% fall in filesize...

My question is... what kind of mpeg is it ?



:):D:eek:
Pascal

buzzqw
12th June 2007, 15:17
post a sample ... cut with dgindex

otherwise.. don't know.. (and btw... wrong forum...)

BHH

jefrey
12th June 2007, 16:31
Maybe i found a bug in automkv 085 :) if i make a queue job with 4 or 5 movies. Then the ready files an the filesize rise up after each file. I have fixed the disk settings to one DVD /4300gb

Also the 1st file is exactly 4.45 gb, then the 2nd file is 4.6gb, the 3rd file rise up to 4.78gb and the 4th file is now 4.89 gb :(.
And sometimes gdindex says that there is no video stream in my ts file :(. whats wrong?

buzzqw
12th June 2007, 17:07
i have just tryed queueing 5 file and all come out at perfect file size (2 pass balanced X264)

Also the 1st file is exactly 4.45 gb, then the 2nd file is 4.6gb, the 3rd file rise up to 4.78gb and the 4th file is now 4.89 gb

the culprit maybe audio size... (but please the log of ALL encoding mail it at my mail ... look at licence.txt)

And sometimes gdindex says that there is no video stream in my ts file . whats wrong?

in that case is better to use ProjectX (in advanced settings), is more reliable on demux ts files

BHH

delacroixp
12th June 2007, 20:07
post a sample ... cut with dgindex

otherwise.. don't know.. (and btw... wrong forum...)

Sorry buzzqw... I apologize for the inconvenience...



Real-time HD Codec Engine
A Sony developed Real Time MPEG Encode/Decode system with reduced energy consumption and compact size to fit inside a personal camcorder. Provides efficient MPEG2 compression, and recording and playback of clear HD images at the same bit rate of the DV format, so that High Definition video can be recorded on the same cassettes as are used for MiniDV recording.

It seams like Sony (http://www.sonystyle.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=10551&storeId=10151&productId=11038608&langId=-1) use a proprietary MPEG-2 Encode/Decode system to capture 1080 HD in realtime...
They say of Paris that "the more things change... the more things stay the same" (any Parisian from 200 years ago would still find Paris pretty much the same today)...

Just when you think anamorphic encoding is unnecessary with modern video techniques... it comes back sronger than ever...


:):D:eek:
Pascal

DIEGO7-5
12th June 2007, 22:14
Just for the ones interested:

AutoMKV and XP AntiSpy don´t get along. XP AntiSpy deactivates the Windows Scripting Host by default.

This means for AutoMKV that all .VBS Scripts for deinterlacing and so on will NOT work. Most probably your encode will fail.

This is NOT a bug in AutoMKV!!!

buzzqw
12th June 2007, 22:44
thanks for the news

... i will look for this software!

BHH

DIEGO7-5
13th June 2007, 00:25
Well buzzqw, it is right here:

http://www.xp-antispy.org

dansus
13th June 2007, 02:38
Hi, any idea why <delay cut cmd> is using 34GB of disc space?

Starting fixing audio delay on track number 1
01:33:11 DelayCut CMD: C:\Documents and Settings\Dan\My Documents\automkv\exe\dgindex\Delaycut.exe -auto -out "C:\Documents and Settings\Dan\Desktop\My Videos\encoding\temp\fixed1.mpa" "C:\Documents and Settings\Dan\Desktop\My Videos\encoding\temp\movie T01 DELAY -198ms.mpa"
01:33:11 Original 1 Audio Size: 186504360 bytes

thanks.

buzzqw
13th June 2007, 08:12
@DIEGO7-5
thanks

@dansus
it's a bug of delaycut

it is often present in when working TS files.

in that case you must specify to NOT use DelayCut...

after loading your file go in advanced settings and check "Use projectX for TS files", the "Allow use of projectx" will be un-checked

then.. retry encoding!

BHH

tha_reaper
13th June 2007, 12:26
hello,

first of all: nice piece of work! :thanks:
second: i have some troubles :) here i go!
1: when i pick the source as the original DVD (still need to rip), DGindex freezes after it started up, and never starts indexing. I fixed this by ripping the DVD manually or selecting the video_ts map on the DVD.

2: When i needed to rip a DVD, DVDfab would give me a 9045 error. didnt matter what i did. I fixed this by downloading DVDFab HD Decrppytper, but i need to manually confirm that it finished ripping, after which i get stuck on problem number 1, so thats not very helpfull.

3: sound... When im playing with the settings for ND AAC and CT AAC, it jumps back to stereo sound. often i dont see that and notice it after the whole encode process. pretty anoying.

4: more sound... I cant seem to get 5.1 AAC sound. When i select DPL (II) it always turn out as stereo sound, and even when i chose original it turns out about half the time as 2.0 sound while my source is 5.1. i managed to get 1 AAC 5.1 rip now, but i would like to be able to chose the bitrate, and i cant do that when im forced to chose original (and hope it turns out as 5.1 and not 2.0). Which options give me 5.1 sound from a 5.1 or DTS source? For now, im stuck with copying the original AC3 sound from my DVDs which is just big in terms of filesize.

5. When i chose set width resolution: AUTO, it skips the encode process and say its ready without encoding and merging the MKV file. Fixed this by setting it to original, but i thought you should know.

6. this is the think i have the most trouble with now: I have the original DVD9 of Afro Samurai, and i want to encode it, but when DGindex is at 100%, it gives me the folowing error: "Field order transition was detected. You may need to use Fix D2V tool to repair this stream". I have tried various settings in the advaced tab for interlacing and field order (including permitting hybrid stuff) but it keeps giving me this. When i click ok, it continues but i get the same trouble as with problem 5: it skips the encode and merge process. the deinterlacing proces continues just fine.

from the last one i can give you a log if you want, but i doubt it is very helpfull. The others i should be able to reproduce.

logfile of problem 6 (same outcome as problem 5, so maybe helpfull for that too)

11:52:24 0.84 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
11:52:24 Selected Input file: D:\DVDdoel\DVDFILES\VIDEO_TS\VTS_01_0.IFO
11:52:24 Selected Output dir: D:\rippen\temp\
11:52:24 Selected Final Name: Samu
11:52:24 Selected Container type: MKV
11:52:24 Selected Encoder: X264
11:52:24 Selected Size: 1900
11:52:24 Selected Slice: 1
11:52:24 Selected Profile: 2_Pass_Extreme_Quality.xml
11:52:24 Selected Width: Original
11:52:24 Selected Resizer: NONE
11:52:24 Selected Filters: Convolution3d (preset="animeHQ")
11:52:24 Selected Deinterlacer: AUTO
11:52:24 Selected Field Order: AUTO
11:52:24 Enabled CRF/CQ AutoRes at 18 value
11:52:24 Track Language 1: English (AC3 6ch, 0xBD 0x80) [0]
11:52:24 Audio Codec 1: Copy Original
11:52:24 Audio Quality 1: 0.70
11:52:24 Audio Channel 1:
11:52:24 Advanced Audio Settings DUMP Track 1
11:52:24 Audio Track Language: und
11:52:24 Nero Option Profiles: AUTO --- Encoding Mode: Quality
11:52:24 CCT Option Profiles: AUTO --- Channel Options: AUTO
11:52:24 Lame Settings: ABR
11:52:24 Audio Normalization: 1
11:52:24 Frequency: AUTO --- Tempo : NONE
11:52:24 Pitch: NONE --- Other Add :
11:52:24 Advanced Audio Settings DUMP Track 2
11:52:24 Audio Track Language: und
11:52:24 Nero Option Profiles: AUTO --- Encoding Mode: Quality
11:52:24 CCT Option Profiles: AUTO --- Channel Options: AUTO
11:52:24 Lame Settings: ABR
11:52:24 Audio Normalization: 1
11:52:24 Frequency: AUTO --- Tempo : NONE
11:52:24 Pitch: NONE --- Other Add :
11:52:24
11:52:25 Starting Indexing
11:52:25 Dgindex CMD: D:\rippen\AutoMKV084\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[D:\DVDdoel\DVDFILES\VIDEO_TS\VTS_01_1.vob] -OF=[D:\rippen\temp\movie] -exit -minimize
12:00:35 Finished indexing
12:00:35 Starting fixing audio delay on track number 1
12:00:35 DelayCut CMD: D:\rippen\AutoMKV084\exe\dgindex\Delaycut.exe -auto -out "D:\rippen\temp\fixed1.ac3" "D:\rippen\temp\movie T01 3_2ch 448Kbps DELAY 0ms.ac3"
12:00:35 Original 1 Audio Size: 442072064 bytes
12:01:52 Fixed 1' Audio Size: 442072064 bytes
12:01:52 Finished fixing audio delay
12:01:52 Renamed file fixed1.ac3 to audio.ac3
12:01:52 Encoded 1' Audio Track: 442072064 bytes
12:01:53 ForceFilm Detected: 99.900002% FILM found
12:02:13 Number of Frames: 236596
12:02:13 Framerate: 29.970030
12:02:13 Movie length in Seconds: 7895
12:02:13 Movie Width/Height: 720/480
12:02:13 DgIndex AR: 16:9
12:16:28 Processing completed. Type is determined to be film.
12:16:28 BFF: 166
12:16:28 TFF: 538
12:16:28 Order: var
12:16:28 Starting X264
12:16:29 Command Line 1' Pass X264: D:\rippen\AutoMKV084\exe\encoder\x264.exe --pass 1 --bitrate 1569 --stats "D:\rippen\temp\.stats" --ref 1 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output NUL "D:\rippen\temp\movie.avs"
12:16:29 Command Line 2' Pass X264: D:\rippen\AutoMKV084\exe\encoder\x264.exe --pass 2 --bitrate 1569 --stats "D:\rippen\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 5 --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 "D:\rippen\temp\movie.mp4" "D:\rippen\temp\movie.avs"
12:16:37 Finished 1' Pass X264
12:16:46 "D:\rippen\AutoMKV084\exe\matroska\mkvmerge.exe" -o "D:\rippen\temp\Samu.mkv" --track-name -1:"Samu" --aspect-ratio 1:1.000000 --chapters "D:\rippen\AutoMKV084\exe\chapters.txt" "D:\rippen\temp\movie.mp4" --language -1:und "D:\rippen\temp\audio.ac3" --title "Done with AutoMKV 0.84 http://forum.doom9.org/showthread.php?p=854221 "
12:16:46 Final Muxed size: -1 bytes
12:16:46 Encoding finished: 00:24:22 elapsed time
12:16:46 -----------------------------------------------------------------------
*romoved the script logs*
12:16:47 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

EDIT: all of this is with MKV X264 encodes

buzzqw
13th June 2007, 13:39
@tha_reaper

first of all Welcome to the Forum!

1: when i pick the source as the original DVD (still need to rip), DGindex freezes after it started up, and never starts indexing. I fixed this by ripping the DVD manually or selecting the video_ts map on the DVD.

that's right! DGindex cannot parse encrypted dvd. You must first rip it to your hd

2: When i needed to rip a DVD, DVDfab would give me a 9045 error. didnt matter what i did. I fixed this by downloading DVDFab HD Decrppytper, but i need to manually confirm that it finished ripping, after which i get stuck on problem number 1, so thats not very helpfull.

the bundled version of dvdfad is quite old.. i can suggest to use the latest dvdfab decrypter, use it to rip your dvd to your disk.
Then launch automkv and as input file point to video_ts.ifo, automkv will automatically switch to main movie

3: sound... When im playing with the settings for ND AAC and CT AAC, it jumps back to stereo sound. often i dont see that and notice it after the whole encode process. pretty anoying.
yep.. a better procedure will be in next update!

4: more sound... I cant seem to get 5.1 AAC sound. When i select DPL (II) it always turn out as stereo sound, and even when i chose original it turns out about half the time as 2.0 sound while my source is 5.1.

i don't know if i have understud... but DPLII is not 5.1... if you want 5.1 audio you must select ORIGINAL at Downmix option

i managed to get 1 AAC 5.1 rip now, but i would like to be able to chose the bitrate,

with CCT you can quick change bitrate... with NERO the preferred method is quality, BUT is possible to choose bitrate even with Nero
Open the advanced audio options an on Nero select CBR encoding... no more no less :) but i suggest to keep quality based encoding.

5. When i chose set width resolution: AUTO, it skips the encode process and say its ready without encoding and merging the MKV file. Fixed this by setting it to original, but i thought you should know.
11:52:24 Selected Resizer: NONE
11:52:24 Selected Width: Original
What autoresize could be done if you select Original Width... ?

6. this is the think i have the most trouble with now: I have the original DVD9 of Afro Samurai, and i want to encode it, but when DGindex is at 100%, it gives me the folowing error: "Field order transition was detected. You may need to use Fix D2V tool to repair this stream".

ok. this is a problem.. of your source file..
do this: first of all close automkv, then start manually digindex, indexes your vobs, when you got the error go in dgindex -> tools -> Fix D2V and select your d2v , then fix it

now start automkv, load yor FIXED D2v , automkv will ask for your audio files.. load it, then restart your encoding (set codec, media size...)

feel free to post any doubts :)

BHH

tha_reaper
13th June 2007, 20:16
that's right! DGindex cannot parse encrypted dvd. You must first rip it to your hd

Thats exactly what i did... I mean that i insert the original DVD, and chose the drive that its in using the "check DVD drive" option. When i use that and he ripped it, DGindex will freeze no matter what.
When i rip it manually and select that folder, DGindex has no trouble.


the bundled version of dvdfad is quite old.. i can suggest to use the latest dvdfab decrypter, use it to rip your dvd to your disk.
Then launch automkv and as input file point to video_ts.ifo, automkv will automatically switch to main movie

DVDfab is no longer available and you have to use DVDfab HD decrypter now. I think that its because of the interface thats a tad different that you have to press the OK button at the end of the ripping proces. Not much work, but it screws up the fully automatic process (you cant do this in a batch when you go to sleep and let it run overnight).
I like DVDdecryper much more than DVDfab, but that's my personal opinion :)

i don't know if i have understud... but DPLII is not 5.1... if you want 5.1 audio you must select ORIGINAL at Downmix option
Great, it seems you understood, but i didnt... I thought that DPL and DPLII was 5.1 surround sound. It seems i'll have to look into this.

What autoresize could be done if you select Original Width... ?

I dont think that i get the point here... I dont want to resize so i set the width to original. standard the width is set to AUTO, but if i dont change that, the encoding process totally fails. Do you mean that when i chose auto, that i have to pick a resize filter for it to work? (not that i want it to work because i always want the original size, but i think thats quite strange as a standard value)

ok. this is a problem.. of your source file..
do this: first of all close automkv, then start manually digindex, indexes your vobs, when you got the error go in dgindex -> tools -> Fix D2V and select your d2v , then fix it

now start automkv, load yor FIXED D2v , automkv will ask for your audio files.. load it, then restart your encoding (set codec, media size...)
Great! this worked a charm (i hope, he is encoding now, and everything is still fine so far...). It was a bit of a hassle because i didnt know how the hell that program worked, but actually it was pretty simple after all.
Still i think its strange that a original DVD contains such errors.
Maybe there is a way to run that fixing tool automaticly when such an error pops up?

altogether, thanks a lot for the replies, you have helped me a lot!


ps: there was a strange thing that i noticed too, not sure if it was my own fault or a program fault, but when i loaded up a DVD with some extra bonus movies on it, it only showed the main movie... I had no choice to change it to the extra's so i had to rip those manually. the same problem with a DVD with 4 20 minutes episodes on it. I could only chose one of them.
I'll check into this again and report back when the problem stays, but most likely im doing something wrong again...

buzzqw
13th June 2007, 20:38
When i use that and he ripped it, DGindex will freeze no matter what.

i will look at this issue :)

I like DVDdecryper much more than DVDfab, but that's my personal opinion

me too.. and the replace of dvdfab is on its way

I dont want to resize so i set the width to original
set the resize to NONE if so ... in this way even the black bars will stay in

Do you mean that when i chose auto, that i have to pick a resize filter for it to work?
yes ,for autoresize, autocrop only and any of fixed with you must specify a resizer

Maybe there is a way to run that fixing tool automaticly when such an error pops up?
already on todo list :)

but when i loaded up a DVD with some extra bonus movies on it, it only showed the main movie..
that's is wanted

for a brief introduction about ifo and pgc i will suggest to look at wiki http://automkv.wiki-site.com/index.php/Help:Contents#Step_1_-_Set_Input_File

BHH

acrespo
13th June 2007, 22:10
ok. this is a problem.. of your source file..
do this: first of all close automkv, then start manually digindex, indexes your vobs, when you got the error go in dgindex -> tools -> Fix D2V and select your d2v , then fix it

now start automkv, load yor FIXED D2v , automkv will ask for your audio files.. load it, then restart your encoding (set codec, media size...)

feel free to post any doubts :)

BHH

I have problems with this procedure. I am converting a episodic disk (Buffy Vampire Slayer Season 1). These DVDs have some field order problems (DGIndex message) and it's telecined, then TIVTC filter is choosen by AutoMKV. When the conversion start, TIVTC filter shows message of wrong field order too. AutoMKV can't start the conversion.
The only way I can resolve this problem is back to DGIndex 1.4.8

gonwk
14th June 2007, 02:22
Hi buzzqw,

THANKS for 0.85 version.

G!:thanks:

Andreas
14th June 2007, 08:28
MKV's great.

I’m capturing from video camera and working in Premiere 2.0 from DV tape. I have lots of material that is stalled on my HDD in DV-AVI that takes a lot of space. I’ve been using MKV to archive these files at Q18. The quality has been good enough to rework in Premiere 2.0 if necessary at a later date. The problem is that I have to recode back as Premiere 2.0 does not support MKV. My preference would be to recode back to DV-AVI of which

I’m having very little success doing so. Does anybody have any suggestions?:thanks:

buzzqw
14th June 2007, 08:54
you can even use AutoMKV ! ehh!

load your mkv file

go in advanced settings, in ffmpeg option select DV

click start!


@gonwk

thanks! an appreciation is always welcome :)

BHH

Andreas
14th June 2007, 09:24
09:11:53 0.85 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
09:11:53 Selected Input file: D:\Outgoing\George NG Kerk.mkv
09:11:53 Selected Output dir: H:\Encoding\temp\
09:11:53 Selected Final Name: George NG Kerk
09:11:53 Selected Container type: MKV
09:11:53 Selected Encoder: X264
09:11:53 Selected Size: 1 CD
09:11:53 Selected Slice: 1
09:11:53 Selected Profile: ConstantQuality-CRF.xml
09:11:53 Selected Width: Automatic
09:11:53 Selected Resizer: NONE
09:11:53 Selected Filters: RemoveGrain(mode=2)
09:11:53 Selected Deinterlacer: AUTO
09:11:53 Selected Field Order: AUTO
09:11:53 Track Language 1: George NG Kerk.mkv
09:11:53 Audio Codec 1: Lame
09:11:53 Audio Quality 1: 112
09:11:53 Audio Channel 1: Stereo
09:11:53 Advanced Audio Settings DUMP Track 1
09:11:53 Nero Option Profiles: AUTO --- Encoding Mode: Quality
09:11:53 CCT Option Profiles: AUTO --- Channel Options: AUTO
09:11:53 Lame Settings: ABR
09:11:53 Audio Normalization: 1
09:11:53 Frequency: AUTO --- Tempo : NONE
09:11:53 Pitch: NONE --- Other Add :
09:11:53 Advanced Audio Settings DUMP Track 2
09:11:53 Nero Option Profiles: AUTO --- Encoding Mode: Quality
09:11:53 CCT Option Profiles: AUTO --- Channel Options: AUTO
09:11:53 Lame Settings: ABR
09:11:53 Audio Normalization: 1
09:11:53 Frequency: AUTO --- Tempo : NONE
09:11:53 Pitch: NONE --- Other Add :
09:11:53
09:11:57 Avi engage mode not corrected, switched to DirectShowSource
09:12:00 Checking script...time.avs
09:12:11 !!!!ERROR!!!!
09:12:11 !!!!ERROR!!!! - wMultOf must be non zero.
(H:\Encoding\temp\time.avs, line 11)
09:12:11 !!!!ERROR!!!!
09:12:58 0.85 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
09:12:58 Selected Input file: D:\Outgoing\George NG Kerk.mkv
09:12:58 Selected Output dir: H:\Encoding\temp\
09:12:58 Selected Final Name: George NG Kerk
09:12:58 Selected Container type: MKV
09:12:58 Selected Encoder: X264
09:12:58 Selected Size: 1 CD
09:12:58 Selected Slice: 1
09:12:58 Selected Profile: ConstantQuality-CRF.xml
09:12:58 Selected Width: Automatic
09:12:58 Selected Resizer: NONE
09:12:58 Selected Filters: RemoveGrain(mode=2)
09:12:58 Selected Deinterlacer: AUTO
09:12:58 Selected Field Order: AUTO
09:12:58 Track Language 1: George NG Kerk.mkv
09:12:58 Audio Codec 1: Nero AAC
09:12:58 Audio Quality 1: 0.35
09:12:58 Audio Channel 1: Stereo
09:12:58 Advanced Audio Settings DUMP Track 1
09:12:58 Nero Option Profiles: AUTO --- Encoding Mode: Quality
09:12:58 CCT Option Profiles: AUTO --- Channel Options: AUTO
09:12:58 Lame Settings: ABR
09:12:58 Audio Normalization: 1
09:12:58 Frequency: AUTO --- Tempo : NONE
09:12:58 Pitch: NONE --- Other Add :
09:12:58 Advanced Audio Settings DUMP Track 2
09:12:58 Nero Option Profiles: AUTO --- Encoding Mode: Quality
09:12:58 CCT Option Profiles: AUTO --- Channel Options: AUTO
09:12:58 Lame Settings: ABR
09:12:58 Audio Normalization: 1
09:12:58 Frequency: AUTO --- Tempo : NONE
09:12:58 Pitch: NONE --- Other Add :
09:12:58
09:13:02 Avi engage mode not corrected, switched to DirectShowSource
09:13:05 Checking script...time.avs
09:13:09 !!!!ERROR!!!!
09:13:09 !!!!ERROR!!!! - wMultOf must be non zero.
(H:\Encoding\temp\time.avs, line 11)
09:13:09 !!!!ERROR!!!!
09:13:10 Script checked. All OK!!!
09:13:10 !!! BREAK - FILE NOT SUPPORTED !!! - Trying with MediaInfo!
09:13:11 Aspect ratio: 1.059
09:13:11 Number of Frames: 3059
09:13:11 Framerate: 25.000
09:13:11 Movie length in Seconds: 123
09:13:11 Movie Width/Height: 720/576
09:13:11 Number of Frames: 3059
09:13:11 Framerate: 25.000
09:13:11 Movie length in Seconds: 123
09:13:11 Movie Width/Height: 720/576
09:18:07 "H:\AutoMKV\AutoMKV085\exe\matroska\mkvmerge.exe" -o "H:\Encoding\temp\George NG Kerk.mkv" --track-name -1:"George NG Kerk" --aspect-ratio 1:1.#INF00 "H:\Encoding\temp\movie.mp4" --language -1:und "H:\Encoding\temp\" --title "Done with AutoMKV 0.85 http://forum.doom9.org/showthread.php?p=854221 "
09:18:08 Final Muxed size: -1 bytes
09:18:08 Encoding finished: 00:05:10 elapsed time
09:18:08 -----------------------------------------------------------------------
09:18:08 Script AutoCrop.log
09:18:08 -----------------------------------------------------------------------
09:18:08 Script Resmovie.avs
09:18:08 -----------------------------------------------------------------------
09:18:08 Script movie.avs
09:18:08
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\AddGrain.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\autocrop.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\aWarpSharp(Pruned).dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\blockbuster.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\cnr2.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\ColorMatrix.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\Convolution3D.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\corrector.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\DctFilter.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\Decomb.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\Deen.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\degrainmedian.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\DGDecode.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\EEDI2.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\FFT3DFilter.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\FluxSmooth.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\frfun7.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\hqdn3d.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\LeakKernelDeint.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\MaskTools.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\medianblur.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\MipSmooth.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\MSharpen.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\mt_masktools.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\mvtools.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\NicAudio.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\RemoveGrainSSE2.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\RepairSSE2.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\RSharpenSSE2.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\SangNom.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\SimpleResize.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\SoundOut.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\TBilateral.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\TDeint.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\TIVTC.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\TomsMoComp.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\TTempSmooth.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\UnDot.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\UnFilter.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\VSFilter.dll")
09:18:08 LoadPlugin("H:\AutoMKV\AutoMKV085\exe\filter\warpsharp.dll")
09:18:08 #loadpluginstart
09:18:08
09:18:08 #test1
09:18:08
09:18:08 Import("H:\AutoMKV\AutoMKV085\exe\filter\BlindDeHalo3_mt2.avsi")
09:18:08 Import("H:\AutoMKV\AutoMKV085\exe\filter\HybridFuPP.avsi")
09:18:08 Import("H:\AutoMKV\AutoMKV085\exe\filter\LanczosPlus.avsi")
09:18:08 Import("H:\AutoMKV\AutoMKV085\exe\filter\Lem.avsi")
09:18:08 Import("H:\AutoMKV\AutoMKV085\exe\filter\LimitedSharpenFaster.avsi")
09:18:08 Import("H:\AutoMKV\AutoMKV085\exe\filter\MCBob_v03c.avsi")
09:18:08 Import("H:\AutoMKV\AutoMKV085\exe\filter\mvbob.avsi")
09:18:08 Import("H:\AutoMKV\AutoMKV085\exe\filter\seesaw.avsi")
09:18:08 Import("H:\AutoMKV\AutoMKV085\exe\filter\spresso.avsi")
09:18:08 #importstart
09:18:08
09:18:08 #test2
09:18:08
09:18:08 movie = directshowsource("D:\Outgoing\George NG Kerk.mkv",fps=25.000,convertfps=true,audio=false)
09:18:08 movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
09:18:08 movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
09:18:08 function getOrder(clip c) {
09:18:08 order = GetParity(c) ? 1 : 0
09:18:08 Return order }
09:18:08 #filter1start
09:18:08
09:18:08 #test3
09:18:08
09:18:08 #resizestart
09:18:08
09:18:08 #test4
09:18:08
09:18:08 last = movie
09:18:08 #filter2start
09:18:08
09:18:08 #test5
09:18:08
09:18:08 RemoveGrain(mode=2)
09:18:08 -----------------------------------------------------------------------
09:18:08 Script mkvmaudio.avs
09:18:08 -----------------------------------------------------------------------
09:18:08 Script mkvmaudio.bat
09:18:08 -----------------------------------------------------------------------
09:18:08 Script mkvmaudio2.avs
09:18:08 -----------------------------------------------------------------------
09:18:08 Script mkvmaudio2.bat
09:18:08
09:18:08 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -


It's not working. I'm getting a MP4 output file.The extension from the DV-AVI is .avi. Any other suggestions. Maybe transcoding to HQ WMV might be a solution?

buzzqw
14th June 2007, 11:45
... retry with this..

load your mkv, in advanced settings set ffmpeg to dv, deinterlacer to NONE, in basic panel set resizer to none

and let start!

BHH

tha_reaper
14th June 2007, 14:20
hi buzzqw, im back again ;)

im still having trouble with the 5.1 AAC sound.
As well in ND as in CT AAC when i select original for a source of 6 chanel AC3 sound, it always gives me 2.0 AAC sound.
I have played with the different quality/bitrates but i just cant seem to get it right.

like here: i used prepare phase only option so i can open the audio files up with mediainfo and check their chanel numbers.

13:46:58 0.84 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
13:46:58 Selected Input file: D:\DVDdoel\DVDFILES\VTS_01_1.d2v
13:46:58 Selected Output dir: D:\rippen\temp\
13:46:58 Selected Final Name: test1
13:46:58 Selected Container type: MKV
13:46:58 Selected Encoder: X264
13:46:58 Selected Size: 1500
13:46:58 Selected Slice: 1
13:46:58 Selected Profile: 1_Pass_Fastest.xml
13:46:58 Selected Width: Original
13:46:58 Selected Resizer: NONE
13:46:58 Selected Filters: NONE
13:46:58 Selected Deinterlacer: AUTO
13:46:58 Selected Field Order: AUTO
13:46:58 Enabled CRF/CQ AutoRes at 18 value
13:46:58 Enabled Prepare Phase Only
13:46:58 Track Language 1: D:\DVDdoel\DVDFILES\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.ac3
13:46:58 Audio Codec 1: Nero AAC
13:46:58 Audio Quality 1: 0.50
13:46:58 Audio Channel 1: Original
13:46:58 Track Language 2: D:\DVDdoel\DVDFILES\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.ac3
13:46:58 Audio Codec 2: Coding Tech. AAC
13:46:58 Audio Quality 2: 128
13:46:58 Audio Chennel 2: Original
13:46:58 Advanced Audio Settings DUMP Track 1
13:46:58 Audio Track Language: und
13:46:58 Nero Option Profiles: AUTO --- Encoding Mode: Quality
13:46:58 CCT Option Profiles: AUTO --- Channel Options: AUTO
13:46:58 Lame Settings: ABR
13:46:58 Audio Normalization: 1
13:46:58 Frequency: AUTO --- Tempo : NONE
13:46:58 Pitch: NONE --- Other Add :
13:46:58 Advanced Audio Settings DUMP Track 2
13:46:58 Audio Track Language: und
13:46:58 Nero Option Profiles: AUTO --- Encoding Mode: Quality
13:46:58 CCT Option Profiles: AUTO --- Channel Options: AUTO
13:46:58 Lame Settings: ABR
13:46:58 Audio Normalization: 1
13:46:58 Frequency: AUTO --- Tempo : NONE
13:46:58 Pitch: NONE --- Other Add :
13:46:58

I ended up with 2, 2 chanel streams.

any ideas what im doing wrong? i must be missing something, but because it worked out once (didnt use it eventually because the AAC sound would be bigger then the AC3 stream...) i just dont get it.

buzzqw
14th June 2007, 14:24
maybe is related to your audio decoder..

try using avinaptic on final mkv file... and look at audio section


BHH

EDIT: a stereo encoding..and look at file size of audio.mp4.. is less then audio.mp4 done with "original" ?

Andreas
14th June 2007, 15:32
... retry with this..

load your mkv, in advanced settings set ffmpeg to dv, deinterlacer to NONE, in basic panel set resizer to none

and let start!

BHH
It works!

Once AutoMKV’s finished one then has to open (MP4) with Quick Time then export as AVI and select profile (AVI-PAL). Quality drops by 5-10% from MKV (Q18) file to AVI-PAL though… not sure why I’m loosing quality and would appreciate any help on this. Hopefully it’s something small.

AutoMKV drops my raw footage(DV-AVI) by 80% in file size without a noticeable drop in quality. I can now archive with DVD’s instead of HDD’s!! This is a much welcomed product for a video editor like myself.

Thanks for the prompt reply and a fantastic product.

tha_reaper
14th June 2007, 15:32
maybe is related to your audio decoder..

try using avinaptic on final mkv file... and look at audio section


BHH

EDIT: a stereo encoding..and look at file size of audio.mp4.. is less then audio.mp4 done with "original" ?

audio.mp4 is around 1/4th to 1/3th of the AC3 sound file.
Avinaptic gives me the same results as mediainfo: 2 channel sound.
what do you mean with "a stereo encoding..and look at file size of audio.mp4.. is less then audio.mp4 done with "original" ?"?
should i do a stereo encoding now and compare the file size to the wannabe 5.1 encode?

buzzqw
14th June 2007, 16:02
@Andreas

:) :goodpost:

@tha_reaper
should i do a stereo encoding now and compare the file size to the wannabe 5.1 encode?

yes

and also post your mkv,audio.avs , thanks!

BHH

tha_reaper
14th June 2007, 16:30
I just did the prepare phase, and here are is all the info that ive got:

Logfile:
15:46:35 0.84 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
15:46:35 Selected Input file: D:\DVDdoel\DVDFILES\VTS_01_1.d2v
15:46:35 Selected Output dir: D:\rippen\temp\
15:46:35 Selected Final Name: VTS_01_1
15:46:35 Selected Container type: MKV
15:46:35 Selected Encoder: X264
15:46:35 Selected Size: 1500
15:46:35 Selected Slice: 1
15:46:35 Selected Profile: 2_Pass_Extreme_Quality.xml
15:46:35 Selected Width: Original
15:46:35 Selected Resizer: NONE
15:46:35 Selected Filters: MipSmooth(preset = "AnimeHQ")
15:46:35 Selected Deinterlacer: AUTO
15:46:35 Selected Field Order: AUTO
15:46:35 Enabled CRF/CQ AutoRes at 18 value
15:46:35 Enabled Prepare Phase Only
15:46:35 Track Language 1: D:\DVDdoel\DVDFILES\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.ac3
15:46:35 Audio Codec 1: Nero AAC
15:46:35 Audio Quality 1: 0.50
15:46:35 Audio Channel 1: Original
15:46:35 Track Language 2: D:\DVDdoel\DVDFILES\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.ac3
15:46:35 Audio Codec 2: Nero AAC
15:46:35 Audio Quality 2: 0.50
15:46:35 Audio Chennel 2: Stereo
15:46:35 Advanced Audio Settings DUMP Track 1
15:46:35 Audio Track Language: und
15:46:35 Nero Option Profiles: AUTO --- Encoding Mode: Quality
15:46:35 CCT Option Profiles: AUTO --- Channel Options: AUTO
15:46:35 Lame Settings: ABR
15:46:35 Audio Normalization: 1
15:46:35 Frequency: AUTO --- Tempo : NONE
15:46:35 Pitch: NONE --- Other Add :
15:46:35 Advanced Audio Settings DUMP Track 2
15:46:35 Audio Track Language: und
15:46:35 Nero Option Profiles: AUTO --- Encoding Mode: Quality
15:46:35 CCT Option Profiles: AUTO --- Channel Options: AUTO
15:46:35 Lame Settings: ABR
15:46:35 Audio Normalization: 1
15:46:35 Frequency: AUTO --- Tempo : NONE
15:46:35 Pitch: NONE --- Other Add :
15:46:35
15:46:35 DelayCut CMD: D:\rippen\AutoMKV084\exe\dgindex\Delaycut.exe -auto -out "D:\rippen\temp\fixed1.ac3" "D:\DVDdoel\DVDFILES\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.ac3"
15:47:12 DelayCut CMD: D:\rippen\AutoMKV084\exe\dgindex\Delaycut.exe -auto -out "D:\rippen\temp\fixed2.ac3" "D:\DVDdoel\DVDFILES\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.ac3"
15:47:47 Encoding D:\rippen\temp\fixed1.ac3 to NeroAAC with 0.50 quality
16:02:12 Encoded 1' Audio Track: 161361813 bytes
16:02:12 Encoding D:\rippen\temp\fixed1.ac3 to NeroAAC with 0.50 quality
16:15:16 Encoded 2' Audio Track: 161361813 bytes
16:15:22 Number of Frames: 236597
16:15:22 Framerate: 29.970030
16:15:22 Movie length in Seconds: 7895
16:15:22 Movie Width/Height: 720/480
16:15:22 DgIndex AR: 16:9
16:22:50 Processing completed. Type is determined to be film.
16:22:50 BFF: 108
16:22:50 TFF: 386
16:22:51 NOT Allow Hybrid Order/Pattern, set order to: TFF
16:22:51 Starting X264
16:22:51 Command Line 1' Pass X264: D:\rippen\AutoMKV084\exe\encoder\x264.exe --pass 1 --bitrate 1265 --stats "D:\rippen\temp\.stats" --ref 1 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 2 --output NUL "D:\rippen\temp\movie.avs"
16:22:51 Command Line 2' Pass X264: D:\rippen\AutoMKV084\exe\encoder\x264.exe --pass 2 --bitrate 1265 --stats "D:\rippen\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 5 --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 "D:\rippen\temp\movie.mp4" "D:\rippen\temp\movie.avs"
16:22:57 "D:\rippen\AutoMKV084\exe\matroska\mkvmerge.exe" -o "D:\rippen\temp\VTS_01_1.mkv" --track-name -1:"VTS_01_1" --aspect-ratio 1:1.000000 "D:\rippen\temp\movie.mp4" --language -1:und "D:\rippen\temp\audio.mp4" --language -1:und "D:\rippen\temp\audio2.mp4" --title "Done with AutoMKV 0.84 http://forum.doom9.org/showthread.php?p=854221 "
16:22:57 Encoding finished: 00:36:22 elapsed time
16:22:57 -----------------------------------------------------------------------
16:22:57 Script AutoCrop.log
16:22:57
16:22:57 Crop(10,0,700,480)
16:22:57 -----------------------------------------------------------------------
16:22:57 Script Resmovie.avs
16:22:57 -----------------------------------------------------------------------
16:22:57 Script movie.avs
16:22:57
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\AddGrain.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\autocrop.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\aWarpSharp.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\blockbuster.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\cnr2.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\ColorMatrix.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\Convolution3D.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\corrector.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\DctFilter.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\Decomb.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\Deen.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\degrainmedian.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\DGDecode.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\EEDI2.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\fft3dfilter.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\FluxSmooth.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\frfun7.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\hqdn3d.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\LeakKernelDeint.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\MaskTools.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\medianblur.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\MipSmooth.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\MSharpen.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\mt_masktools.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\mvtools.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\NicAudio.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\RemoveGrainS.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\RepairS.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\SangNom.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\SimpleResize.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\SoundOut.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\TBilateral.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\TDeint.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\TIVTC.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\TomsMoComp.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\TTempSmooth.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\UnDot.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\UnFilter.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\VSFilter.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\warpsharp.dll")
16:22:57 #loadpluginstart
16:22:57
16:22:57 #test1
16:22:57
16:22:57 Import("D:\rippen\AutoMKV084\exe\filter\HybridFuPP.avsi")
16:22:57 Import("D:\rippen\AutoMKV084\exe\filter\LanczosPlus.avsi")
16:22:57 Import("D:\rippen\AutoMKV084\exe\filter\Lem.avsi")
16:22:57 Import("D:\rippen\AutoMKV084\exe\filter\LimitedSharpenFaster.avsi")
16:22:57 Import("D:\rippen\AutoMKV084\exe\filter\MCBob_v03c.avsi")
16:22:57 Import("D:\rippen\AutoMKV084\exe\filter\mvbob.avsi")
16:22:57 Import("D:\rippen\AutoMKV084\exe\filter\seesaw.avsi")
16:22:57 Import("D:\rippen\AutoMKV084\exe\filter\spresso.avsi")
16:22:57 #importstart
16:22:57
16:22:57 #test2
16:22:57
16:22:57 movie = mpeg2source("D:\DVDdoel\DVDFILES\VTS_01_1.d2v",info=3)
16:22:57 function getOrder(clip c) {
16:22:57 order = GetParity(c) ? 1 : 0
16:22:57 Return order }
16:22:57 #filter1start
16:22:57
16:22:57 #test3
16:22:57
16:22:57 movie = tfm(movie,d2v="D:\rippen\temp\movie.d2v").tdecimate()
16:22:57 #resizestart
16:22:57
16:22:57 #test4
16:22:57
16:22:57 last = movie
16:22:57 #filter2start
16:22:57
16:22:57 #test5
16:22:57
16:22:57 MipSmooth(preset = "AnimeHQ")
16:22:57 -----------------------------------------------------------------------
16:22:57 Script mkvmaudio.avs
16:22:57
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\NicAudio.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\SoundOut.dll")
16:22:57 DirectShowSource("D:\rippen\temp\fixed1.ac3")
16:22:57 #Applying ORIGINAL downmixing routines
16:22:57
16:22:57 Normalize()
16:22:57 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="D:\rippen\AutoMKV084\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.50 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
16:22:57 -----------------------------------------------------------------------
16:22:57 Script mkvmaudio.bat
16:22:57
16:22:57 "D:\rippen\AutoMKV084\exe\BeSweet\vdub.exe" /x "D:\rippen\temp\mkvmaudio.avs"
16:22:57 -----------------------------------------------------------------------
16:22:57 Script mkvmaudio2.avs
16:22:57
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\NicAudio.dll")
16:22:57 LoadPlugin("D:\rippen\AutoMKV084\exe\filter\SoundOut.dll")
16:22:57 DirectShowSource("D:\rippen\temp\fixed1.ac3")
16:22:57 #Applying STEREO downmixing routines
16:22:57 function stereo(clip a)
16:22:57 {
16:22:57 flr = GetChannel(a, 1, 2)
16:22:57 fcc = GetChannel(a, 3)
16:22:57 lfe = GetChannel(a, 4)
16:22:57 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
16:22:57 mix = MergeChannels(lfc, lfc)
16:22:57 lrc = MixAudio(flr, mix, 0.2929, 1.0)
16:22:57 blr = GetChannel(a, 5, 6)
16:22:57 Return MixAudio(lrc, blr, 1.0, 0.2929)
16:22:57 }
16:22:57 #
16:22:57 6==Audiochannels() ? stereo() : last
16:22:57 Normalize()
16:22:57 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="D:\rippen\AutoMKV084\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.50 -if - -of audio2.mp4",postfilename="",nofilename=true,showoutput=false)
16:22:57 -----------------------------------------------------------------------
16:22:57 Script mkvmaudio2.bat
16:22:57
16:22:57 "D:\rippen\AutoMKV084\exe\BeSweet\vdub.exe" /x "D:\rippen\temp\mkvmaudio2.avs"
16:22:57
16:22:57 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
as you can see here, i chose for 1 file original and for the second track i chose stereo. They end up being exactly the same.

Mediainfo on the AC3 file:
Algemeen #0
Complete name : D:\rippen\temp\fixed1.ac3
Format : AC3
Format/Info : Audio Coding 3
File size : 422 MiB
PlayTime : 2h 11mn
Bit rate : 448 Kbps

Audio #0
Codec : AC3
Bitrate : 448 Kbps
Bitrate-modus : CBR
Kanaal(en) : 6 kanalen
Samplerate : 48 KHz
ChannelPositions : Front: L C R, Rear: L R, Subwoofer

Mediainfo on the wannebe 5.1 AAC:
Algemeen #0
Volledige naam : D:\rippen\temp\audio.mp4
Formaat : MPEG-4
Formaat/Info : ISO 14496-1 version 2
Formaat/Family : MPEG-4
Bestandsgrootte : 154 MiB
Speeltijd : 2h 9mn
Bitrate : 166 Kbps
StreamSize : 1.44 MiB
Datum codering : UTC 2007-06-14 13:47:55
Tagdatum : UTC 2007-06-14 14:02:06
Gebruikt programma : Nero AAC codec / Feb 12 2007

Audio #0
Codec : AAC LC
Codec/Info : AAC Low Complexity
PlayTime : 2h 11mn
Bit rate : 162 Kbps
Bit rate mode : VBR
Channel(s) : 2 kanalen
Sampling rate : 48 KHz
Resolution : 16 bits
StreamSize : 152 MiB
Encoded date : UTC 2007-06-14 13:47:55
Tagged date : UTC 2007-06-14 14:02:06

Hoofdstukken #0
1 : 00:00:00.054 -

Mediainfo on the stereo encode:
Algemeen #0
Volledige naam : D:\rippen\temp\audio2.mp4
Formaat : MPEG-4
Formaat/Info : ISO 14496-1 version 2
Formaat/Family : MPEG-4
Bestandsgrootte : 154 MiB
Speeltijd : 2h 9mn
Bitrate : 166 Kbps
StreamSize : 1.44 MiB
Datum codering : UTC 2007-06-14 14:02:15
Tagdatum : UTC 2007-06-14 14:15:10
Gebruikt programma : Nero AAC codec / Feb 12 2007

Audio #0
Codec : AAC LC
Codec/Info : AAC Low Complexity
PlayTime : 2h 11mn
Bit rate : 162 Kbps
Bit rate mode : VBR
Channel(s) : 2 kanalen
Sampling rate : 48 KHz
Resolution : 16 bits
StreamSize : 152 MiB
Encoded date : UTC 2007-06-14 14:02:15
Tagged date : UTC 2007-06-14 14:15:10

Hoofdstukken #0
1 : 00:00:00.054 -

sorry for the half english/half dutch. seems like a little bug in mediainfo upon refreshing.

It seemed unnescesary to me to do the whole encode because he will just use this files and it would only cost me another 2 hours :)

EDIT: if you think you need more info that i can best give using mail or MSN... you can mail me or add me to MSN on richarddemmers at gmail dot com
If we give the final solution here, that it should be fine...

buzzqw
14th June 2007, 17:12
here is the problem

16:22:57 DirectShowSource("D:\rippen\temp\fixed1.ac3")

why directshowshow source ?

is checked "Use DirectShowSource for Audio" on advanced settings ?

BHH

tha_reaper
14th June 2007, 19:36
halleluja! it works!
thanks a lot, that was the golden advice, although i still dont know how the hell that box became checked since i never touched it AFAIK.

Im going to experiment with the bitrates/quality now, because my AC3 is 422 MB, and 448 bitrate (over the 6 channels)
now im trying to find out what the best is for the AAC because when i first tried ND AAC quality .50, i got a file of 530 MB, and that not what i want (the bitrate was absurdly high).
Im now trying 2 streams in CT AAC+ (heard it was better then ND): 32 and 64 kbps. Going to check if the sound quality is still good.


EDIT: somehow i still have some troubles with the CT AAC. the encoding of those always stop when the file is around 5 MB (thats about 5-10 minutes of sound while the movie is 2 hours and 15 minutes)

Prospero424
15th June 2007, 05:50
I'd like to make a feature request.

I'm seeing h.264 transport streams (odd as they are) more and more often these days as PVRs and such adopt the format, is it possible for AutoMKV to handle these?

As it is now, I get the error message "no video sequence header found" followed by "no data, check your PIDS" immediately after starting the transcode.

buzzqw
15th June 2007, 08:14
@tha_reaper

... for CCT AAC encoding the audio is first pre processed to wav then encoded to aac
the preprocessing will bring a very huge file wav (for 5.1 output)... make sure you have to spare 5/6GB hd

@Prospero424

in advanced options check both "Use DirectShowSource for Video" and "Use directshowsource for audio"

"should" solve the problem

BHH

tha_reaper
15th June 2007, 11:20
buzzqw, i get a couple of audio wav file of 2.8 GB in size. I have 30 GB free space on my harddrive, so that cant be the problem...

sorry by the way that i have to keep bothering you with this stupid problems

EDIT: i updated to 0.85 (was using 0.84) but now i some stupid new symptom came... After the fixing audio delay phase, he checks the use directshowsource box all by himself everytime...

buzzqw
15th June 2007, 13:18
EDIT: i updated to 0.85 (was using 0.84) but now i some stupid new symptom came... After the fixing audio delay phase, he checks the use directshowsource box all by himself everytime...

delete automkv.ini ....


buzzqw, i get a couple of audio wav file of 2.8 GB in size. I have 30 GB free space on my harddrive, so that cant be the problem...

i can confirm the problem... seems a bug of piping from ffmpeg to cct encoder...

i will look for a solution... but now use nero aac

BHH

artisticcheese
15th June 2007, 15:56
Hi,

It would be invaliable if features of RipIt4Me would be added to current version of AutoMKV to remove copy protection from DVDs. Right now I have to use RipIt4Me first and then feed results to AutoMKV, it would be great to remove that extra step if possible.

tha_reaper
15th June 2007, 16:00
delete automkv.ini ....

already done that, but i grabbed a fresh install of 0.85 and that works.



i can confirm the problem... seems a bug of piping from ffmpeg to cct encoder...

i will look for a solution... but now use nero aac

BHH
ok, good that the problem isnt just with me (not for you of course, means more work)

Prospero424
15th June 2007, 16:30
in advanced options check both "Use DirectShowSource for Video" and "Use directshowsource for audio"

"should" solve the problem

That seems to be working fine, and I didn't even have to demux the TS beforehand like I thought I would!

Thanks again.

buzzqw
15th June 2007, 17:33
@Prospero424

:thanks: , and thanks to AviSynth! :)

BHH

Espio
16th June 2007, 02:15
How can I add borders to the top and botton of a video? I want to make a 16:9 video fit a 4:3 aspect ratio. I tried negative values in the cropping, but AviSynth just gave me an error message. If it's not possible in AutoMKV, is there a command for AviSynth that will do it?

Edit: I made an avs script to add borders, but there's no audio and I don't know how to output a file (mp4 in my case) with the borders. After that I could just remux the audio in and everything would be fine, but some way to add borders in AutoMKV would make this much easier.

vasili69
16th June 2007, 03:56
@buzzqw

i just tried cropping a 15 second long mpg file (from tv capture card) but it did not work. when i encoded the file without the cropping, it worked fine. i have uploaded the log file at:

http://rapidshare.com/files/37451633/Running_out_test.mpg.log

am i doing something wrong? (btw i noticed that no figures where present when the x264 codec was displayed)
i can u/l the video clip if required (8mb)

also regarding my previous question (#2273 page 114). if say 2 years from now, i wish to see what format the file was encoded to, i will not be able to tell that it is in x264, as it simply displays 'MP4' (in 'the KMplayer') even though i use the mkv container. is there something wrong with The KMplayer?

buzzqw
16th June 2007, 09:23
@Espio

in advanced settings use Last Line AVS Script for AddBorders

@vasili69

i suppose you don't have used "Check Values" in manual crop...
12:29:42 crop(96,77,-100,-59)

these crops aren't allowed in avisynth... only mod2 or better /mod4,mod8,mod16) like 96,80,100,60 ...

is there something wrong with The KMplayer?
i use avinaptic for analysis, even if latest kmplayer use mediainfo... i prefere avinaptic for mkv/x264 files

BHH

paranoid87
16th June 2007, 18:06
i myself prefer avinaptic...its much more reliable..

buzzqw
17th June 2007, 15:43
the problem with cct plus isn't so easy

basically it will fuction well only if used stereo, on long movie if used with 5.1 channesl the pipe from ffmpeg to cct encoder simply crash

i don't know if is a problem of cct encoder or ffmpeg but i cannot release a know broken fuction

so i have 3 options

1) use cct aac only for stereo
2) use cct aac only for stereo and use faac for 5.1
3) drop cct aac and use only faac encoder (from mono to xx channels)

faac will accept pipe and work well with soundout plugin

i can even use only ffmpeg.exe without using at all faac.exe... but i prefer to not depends on ffmpeg for encoding (maybe one time i will made AutoMen or AutoFF :) )

one more information: i cannot use cct encoder on wav file bigger then 2gb, and if i use wave extented, cct encoder will not recognize those files

any suggestions ?

BHH

vorob
17th June 2007, 20:39
I can't see preview http://img404.imageshack.us/img404/9959/untitledft2.th.jpg (http://img404.imageshack.us/img404/9959/untitledft2.jpg)

buzzqw
17th June 2007, 20:59
@vorob

what is your input file ?

remember also to upgrade to avisynth 2.57, install ffdshow tryout and xvid (koepi build)

-------------

about cct and faac

seems some issue between faac.exe and soundout, expecially on long audio tracks( >2h) when normalize is in action..

i must investigate..

BHH

Espio
17th June 2007, 23:36
What would be the best resize filter in AutoMKV for going from DVD resolution/640x480 to 320x240? Also, what would the best matix be?

TheRyuu
18th June 2007, 07:47
What would be the best resize filter in AutoMKV for going from DVD resolution/640x480 to 320x240? Also, what would the best matix be?

I always considered Spline36 to be the best. There's this while thread on Lanczos vs. Spline36 (which I lost the link to, just search for it if you really wanna see it).
Basically (from their conclusion, and the fact that they could never figure out the "spline coefficients" :p (don't worry about that)), Spline36 is almost exactly the same as Lanczos resize, only it has less ringing (which is good). So I always use Spline36 for downsizing or upsizing (BTW, DVD resolution is 720x480, remember if your taking it from a DVD, you might have to crop off a little bit off the edge).

Best matrix, just leave it on "Auto" if your using xvid or "none" if your using x264. When your using Xvid for some reason it likes to default to the "Sharktooth EQM v3ULR". No idea why since it almost exclusively using the "Sharktooth EQM v3LR" when it's on Auto (unless this was changed with 0.85). At any rate, Auto for xvid, None for x264.
As a word of warning, using the wrong custom matrix can introduce artifacts into the video (and can also make it come in undersize). Bad stuff. :)

Also, make sure to select the right kind of deinterlacer if it is an interlaced DVD moive. The "auto detection" doesn't work so hot sometimes. Can't really detect when it needs to use IVTC (decimate), but don't worry about this unless the source is anime (since thats really the only thing that uses it). Just use the auto-detect for interlacing, it should work.

Anything else?? :p :)

buzzqw
18th June 2007, 08:25
thanks wizboy11 !!

just a note for a downscaling of half resolution.. even a bilinearresize is ok... i doubt that a 320*240 will be ever view in HDTV 40'' ...
i suppose that Espio will use a "portable device" for playing and so a bilinear or a bicubic (standard settings) is ok

about matrix...
the matrix is selected basing on CT test (for XviD)...
If CT>=10 And CT<50 -> Sharktooth's EQM v3ULR.cqm
If CT >=50 And CT<85 ->Jawor's 1CD Quantization Matrix.cqm
If CT >=85 And CT<95 -> NONE
If CT >=95 And CT<180 -> Sharktooth's EQM v3HR.cqm
If CT >=180 And CT<250 ->Didees SixOfNine-HVS.cqm
If CT >=250 And CT<350 ->Fox Home Entertainment.cqm
If CT >=350 And CT<450 ->Sharktooth's EQM v3EHR.cqm
If CT >=450 ->Sharktooth's EQM v3UHR.cqm

BHH

vgiozo
18th June 2007, 11:47
I would like to ask what is, to your mind, the best filter to use when encoding a tv-recorded video.

Next to that more general question I have a more specific one...on some channels, whose reception is mediocre, I get certain "waves" of coloring...
Which filter should I use to make them less apparent?

Thank you in advance...

delacroixp
18th June 2007, 12:47
What would be the best resize filter in AutoMKV for going from DVD resolution/640x480 to 320x240? Also, what would the best matix be?
So I always use Spline36 for downsizing or upsizing (BTW, DVD resolution is 720x480, remember if your taking it from a DVD, you might have to crop off a little bit off the edge).

Best matrix, just leave it on "Auto" if your using xvid or "none" if your using x264.

It would be 720x480 if NTSC and 720x576 if PAL...
However, I have come across DVDs where the standard resolution is 640x480 (probably TV recordings).
Sometimes 640x480 TV movies are upscaled to 720xRes anamorphic which can look pretty nasty at times...

Either way, Spline36 and auto sounds good to me...


:):D:eek:
Pascal

buzzqw
18th June 2007, 13:26
@vgiozo

as forum rules don't ask what is best

look here for some rainbow hints http://forum.doom9.org/showthread.php?t=122835

BHH

buzzqw
18th June 2007, 17:47
i should have resolved CCT AAC audio problem

decompressing the source audio file via ffmpeg to wav AND piping (without first creating temporary wav file) to enc_aac seems working (encoded 3 full audio movie)

BHH

Espio
19th June 2007, 00:14
@wizboy11

Thank you very much for the help, I'm getting an mp4 player and wanted to get the best quality when downsizing. I know about DVD resolution and actually asked about adding borders a few posts up (thanks buzzqw), so I'm all ready to go when it ships here.

dansus
22nd June 2007, 01:26
@DIEGO7-5
thanks

@dansus
it's a bug of delaycut

it is often present in when working TS files.

in that case you must specify to NOT use DelayCut...

after loading your file go in advanced settings and check "Use projectX for TS files", the "Allow use of projectx" will be un-checked

then.. retry encoding!

BHH

Thanks, couldnt see an option to use project x? edit: found it, doh.

Also im encoding mpeg2 cap card rips into mp4, its coming out with saturated colours (mainly reds) and the audio is always out of synch, any suggestions?

thanks.

delacroixp
22nd June 2007, 12:04
The DAR automatic signalling for MKV files is working very nicely... I'm impressed !!!
I'm only doing upscale, oversampling encodes (sometimes, by up to 200% by width) with a variety of odd cropping... but AutoMKV has responded very favourably...
It certainly negates the necessity to use an aspect-ratio calculator and I'm sure that even SeeMoreDigital would be proud of your accomplishments...

We look forward with anticipation and excitement to the day that AutoMKV can also support MP4a surround... be it 5.1, 7.1 or better...


:):D:eek:
Pascal

buzzqw
22nd June 2007, 15:29
@dansus

Also im encoding mpeg2 cap card rips into mp4, its coming out with saturated colours (mainly reds) and the audio is always out of synch, any suggestions?

about colors... try playing with a different player like vlc or media player classic + ffdshow

also, is colormatrix used in script?

about out of synch.. i suppose there is some problem with the stream.. try using a stream fixer (like one in videoredo or mpeg2repair http://homepages.roadrunner.com/mwilczyn/mpeg2repair/ )

@delacroixp

thanks!, but there are surely errors around...

BHH

zacoz
25th June 2007, 13:26
@buzzqw
Been trying out AutoMKV over last few days, and finding it very simple to use right out of the box. Looks like it may be a stayer for me. :)

I'm not normally worried about adding much filtering (due to minimal knowledge on the subject) but really needing to add something to clean up a particular old TV Series source that I have. It contains some rather annoying noisy flickering (probably not the correct terms sorry) - especially noticable if viewing full screen.

4 second mpg video sample can be found here: http://thermal-ions.net/files/clip105.zip.

I've tried out a number of the stock filters within AutoMKV, and even chained a couple together but don't seem to be having much luck. Can anyone possibly at least point me in the direction of a filter or two I should be looking at to help with this?

Thanks.............ZacOz

TheRyuu
25th June 2007, 23:31
Try this (copy and paste it into the filters box):
undot().fft3dfilter().fft3dfilter().LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, smode=4, strength=100, undershoot=1, overshoot=1)

I'm not sure if you need the converttoyv12() in there (not sure if automkv automatically adds it in for your, but better keep it there, just in case).

By the way, it is extreamly slow (probably 1-3fps) But you can't really beat fft3dfilter. I added in LimitedSharpenFaster to sharpen it a bit after denoising.

Good luck :P

You can replace fft3dfilter() with something like degrainmedian(mode=1) but the results won't be as good.

zacoz
26th June 2007, 11:12
@wizboy11

Thanks for your help. I tried it out on the short clip I'd posted and found that while it did help with the grain, I was still getting the fluctuations.

I ended up adjusting your suggestion to "undot().fft3dfilter().fft3dfilter().TTempSmooth()" as I'd found while playing with the filters previously that on it's own TTempSmooth() had helped a little with the fluctuations. Combined they give me a result I'm more pleased with. I'll set it up to test on a larger clip later tonight to make sure it doesn't adversely affect the video sections that don't have the same level of fluctuations.

I didn't put converttoyv12() in the filter chain, and can't see any colour problems that have resulted, so guessing I don't need it either because of this specific source, filter combo or AutoMKV doesn't need me to add it. I'm a real noob when it comes to this colour conversion stuff - never done anything where I needed to worry about it and so as a result haven't be bothered reading up on it so far. I probably should though.

Thanks again, to you (and buzzqw for AutoMKV).

Cheers...........ZacOz

TheRyuu
27th June 2007, 02:55
@wizboy11

Thanks for your help. I tried it out on the short clip I'd posted and found that while it did help with the grain, I was still getting the fluctuations.

I ended up adjusting your suggestion to "undot().fft3dfilter().fft3dfilter().TTempSmooth()" as I'd found while playing with the filters previously that on it's own TTempSmooth() had helped a little with the fluctuations. Combined they give me a result I'm more pleased with. I'll set it up to test on a larger clip later tonight to make sure it doesn't adversely affect the video sections that don't have the same level of fluctuations.

I didn't put converttoyv12() in the filter chain, and can't see any colour problems that have resulted, so guessing I don't need it either because of this specific source, filter combo or AutoMKV doesn't need me to add it. I'm a real noob when it comes to this colour conversion stuff - never done anything where I needed to worry about it and so as a result haven't be bothered reading up on it so far. I probably should though.

Thanks again, to you (and buzzqw for AutoMKV).

Cheers...........ZacOz

I only added converttoyv12() in order to have compatibility with a filter I later removed from the script. I wasn't sure if any of the other filters needed it.

TheRyuu
27th June 2007, 06:22
@buzzqw

Having a little bit of an aspect ratio problem. I'm not sure if AutoMKV is at fault because this problem only seems to happen when I encode something with automkv.

It could be automkv, or it could be one of my demuxers/decoders. Not sure.

Take a look at the screen shot:
Picture (http://img223.imageshack.us/img223/8906/arre8.jpg)

Now, I couldn't get a picture of the movie (overlay or some problem like that) but by the screen shot (and my horrible writing) I think it gets the problem across.

For some reason, it's displaying it in 3/4 not 4/3 like it should so it's like 640 is on the side and 480 is on the bottom, when it should be opposite.

However, when I disable a certain option in ffdshow (decoder) here:
another picture (http://img156.imageshack.us/img156/4686/disableqc5.jpg)
Then, the movie displays normally. However, I did not have the problem on the source when the option was enable so that's what made me think of it as maybe an automkv problem.

Do I need to do something like change the aspect ratio options in automkv to something like 4:3 NTSC? (since default is none)

buzzqw
27th June 2007, 08:01
Update! 0.86 (link on first post)

ADDED: Is now possible to edit even the width on Preview Panel
ADDED: Preview Resized on Preview Panel. It will displaye you movie resized (but no cropped)
ADDED: In Log usage of Use DirectShowSource for Audio and VIDEO
FIXED: The invoke of Deinterlacer routine is now hidden
FIXED: The invoke of VirtualDubMod for audio encoding is now hidden
FIXED: The invoke of wma encoding is now hidden
FIXED: When selecting source file AutoMKV will not more switch Audio codec or Audio bitrate (if possible) (thanks to BleedingGums)
FIXED: When changing codec or container AutoMKV will try to not change Audio codec or Audio bitrate (if possible) (suggestion by BleedingGums)
FIXED: Checking "Keep ITU-R BT.601-4" will now change immediately the width ... without need to "re-click" on height (thanks to Ermenegildo)
FIXED: On CQ Encoding the preview of command line reported pass 2 (thanks to weaver4)
FIXED: Audio input only was broken due to security check on avs
FIXED: When using HGAVS Opt the burnt-in subtitle was broken (thanks to DIEGO7-5)
FIXED: Some fixes on rare bugs on wma audio
FIXED: CCT Audio Encoding (i hope...)
FIXED: When encoding audio input file the encoded file is now named based on "Movie Name:" written
UPDATE: mvtools-v1.6.4, QMF by superqix (07/06/2007)

-------------------------

Hi WizBoy11!

could you please post the encoder bat file ?

maybe something wrong in par signaling...

thanks!

BHH

DIEGO7-5
27th June 2007, 09:43
Thanks for the update buzzqw!

It seems like automatic deinterlacing fails. The routine does not take more than 2 seconds and "deint.log" says:

Error: Error calling AVIStreamGetFrameOpen

Do you have an idea what this could be?

buzzqw
27th June 2007, 09:58
Error: Error calling AVIStreamGetFrameOpen
Do you have an idea what this could be?

reinstall xvid ...or avisynth 2.57

BHH

DIEGO7-5
27th June 2007, 10:24
Thanks a lot, now working perfectly :-)

TheRyuu
27th June 2007, 18:27
Hi WizBoy11!

could you please post the encoder bat file ?

maybe something wrong in par signaling...

thanks!

BHH

Ok.
Let me just run the encoding again.

Also you should update x264 to the latest rev.661:
http://mirror05.x264.nl/Cef/
I think that Cef took over building them since sharktooth hasn't done a rev. since 654 (the one I think your using).

g_aleph_r
27th June 2007, 18:32
Hi buzzqw First of all a BIG thanks for your wonderful work.
Can you post an example of a base.avs modified with custom script entryes? I tried and failed...

How can I batch encode a large number of files without manually create a job for everyone?

buzzqw
27th June 2007, 19:09
Hi g_aleph_r! and welcome to the Forum!

the base.avs tweak is somehow advanced and should not be done by new users

let's start analyzing base.avs


Base.avs is parsed for constructing both autoresize script and for final encoding script. Base.avs could be divided in several piece.

This pieces are
1)#loadpluginstart

#test1

#loadpluginend
2)#importstart

#test2

#importend
3)#filter1start

#test3

#filter1end
4)#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
5)#resizestart

#test4

#resizeend
6)#filter2start

#test5

#filter2end

now a brief explanation

1) here you can specify more plugin to load.
This fuction is not so util, since every dll putted in \exe\filter folder will be automatically loaded
2) here you can write additional import avs file (like your ultraperfect avsi). Again this fuction isn't to utils... since every file .avsi present in \exe\filter folder will be automatically loaded
3) here you can write your filter that will be applyed just after source loading (es: movie=undot(movie))
4) here you can write what to apply after autocrop
5) here you can write what to apply after the resize
6) here you can write what to apply as last options

i can suggest to test this fuctions with simple remmed command
write after #test1 #first test , after test2 ... #second test ... and so on... then open the movie.avs produced bu automkv and look where your scripts were written :)

also ... look at this http://automkv.wiki-site.com/index.php/Advanced_Multi-threading

BHH

TheRyuu
27th June 2007, 19:51
@g_aleph_r
If you want to add custom script entries just add it right after #test5 and select "none" through AutoMKV. Just open up one of your own movie.avs files in the temp directory and you'll see what I mean.
The only thing I really see anyone changing is under #test5 (filters). Everything else AutoMKV does, it does a pretty dam good job at and gives you enough functionality.

LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\AddGrain.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\asharp.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\autocrop.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\aWarpSharp(Pruned).dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\blockbuster.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\cnr2.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\ColorMatrix.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Convolution3D.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\corrector.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DctFilter.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Decomb.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Deen.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\degrainmedian.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DenoiseSharpen.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DGDecode.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\EEDI2.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FFT3DFilter.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FluxSmooth.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\frfun7.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\hqdn3d.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\LeakKernelDeint.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MaskTools.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\medianblur.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MipSmooth.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MSharpen.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MT.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\mt_masktools.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\mvtools.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\NicAudio.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\RemoveGrainSSE3.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\RepairSSE3.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\RSharpenSSE3.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SangNom.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SimpleResize.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SoundOut.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SSE3Tools.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TBilateral.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TDeint.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TIVTC.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TomsMoComp.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TTempSmooth.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\UnDot.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\UnFilter.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\VSFilter.dll")
LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\warpsharp.dll")
#loadpluginstart

#test1 (you can add some into the filter folder and it'll always load it)
#insert setmtmode and setmemorymax here if you wan to use them (but I wouldn't recommend it)

Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\aSaWLimitedSharpen.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\BlindDeHalo3_mt2.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DeHalo_Alpha.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FasterLineDarken.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FastLineDarken.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\HybridFuPP.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\LanczosPlus.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Lem.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\LimitedSharpenFaster.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MCBob_v03c.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\mvbob.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\seesaw.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\spresso.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\toon-v0.8.avsi")
Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\vmToon-v0.74.avsi")
#importstart

#test2 (source files)

movie = avisource(blah.avi,audio=false)
movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start

#test3(cropping)

last = movie
crop(4,4,-4,-4)
#resizestart

#test4 (resize filter you've used)
Spline36Resize(640, 480)

#filter2start

#test5 (filter(s) of your choice, just add it right under test5 in the base.avs and it'll appear right here)
a= last
b=a.yourfavoritedenoiser()
SeeSaw(a,b, NRlimit=3, NRlimit2=4, Sstr=1.5, Slimit=5, Spower=5, Sdamplo=6, Szp=16)

return last

I had to change something in the MT script thing (again) so that the SetMTMode() comes before the Import functions (like it should) not after. (just in case your using that too, but I wouldn't recommend it).

The only thing I'd really recommend modifying the base.avs file would be for the use of some of the more advanced filters that take up more then one line (like seesaw). If you get much more beyond that, it might be better to just start writing up your own script instead of using AutoMKV (although AutoMKV makes things 100x easier).

@buzzqw
Here are those *.bat files you wanted.
This is muxing.bat:
"C:\_Downloads\AutoMKV\AutoMKV086\exe\matroska\mkvmerge.exe" -o "C:\blah.mkv" --track-name -1:"blah" --aspect-ratio 1:1.000000 "C:\temp\movie.mp4" --language -1:und "C:\temp\audio.ogg" --title "Done with AutoMKV 0.86 http://forum.doom9.org/showthread.php?p=854221 "

This is x264cmdq_pass1.bat:
"C:\_Downloads\AutoMKV\AutoMKV086\exe\encoder\x264.exe" --pass 1 --bitrate 434 --stats "C:\temp\.stats" --ref 1 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --filter -2,-1 --subme 1 --direct auto --vbv-maxrate 25000 --me dia --no-ssim --b-pyramid --analyse none --threads 3 --output NUL "C:\temp\movie.avs"

And this is x264cmdq_pass2.bat:
"C:\_Downloads\AutoMKV\AutoMKV086\exe\encoder\x264.exe" --pass 2 --bitrate 434 --stats "C:\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "C:\temp\movie.mp4" "C:\temp\movie.avs"

buzzqw
27th June 2007, 20:46
thanks WizBoy11 , your presence is very precius!

about your encoding: --aspect-ratio 1:1.000000
that's mean that your input file is most probably an mpeg4 file (avi/mkv...)... in that case automkv is unable to detect the ar... and then force a 1:1 par...

you should use "Force Muxing AR" in advanced settings

let me know for an problem!

thanks again :)

BHH

TheRyuu
28th June 2007, 02:43
thanks WizBoy11 , your presence is very precius!

about your encoding:
that's mean that your input file is most probably an mpeg4 file (avi/mkv...)... in that case automkv is unable to detect the ar... and then force a 1:1 par...

you should use "Force Muxing AR" in advanced settings

let me know for an problem!

thanks again :)

BHH

It's like your psychic or something. :D
Yea, my source was an avi file and the force muxing AR worked just fine.

So, I'll always have to do that when my source is some type of mpeg4 (or whatever codec) in an avi/mkv/mp4 format?

Thanks.

Edit:
BTW, do the NeroAAC and the CTAAC encoders use the HE(v2) profiles?

buzzqw
28th June 2007, 09:07
So, I'll always have to do that when my source is some type of mpeg4 (or whatever codec) in an avi/mkv/mp4 format?

directshowsource or avisynth in general is unable to extract ar from file (i use dgindex for mpeg2)... so the simple answer is yes..everytime

i will look at mediainfo.. if is possible to use for extracting this kind of information from mpeg4 file

BTW, do the NeroAAC and the CTAAC encoders use the HE(v2) profiles?

NeroAAC if used in quality mode (default mode) choose itself the profiles...
CTAAC use LC profile by default (iirc) but you can open advanced audio settings and force the type of coding

btw i have a new build (most cosmetic fixed, look at log panel)
http://www.64k.it/andres/data/a/AutoMKV086b.exe

BHH

Prospero424
28th June 2007, 14:29
I'm not having any problems or anything, I'm just kind of curious about something.

I've noticed that with the latest version, bbsummary now takes about half of my processor time during encode (1080i MPEG2 TS to 720p x264 mkv 2-pass Insane Quality HQ deinterlace 4.5GB size) with x264 taking roughly the other half.

The encode process doesn't seem to be slower or anything so far (still on first pass), but I was wondering if this was something new and what bbsummary is. I can't find a description of its function with any Google search I've tried.

Thanks!

BTW, buzzqw: great work on the latest version, it's very clean.

buzzqw
28th June 2007, 15:01
bbsummary now takes about half of my processor time during encode

i don't think to understud well.. are you saying that bbsummary use 50% of your cpu WHILE x264 is encoding ?

if true that's a big bug! bbsummary is invoked only when analyzing the file (just when you select the input)and then must quit

OR you mean the display of encoding status ?

this display can be deactivated in advanced profile editing

thanks... waiting for info ...

BHH

Prospero424
28th June 2007, 15:19
...are you saying that bbsummary use 50% of your cpu WHILE x264 is encoding ?

Yes. So far, I've seen it during the first pass of the x264 encode process.

I'll try it with the display disabled as soon as I can and let you know.

buzzqw
28th June 2007, 15:25
bbsummary and display of stats have nothing to spare

kill bbsummary with task manager, as i said it is only used in the first seconds when users select the input

if bbsummary has hanged i suppose it were not able to do correctly the parse of ts file.

again , kill it

and also try (when you can) with other ts files and report if happens again

thanks!!!

BHH

Prospero424
28th June 2007, 15:38
kill bbsummary with task manager...BHH

Done. Seems to be working fine now.

I'll let you know if it happens again or if the output file is damaged. Thanks for your help.

buzzqw
28th June 2007, 15:42
i seriusly doubt of any damage... bbsummary is used ONLY for know the audio tracks... :) so i (and you) should not worry!

i can think a problem of muxing sw/hw that create these ts file...

BHH

Prospero424
28th June 2007, 15:49
i can think a problem of muxing sw/hw that create these ts file...

It is kind of an odd TS file. I had to edit out an entire section preceding a very strange field order transition before encoding it or DGIndex would choke on it. I imagine you're right about the cause being the source muxing.

buzzqw
28th June 2007, 16:40
update the wiki!

BHH

dansus
28th June 2007, 16:57
Im trying to add new matrices, i placed them in the appropriate folder but they dont show up in the gui.

what am i doing wrong?

buzzqw
28th June 2007, 17:19
first matrix must be putted in \matrix folder before starting automkv
second if you are adding x264 matrix, automkv will added those with extension .cfg

for xvid every extension is ok

if you know that for x264 matrix are presents matrix without cfg extension.. let me know

BHH

g_aleph_r
28th June 2007, 21:26
Hi g_aleph_r! and welcome to the Forum!
Nice to be with you !!!
Thanks for your explanation, I'll try to do my best.
Thanks wizboy11 too... your explanation is very good for a lazy person like me :)

Sorry if I'm wasting your time again but I would like to batch encode a large number of files without manually create a job for everyone. How can I?

weaver4
28th June 2007, 21:46
I see that XviD has been upgraded from 1.1.2 to 1.1.3 to fix a few bugs and a security problem.

Since AutoMKV uses version 1.2 I was wondering if 1.2 will be upgraded with these "fixes" and then incorporated into AutoMKV, or will AutoMKV stay with the version that has the security problem, or will AutoMKV change to version 1.1.3?

buzzqw
28th June 2007, 22:28
@g_aleph_r
automkv has some command line switch too... test it

@weaver4
let me do some compatibility test

if ok i will glady update the build

(maybe will not even need a full package)

BHH

TheRyuu
29th June 2007, 03:20
I see that XviD has been upgraded from 1.1.2 to 1.1.3 to fix a few bugs and a security problem.

Since AutoMKV uses version 1.2 I was wondering if 1.2 will be upgraded with these "fixes" and then incorporated into AutoMKV, or will AutoMKV stay with the version that has the security problem, or will AutoMKV change to version 1.1.3?

Just the regular xvid binary was updated though.
I thought that AutoMKV only uses it for a YV12 Decoder.

AutoMKV uses Xvid_encraw to encode video right? So this really has nothing to do with updating AutoMKV besides updating the link in the OP to the new version.

....Right?? (I'm confused) :confused:

buzzqw
29th June 2007, 07:34
I thought that AutoMKV only uses it for a YV12 Decoder.
is used as yv12 decoder , yes BUT

AutoMKV uses Xvid_encraw to encode video right?
yes BUT xvid_encraw is just a command line interface to xvidcore.dll!

Without xvidcore.dll xvidenc_raw is useless!

xvid_enraw.exe search for a xvidcore.dll in its folder and if found use it, if not found will search in system folder and then use these installed by user (like Koepi or Nic build)

So this really has nothing to do with updating AutoMKV besides updating the link in the OP to the new version.

i can already say that i will not use it
1) the dll bundled already have the fixes
2) the 1.1.3 isnt' SMP, no multiprocessor!

BHH

zacoz
29th June 2007, 10:56
@buzzwq

I really like how you've added tooltips everywhere, however am consistently seeing problems where a tooltip no longer displays if I've clicked on that option at some stage since starting the program. Closing the program and restarting it enables the tooltips for those options again (until I actually click on them of course).

Don't know if this is a GUI issue, Windows issue, or just my crummy Windows install that needs refreshing. Can anyone else reproduce this?

buzzqw
29th June 2007, 11:15
i am glady to say that is a MS Windows issue

you can try yourself pointing mouse on the data/hour in system tray... let the mouse in till the baloon fade away... then retry...

BHH

sajaman
29th June 2007, 15:23
I think there is a little bug...

I have selected a .MKV file with 3 Audio Tracks and 1 subtitle Track as input File but AutoMKV does not show the subtitle track and 2 audio tracks

the same problem appears with omg files

buzzqw
29th June 2007, 15:53
first of all Welcome to the Forum!

no.. isn't a bug but a missing fuction

actually automkv could not select audio or subs in mpeg4 files (avi/mkv/ogm..)

while in mpeg2 files automkv let user select the audio tracks (and subs) in mpeg4 file only the first audio track is selectable and none for subs

i am waiting for ffmpegsource become stable... it will offer audio tracks choice

BHH

TheRyuu
29th June 2007, 16:37
is used as yv12 decoder , yes BUT


yes BUT xvid_encraw is just a command line interface to xvidcore.dll!

Without xvidcore.dll xvidenc_raw is useless!

xvid_enraw.exe search for a xvidcore.dll in its folder and if found use it, if not found will search in system folder and then use these installed by user (like Koepi or Nic build)



i can already say that i will not use it
1) the dll bundled already have the fixes
2) the 1.1.3 isnt' SMP, no multiprocessor!

BHH

Ahh, see, didn't really know how that worked.

Thanks. :) :thanks:

Avish
29th June 2007, 17:53
Hi Buzzqw,

Where can I get the latest "automkv.exe" only?? or do I have to download the whole 12-13 mb package again?? cause I've downloaded the whole package just 2-3 weeks back.

Regards,
Avish.

buzzqw
29th June 2007, 18:04
on previus page i posted a link

http://forum.doom9.org/showthread.php?p=1019616#post1019616

pay attention that i change the QMF files.. so i cannot guarantee that old QMF will fuction

otherwise the exe should be perfectly compatible with previus package

BHH

TheRyuu
29th June 2007, 18:05
Hi Buzzqw,

Where can I get the latest "automkv.exe" only?? or do I have to download the whole 12-13 mb package again?? cause I've downloaded the whole package just 2-3 weeks back.

Regards,
Avish.

What version is your package?
If it's .86 then you have the latest package.

If it's .85 then you should get the latest .86 package in OP.

There is also .86b (exe only) for use with the .86 package in OP here. (http://forum.doom9.org/showpost.php?p=1019616&postcount=2394)

DIEGO7-5
29th June 2007, 19:49
Hi buzzqw!

I´m sorry to bother you with a new deinterlacing issue but the following problem was introduced to me in 0.86:

• When i select automatic deinterlacing and the new progress bar reaches 100% the encoded result is still interlaced and there is no line in final movie.avs that does deinterlacing.

BUT

• When i choose "Test Deint" on Advanced Settings before the encode, everything works fine.

buzzqw
29th June 2007, 21:08
:thanks : DIEGO7-5

this was a serius bug!

FIXED! http://www.64k.it/andres/data/a/AutoMKV086c.exe

thanks again (i have also fixed some minuscle cosmetic bugs)


BHH

DIEGO7-5
29th June 2007, 21:19
buzz you´re so fast it´s incredible.

Thank you so much!

EDIT:

Hmmm...that somehow didn´t solve it. I wonder what it is. I was just taking a look at "resmovie.avs" during the encode and there should be a script line for deinterlacing. But there is none.

weaver4
29th June 2007, 22:12
Just the regular xvid binary was updated though.
I thought that AutoMKV only uses it for a YV12 Decoder.

AutoMKV uses Xvid_encraw to encode video right? So this really has nothing to do with updating AutoMKV besides updating the link in the OP to the new version.

....Right?? (I'm confused) :confused:

What makes this a little strange is that AutoMKV uses version Xvid 1.2. Version 1.2 support multiple processors; version 1.1.3 does not support multiple processors.

But Version 1.2 is not on the main tree and not officially released, modifications are not necessary made to it. So the security fix that was made to 1.1.2 is not in 1.2. So version 1.2 is not official and is not formally maintained, but the 1.1.X branch is.

But Celtic-Dude said that the revisions were made to version 1.2, but the version number 1.2 was not changed.

buzzqw
29th June 2007, 23:53
@DIEGO7-5
RE-DOWNLOAD the 0.86c

i have disabled the deinterlacer status.. (problem reading all stdout)

i hope to reintegrate it soon

BHH

ericren23
30th June 2007, 00:18
Hi, Ive just started to use AutoMKV. Trying to encode a DVD to a x264 mkv. However the final video consists of noticiable bands, this is especially evident during high motion scenes. Below is a screenshot of the problem:

[img=http://img72.imageshack.us/img72/5240/snapshot20070630074803bcd9.jpg] (http://imageshack.us)
Shot at 2007-06-29

I'm using a 2pass extreme quality profile. No resize and no filters. In advanced settings. deinterlacer and field order are set to auto. Ive noticed that it automatically selects Sharktooth's EQM v3ULR.cqm as the custom matrix. I left that alone.

The source video is quite strange. It says its a interlaced BFF in Gspot, and TFF in MediaInfo.

Can anyone help me to solve this problem?

TheRyuu
30th June 2007, 01:54
What makes this a little strange is that AutoMKV uses version Xvid 1.2. Version 1.2 support multiple processors; version 1.1.3 does not support multiple processors.

But Version 1.2 is not on the main tree and not officially released, modifications are not necessary made to it. So the security fix that was made to 1.1.2 is not in 1.2. So version 1.2 is not official and is not formally maintained, but the 1.1.X branch is.

But Celtic-Dude said that the revisions were made to version 1.2, but the version number 1.2 was not changed.

I think that the one AutoMKV uses is a newer build (well, fairly newer) with pthreads on (I could be wrong) but thats how I think xvid does SMP support.

Date on the files says Dec. 2006 so thats fairly new (newer then the Kopie xvid with SMP support, but thats just from looking at the "date modified" which could be change from a number of other things), but they could be the same for all I know.

However the final video consists of noticiable bands, this is especially evident during high motion scenes. Below is a screenshot of the problem:

Picutre (fixed link) (http://img72.imageshack.us/img72/5240/snapshot20070630074803bcd9.jpg)
Shot at 2007-06-29
@ericren23
Those are deinterlacing artifacts. Obviously the deinterlacer isn't doing its job right :)

Probably due to field order. First your gonna want to make sure that the video is not have to undergo IVTC (3:2 pulldown/decimate). AutoMKV has a nasty habbit of not being able to dectect it when set to auto (same with field order, set it manually to get better results unless it really is changing).

First, open the video in a player (on the computer) with no deinterlacing at all (just the regular file, interlacing artifacts and all). Play it and use something like MPC to step through it, frame by frame. If some of the frames have interlacing artifacts and some don't, you'll have to choose decimate as the deinterlacer (like if 3 frames are non-interlaced and 2 are interlaced, but it really could be any order, just look for the non-interlaced ones). If all the frames are interlaced you have a pure interlaced file and you'll have to use regular deinterlacers.

Either way, it'll be a good idea to select a field order. Try TFF and encode it, if it's wrong just re-encode it with BFF, if that doesn't work then set it to auto I guess, but I'm betting one of them will work..

Also set the custom matrix to "Auto" when using xvid and "None" when using x264.

Also, it'll be a good idea to post a small part of the video (like 5 sec., maybe a bad scene giving you trouble, make sure the source is legit too ;))

Hope I could help.

buzzqw
30th June 2007, 09:15
@ericren23

dowload the 0.86c update

and report back, there was a serius deinterlace issue in 0.86, fixed with 0.86c

BHH

Avish
30th June 2007, 10:53
on previus page i posted a link

http://forum.doom9.org/showthread.php?p=1019616#post1019616

pay attention that i change the QMF files.. so i cannot guarantee that old QMF will fuction

otherwise the exe should be perfectly compatible with previus package

BHH

I'm sorry, but what is QMF?? :confused:

Avish
30th June 2007, 10:58
What version is your package?
If it's .86 then you have the latest package.

If it's .85 then you should get the latest .86 package in OP.

There is also .86b (exe only) for use with the .86 package in OP here. (http://forum.doom9.org/showpost.php?p=1019616&postcount=2394)

Well, I've a .83a version & its almost one n' a half months old. Damn, it felt like 2-3 weeks to me!! Sorry about that!! :o

So then, do I've to download the whole 12mb package or only latest automkv.exe will do??

buzzqw
30th June 2007, 11:44
QMF = Quantitizer Motion Filter (search...)

and ... download the whole package + 0.86c

BHH

weaver4
30th June 2007, 14:27
I encoded a movie using autogk, avi.net and automkv using constant quality with a quantizer of 3.0 and the filesize of automkv was much larger. Here are the results.

avi.net = 1.312G
autogk = 1.418G
automkv = 1.507

Any ideas on why it is so much larger? Audio was 128kbs on each.

Here is the xvid_encraw statement:

01:22:59 CQ encoding XviD: D:\Downloads\AutoMKV\AutoMKV086\exe\encoder\xvid_encraw.exe -cq 3.0 -progress -threads 0 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -framerate 23.976 -bquant_ratio 100 -bquant_offset 0 -nopacked -nochromame -noclosed_gop -bvhq -qmatrix "D:\Downloads\AutoMKV\AutoMKV086\profiles\XviD-profiles\matrix\Sharktooth's EQM v3LR.cqm" -i "J:\Movies\temp\movie.avs" -type 2 -avi "J:\Movies\temp\movie.avi"

buzzqw
30th June 2007, 15:11
use avinaptic for analyzing the movie

http://forum.doom9.org/showthread.php?t=123076&highlight=avinaptic

and here http://fsinapsi.altervista.org/code/avinaptic/avinaptic-20070410-full.zip

look at quantitizer.. in automkv is CQ 3 fixed, in other could be 3.xx

BHH

buzzqw
30th June 2007, 17:12
here again an update http://www.64k.it/andres/data/a/AutoMKV086d.exe

And here the full correct changelog from 0.86
0.86a 27/06/2007
FIXED: EditLVL doesn't fuction on path with space (thanks to nullstuff)
0.86b 28/06/2007
FIXED: HGASV Level count how many filters is applyed (thanks to nullstuff)
FIXED: Low window now used a fixed type font (Courier New), much more readable (thanks to nullstuff)
0.86c 29/06/2007
FIXED: HGAVS wasn't saved on Save Settings (thanks to nullstuff)
FIXED: AutoDeint was broken because of new graphical interface
0.86d 30/06/2007
FIXED: Some tuning to colormatrix (thanks to Ermenegildo)
FIXED: Cropping in Preview Panel was broken (thanks to Ermenegildo)

BHH

weaver4
30th June 2007, 17:46
Buzzqw: you were right (again)

Here are the results for the DRF for the various programs:

avi.net
--3=>52.7%
--5=>47.3%

autogk
--2=>0.5%
--3=>52.2%
--4=>1.0%
--5=>46.3%

automkv
--3=>100%

Does your way give better quality?

buzzqw
30th June 2007, 18:12
avi.net
--3=>52.7%
--5=>47.3%

autogk
--2=>0.5%
--3=>52.2%
--4=>1.0%
--5=>46.3%

automkv
--3=>100%

yes or should be
only your eyes could judge

if you want change this behavior you must modify the xvid profile, changing <BQuantOffset>0</BQuantOffset> to <BQuantOffset>100</BQuantOffset> or more

BHH

dlflannery
30th June 2007, 19:26
Using Zune WMV8 1-pass profile:

1. Does not automatically set width resolution = 320 when profile is selected.

2. If I select simple resize and set width resolution to 320:

a) When I click start encoding button the resize filter immediately switches back to none and the wmv encoded size is 720x480 (same as original mpeg2 and not OK for Zune).

b) If I save settings with width=320 and simple resize, they do not come up correctly on restarting program -- I verified the correct values are in the autoMKV.ini file.

I can't find a way to get the encoded wmv size to be what the Zune requires (320).

Either recent changes have broken Zune profiles or I am doing something wrong.

buzzqw
30th June 2007, 20:23
i haven't any issue with Zune encoding..

please start from deleting automkv.ini

then relaunch automkv and retry selecting zune

or if failing, update to latest 0.86d.. but nothing has been done to wmv profiles

please keep me informed :)

BHH

tha_reaper
30th June 2007, 20:27
hello again.

ive noticed 2 thing: the 1:1 aspect ratio from this (http://forum.doom9.org/showpost.php?p=1019474&postcount=2392) post always comes when you use the "prepare phase only" mode. Ive never had any problems when running the full job.

I dont know if the following is a stangeness build in DGindex, or AutoMKV, but this costs me something like 15-20 minutes every encode:
When I select no audio streams to use in the encoding, when its DGindexs' turn to do his job, i get the following error message: "no sequence header found". i have to click the error message away and then i have to exit teh DGindex screen, after wich autoMKV opens a new DGindex process which demuxes ALL audio streams. I want no audio, so this little joke costs me a fair couple of minutes, especially when i have a DVD with 4 or 5 different audio streams.

Maybe this can be fixed, maybe it cant... just wanted to let you know

buzzqw
30th June 2007, 20:44
ive noticed 2 thing: the 1:1 aspect ratio from this post always comes when you use the "prepare phase only" mode. Ive never had any problems when running the full job.

that could be possible.. prepare phase only was an old quick dirty way to prepare only the file
the ar value of wizboy is used in muxing.. and prepare only phase doesn't mux :)

i get the following error message: "no sequence header found". i have to click the error message away and then i have to exit teh DGindex screen

:eek: vob without sequence header ??? bad rip ?
i never can across this problem... quite strange

after wich autoMKV opens a new DGindex process which demuxes ALL audio streams. I want no audio, so this little joke costs me a fair couple of minutes

that's normal... if dgindex doesn't demux any audio track (maybe due to incorrect ifo audio remapping...) it will start in demux all tracks

so the arising question: what audio track do you select ? (btw... ifo as input ?)

BHH

dlflannery
1st July 2007, 02:53
i haven't any issue with Zune encoding..

please start from deleting automkv.ini

then relaunch automkv and retry selecting zune

or if failing, update to latest 0.86d.. but nothing has been done to wmv profiles

please keep me informed :)

BHH
BHH,

I was already using .86d and had started with no autoMKV.ini file. I discovered the problem was caused by selecting "Don't care about size" in disk settings. I don't see why that should cause a problem. I am specifying bitrate on the Advanced Settings so "don't care about size" seems like the most logical choice. Anyway, selecting 1 CD removed the problems I observed. Suggestion: Wouldn't it be better to have "don't care about size" be selected automatically if the user specifies a bitrate?

I also noticed that if Remove Grain (mode=2) was the filter selection, there was a very long time where the WMV VBScript seemed to hang up and the processor usage was very low (2%), i.e., nothing was happening. Finally the WMV script came to life and a good encoding was produced. I discovered this by accident when the filter choice defaulted to this filter when the program was started without the automkv.ini file. I would not normally use a filter on the Zune encodings.

Thanks:thanks:

buzzqw
1st July 2007, 09:29
Don't care about size

i must change something... now i have fixed the change in resizer and width ... but i must look a better solution

Thanks!

BHH

tha_reaper
1st July 2007, 11:06
that could be possible.. prepare phase only was an old quick dirty way to prepare only the file
the ar value of wizboy is used in muxing.. and prepare only phase doesn't mux :)
Prepare only phase does prepare the bat file for the muxing. And that file contains the wrong 1:1 mux aspect.

:eek: vob without sequence header ??? bad rip ?
i never can across this problem... quite strange
nothing wrong with my rip. I just select no sound streams (both fields to none). Thats why i think that he cant find any indicated sound sequence headers (does something like that excist?) and gets mad at me. try it out. Take a short clip, and select NONE for both sound streams.


that's normal... if dgindex doesn't demux any audio track (maybe due to incorrect ifo audio remapping...) it will start in demux all tracks

so the arising question: what audio track do you select ? (btw... ifo as input ?)see above. NO STREAMS. I prefer to encode the audio my own way and mux it in later manually with MKVmerge. Thats why its so annoying because i want NO streams, to win time, and he demuxes them all nonetheless. while they wont appear in my final file. Its just a step extra that costs a lot of time.

hope you can do something with this info.
Reaper

delacroixp
1st July 2007, 12:32
Hi g_aleph_r! and welcome to the Forum!

the base.avs tweak is somehow advanced and should not be done by new users

let's start analyzing base.avs

Nice to be with you !!!
Thanks for your explanation, I'll try to do my best.
Thanks wizboy11 too... your explanation is very good for a lazy person like me :)

Sorry if I'm wasting your time again but I would like to batch encode a large number of files without manually create a job for everyone. How can I?
I'm sure that you're no lazy person... else you wouldn't make the effort to improve encoding... not only for yourself but all encoders...
Dr DivX has a 'Watch Folders' option which allows you to attach a profile to different folders... from general to specific like AutoCrop to Manual Crop... and load them all up into batch simultaneously...

http://souls-online.net/delacroixp/AutoMKV/DrDivXWatchFolders.jpg

However, Dr (http://sourceforge.net/projects/drdivx/) DivX (http://labs.divx.com/node/242), like Hand (http://handbrake.m0k.org/)brake (http://handbrake.m0k.org/forum/), are independant apps that don't rely on scripting and 3rd party software to get the job done... which inherently cause dependencies and limitations to what can be done effectively...


:):D:eek:
Pascal

fogbav
1st July 2007, 13:40
This is exactly the thing i realy would need in AutoMKV ... 8)

I scripted all the watch-folder thing ... but an implementation into automkv with different profiles with different folders would be soooo great.

I'm recording different TV-Series and Films with Nokia Dbox II and all of them are going down to hd in mpg ... autoencoding everything in there to lets say xvid with a Ratio of 35 % of the original size would be so great.

My script is watching the folders an when a new MPG (or TS) is found i tag the mpg as "in process" and one Computer starts encoding making the folder multienconding on different PCs (every PC is capturing one file and starts Automkv)

An implentation directly to Automkv would be great.

Greets

FoGbaV

delacroixp
1st July 2007, 13:52
I'm recording different TV-Series and Films with Nokia Dbox II and all of them are going down to hd in mpg ... autoencoding everything in there to lets say xvid with a Ratio of 35 % of the original size would be so great.

My script is watching the folders an when a new MPG (or TS) is found i tag the mpg as "in process" and one Computer starts encoding making the folder multienconding on different PCs (every PC is capturing one file and starts Automkv)

An implentation directly to Automkv would be great.

Some serious production-line encoding... wtg
So I guess that 2 or 3 computers really is better than 1 quad-core...


:):D:eek:
Pascal

fogbav
1st July 2007, 14:22
massive multithreaded automatic good quality speed encoding ....8)

ericren23
1st July 2007, 15:13
@ericren23

dowload the 0.86c update

and report back, there was a serius deinterlace issue in 0.86, fixed with 0.86c

BHH

I'll give that a wizz, however setting it to interlaced. field order hybrid seem to give me the best results. What exactly does the allow hybrid order/pattern do? I ticked that also and the results are good too. But i'll try out 0.86c

Thanks everyone!

buzzqw
1st July 2007, 15:14
@tha_reaper

now is clear! fixed in next version (actually when input is ifo automkv will always search for audio)

thanks!

@fogbav and @delacroixp

wow... some volunteers to code ? ;)

(added at bottom of my todo list)

BHH

EDIT: @ericren23 use the 0.86d
and look at this page http://forum.doom9.org/showthread.php?p=937978

fogbav
1st July 2007, 16:44
Hey buzzqw ... 8)

You are an Italian i think ... so you really know what "Spagetti Code" means , or i am wrong ...8)

I can send you my script (Kixtart) but i think i wouldn't be really helpfull *ggg*

Going to work on my powerbasic coding altitudes ... so i think i can help you in about 1 year or 2 ....8)

Special nice amateur greetings to you from :

FoGBaV - Germany

buzzqw
1st July 2007, 16:53
thanks FoGBaV!

better to have a Spaghetti alla Amatriciana http://www.provinciarieti.it/turismo/gastronomia/piatti/foto/amatriciana.jpg

anyway... i hope in this summer holiday to have some days to spend to a rework of interface (i like the dvdfab decrypter interface...)

BHH - Italy

fogbav
1st July 2007, 19:25
i am hungry now ... really hungry ... 8)

i am visiting Italy in Sept. - will love it again.

in the meantime i am enjoying the excelent italian coding ...8)

Greets

FoGBaV

survivant
2nd July 2007, 13:28
the version 0.86d works lot better than 0.86c.

The audio track 1 when I choose Original, the value switch to Stereo when I select another listbox, or when I move in the upper tabs.

You PS3 4.1 profile. It is the HQ 4.1 profile ?

buzzqw
2nd July 2007, 13:41
@survivant

fixed in next update

and the ps3_41 is with 4.1 LEVEL

BHH

ericren23
2nd July 2007, 13:58
buzzqw,

I used the 0.86d and got a very good output. It plays very on MPC. however when i load it into VirtualDubMod i get the following error:

[!] MKV: A frame of stream 1 (at 67 ms) had only a forward reference (maybe
broken file).

all the way to: (around 100 of these)

[!] MKV: A frame of stream 1 (at 3657154 ms) had only a forward reference
(maybe broken file).

[!] MKV: Video frames seems to be weirdly ordered.

[!] Couldn't locate decompressor for format '????' (unknown).
VirtualDub requires a Video for Windows (VFW) compatible codec to
decompress video. DirectShow codecs, such as those used by Windows Media
Player, are not suitable. Only 'Direct stream copy' is available for this
video.

I've converted the video from a dvd with a length of 1hr. however, it seems to contain chapters from 00:00 to 01:53. having 53min of extra in the chapter info. something must have wentwrong with the dvd index. is there a tool to fixup the indexing? Otherwise its all good:) congrats!

buzzqw
2nd July 2007, 16:21
it seems to contain chapters from 00:00 to 01:53

yes.. in \exe folder there are a chapter.txt from a my previus encoding... this file is overwritten when automkv process a IFO file... is your input a ifo ? or vobs ?

about the virtualmod errors.. mkv+h264 aren't mean to be opened in virtualdubmod... these errors aren't "error" but simply virtualdubmod has a limited support to mkv and also you must install a vfw versione of x264 codec

anyway .. try with AviDemux (similar to VirtualDub) ! it has support for MKV and X264!

BHH

survivant
2nd July 2007, 23:17
buzzqw

thanks for the answer. just to be sure.. the ps3_4.1.xml profile equals the High Profile 4.1 in megui ? (there are Baseline, Main and High profile).

ericren23
3rd July 2007, 01:55
yes.. in \exe folder there are a chapter.txt from a my previus encoding... this file is overwritten when automkv process a IFO file... is your input a ifo ? or vobs ?


My input is a ifo, maybe thats why? I'll try out AviDemux

TheRyuu
3rd July 2007, 06:51
I was trying out the "snow" option in ffmpeg just for fun but it never seems to work. Is there some limitation with it or something?

This is the log file:
00:47:38 0.86d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
00:47:38 Selected Input file: C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\VTS_04_1.d2v
00:47:38 Selected Output dir: C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\temp\
00:47:38 Selected Final Name: VTS_04_1
00:47:38 Selected Container type: MKV
00:47:38 Selected Encoder: X264
00:47:38 Selected Size: 1 CD
00:47:38 Selected Slice: 1
00:47:38 Selected Profile: 2_Pass_Balanced.xml
00:47:38 Selected Width: Automatic
00:47:38 Selected Resizer: Spline36Resize (neutral sharp)
00:47:38 Selected Filters: RemoveGrain(mode=2)
00:47:38 Selected Deinterlacer: Decimating
00:47:38 Selected Field Order: TFF
00:47:38 Manual Crop: Enabled
00:47:38 Left Crop: 4
00:47:38 Top Crop: 0
00:47:38 Right Crop: 4
00:47:38 Botton Crop: 0
00:47:38 Manual Width: 704
00:47:38 Manual Height: 400
00:47:38 Track Language 1: C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\VTS_04_1 T01 3_2ch 448Kbps DELAY -158ms.ac3
00:47:38 Audio Codec 1: Lame
00:47:38 Audio Quality 1: 160
00:47:38 Audio Channel 1: Stereo
00:47:38 Advanced Audio Settings DUMP Track 1
00:47:38 Nero Option Profiles: AUTO --- Encoding Mode: Quality
00:47:38 CCT Option Profiles: AUTO --- Channel Options: AUTO
00:47:38 Lame Settings: ABR
00:47:38 Audio Normalization: 1
00:47:38 Frequency: AUTO --- Tempo : NONE
00:47:38 Pitch: NONE --- Other Add :
00:47:38 Advanced Audio Settings DUMP Track 2
00:47:38 Nero Option Profiles: AUTO --- Encoding Mode: Quality
00:47:38 CCT Option Profiles: AUTO --- Channel Options: AUTO
00:47:38 Lame Settings: ABR
00:47:38 Audio Normalization: 1
00:47:38 Frequency: AUTO --- Tempo : NONE
00:47:38 Pitch: NONE --- Other Add :
00:47:38
00:47:38 DelayCut CMD: C:\_Downloads\AutoMKV\AutoMKV086\exe\dgindex\Delaycut.exe -auto -out "C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\temp\fixed1.ac3" "C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\VTS_04_1 T01 3_2ch 448Kbps DELAY -158ms.ac3"
00:47:38 DelayCut CMD: C:\_Downloads\AutoMKV\AutoMKV086\exe\dgindex\Delaycut.exe -auto -out "C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\temp\fixed2.ac3" "C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\VTS_04_1 T02 2_0ch 224Kbps DELAY -126ms.ac3"
00:47:42 Number of Frames: 2798
00:47:42 Framerate: 29.970030
00:47:42 Movie length in Seconds: 94
00:47:42 Movie Width/Height: 720/480
00:47:42 DgIndex AR: 16:9
00:47:42 "C:\_Downloads\AutoMKV\AutoMKV086\exe\matroska\mkvmerge.exe" -o "C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\temp\VTS_04_1.mkv" --track-name -1:"VTS_04_1" --aspect-ratio 1:16:9 "C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\temp\movie.mp4" --language -1:und "C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\temp\" --title "Done with AutoMKV 0.86d http://forum.doom9.org/showthread.php?p=854221 "
00:47:42 Final Muxed size: -1 bytes
00:47:42 Encoding finished: 00:00:04 elapsed time
00:47:42 -----------------------------------------------------------------------
00:47:42 Script AutoCrop.log
00:47:42
00:47:42 Crop(10,0,700,480)
00:47:42 -----------------------------------------------------------------------
00:47:42 Script Resmovie.avs
00:47:42 -----------------------------------------------------------------------
00:47:42 Script movie.avs
00:47:42
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\AddGrain.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\asharp.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\autocrop.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\aWarpSharp(Pruned).dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\blockbuster.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\cnr2.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\ColorMatrix.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Convolution3D.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\corrector.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DctFilter.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Decomb.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Deen.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\degrainmedian.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DenoiseSharpen.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DGDecode.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\EEDI2.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FFT3DFilter.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FluxSmooth.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\frfun7.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\hqdn3d.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\LeakKernelDeint.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MaskTools.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\medianblur.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MipSmooth.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MSharpen.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MT.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\mt_masktools.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\mvtools.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\NicAudio.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\RemoveGrainSSE3.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\RepairSSE3.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\RSharpenSSE3.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SangNom.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SimpleResize.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SoundOut.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\SSE3Tools.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TBilateral.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TDeint.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TIVTC.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TomsMoComp.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\TTempSmooth.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\UnDot.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\UnFilter.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\VSFilter.dll")
00:47:42 LoadPlugin("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\warpsharp.dll")
00:47:42 #loadpluginstart
00:47:42
00:47:42 #test1
00:47:42
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\aSaWLimitedSharpen.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\BlindDeHalo3_mt2.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\DeHalo_Alpha.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FasterLineDarken.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\FastLineDarken.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\HybridFuPP.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\LanczosPlus.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\Lem.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\LimitedSharpenFaster.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\MCBob_v03c.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\mvbob.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\seesaw.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\spresso.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\toon-v0.8.avsi")
00:47:42 Import("C:\_Downloads\AutoMKV\AutoMKV086\exe\filter\vmToon-v0.74.avsi")
00:47:42 #importstart
00:47:42
00:47:42 #test2
00:47:42
00:47:42 movie = mpeg2source("C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\VTS_04_1.d2v",info=3)
00:47:42 function getOrder(clip c) {
00:47:42 order = GetParity(c) ? 1 : 0
00:47:42 Return order }
00:47:42 #filter1start
00:47:42
00:47:42 #test3
00:47:42
00:47:42 movie = tfm(movie,d2v="C:\Documents and Settings\Dragon\My Documents\DVDs\Samurai Champloo\Test\temp\movie.d2v").tdecimate()
00:47:42 last = movie
00:47:42 crop(4,0,-4,-0)
00:47:42 #resizestart
00:47:42
00:47:42 #test4
00:47:42
00:47:42 Spline36Resize(704,400)
00:47:42 #filter2start
00:47:42
00:47:42 #test5
00:47:42
00:47:42 RemoveGrain(mode=2)
00:47:42 -----------------------------------------------------------------------
00:47:42 Script mkvmaudio.avs
00:47:42 -----------------------------------------------------------------------
00:47:42 Script mkvmaudio.bat
00:47:42 -----------------------------------------------------------------------
00:47:42 Script mkvmaudio2.avs
00:47:42 -----------------------------------------------------------------------
00:47:42 Script mkvmaudio2.bat
00:47:42
00:47:42 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
3rd July 2007, 08:47
@survivant
4.1 is level as annex specification
the "level" is main, and this is the command line --pass 2 --bitrate 644 --stats .stats --progress --keyint 300 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --direct auto --vbv-maxrate 14000 --me umh --no-ssim --level 4.1 --no-cabac --weightb --b-rdo --bime --analyse p8x8,b8x8,i4x4 --threads 3

@ericren23
My input is a ifo, maybe thats why?
when you input the ifo you should see a flash image of chapter extractor.. you can also control the chapter in advanced settings using the chapter button

@wizboy11
ffmpeg encoding is to use only with "pure" source, like vob, avi, mkv, flv, mov... not d2v, ifo... but avs is ok

BHH

samukas
3rd July 2007, 14:39
Hi everyone!
Fist of all, buzzqw, congratulation for AutoMKV, it's amazing :thanks:

Now, I've done some encode a while ago but then got totally lost with this many advanced options appearing :helpful:
I have a 1080i ntsc mpeg source that I'd like to convert do x264 720p... According to dgindex, the source has progressive and interlaced frames, is 99& Film and Video 1%...
So, I've selected "Partially Film" , "HQ Deint" and "TFF", are these options correct? This gave me a 29.97fps mkv...
I'd like to restore the video at 23.976fps and my question is, what Deinterlace options should I use?

Thanks in advance

buzzqw
3rd July 2007, 15:13
99& Film and Video 1%

this is pure film, no worry for partial film

select FILM type, tff and no need to check hq deint (for film type is always hq enabled)

BHH

TheRyuu
3rd July 2007, 18:58
Hi everyone!
Fist of all, buzzqw, congratulation for AutoMKV, it's amazing :thanks:

Now, I've done some encode a while ago but then got totally lost with this many advanced options appearing :helpful:
I have a 1080i ntsc mpeg source that I'd like to convert do x264 720p... According to dgindex, the source has progressive and interlaced frames, is 99& Film and Video 1%...
So, I've selected "Partially Film" , "HQ Deint" and "TFF", are these options correct? This gave me a 29.97fps mkv...
I'd like to restore the video at 23.976fps and my question is, what Deinterlace options should I use?

Thanks in advance

If you wanted to restore the original 24fps (23.976...) then you'd have to select "decimate" and your TFF (if thats what it is).

But you should make sure you need to perform IVTC first.
Open up the video in MPC, make sure you can see the interlacing artifacts (make the mpeg2 decoder ignore the 3:2 pulldown flag).

You should be able to do this in DGIndex too, just make sure it's ignoring the 3:2 pulldown flag (i.e. you can see the interlacing when it's playing). Then just step through it frame by frame. if some of the frames are interlaced and some aren't (like 3 progressive and 2 interlaced, but it can be a different order) then you should select decimate as your deinterlacer.

buzzqw
3rd July 2007, 19:03
@wizboy11

i reveal you a secret... AutoMKV will apply the same routine for FILM and Decimate ;)

movie = tfm(movie,d2v="movie.d2v").tdecimate()

BHH

TheRyuu
4th July 2007, 04:46
@wizboy11

i reveal you a secret... AutoMKV will apply the same routine for FILM and Decimate ;)

movie = tfm(movie,d2v="movie.d2v").tdecimate()

BHH

Never noticed that. Never really used the "Film" setting since I always just wind up setting the option myself doing manual testing to figure it out (I still don't trust the "auto-detect" :p)

BTW, just noticed this but the cropping in the preview thing (use it, great option) looks like YATTA's cropping. Has the same blue things and everything. You base it off of that or does something else use that too (that I'm not aware of). :)

:thanks:
Cya

buzzqw
4th July 2007, 07:16
I still don't trust the "auto-detect"

... i do my best.. but human experience is always better than a stupid complex algo...

great option
thanks!

looks like YATTA's cropping
... maybe i used yatta one time only and too many years ago...no i don't remember it...
i a vaguely based the cropping panel on virtualdub and paranoia

BHH

ericren23
4th July 2007, 07:23
hm.. i dont get the flash of Chapterextractor at all. I see a quick flash of a command prompt, but its too fast to see what it is. I see its taking chapters from your chapters.txt I can manually use chapter extractor to get the chapters. how do i now get rid of the chapters in my already encoded files and put in this chapter? when i open the mkv file with mkvmerge GUI, the chapters tab is greyed out with nothing in it. I've also noticed that i can extract the info from the ifo file, but the format is different to the chapters.txt that you originally had in there. If i try to manually mux them together with mkvmerge, it says the file format is not supported? how do i now manually mux the correct chapters in?

Ive also noticed that somehow my audio is mp3 instead of the selected neroAAC. In the \temp directory of the output i see a audio.mp4 file and audio.mp3 file, but going through muxing.bat, i see this:
"D:\Downloads\video tools\AutoMKV086\exe\matroska\mkvmerge.exe" -o "D:\temp\output\temp\ai2.mkv" --track-name -1:"ai2" --aspect-ratio 1:1.333333 --chapters "D:\Downloads\video tools\AutoMKV086\exe\chapters.txt" "D:\temp\output\temp\movie.mp4" --language -1:eng "D:\temp\output\temp\audio.mp3" --title "Done with AutoMKV 0.86d http://forum.doom9.org/showthread.php?p=854221 "

This is from the mkvmaudio.bat

"D:\Downloads\video tools\AutoMKV086\exe\BeSweet\ffmpeg.exe" -vn -i "D:\temp\output\temp\fixed1.ac3" -f mp3 -ac 2 -ab 128 "D:\temp\output\temp\audio.mp3"



so its taking the .mp3 for somereason, To make matters more confusing, I looked at the cropped 1min test files of the same video, and they all have AAC audio. and the file i encoded earlier had AAC also.

To make matters more confusing For this video. i dont seem to have a log file, i have log files for the test clips though.

Strange stuff

survivant
4th July 2007, 11:54
@ buzzqw thanks. There is a way to have the 4.1 HP level ? The PS3 supporte the HP profile now. (only the 4.1)

tha_reaper
4th July 2007, 12:14
I have another little question.

I have a DVD, but imho the source is not very sharp (although its a pretty recent DVD). Ive tried around a bit, and I fell in love with the convolution 3d (anime HQ) filter for all my anime reencodes with a HQ source.

Now i want to sharpen my encode, but how do i do that? I have found under advanced profile editing the shapner.lvl script (should that be shaRpner?), but i dont know how to use it :(

buzzqw
4th July 2007, 15:37
This is from the mkvmaudio.bat

"D:\Downloads\video tools\AutoMKV086\exe\BeSweet\ffmpeg.exe" -vn -i "D:\temp\output\temp\fixed1.ac3" -f mp3 -ac 2 -ab 128 "D:\temp\output\temp\audio.mp3"

open the log file, if used ffmpeg mean that automkv isn't able to process the ac3 in normal way, in log file should be written some info.

about the chapter... is automkv installed in very long path ? (or with space ?) (but i think i have fixed it in next update)

i dont seem to have a log file
you must have a log... written or in automkv log panel

@survivant

There is a way to have the 4.1 HP level

isn't the ps3_41 hp ?

@tha_reaper

check "Enable HGAVS" and select the Sharpner.lvl, set your width and other choise.. then click start..
BUT remember that sharpning could be enhance the noise....

BHH

TheRyuu
4th July 2007, 19:38
I take it back. Wasn't YATTA I was thinking of, it was YMC (same program suite though).

I guess it's just one of the funny coincidences (maybe they based it off of something else :p)
http://img522.imageshack.us/img522/5175/ymczt4.jpg

I have another little question.

I have a DVD, but imho the source is not very sharp (although its a pretty recent DVD). Ive tried around a bit, and I fell in love with the convolution 3d (anime HQ) filter for all my anime reencodes with a HQ source.

Now i want to sharpen my encode, but how do i do that? I have found under advanced profile editing the shapner.lvl script (should that be shaRpner?), but i dont know how to use it

@tha_reaper

You don't have to do that. Just chain LimitedSharpenFaster with the Convo3d.

Like this (copy and paste into filter box):
Convolution3d(preset="animeHQ").LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, smode=4, strength=125, overshoot=1, undershoot=1)
#or
degrainmedian(mode=1).LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, smode=4, strength=125, overshoot=1, undershoot=1)
#or you could also chain it with SeeSaw (not the right way to use SeeSaw, but it works)
degrainmedian(mode=1).SeeSaw(sstr=1.5)

The SeeSaw code will probably sharpen it more then the LSF code will, but will also most likely amplify the noise more or oversharpen it. You can control the sharpening amount by the sstr value.

If it's an Anime source try smode=3 since sometimes I think that creates a better image for the LSF smode value. Increasing the strength on smode=4 in LSF really doesn't do anything (no idea why, smode=4 uses "deep magic", I kid you not :)). If you change it to smode=3 then modify the strength value accordingly but strength=125 is a good amount I think. the ss values should be alright at 1.5. overshoot and undershoot control line darkening/line lightening. Wouldn't worry about those.

Also, for an anime source. Another good trick is to darken the lines. Some people use vmtoon for it but, IMO, thats way too slow.
Copy this into text file and save as "FastLineDarkenMOD.avsi":
#############################
# FastLineDarken 1.3 MT MOD #
#############################
#
# Written by Vectrangle, last update 12 Sept 04
#
# * requires mt_masktools v2 -- http://manao4.free.fr/
# * requires yv12 input
#
# Usage is FastLineDarken(strength, luma_cap, threshold, thinning),
# named parameters are supported eg FastLineDarken(thinning=0)
#
# Note that you must import this avs into your script using import("...\FastLineDarken.avs")
#
# Parameters are:
# strength (integer) - Line darkening amount, 0-256. Default 48. Represents the _maximum_ amount
# that the luma will be reduced by, weaker lines will be reduced by
# proportionately less.
# luma_cap (integer) - value from 0 (black) to 255 (white), used to stop the darkening
# determination from being 'blinded' by bright pixels, and to stop grey
# lines on white backgrounds being darkened. Any pixels brighter than
# luma_cap are treated as only being as bright as luma_cap. Lowering
# luma_cap tends to reduce line darkening. 255 disables capping. Default 191.
# threshold (integer) - any pixels that were going to be darkened by an amount less than
# threshold will not be touched. setting this to 0 will disable it, setting
# it to 4 (default) is recommended, since often a lot of random pixels are
# marked for very slight darkening and a threshold of about 4 should fix
# them. Note if you set threshold too high, some lines will not be darkened
# thinning (integer) - optional line thinning amount, 0-256. Setting this to 0 will disable it,
# which is gives a _big_ speed increase. Note that thinning the lines will
# inherently darken the remaining pixels in each line a little. Default 24.
#
# Changelog:
# 1.3 - added ability to thin lines, now runs much slower unless thinning=0. Changed the defaults (again)
# 1.2 - huge speed increase using yv12lutxy =)
# - weird darkening issues gone (they were caused by yv12layer)
# - show option no longer available due to optimizations. Use subtract() instead
# 1.1 - added luma_cap option
# 1.0 - initial release
#


function FastLineDarkenMOD( clip c, int "strength", int "luma_cap", int "threshold", int "thinning")
{
## parameters ##
str = string(default(strength, 48) /128.)
lum = string(default(luma_cap, 191))
thr = string(default(threshold, 4))
thinning = default(thinning,24)
thn = string(thinning /16.)

## filtering ##
exin = c.mt_expand().mt_inpand()
diff = mt_lutxy(c,exin,yexpr="y "+lum+" < y "+lum+" ? x "+thr+" + > x y "+lum+" < y "+lum+" ? - 0 ? 127 +",uexpr="x",vexpr="x",u=2, v=2)
linemask= mt_lut(diff.mt_inpand(),"x 127 - "+thn+" * 255 +").mt_convolution("1 1 1","1 1 1",y=3,u=0,v=0)
thick = mt_lutxy(c, exin, yexpr="y "+lum+" < y "+lum+" ? x "+thr+" + > x y "+lum+" < y "+lum+" ? - 0 ? "+str+" * x +",uexpr="x",vexpr="x",u=2, v=2)
thin = mt_lutxy(c.mt_expand(),diff,yexpr="x y 127 - "+str+" 1 + * +",u=2, v=2)

return (thinning == 0) ? thick : mt_merge(thin,thick,linemask,y=3,u=2,v=2)
}

Line darkening can really improve an anime image. Copy the "FastLineDarkenMOD" file to the AutoMKV/exe/filter folder which has all the other plugins in it (so you know it's the right one) then just reload automkv and you can use FastLineDarkenMOD.

Like the sharpening just chain it with the others, couldn't be simpler.
Like this:
degrainmedian(mode=1).LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, smode=4, strength=125, overshoot=1, undershoot=1).FastLineDarkenMOD(thinning=0, strength=60)
You'll probably have to experiment with the strength option, but leave thinning=0 otherwise you get nothing, at least I get a green screen.
You can put FastLineDarkenMOD before or after sharpening but I found that if you put it after the sharpening (like above) it creates less shimmering. Not sure if there's a right way or a wrong way but I found that the above configuration works well, but you'll have to experiment to find what you like.

Also, IMO, convo3d is showing it's age, but to each his own. Try something like degrainmedian(mode=1) or (mode=2) (higher mode value means less denoising, so mode=2 would preserve more detail but also get rid of less noise then mode=1, so try them both).

Good Luck. :)
And remember that you need to find what you think is best.

P.S. I have way to much free time on my hand :p

buzzqw
4th July 2007, 20:14
@wizboy11

very good suggestions :goodpost: :thanks: !

BHH

survivant
4th July 2007, 23:10
@survivant

Quote:
There is a way to have the 4.1 HP level
isn't the ps3_41 hp ?

I asked if the PS3_41.xml was using the main profile or the HQ profile, you answered that it was the main profile.

if it's the HQ profile, that's perfect. sorry for the confusion.

PS. I tought that the PS3 wasn't able to support adaptive-b-frame. maybe with the latest firmware it does.. not sure

that the command line I have for the HP profile with megui compare to automkv.. look really similar
megui
--pass 3 --bitrate 4000 --stats ".stats" --level 4.1 --ref 3 --mixed-refs --bframes 3 --no-b-adapt --b-pyramid --bime --weightb --direct auto --trellis 1 --analyse p8x8,b8x8,i4x4 --threads auto --thread-input --progress --no-psnr --no-ssim --output "" ""

automkv
--pass 2 --bitrate --stats "C:\DVD\tools\AutoMKV086\.stats" --progress --keyint 300 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --direct auto --vbv-maxrate 14000 --me umh --no-ssim --level 4.1 --no-cabac --weightb --b-rdo --bime --analyse p8x8,b8x8,i4x4 --threads 3

survivant
5th July 2007, 00:24
@wizboy11

good explanation.

I have encode an anime movie from a dvd to mp4 without any filter.

For my first comparaison test which filter should I use ? (I don't have too much free time :) to compare few settings)

I don't want to perfect match for everything.. just a setting that I'll be satisfy for almost all my future encoding

thanks

survivant
5th July 2007, 01:12
it is possible to speficied a splitting size ?

I want a 1 DVD (5gig) but split into 2.2 gigs files. The PS3 seem to have a 2.5 gigs limit by files. For now I'm using YAMB to split the file

ericren23
5th July 2007, 02:31
Hi, it seems that no matterwhat i do i get this:

11:23:20 0.86d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
11:23:20 Selected Input file: D:\temp\dvd\Split\VIDEO_TS\VTS_01_1.VOB
11:23:20 Selected Output dir: D:\temp\output\temp\
11:23:20 Selected Final Name: testme
11:23:20 Selected Container type: MKV
11:23:20 Selected Encoder: X264
11:23:20 Selected Size: 5
11:23:20 Selected Slice: 1
11:23:20 Selected Profile: 2_Pass_Balanced.xml
11:23:20 Selected Width: Original
11:23:20 Selected Resizer: NONE
11:23:20 Selected Filters: NONE
11:23:20 Selected Deinterlacer: Interlaced
11:23:20 Selected Field Order: HYBRID
11:23:20 Enabled CRF/CQ AutoRes at 18 value
11:23:20 Track Language 1: AC3 Audio Stream 0
11:23:20 Audio Codec 1: Nero AAC
11:23:20 Audio Quality 1: 0.35
11:23:20 Audio Channel 1: Stereo
11:23:20 Advanced Audio Settings DUMP Track 1
11:23:20 Audio Track Language: und
11:23:20 Nero Option Profiles: HE --- Encoding Mode: Quality
11:23:20 CCT Option Profiles: AUTO --- Channel Options: AUTO
11:23:20 Lame Settings: ABR
11:23:20 Audio Normalization: 0
11:23:20 Frequency: AUTO --- Tempo : NONE
11:23:20 Pitch: NONE --- Other Add :
11:23:20 Advanced Audio Settings DUMP Track 2
11:23:20 Nero Option Profiles: AUTO --- Encoding Mode: Quality
11:23:20 CCT Option Profiles: AUTO --- Channel Options: AUTO
11:23:20 Lame Settings: ABR
11:23:20 Audio Normalization: 1
11:23:20 Frequency: AUTO --- Tempo : NONE
11:23:20 Pitch: NONE --- Other Add :
11:23:20
11:23:20 Dgindex CMD: D:\temp\AutoMKV086\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=1 -YR=2 -AIF=[D:\temp\dvd\Split\VIDEO_TS\VTS_01_1.VOB] -OF=[D:\temp\output\temp\movie] -exit -minimize
11:23:21 D2V file size: 3181
11:23:21 Original 1' Audio Size: 670813 bytes
11:23:21 Not fixing audio delay
11:23:21 Encoding D:\temp\output\temp\fixed1.ac3 to NeroAAC with custom command line
11:23:24 Unable to encode Audio, trying with DirectShowSource!
11:23:24 Encoding D:\temp\output\temp\fixed1.ac3 to NeroAAC with custom command line
11:23:35 Encoded 1' Audio Track: 199884 bytes
11:23:35 Encoded 1' Audio Track: 199884 bytes
11:23:40 Number of Frames: 630
11:23:40 Framerate: 29.970030
11:23:40 Movie length in Seconds: 22
11:23:40 Movie Width/Height: 720/480
11:23:40 DgIndex AR: 4:3

However when i check audio.mp4 with mediainfo, it says its encoded by NeroAAC. This is all done with a cropped test file. I havent tried the entired process again on the original file becuase it will take me another 10hr or so. If worst comes to worst, i give that a try again.

I read in one of these threads that automkv uses nic audio plugin, so i downloaded that and placed it into the avisynth\plugins directory, but i still get that error.

TheRyuu
5th July 2007, 03:48
Hi, it seems that no matterwhat i do i get this:

11:23:20 0.86d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
11:23:20 Selected Input file: D:\temp\dvd\Split\VIDEO_TS\VTS_01_1.VOB
...

However when i check audio.mp4 with mediainfo, it says its encoded by NeroAAC. This is all done with a cropped test file. I havent tried the entired process again on the original file becuase it will take me another 10hr or so. If worst comes to worst, i give that a try again.

I read in one of these threads that automkv uses nic audio plugin, so i downloaded that and placed it into the avisynth\plugins directory, but i still get that error.

@ericren23
It should work.
Your using the latest version right?

Couldn't tell you why though. If the source is a vob file, DGIndex should split the file with the different audio tracks.
Just used a cropped file with vob as input and it worked just fine when encoding to an avi file (which has to use Lame audio).


it is possible to speficied a splitting size ?

I want a 1 DVD (5gig) but split into 2.2 gigs files. The PS3 seem to have a 2.5 gigs limit by files. For now I'm using YAMB to split the file
@survivant

It's in the Wiki. Type in the amount in MB you want (like 2200 for 2.2GB) then next to it another box will appear. So type 2 in that box for 2200*2=4400 in 2 files.

Also, good filter to start?
degrainmedian(mode=1).LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, smode=4, strength=125, overshoot=1, undershoot=1).FastLineDarkenMOD(thinning=0, strength=50)
#or you could chain it with SeeSaw (another sharpener)
degrainmedian(mode=1).SeeSaw().FastLineDarkenMOD(thinning=0, strength=50)

You can get fastlinedarkenmod from one of the above posts.

Also, I'm sure you have a little free time. Play around with smode=3 (sometimes I find it good for anime sources), and the strength value in both LSF and Line Darken.

Also, if the source isn't that noisy try mode=2 in degrainmedian. Higher mode=less denoising. Sorry but there's no one setting you'll like, you'll have to try around with everything. Nothing is best (per rule #12) and it is true.

buzzqw
5th July 2007, 08:26
@survivant

i haven't a ps3 ... so i glady accept suggestion about compatibilty profile
one of the biggest difference is cabac, multiple b frames and b pyramid, if these options are supported it would be very easy to modify the ps3 profile

@ericren23

the audio is encoded with NERO! simply nicaudio is unable to open, so automkv will automatically switch to directshowsource interface
just a question
11:23:21 Not fixing audio delay
why have you de-check use delaycut ?
delaycut will "cut" the delay but also fix problems within the audio file

@wizboy11
:)

BHH

survivant
5th July 2007, 12:01
@buzzqw

i haven't a ps3 ... so i glady accept suggestion about compatibilty profile
one of the biggest difference is cabac, multiple b frames and b pyramid, if these options are supported it would be very easy to modify the ps3 profile

I'll do lot of tests this week-end. Just to be sure to understand the encoding process. If I chose an option, suppose cabac, it is garanti that the encoder will use it, or it could use it ? If it always use the option that will pass to it.. I will not be too hard to test.. I'll activate all the option, and look if mt PS3 is able to play it.

buzzqw
5th July 2007, 12:36
cabac is used per default and x264 obey to command line :)

do your test and report back what is ok

thanks!

BHH

survivant
5th July 2007, 14:02
#1
I'll

the command line from megui works and from automkv too.

I have the split the result file into 2.2gigs max.

If I check in megui, the difference between 4.1 main and 4.1HP in the option : bitrate : lossless.

I'll try that tonight.

#2
just a question like that. Suppose I have a cartoon 230 megs in divx and I want to convert it in mp4 (to be able to watch it from the PS3), what it the setting I should use to have an approriate file size ?

There is a setting for the file size Like 1CD, 1DVD.. but it will be oversize for nothing.. there is a way to just convert it using a bitrate vbr like 3000-5000 max ?

still not familiar with all the setting in automkv.

buzzqw
5th July 2007, 14:19
just few post before wizboy11 has answered the same question

@survivant

It's in the Wiki. Type in the amount in MB you want (like 2200 for 2.2GB) then next to it another box will appear. So type 2 in that box for 2200*2=4400 in 2 files.

anyway is possible to specify bitrate in advanced settings

AND btw is possible to convert your avi in mp4 just remuxing it, not reencoding

ffmpeg.exe -i test.av" -vcodec copy -acodec copy test.mp4

or by using yamb

BHH

tha_reaper
5th July 2007, 14:48
@tha_reaper

You don't have to do that. Just chain LimitedSharpenFaster with the Convo3d.

Like this ...

whow! thats a fair piece of information! im going to try it out, thanks a lot!

Elwin
5th July 2007, 15:57
Is it possible somehow to use AutoMKV with the latest MT-enabled Xvid Beta builds? (http://ffdshow.faireal.net/mirror/XviD/)

I presume that'd require building and replacing xvid_encraw?

buzzqw
5th July 2007, 16:10
First of all Welcome to the Forum!

yes... is possible!

you must put simply in \exe\encoder folder the xvidcore.dll
i suppose there is no need to replace xvid_encraw.exe

BHH

TheRyuu
5th July 2007, 17:08
Is it possible somehow to use AutoMKV with the latest MT-enabled Xvid Beta builds? (http://ffdshow.faireal.net/mirror/XviD/)

I presume that'd require building and replacing xvid_encraw?

Just to let you know, the xvid_encraw on the page that you linked to is an older version then the one AutoMKV uses. However the xvid core dll file is newer.

buzzqw
5th July 2007, 17:17
... and in automkv is already present a SMP build of xvidcore

fyi in next full update i will include the 29/06/2007 build and change all xvid profile

i finally resolved a bug that "could" cause vdub to crash when cutting avi (mp3+xvid->avi)

BHH

survivant
5th July 2007, 18:38
@buzzqw

AND btw is possible to convert your avi in mp4 just remuxing it, not reencoding

ffmpeg.exe -i test.av" -vcodec copy -acodec copy test.mp4

the problem is that only change the container, so if your video codec is XVID.. it will still be Xvid in the mp4. and my PS3 don't play Xvid.. only video H264(in a mp4 container) or mpeg(1,2).

TheRyuu
5th July 2007, 20:00
Got a bit of a problem here. When AutoMKV uses direct show source (i.e. ffdshow/Haali media splitter) it seems that it doesn't close it down when doing more then one encode (like say you add 6 to the queue, it'll open 6 instances of ffdshow/HMS instead of opening one, then closing it then opening another one).

This winds up happening:
http://img123.imageshack.us/img123/5781/taskbarxn8.jpg

Not sure if this is ffdshow problem, AutoMKV problem, or one of the many programs AutoMKV uses.

The encoding process works just fine so there's really no problem with it opening 6 instances of ffdshow, just that the taskbar starts to fill up :).

buzzqw
5th July 2007, 20:06
@wizboy11

yes.. you are right... BUT i close the thread! :(

is secure a bug on my side :mad:

BHH

survivant
6th July 2007, 02:20
I found my problem.. it should be ConvertToYV12() (megui corrected the avs script)


The file in not encoded.. the final output file is not created

that's my avs

#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:02
#------------------
LoadPlugin("C:\DVD\DVD-RB PRO\DGDecode.dll")
mpeg2source("C:\dvd\encode\D2VAVS\V01.D2V")
trim(8184,11459)
ConvertToYUY2()
AudioDub(BlankClip())


automkv log
19:42:22 0.86d - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
19:42:22 Selected Input file: C:\DVD\encode\D2VAVS\V01000100001002.AVS
19:42:22 Selected Output dir: C:\DVD\encode\automkv\temp\
19:42:22 Selected Final Name: V01000100001002
19:42:22 Selected Container type: MP4
19:42:22 Selected Encoder: X264
19:42:22 Selected Size: 1/4 CD
19:42:22 Selected Slice: 1
19:42:22 Selected Profile: PS3_41.xml
19:42:22 Selected Width: Original
19:42:22 Selected Resizer: NONE
19:42:22 Selected Filters: NONE
19:42:22 Selected Deinterlacer: AUTO
19:42:22 Selected Field Order: AUTO
19:42:22 Enabled CRF/CQ AutoRes at 18 value
19:42:22 Track Language 1: NONE
19:42:22 Audio Codec 1: Nero AAC
19:42:22 Audio Quality 1: 0.85
19:42:22 Audio Channel 1: Stereo
19:42:22 Advanced Audio Settings DUMP Track 1
19:42:22 Nero Option Profiles: AUTO --- Encoding Mode: Quality
19:42:22 CCT Option Profiles: AUTO --- Channel Options: AUTO
19:42:22 Lame Settings: ABR
19:42:22 Audio Normalization: 1
19:42:22 Frequency: AUTO --- Tempo : NONE
19:42:22 Pitch: NONE --- Other Add :
19:42:22 Advanced Audio Settings DUMP Track 2
19:42:22 Nero Option Profiles: AUTO --- Encoding Mode: Quality
19:42:22 CCT Option Profiles: AUTO --- Channel Options: AUTO
19:42:22 Lame Settings: ABR
19:42:22 Audio Normalization: 1
19:42:22 Frequency: AUTO --- Tempo : NONE
19:42:22 Pitch: NONE --- Other Add :
19:42:22
19:42:22 DelayCut CMD: C:\DVD\tools\AutoMKV086\exe\dgindex\Delaycut.exe -auto -out "C:\DVD\encode\automkv\temp\fixed1." "NONE"
19:42:24 DelayCut CMD: C:\DVD\tools\AutoMKV086\exe\dgindex\Delaycut.exe -auto -out "C:\DVD\encode\automkv\temp\fixed2." "NONE"
19:42:28 Avi engage mode not corrected, switched to DirectShowSource
19:42:31 Checking script...time.avs
19:42:32 Script checked. All OK!!!
19:42:32 !!! BREAK - FILE NOT SUPPORTED !!! - Trying with MediaInfo!
19:42:34 Aspect ratio:
19:42:34 Number of Frames:
19:42:34 Framerate:
19:42:34 Movie length in Seconds: 1
19:42:34 Movie Width/Height: /
19:42:34 Number of Frames:
19:42:34 Framerate:
19:42:34 Movie length in Seconds: 1
19:42:34 Movie Width/Height: /
19:47:18 Starting X264 AutoResize with WIDTH of Original and wanted size of 183500800 bytes
19:47:18 CRF encoding X264: C:\DVD\tools\AutoMKV086\exe\encoder\x264.exe --pass 1 --crf 18 --stats "C:\DVD\encode\automkv\temp\.stats" --progress --keyint 300 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --direct auto --vbv-maxrate 14000 --me umh --no-ssim --level 4.1 --no-cabac --weightb --b-rdo --bime --analyse p8x8,b8x8,i4x4 --threads 3 --output "C:\DVD\encode\automkv\temp\resmovie.mp4" "C:\DVD\encode\automkv\temp\resmovie.avs"
19:47:21 Tested total movie: 2%
19:47:21 AutoResize movie size: 0 bytes
19:47:21 Movie Width suggested: 0 value based on sample size (-1.#J% of original width)
19:47:21 Warning !!! - Too low resolution. Set witdh to 0
19:47:22 Starting X264
19:47:22 Command Line 1' Pass X264: C:\DVD\tools\AutoMKV086\exe\encoder\x264.exe --pass 1 --bitrate 1466538 --stats "C:\DVD\encode\automkv\temp\.stats" --ref 1 --no-b-adapt --progress --keyint 300 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --filter 0,0 --subme 1 --direct auto --vbv-maxrate 14000 --me dia --no-ssim --level 4.1 --no-cabac --analyse none --threads 3 --output NUL "C:\DVD\encode\automkv\temp\movie.avs"
19:47:22 Command Line 2' Pass X264: C:\DVD\tools\AutoMKV086\exe\encoder\x264.exe --pass 2 --bitrate 1466538 --stats "C:\DVD\encode\automkv\temp\.stats" --progress --keyint 300 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --ref 1 --filter 0,0 --direct auto --vbv-maxrate 14000 --me umh --no-ssim --level 4.1 --no-cabac --weightb --b-rdo --bime --analyse p8x8,b8x8,i4x4 --threads 3 --output "C:\DVD\encode\automkv\temp\movie.mp4" "C:\DVD\encode\automkv\temp\movie.avs"
19:47:25 Finished 1' Pass X264
19:47:30 BREAK ! FILE NOT SUPPORTED ! LAST TRY WITH FFMPEG!
19:47:30 Switched to FFmpeg for Video Encoding!
19:47:30 FFmpeg.exe String: "C:\DVD\tools\AutoMKV086\exe\BeSweet\ffmpeg.exe" -i "C:\DVD\encode\D2VAVS\V01000100001002.AVS" -vcodec h264 -bf 3 -b 1466537984 -s x -an -partitions all -deblockalpha -2 -deblockbeta -1 -directpred 2 -refs 6 -threads 0 -flags2 -brdo -wpred -bpyramid -mixed_refs -dct8x8 -pass 1 -r 25.00000 "C:\DVD\encode\automkv\temp\movie.mp4"
19:47:30 FFmpeg.exe String: "C:\DVD\tools\AutoMKV086\exe\BeSweet\ffmpeg.exe" -i "C:\DVD\encode\D2VAVS\V01000100001002.AVS" -vcodec h264 -bf 3 -b 1466537984 -s x -an -partitions all -deblockalpha -2 -deblockbeta -1 -directpred 2 -refs 6 -threads 0 -flags2 -brdo -wpred -bpyramid -mixed_refs -dct8x8 -pass 2 -r 25.00000 "C:\DVD\encode\automkv\temp\movie.mp4"
19:47:32 Fished FFmpeg Encoding!
19:47:32 "C:\DVD\tools\AutoMKV086\exe\matroska\NicMP4Box.exe" -normal-mode -add "C:\DVD\encode\automkv\temp\movie.mp4":par=-1.#IND00 -fps 25.00000 "C:\DVD\encode\automkv\temp\V01000100001002_full.mp4"
19:47:32 Final Muxed size: -1 bytes
19:47:32 Encoding finished: 00:00:07 elapsed time
19:47:32 -----------------------------------------------------------------------
19:47:32 Script AutoCrop.log
19:47:32 -----------------------------------------------------------------------
19:47:32 Script Resmovie.avs
19:47:32
19:47:32 movie = Import("C:\DVD\encode\D2VAVS\V01000100001002.AVS")
19:47:32 function Comptest(clip c, float percent)
19:47:32 {
19:47:32 frange=floor(14./(percent/100.))
19:47:32 Return SelectRangeEvery(c, frange, 14)
19:47:32 }
19:47:32 Comptest(last,2)
19:47:32 -----------------------------------------------------------------------
19:47:32 Script movie.avs
19:47:32
19:47:32 Import("C:\DVD\encode\D2VAVS\V01000100001002.AVS")
19:47:32 return last
19:47:32 -----------------------------------------------------------------------
19:47:32 Script mkvmaudio.avs
19:47:32 -----------------------------------------------------------------------
19:47:32 Script mkvmaudio.bat
19:47:32 -----------------------------------------------------------------------
19:47:32 Script mkvmaudio2.avs
19:47:32 -----------------------------------------------------------------------
19:47:32 Script mkvmaudio2.bat
19:47:32
19:47:32 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
6th July 2007, 08:01
on avs input automkv will not do many check...

you are right the converttoyv12 is needed

BHH

survivant
6th July 2007, 13:55
could it be possible (or make sense) to separate the input movie in smaller part (using avs script) to apply differents filters or bitrate on each part ?

my point in this. Suppose you have few sceens that have lot of actions, it could use higher bitrate specially for this sceens.

I dont know much about autodetect motion or autodetect which filter should be the better for the movie, but if there is somehitng like that, that can analyse a movie part, and suggest the best filter.. that could be usefull

DIEGO7-5
6th July 2007, 16:13
@survivant:

Its already there. You can choose "QmTrim" which is based on motion vector analysis and kinda slow, or "HG AVS Optimizer" which is based on frame size. All you have to do is choose a profile based on your source material.

buzzqw
6th July 2007, 16:36
you are correct DIEGO7-5

and finally i found the cause of the slowdown of build past 0.72...
wait for a boost of speed in next update (up to 10%)

BHH

buzzqw
6th July 2007, 19:09
beta update! 0.86e
take your old build if you haven't problem or.. take the edge with this build (that will be the base for 0.87)

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

ADDED: FFmpeg command line added to Log
FIXED: "Don't Care about Size" will change width only if with is "Automatic"
FIXED: When input is ifo AutoMKV will try to demux audio even if not requested
FIXED: When changing audio codec the downmixing will not change. It will be set to Stereo for Lame
FIXED: Deinterlace test results now is always reported
FIXED: When working with interlaced source, ColorMatrix is used in interlaced mode
FIXED: Readded Deinterlace Status Analysis Window(beta)
FIXED: ChapterXtractor should work on long path
FIXED: FFDshow will remain invoked even if script is closed (2 fixed... more needed)
FIXED: Computing movie parameters is now hidden
FIXED: ColorMatrix slowdown, moved as last parameter. This little move will gain up to 15% of speed encoding
FIXED: Removed -fps from xvid_encraw command line. Even if value passed was correct

BHH

TheRyuu
6th July 2007, 21:22
beta update! 0.86e
take your old build if you haven't problem or.. take the edge with this build (that will be the base for 0.87)

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

ADDED: FFmpeg command line added to Log
FIXED: "Don't Care about Size" will change width only if with is "Automatic"
FIXED: When input is ifo AutoMKV will try to demux audio even if not requested
FIXED: When changing audio codec the downmixing will not change. It will be set to Stereo for Lame
FIXED: Deinterlace test results now is always reported
FIXED: When working with interlaced source, ColorMatrix is used in interlaced mode
FIXED: Readded Deinterlace Status Analysis Window(beta)
FIXED: ChapterXtractor should work on long path
FIXED: FFDshow will remain invoked even if script is closed (2 fixed... more needed)
FIXED: Computing movie parameters is now hidden
FIXED: ColorMatrix slowdown, moved as last parameter. This little move will gain up to 15% of speed encoding
FIXED: Removed -fps from xvid_encraw command line. Even if value passed was correct

BHH

If colormatrix is the last parameter, then the source would have been already deinterlaced right?

So this:
FIXED: ColorMatrix slowdown, moved as last parameter. This little move will gain up to 15% of speed encoding
and this:
FIXED: When working with interlaced source, ColorMatrix is used in interlaced mode
Kind of contradict each other. Unless it works this out somehow.

Just curious :)
Also, colormatrix is only used when it's an ifo/dvd source right? Since I've seen encodes with and without colormatrix based on the source (I think).

Also (again :p), the last full build (.86) you forgot to update x264. I think your still using Sharktooths rev. 635 from May (not that really anything I can see really changes though).

Thanks.

~bT~
6th July 2007, 21:55
^ i was just about to ask exactly the same after reading the updates. :)

buzzqw
6th July 2007, 22:38
ops.. yes.. i have some misurestud...

anyway colormatrix is used as last, and so no interlace=true is applyed... BUT if in deinterlace is set leave interlaced then interlaced=true is applyed

Also, colormatrix is only used when it's an ifo/dvd source right?

is used whenever in d2v file is reported a color different from rec 601

I think your still using Sharktooths rev. 635
in next full update i have already added the 663 CEF build

thanks!

BHH

TheRyuu
7th July 2007, 00:20
BTW, I can build xvid from the cvs source if you want. :p
Then you'll know you've gotten the newest xvidcore.dll :p (don't do that :), see below)

On second though, stick with celtic-druid's MTK build. :p
I think I read somewhere that celtic-druid's MTK builds might be faster then the GCC builds. I think I better just leave it with the experts. (I think he uses ICL9, Intel Compiler)

For the hell of it, I'll have to run some speed tests between mine (GCC) and the MTK builds.

Also, I found a newer version of xvid_encraw (built using the latest source from the xvid CVS, update Jan 2007). It was on some xvid page, can't find the link anymore, but luckily I downloaded it. You can get it here. (http://files.filefront.com/xvid+encraw7z/;7983321;;/fileinfo.html)

Really seem into the :p face right now.

survivant
7th July 2007, 01:55
first test with HGAVS and I got an error

VirtualDub Error

can't open file : "c:\dvd\encore\temp\hgmovie.avs"


the file is 0 bytes.

here the log in the command prompt

C:\DVD\encode\automkv\temp>"C:\DVD\tools\AutoMKV086\exe\encoder\HGAVSOptimizer.e
xe" "C:\DVD\encode\automkv\temp\par.txt" "C:\DVD\encode\automkv\temp\hgmovie.avs
" "C:\DVD\encode\automkv\temp\hgavsmovie.avs"
HGAVSOptimizer 0.2 (13-05-2006) - Released under the GPL license
Author: Genovese Dario (AKA HellGauss)


VDM:
C:\DVD\tools\AUTOMK~1\exe\matroska\VIRTUA~1\VIRTUA~1.EXE /c /log"C:\DVD\encode\a
utomkv\temp\output.log" /nowrite /sTemp\job1.tmp /x

survivant
7th July 2007, 02:03
I try QMTrim.. I got en error.. again.. but this time.. Critical Error.. something like that.. I had the click 3-4 times on OK.. to close the window.. and after that all the setting in automkv are wrong. The size in empty, the audio in now ogg, the resize is active, the name of the movie is now movie.

I think these settings are ajusted by automkv and they are shown because of the previous error.

buzzqw
7th July 2007, 08:28
@wizboy11

the svn build miss the hvs patch and have also have the bug that framerate is always 25fps (if not specified)

@survivant

here is all ok.. please post/mail the logs

BHH