View Full Version : AutoMKV 0.95c - (DVD/TS/AVI/AVS to X264/XviD/WVC1 into MKV/MP4/WMV) update 12/02/2008
buzzqw
5th February 2008, 12:26
Welcome to AutoMKV, an application aiming to easy conversion between mpeg and new video formats
Please use a MIRROR
stable NEW package WITH DVDDecrypter http://www.64k.it/andres/data/a/AutoMKV095.rar (15.5mb, all inclusive, NO install)
stable NEW package WITHOUT DVDDecrypter http://www.64k.it/andres/data/a/AutoMKV095_NORIP.rar (14.8mb, NO install)
LATEST UPDATE: http://www.64k.it/andres/data/a/AutoMKV095c.exe
Main MIRROR AutoMKV095_RIP.rar (http://www.mediafire.com/?5oec2kefwtd)
Easy Installer for Newby! (with ffdshow,avisynth,xvid,...) http://www.mediafire.com/?2i25n1j1lj3
Wiki Manual http://automkv.wiki-site.com/index.php/Main_Page
Anybody that want to share knowledge feel free to update the Wiki
Newby Guide by Tirade! http://www.kayakingcoach.com/GUIDE.htm
HOW to update: download full package, then replace automkv.exe with latest version
http://img375.imageshack.us/img375/5227/automkv087clz7.png
BIG WARNING (i.e. DEPENDENCIES)
Compulsory:
A recent build of AviSynth 2.5.7 http://downloads.sourceforge.net/avisynth2/Avisynth_257.exe?modtime=1168199840&big_mirror=0
The XviD Koepi Build http://www.free-codecs.com/Koepi_XviD_download.htm , is needed for the YV12 Decoder!
FFdshow as decoder http://downloads.sourceforge.net/ffdshow-tryout/ffdshow_beta4a_rev1723_20071224_clsid.exe?modtime=1198511934&big_mirror=0
Haali Media Spitter (for MKV input) http://haali.cs.msu.ru/mkv/MatroskaSplitter.exe
Optional:
For use NERO AAC you must put your copy of NeroAacEnc.exe (grab it here http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html) into \exe\besweet folder
For WarpSharp plugin read this: http://forum.doom9.org/showthread.php?t=124585 mirror here (http://www.64k.it/andres/data/m/msvcr7071msvcp7071.rar)
If you have any problem with playback (or render issue) download and install Combined Community Codec Pack (http://www.cccp-project.net/download.php?type=cccp)
For WVC1 support is needed WMEncoder (9 serie's) + Windows Media Player 11
Please refer to the wiki for trouble on WMV installation http://automkv.wiki-site.com/index.php/Installation#WVC1
Read here for successive problem with WMV http://forum.doom9.org/showthread.php?p=911873
you can also test your wmv encoder with this software http://forum.doom9.org/showthread.php?t=128182
If you like to donate feel free to click the paypal button on AutoMKV or click here (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=azanzani%40gmail%2ecom&item_name=Donate%20to%20AutoMKV%20%21%20Thanks%20for%20your%20Support%20%21%21%21&no_shipping=1&return=http%3a%2f%2fwww%2e64k%2eit%2fandres%2fdata%2fa%2fThanks%2ehtm&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8)
buzzqw
5th February 2008, 12:27
here the changelog to 0.95
0.95 05/02/2007 Full Package
ADDED: Movie name is now based on folder name (in case of ifo input) (suggestion by AMED)
ADDED: Possibility to specify only the crop values and not the width and height (suggestion by Honeyko)
ADDED: "Don't Mux But Save Temp Folder" checking this option will force AutoMKV to rename temp folder (based on movie name) and to not mux
ADDED: In case of MP4 container and AC3 Audio now AutoMKV will not quit. It will prompt a message about not able to mux and will move the temp folder
ADDED: Now FFmpeg Encoding take account of Manual Crop&Resize and Manual Crop and Specify Bitrate. In this way AutoMKV can be instructed to do near all FFmpeg Encoding
ADDED: Colored crop value. Green = OK, Red = Wrong
ADDED: Colored Manual Width and Height Value, Green = OK, Blu = not so well , Red = Wrong
ADDED: Option to add "--engage keep_bitstream_ar_info" to muxing command line
ADDED: Tips! If you don't want tips just delete the file tips.txt
ADDED: Support for M2TS container using excellent tsMuxeR. I suggest to use PS3_XboX360 profile (have nal-hrd/aud enabled)
FIXED: When reopening CQ TUNE the previus values where rounded up (thanks to Honeyko)
FIXED: On d2v input, when checking Manual Crop and Resize will show correct value on Width and Height
FIXED: When encoding is running is no more possible to add job in queue
FIXED: Now Value of Crop and Width/height are greyed till user click on "Use Manual Crop/Resize" or "Manual Crop" (suggestion by Honeyko)
FIXED: Now when pressing Start Queue, the button "Start Queue" will be disabled (suggestion by Honeyko)
FIXED: In case of triggered ffmpeg encoding (avi/xvid) now AutoMKV wil correctly mux the final file (thanks to Honeyko)
FIXED: Now AutoMKV wil rename automatically "movie name" contain illegal character like|!<>"?\/.
FIXED: Even on Avi muxing AutoMKV will check for already existing file destination. In this case will create a muxed file starting with numbers_movie name.avi (thanks to Honeyko)
FIXED: On Avi muxing the original audio is no more muxed (thanks to ryc0203)
FIXED: Manual Crop and Resize will disable Width on load settings (thanks to Honeyko)
FIXED: Force Mux Height and Width are remebered on qeque
FIXED: Quality Encoding will now trigger on ffmpeg encoding a quality encoding too
FIXED: Removed some pop up windows
FIXED: Usage of ITU and Anamorphic encoding (a BIG thanks to Valnar AND SeeMoreDigital)
FIXED: Anamorphic on muxing (thanks to Zacoz)
FIXED: Some issues using FFmpegSource
FIXED: Some issues using PreProcess to LossLess
FIXED: Reduced the number of "triggering" list. Now clicking on audio, video profile, container, codec AND not changing the value will not trigger AutoMKV routines
FIXED: DSS x A/V will force AutoMKV to use DirectShowSource for encoding both audio and video
FIXED: DSS x Audio will force AutoMKV to use DirectShowSource for encoding only audio (before will trigger even video)
FIXED: Whenever "Manual Resize / Crop" is checked, AutoMKV will determine if there is already a setting for Resize Filter other than NONE. If it is NONE, then it will be changed to SimpleResize(neutral soft). (suggestion by Honeyko)
FIXED: When checking "Specify Quality" the encoding status window will now display the selected CQ/CRF value (thanks to Honeyko)
FIXED: When checking Manual Crop&Resize the value of width specifyed in profile are ignored
FIXED: Deinterlacer Analysis is now minimized
FIXED: Some Layout in GUI, most cosmetic
FIXED: Some layout on log
UPDATE: FFmpegSource 1.14, ColorMatrix 2.3, TIVTC 1.0.5, FFmpeg r11562,Mp4Box 11/01/2008, X264 rev 736 (AQ 0.48, 2pass vbv, aud/nal-hrd) PS3_41.xml profile renamed to PS3_XBOX360.xml and lowred the qpmin to 5, Xbox.xml profile, oggenc2.84-aoTuVb5-generic.zip
UPDATE: Italian translation
DELETE: Some duplicate x264 profile (heritage of compatibility with Megui)
CHANGED: When selecting "Don't care about size" AutoMKV will not do anything, just on status bar "Don't use Automatic Width. It's a waste of time with Unlimited File Size."
CHANGED: On Zune profile all audio is now WMAPRO.
CHANGED: How AutoMKV will compute Height. Now the calculus are very precise and corrected to AR (i hope...)
CHANGED: AutoMKV can now handle delay audio in several ways. The default is to use DelayAudio in Soundout (as MeGeui) (AutoMKV will silently switch to Fix in Mux if audio is "copy original") (a precius suggestion by valnar). Or can Use DelayCut or can fix the delay in mux (as AutoGK)
CHANGED: In case of broken audio encoding AutoMKV will not try to use SoundOut but will pipe from ffmpeg to audio encoder. Due to inability of many encoders and bugs of FFmpeg.exe, AutoMKV will trigger a directly encoding made by FFmpeg
thanks to all testers!
BHH
Honeyko
5th February 2008, 12:39
Yeah! New Thread!
(Flops on the rug in front of the fireplace like a big hound-dog.)
==//==
Suggestion: Lose the included DVDdecrypter. That app is old and discontinued; and anybody who's made there way here likely already has it and several competitors anyway. Just a link to an existing mirror will save your site DL bandwidth.
buzzqw
5th February 2008, 12:43
if i remove dvddecrypter i remove the direct dvd encoding... not a good idea (for many users)
BHH
Honeyko
5th February 2008, 12:52
Suggestion: It's high time for a big, fat list of what every profile, resize filter and custom matrix does. (Half of them weirdly-named things I can't find with a Google search, and of those I do, too many point to 3yo threads.)
ryc0203
5th February 2008, 13:06
Hi
I have a .rmvd movie, container realplayer video h.264 sound aac.
how i can input this in Automkv for avi (sap) oupot
:thanks:
buzzqw
5th February 2008, 13:07
do you propose yourself ? :D
yep.. i know.. but it's a very big job...
(or i code bugs.. or do documentation... or get a life...)
EDIT:@ryc0203
try checking in advanced settings "DSS for A/V"
BHH
zacoz
5th February 2008, 13:11
Thanks buzzqw :) Nice with the tips :cool:
Unfortunately I seem to have found a bug when using ChangeFPS.
I'm using a 50 fps HDTV source (720 x 576 PAL) demuxed into m2v & ac3. With 0.93a I select "ChangeFPS" and "25,1" on the Advanced Profiles Editing tab, and all it good - 25fps output.
With 0.95 I get an autoMKV with video running at 50fps and audio playing at equivalent of 25fps.
Checking the logs and it seems to be related to the muxing command generated:
AutoMKV 0.93a
20:34:54 "E:\AutoMKV\exe\matroska\mkvmerge.exe" -o "D:\Capture\temp\test93a.mkv" --track-name -1:"test93a" --aspect-ratio 1:1.805437 "D:\Capture\temp\movie.mp4" --language -1:und --default-track -1:yes "D:\Capture\temp\audio.mp4" --title "Done with AutoMKV 0.93a http://forum.doom9.org/showthread.php?p=854221 "
AutoMKV 0.95
21:51:06 "E:\AutoMKV\exe\matroska\mkvmerge.exe" -o "D:\Capture\temp\test95.mkv" --default-duration 0:50000/1000fps --engage keep_bitstream_ar_info --track-name -1:"test95" --aspect-ratio -1:1.792801 "D:\Capture\temp\movie.264" --language -1:und --default-track -1:yes "D:\Capture\temp\SBS HD 2008-02-04_193050.mp4" --title "Done with AutoMKV 0.95 http://forum.doom9.org/showthread.php?p=854221 "
When i changed --default-duration 0:50000/1000fps to --default-duration 0:25000/1000fps the audio and video were back in sync at 25fps.
21:40:19 0.95 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
21:40:19 OS Version: Windows XP
21:40:19 Selected Input file: D:\Capture\SBS HD 2008-02-04_193050.m2v
21:40:19 Selected Output dir: D:\Capture\temp\
21:40:19 Selected Final Name: test95
21:40:19 Selected Container type: MKV
21:40:19 Selected Encoder: X264
21:40:19 Selected Size: Unlimited File Size
21:40:19 Selected Profile: Constant_Quality.xml
21:40:19 Selected Resizer: SimpleResize (neutral soft) / AutoCrop Only
21:40:19 Selected Filters: NONE
21:40:19 Selected Deinterlacer: AUTO
21:40:19 Selected Field Order: AUTO
21:40:19 Enabled Constant Quality With Unlimited Size (Q 22)
21:40:19 Track Language 1: D:\Capture\SBS HD 2008-02-04_193050.mp2
21:40:19 Audio Codec 1: Nero AAC
21:40:19 Audio Quality 1: 0.35
21:40:19 Audio Channel 1: Stereo
21:40:19 Track Language 2: NONE
21:40:19 Audio Codec 2: Nero AAC
21:40:19 Advanced Audio Settings DUMP Track 1
21:40:19 Nero Option Profiles: AUTO --- Encoding Mode: Quality
21:40:19 CCT Option Profiles: AUTO --- Channel Options: AUTO
21:40:19 Lame Settings: ABR
21:40:19 Audio Normalization: 1
21:40:19 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
21:40:19 Activate Anamorphic Encoding
21:40:19 Activate Last line AVS Script: trim(0,5000)
21:40:19 Selected Unlimited media size
21:40:19 Dgindex CMD: E:\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -YR=2 -AIF=[D:\Capture\SBS HD 2008-02-04_193050.m2v] -OF=[D:\Capture\temp\movie] -exit -minimize
21:40:47 Encoding D:\Capture\temp\SBS HD 2008-02-04_193050.mp2 to NeroAAC with 0.35 quality
21:42:24 Encoded 1' Audio Track: SBS HD 2008-02-04_193050.mp4 16951136 bytes
21:42:27 Number of Frames: 61953
21:42:27 Framerate: 50.000000
21:42:27 Movie length in Seconds: 1240
21:42:27 Movie Width/Height: 720/576
21:42:27 DgIndex AR: 16:9
21:43:58 Source is declared bff by a margin of 19/6.
21:43:58 Advanced Deinterlace Routines Log
21:43:58 Analyzed 169 sections of five frames
21:43:58 Found Interlace Sections: 0 0.00%
21:43:58 Found Progressive Sections:169 100.00%
21:43:58 Found Telecined Sections: 0 0.00%
21:43:58 Found Zero Mov: 100.00% 169
21:43:58 Found One Mov: 0.00% 0
21:43:58 Found Two Mov: 0.00% 0
21:43:58 Found Three Mov: 0.00% 0
21:43:58 Found Four Mov: 0.00% 0
21:43:58 Found Five Mov: 0.00% 0
21:43:58 The Movie is declared to progressive
21:43:58 Starting X264
21:43:58 CRF encoding X264: E:\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 22 --stats "D:\Capture\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --sar 14422535:10000000 --output "D:\Capture\temp\movie.264" "D:\Capture\temp\movie.avs"
21:51:05 X264 Final CRF Encoding Stats:
x264 [info]: using SAR=45070/31250
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
x264 [info]: slice I:76 Avg QP:18.68 size: 38869
x264 [info]: slice P:2397 Avg QP:20.60 size: 14717
x264 [info]: slice B:2528 Avg QP:22.34 size: 4251
x264 [info]: mb I I16..4: 15.4% 28.1% 56.5%
x264 [info]: mb P I16..4: 9.0% 17.7% 6.5% P16..4: 31.5% 16.3% 6.7% 1.3% 0.8% skip:10.2%
21:51:05 Accepted values are between 697303040 and 741343232 bytes (movie+audio)
21:51:05 Got a file of size: 48980252 bytes + audio size 16951136 bytes (65931388)
21:51:05 Only Movie Size: 48980252 bytes
21:51:06 "E:\AutoMKV\exe\matroska\mkvmerge.exe" -o "D:\Capture\temp\test95.mkv" --default-duration 0:50000/1000fps --engage keep_bitstream_ar_info --track-name -1:"test95" --aspect-ratio -1:1.792801 "D:\Capture\temp\movie.264" --language -1:und --default-track -1:yes "D:\Capture\temp\SBS HD 2008-02-04_193050.mp4" --title "Done with AutoMKV 0.95 http://forum.doom9.org/showthread.php?p=854221 "
21:51:09 Final Muxed size: 65924172 bytes
21:51:09 Encoding finished: 00:07:11 elapsed time
21:51:09 -----------------------------------------------------------------------
21:51:09 Script AutoCrop.log
21:51:09
21:51:09 Crop(2,2,716,568)
21:51:09 -----------------------------------------------------------------------
21:51:09 Script movie.avs
21:51:09
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\AddGrain.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\autocrop.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\aWarpSharp(Pruned).dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\blockbuster.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\cnr2.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\ColorMatrix.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\Convolution3D.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\corrector.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\DctFilter.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\Decomb.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\Deen.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\degrainmedian.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\DGDecode.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\EEDI2.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\FFMpegSource.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\FFT3DFilter.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\FluxSmooth.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\frfun7.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\hqdn3d.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\LeakKernelDeint.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\MaskTools.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\medianblur.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\MipSmooth.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\MSharpen.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\mt_masktools.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\mvtools.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\NicAudio.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\RemoveGrainS.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\RepairS.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\SangNom.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\SimpleResize.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\SoundOut.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\TBilateral.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\TDeint.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\TIVTC.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\TomsMoComp.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\TTempSmooth.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\UnDot.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\UnFilter.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\VSFilter.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\warpsharp.dll")
21:51:09 #loadpluginstart
21:51:09
21:51:09 #test1
21:51:09
21:51:09 Import("E:\AutoMKV\exe\filter\BlindDeHalo3_mt2.avsi")
21:51:09 Import("E:\AutoMKV\exe\filter\Deblock_QED_MT2.avsi")
21:51:09 Import("E:\AutoMKV\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
21:51:09 Import("E:\AutoMKV\exe\filter\HybridFuPP.avsi")
21:51:09 Import("E:\AutoMKV\exe\filter\LanczosPlus.avsi")
21:51:09 Import("E:\AutoMKV\exe\filter\Lem.avsi")
21:51:09 Import("E:\AutoMKV\exe\filter\LimitedSharpenFaster.avsi")
21:51:09 Import("E:\AutoMKV\exe\filter\MCBob_v03c.avsi")
21:51:09 Import("E:\AutoMKV\exe\filter\mvbob.avsi")
21:51:09 Import("E:\AutoMKV\exe\filter\QMlib.avsi")
21:51:09 Import("E:\AutoMKV\exe\filter\seesaw.avsi")
21:51:09 Import("E:\AutoMKV\exe\filter\spresso.avsi")
21:51:09 #importstart
21:51:09
21:51:09 #test2
21:51:09
21:51:09 movie = mpeg2source("D:\Capture\temp\movie.d2v")
21:51:09 function getOrder(clip c) {
21:51:09 order = GetParity(c) ? 1 : 0
21:51:09 Return order }
21:51:09 #filter1start
21:51:09
21:51:09 #test3
21:51:09
21:51:09 last=movie.Crop(2,2,716,568)
21:51:09 fixed_aspect = 1.260563
21:51:09 out_width = 716
21:51:09 out_height = 576
21:51:09 #resizestart
21:51:09
21:51:09 #test4
21:51:09
21:51:09 SimpleResize(out_width,out_height)
21:51:09 #filter2start
21:51:09
21:51:09 #test5
21:51:09
21:51:09 ChangeFPS(25,1)
21:51:09 trim(0,5000)
21:51:09 -----------------------------------------------------------------------
21:51:09 Script mkvmaudio.avs
21:51:09
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\NicAudio.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\SoundOut.dll")
21:51:09 LoadPlugin("E:\AutoMKV\exe\filter\FFmpegSource.dll")
21:51:09 NicMPG123Source("D:\Capture\temp\SBS HD 2008-02-04_193050.mp2")
21:51:09 #Applying STEREO downmixing routines
21:51:09 function stereo(clip a)
21:51:09 {
21:51:09 flr = GetChannel(a, 1, 2)
21:51:09 fcc = GetChannel(a, 3)
21:51:09 lfe = GetChannel(a, 4)
21:51:09 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
21:51:09 mix = MergeChannels(lfc, lfc)
21:51:09 lrc = MixAudio(flr, mix, 0.2929, 1.0)
21:51:09 blr = GetChannel(a, 5, 6)
21:51:09 Return MixAudio(lrc, blr, 1.0, 0.2929)
21:51:09 }
21:51:09 #
21:51:09 6==Audiochannels() ? stereo() : last
21:51:09 function addvideo(clip c) {
21:51:09 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
21:51:09 Return audiodub(last,c)
21:51:09 }
21:51:09 Normalize()
21:51:09
21:51:09 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="E:\AutoMKV\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.35 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
21:51:09
21:51:09 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
Amir
5th February 2008, 13:30
Following on from 0.93a thread...
I know users might want to do other things (in my case i dont). The problem is because even when automkv is doing nothing (i.e. x264.exe is encoding) its using 50% cpu time and the remaining cpu time goes to 264. Manual intervention fixes this put running encoder at slightly higher priority then automkv but still lower than "normal" priority.
Given that automkv does no (cpu based) hard work and the brute encoding happens in external apps, then running automkv in lowest priority and every launched app in slightly higher priority (but still less than "NORMAL") should make no difference to people who want to still use their PC but will fix this bug.
Does that make sense?
edit:
posting here as 0.93a thread is not for new posts allowed.
Also not tried new version but i believe its the same so still posting here.
buzzqw
5th February 2008, 13:34
@zacoz
thanks , fixed!
FIXED: On Muxing the changefps parameter was ignored (thanks to zacoz)
http://www.64k.it/andres/data/a/AutoMKV095a.exe
@Amir
The problem is because even when automkv is doing nothing (i.e. x264.exe is encoding) its using 50% cpu
disable in advanced profile editing the "Show Enc. Stat"
and about priority.. i prefer all at idle, but as usually i am open to motivated suggestion :)
BHH
zacoz
5th February 2008, 14:12
I know users might want to do other things (in my case i dont). The problem is because even when automkv is doing nothing (i.e. x264.exe is encoding) its using 50% cpu time and the remaining cpu time goes to 264.
Strange, I don't think I've ever seen this with any version of AutoMKV I've used. While x264 is running AutoMKV sits at 0-1% CPU. It might increase slightly during transition stages (i.e. audio encoding finishes then starts video encoding) but then drops back down. If I'm not using anything else then x264 will run at 98-99% and this is on a dual core system (same as on my old single core).
Amir
5th February 2008, 16:45
Strange, I don't think I've ever seen this with any version of AutoMKV I've used. While x264 is running AutoMKV sits at 0-1% CPU. It might increase slightly during transition stages (i.e. audio encoding finishes then starts video encoding) but then drops back down. If I'm not using anything else then x264 will run at 98-99% and this is on a dual core system (same as on my old single core).
I think the post above hits the nail on the head. What I can say is when its happening the updates to the stats windows appear to be "flickering" almost like there is not enough CPU cycles available to update the window. I'm going to try the above and see if it helps. Unsure why no one else seems to have the problem.
ryc0203
5th February 2008, 17:20
@buzzqw
i got an error in directshowsource
may be for
movie = directshowsource("C:\t\p-sw04.rmvb",fps=25,000000,convertfps=true,audio=false)
fps should be "fps=25.000000" and not "fps=25,000000"
it is afected for windows regional configuration?
in spanish decimal point is "," not "."
buzzqw
5th February 2008, 17:29
maybe it's the windows regional configuration
could you try setting "." as decimal separator ?
BHH
sumpm1
5th February 2008, 19:46
@buzzqw: I was wondering if your program supports batch. Converting a bunch of avi at a set width resolution. Nice program.
Edit: Oops just read about the batch and resolution features at the wiki ); very nice
Ajax_Undone
5th February 2008, 21:40
The Installers have been updated...\/\/\/ Check em out...
Any problems or errors PM me and I will correct them and update the installers.... Have fun...
Honeyko
5th February 2008, 23:19
Strange, I don't think I've ever seen this with any version of AutoMKV I've used. While x264 is running AutoMKV sits at 0-1% CPU. It might increase slightly during transition stages (i.e. audio encoding finishes then starts video encoding) but then drops back down. If I'm not using anything else then x264 will run at 98-99% and this is on a dual core system (same as on my old single core).
I have a couple times, always associated with some component crashing, and that component's CPU load then "magically" transfering to AutoMKV in the Task Manager.
Honeyko
6th February 2008, 00:32
Suggestion: change the name of this thread to conform to M/D/Y dating instead of D/M/Y.
(I was looking at that going "May 2, '08....huh?")
Dante.Xaiver
6th February 2008, 00:44
i posted with this problem a few months ago but now i have a new computer downloaded the latest mkv release but when i try to encode to any container it says no crf found please download latest build of x264 i do that but still it says the same thing
im really getting frustrated with not being able to use automkv i was using it before the latest release and it used to work fine . with the previous release :confused:
Honeyko
6th February 2008, 01:22
ANNOYANCE:
Note the difference between b21 and 95a:
The first ecode is XviD CRF/CQ 2.75, the second drops CQ to 2.5 -- but the line doesn't show up in the job-list it the previously place. It eventually appears, but not until the encoding job starts...which amounts to an annoying wait until after DGindex is finished.
17:49:13 0.95 beta 21 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
17:49:13 OS Version: Windows XP
17:49:13 Selected Input file: Z:\Bandit\VIDEO_TS\VTS_01_1.VOB
17:49:13 Selected Output dir: Z:\Bandit\temp\
17:49:13 Selected Final Name: VTS_01_1
17:49:13 Selected Container type: AVI
17:49:13 Selected Encoder: XviD
17:49:13 Selected Size: Unlimited File Size
17:49:13 Selected Profile: Constant_Quality.xml
17:49:13 Selected Resizer: SimpleResize (neutral soft) / Automatic
17:49:13 Selected Filters: LEM(ff="""HQDN3D(3)""",flem="""Removegrain(mode=2)""")
17:49:13 Selected Deinterlacer: Film
17:49:13 Selected Field Order: AUTO
17:49:13 Specify Quality: 100
17:49:13 Manual Crop: Enabled
17:49:13 Left Crop: 0
17:49:13 Top Crop: 58
17:49:13 Right Crop: 0
17:49:13 Botton Crop: 60
17:49:13 Manual Width: 720
17:49:13 Manual Height: 368
17:49:13 Enabled CRF/CQ AutoRes at 2.75 value
17:49:13 Using Matrix: Didees SixOfNine-HVS.cqm
17:49:13 Track Language 1: NONE
17:49:13 Audio Codec 1: Copy Original
17:49:13 Track Language 2: NONE
17:49:13 Audio Codec 2: Lame
17:49:13 Selected Unlimited media size
17:49:13 Dgindex CMD: C:\Can be kept empty\AutoMKV093\exe\dgindex\dgindex.exe -FO=0 -OM=0 -YR=2 -AIF=[Z:\Bandit\VIDEO_TS\VTS_01_1.VOB] -OF=[Z:\Bandit\temp\movie] -exit -minimize
18:02:23 D2V file size: 821439
18:02:23 D2V Film Detected: 99.900002% FILM found
18:02:32 Number of Frames: 196927
18:02:32 Framerate: 29.970030
18:02:32 Movie length in Seconds: 6571
18:02:32 Movie Width/Height: 720/480
18:02:32 DgIndex AR: 16:9
18:02:32 CQ encoding XviD: C:\Can be kept empty\AutoMKV093\exe\encoder\xvid_encraw.exe -cq 2.75 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 100 -bquant_offset 0 -nopacked -nochromame -bvhq -threads 0 -qmatrix "C:\Can be kept empty\AutoMKV093\profiles\XviD-profiles\matrix\Didees SixOfNine-HVS.cqm" -i "Z:\Bandit\temp\movie.avs" -type 2 -avi "Z:\Bandit\temp\movie.avi"
...and...
18:12:04 0.95a - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
18:12:04 OS Version: Windows XP
18:12:04 Selected Input file: Z:\Bandit\VIDEO_TS\VTS_01_1.VOB
18:12:04 Selected Output dir: Z:\Bandit\temp\
18:12:04 Selected Final Name: VTS_01_1
18:12:05 Selected Container type: AVI
18:12:05 Selected Encoder: XviD
18:12:05 Selected Size: Unlimited File Size
18:12:05 Selected Profile: Constant_Quality.xml
18:12:05 Selected Resizer: SimpleResize (neutral soft) / Original
18:12:05 Selected Filters: LEM(ff="""HQDN3D(3)""",flem="""Removegrain(mode=2)""")
18:12:05 Selected Deinterlacer: Film
18:12:06 Selected Field Order: AUTO
18:12:06 Specify Quality: 100
18:12:06 Manual Crop: Enabled
18:12:06 Left Crop: 0
18:12:06 Top Crop: 58
18:12:06 Right Crop: 0
18:12:06 Botton Crop: 60
18:12:07 Manual Width: 720
18:12:07 Manual Height: 368
18:12:07 Activate PGC Ripping: 1
18:12:07 Using Matrix: Didees SixOfNine-HVS.cqm
18:12:07 Track Language 1: NONE
18:12:07 Audio Codec 1: Lame
18:12:07 Track Language 2: NONE
18:12:08 Audio Codec 2: Lame
18:12:08 Selected Unlimited media size
18:12:09 Dgindex CMD: C:\Can be kept empty\AutoMKV095_NORIP\exe\dgindex\dgindex.exe -FO=0 -OM=0 -YR=2 -AIF=[Z:\Bandit\VIDEO_TS\VTS_01_1.VOB] -OF=[Z:\Bandit\temp\movie] -exit -minimize
18:24:27 D2V file size: 821439
18:24:27 D2V Film Detected: 99.900002% FILM found
18:24:31 Number of Frames: 196927
18:24:31 Framerate: 29.970030
18:24:31 Movie length in Seconds: 6571
18:24:31 Movie Width/Height: 720/480
18:24:31 DgIndex AR: 16:9
18:24:31 CQ encoding XviD: C:\Can be kept empty\AutoMKV095_NORIP\exe\encoder\xvid_encraw.exe -cq 2.5 -max_bframes 2 -imax 31 -quality 6 -vhqmode 1 -qtype 0 -pmax 31 -bmax 31 -bquant_ratio 100 -bquant_offset 0 -nopacked -nochromame -bvhq -threads 0 -qmatrix "C:\Can be kept empty\AutoMKV095_NORIP\profiles\XviD-profiles\matrix\Didees SixOfNine-HVS.cqm" -i "Z:\Bandit\temp\movie.avs" -type 2 -avi "Z:\Bandit\temp\movie.avi"
survivant001
6th February 2008, 01:32
@buzzwq
here a little bug
there are 2 --sar in the command line.
--aud --nal-hrd --sar 1:1 --me-prepass --sar 1:1 --output
here the profile in the advanced screen
<?xml version="1.0"?>
<VideoProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>PS3</Name>
<Settings xsi:type="x264Settings">
<EncodingMode>4</EncodingMode>
<BitrateQuantizer>1000</BitrateQuantizer>
<KeyframeInterval>300</KeyframeInterval>
<NbBframes>3</NbBframes>
<MinQuantizer>5</MinQuantizer>
<MaxQuantizer>51</MaxQuantizer>
<Turbo>true</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>1</Trellis>
<CreditsQuantizer>40</CreditsQuantizer>
<Logfile>.stats</Logfile>
<CustomEncoderOptions />
<FourCC>1</FourCC>
<Zones />
<MaxNumberOfPasses>3</MaxNumberOfPasses>
<NoDCTDecimate>false</NoDCTDecimate>
<PSNRCalculation>true</PSNRCalculation>
<noFastPSkip>false</noFastPSkip>
<NoiseReduction>0</NoiseReduction>
<MixedRefs>true</MixedRefs>
<X264Trellis>1</X264Trellis>
<NbRefFrames>3</NbRefFrames>
<AlphaDeblock>0</AlphaDeblock>
<BetaDeblock>0</BetaDeblock>
<SubPelRefinement>6</SubPelRefinement>
<MaxQuantDelta>4</MaxQuantDelta>
<TempQuantBlur>0</TempQuantBlur>
<BframePredictionMode>3</BframePredictionMode>
<VBVBufferSize>9000</VBVBufferSize>
<VBVMaxBitrate>25000</VBVMaxBitrate>
<METype>0</METype>
<MERange>16</MERange>
<MinGOPSize>25</MinGOPSize>
<Profile>1</Profile>
<Level>4.1</Level>
<IPFactor>1.4</IPFactor>
<PBFactor>1.3</PBFactor>
<ChromaQPOffset>0</ChromaQPOffset>
<VBVInitialBuffer>0.9</VBVInitialBuffer>
<BitrateVariance>1.0</BitrateVariance>
<QuantCompression>0.6</QuantCompression>
<TempComplexityBlur>20</TempComplexityBlur>
<TempQuanBlurCC>0.5</TempQuanBlurCC>
<SCDSensitivity>40</SCDSensitivity>
<BframeBias>0</BframeBias>
<Deblock>true</Deblock>
<Cabac>true</Cabac>
<WeightedBPrediction>true</WeightedBPrediction>
<AdaptiveBFrames>true</AdaptiveBFrames>
<BFramePyramid>false</BFramePyramid>
<BRDO>true</BRDO>
<biME>true</biME>
<ChromaME>true</ChromaME>
<P8x8mv>true</P8x8mv>
<B8x8mv>true</B8x8mv>
<I4x4mv>false</I4x4mv>
<I8x8mv>true</I8x8mv>
<P4x4mv>false</P4x4mv>
<AdaptiveDCT>true</AdaptiveDCT>
<Width>false</Width>
<Sar>1:1</Sar>
<aq-strength>false</aq-strength>
<aq-sensitivity>false</aq-sensitivity>
<deadzone-inter>false</deadzone-inter>
<deadzone-intra>false</deadzone-intra>
<fpel-cmp>false</fpel-cmp>
<aud>true</aud>
<nal-hrd>true</nal-hrd>
<pulldown>0</pulldown>
<me-prepass>true</me-prepass>
<SSIMCalculation>true</SSIMCalculation>
<Interlaced>false</Interlaced>
<QuantizerMatrix />
<QuantizerMatrixType>0</QuantizerMatrixType>
</Settings>
</VideoProfile>
Dante.Xaiver
6th February 2008, 06:45
i posted with this problem a few months ago
worked for me once but when i changed computers and re downloaded it the problems started and im on a different computer yet again its been 4 months sinc ei last got it to work for me but now i have a new computer downloaded the latest mkv release but when i try to encode to any container it says no crf found please download latest build of x264 i do that but still it says the same thing
but ya this problem only happens when i hit encode and go through the index process then it hits me
im really getting frustrated with not being able to use automkv i was using it before the latest release and it used to work fine . with the previous release
when it gives me that message the program closes
i really prefer this program for its ease of use and allows you to select ifo files and all subtitles as and more then one audio stream no other program does the job so well
buzzqw
6th February 2008, 09:30
@Dante.Xaiver
:logfile:
@Honeyko
Specify Quality is to use with oll profile BUT constant quality... since Constant Quality is ALREADY a CQ encoding.
Specify Quality will apply to the profile selected the -CQ /-CRF parameter.. so you can use the Insane Slow with a cq/crf encoding
@survivant001
thanks i will look what will trigger it
and ... look on \exe\matroska folder
BHH
zacoz
6th February 2008, 09:34
Suggestion: change the name of this thread to conform to M/D/Y dating instead of D/M/Y.
(I was looking at that going "May 2, '08....huh?")
Thing is that if it was M/D/Y then I'd be looking at it saying "2nd May 2008 ... Huh ?"
According to my Windows regional settings, only 6 out of 115 of the Language/Country options use M/D/Y and Italy isn't one of them, so I wouldn't hold my breath Honeyko :helpful:
So does that mean M/D/Y is actual non conforming :sly: :D
zacoz
6th February 2008, 09:49
Apparent Bug (or not yet developed functionality)
When adding a job that includes a "changefps" command to the queue the changefps isn't saved in the queuex.ini file and thus isn't activated when it comes to run that job in the queue.
It seems that the same was true of 0.93, so I mustn't have queued such a job before or else it's a result of this time the last job I added to the queue not having a "changefps" command which essentially meant the changefps command wasn't there for each job as they ran. Does this make sense ?
Don't you love how we find these things after you get out of beta - sorry.
nanorch
6th February 2008, 09:59
@buzzqw
this is a follow-up / correction on my previous post (http://forum.doom9.org/showthread.php?p=1096164#post1096164)
(1) audio encoding fix / workaround with ffmpeg piping:
I am now almost sure that there is actually no bug, just sometimes a long wait before the regular encoding starts generating the encoded audio file. This would explain:
- why I don't have any problem when running the script manually (but definitely a delay before the encoded audio file starts to grow: I timed 45sec for a 1 hour movie)
- and why once in a while the encoding works ok.
Maybe Windows 2003 behaves differently in that respect than other OS flavors?
(2) wrong encoded audio length:
That bug is with me! At least partly: it works fine for OOG now that I installed ffdshow (with both v0.95beta21 and v0.95a) ... Okay, you did give a big fat warning and I should :readguid:. Sorry about that.
For MP3/Lame encoding I still get almost double the length, so I'm not clear what is going on. Any suggestion?
@ALL
Anybody else out there using Windows 2003? If so, what version exactly and do you experience the same audio encoding delays / failure (prior to v0.95) ?
I'm trying to figure out if I have a problem with my install or if this is a a general 'feature'....
buzzqw
6th February 2008, 10:16
thanks zacoz i will check
EDIT: @nanorch
my developing pc is a win2003 SR2..
for ogg problem: i found the problem too, and added a workaround in automkv... so it isn't ffdshow that fixed it ;)
for lame: here is correct! :o
BHH
zacoz
6th February 2008, 10:17
@buzzqw
Suggestion for rewording on the first post to make it a bit clearer what the dependencies are:
BIG FAT WARNING (i.e. DEPENDENCIES)
Compulsory:
A recent build of AviSynth 2.5.7 http://downloads.sourceforge.net/avi...0&big_mirror=0
The XviD Koepi Build http://www.free-codecs.com/download_...hp?d=1312&s=52 , is needed for the YV12 Decoder!
FFdshow as decoder! http://downloads.sourceforge.net/ffd...4&big_mirror=0
Optional:
For use NERO AAC you must put your copy of NeroAacEnc.exe (grab it here http://www.nero.com/nerodigital/eng/...tal_Audio.html) into \exe\besweet folder
Haali Media Spitter (for MKV input) http://haali.cs.msu.ru/mkv/MatroskaSplitter.exe
for warpsharp plugin read this: http://forum.doom9.org/showthread.php?t=124585 mirror here
If you have any problem with playback (or render issue) download and install Combined Community Codec Pack
Just move any of the compulsory ones down to Optional if I've gotten it wrong - they seemed to me to be the ones people would be hard pressed to do without.
buzzqw
6th February 2008, 11:36
thanks zacoz, as usually your suggestion are always precius!
BHH
zacoz
6th February 2008, 12:11
awwww shucks :embarassed:
survivant001
6th February 2008, 12:14
@buzzwq
I thinkg you forgot the add the m2ts overhead in your bitrate calculation. I obtain a 4.9 file instead of DVD5.
you should generate a mux.bat file for the m2ts output. I'll edit the xpass command line, and need to remux it after that
TWO new features requested
#1 - audio CUT (if the audio is longer than the video track)
#2 - save the output of the x264 encoding process. I'll like to have the PRNC and SIMM statistics at the end.
thanks
buzzqw
6th February 2008, 12:32
I thinkg you forgot the add the m2ts overhead in your bitrate calculation. I obtain a 4.9 file instead of DVD5.
doh.. ... you have an existimation of this overhead (for every frames ) ?
you should generate a mux.bat file for the m2ts output. I'll edit the xpass command line, and need to remux it after that
#1 - audio CUT (if the audio is longer than the video track)
added in todo list
#2 - save the output of the x264 encoding process. I'll like to have the PRNC and SIMM statistics at the end.
should be already present... if missing.. is due to inability to reading all the stdout... sorry, i must bug the compiler...
BHH
weaver4
6th February 2008, 15:00
AutoMKV has some great x264 profiles, but all of them are for setting a filesize. I really don't understand why someone would want to hit a specific filesize for an iPod but I guess they do.
I know how to open on of these profiles, go to the advanced tab and set a decode for a specific crf rate, but I really want to do is make myself a iPod_CRF_22 profile that I can load everytime. But, AutoMKV will not let me make modifications to a profile and save it as a new profile, like MeGui does (I don't think).
So are there some general instructions on how to modify a profile, with an editor, to make it a constant quality profile?
buzzqw
6th February 2008, 15:04
select the Ipod profile, then go in advanced settings , check specify quality, select 72, then save setting
restart automkv, your profile should be loaded
BHH
survivant001
6th February 2008, 16:02
doh.. ... you have an existimation of this overhead (for every frames ) ?
compare to a .264 + ac3 the m2ts add a 6% overhead.
I had a discution with the Atak_Snajpera and that was the conclusion.
here my post about the mux size
http://forum.doom9.org/showthread.php?p=1092443&highlight=m2ts#post1092443
buzzqw
6th February 2008, 16:06
thanks survivant
how many frames have the movie encoded (264 +ac3 = 4 384 047 406 bytes) ?
have you tryed playing the m2ts ? it's ok ? (with ps3 profile... now a "official" profile)
BHH
xxxyzzzz
6th February 2008, 16:34
Hi buzzqw,
I am happy to report that this version stilll works well with WINE + Linux (aside from the usual quirks). Perhaps I am the only one who uses AutoMKV this way, but I am happy none the less. :thanks:
On another note, when encoding x264 + ogg + mkv, 0.95a seems to fix the slight audio sync problems I was running into in previous versions. What did you do to fix this?
Thanks,
Z
buzzqw
6th February 2008, 16:55
On another note, when encoding x264 + ogg + mkv, 0.95a seems to fix the slight audio sync problems I was running into in previous versions. What did you do to fix this?
piping pcm_s16le (or any pcm_xxx) from ffmpeg to oggenc was broken.. (don't know why) so i "bypass" it by feeding oggenc with an uncompressed flac stream (so it's lossless) and since ogg_enc support flac input.. the ogg problem is fixed :) :p
BHH
valnar
6th February 2008, 16:59
piping pcm_s16le (or any pcm_xxx) from ffmpeg to oggenc was broken.. (don't know why) so i "bypass" it by feeding oggenc with an uncompressed flac stream (so it's lossless) and since ogg_enc support flac input.. the ogg problem is fixed :) :p
Ingenius. That's good thinking.
Robert
weaver4
6th February 2008, 17:27
select the Ipod profile, then go in advanced settings , check specify quality, select 72, then save setting
restart automkv, your profile should be loaded
BHH
I did not see that....thanks!
Zow
6th February 2008, 17:32
On some movies, I never get a finished mkv, but instead, when AutoMKV is done, I get a Temp file (I've set it to delete the Temp file when finished.)
It consistently happens on two movies, both are subtitled, if this matters.
I have tried selcting either VIDEO_TS.IFO, or VTS_01_0.IFO. If I try VTS_01_1.VOB, then it can't find the subtitles, and the audio track selection looks a bit weird.
I am ripping to an attached USB drive (ripping to my NAS hasn't worked since a couple versions ago.)
01:39:33 Dgindex CMD: C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[L:\DVDs\Y Tu Mama, Tambien\VIDEO_TS\VTS_01_1.vob] -OF=[F:\mkv Rips\temp\movie] -exit -minimize
01:49:50 D2V file size: 791010
01:49:50 Audio 1: movie t80 3_2ch 448kbps delay 0ms.ac3
01:49:50 Pre Audio 1' Size: 355681536 bytes
01:49:50 Renamed file movie t80 3_2ch 448kbps delay 0ms.ac3 to movie t80 3_2ch 448kbps delay 0ms_.ac3
01:49:50 Encoded 1' Audio Track: movie t80 3_2ch 448kbps delay 0ms_.ac3 355681536 bytes
01:49:50 D2V Film Detected: 99.900002% FILM found
01:49:57 Number of Frames: 190352
01:49:57 Framerate: 29.970030
01:49:57 Movie length in Seconds: 6352
01:49:57 Movie Width/Height: 720/480
01:49:57 DgIndex AR: 16:9
01:56:36 Source is declared tff by a margin of 106/3.
01:56:36 Advanced Deinterlace Routines Log
01:56:36 Analyzed 768 sections of five frames
01:56:36 Found Interlace Sections: 40 5.21%
01:56:36 Found Progressive Sections:37 4.82%
01:56:36 Found Telecined Sections: 691 89.97%
01:56:36 Found Zero Mov: 4.82% 37
01:56:36 Found One Mov: 5.21% 40
01:56:36 Found Two Mov: 89.97% 691
01:56:36 Found Three Mov: 0.00% 0
01:56:36 Found Four Mov: 0.00% 0
01:56:36 Found Five Mov: 0.00% 0
01:56:36 The Movie is declared to telecined
01:56:36 Starting X264
01:56:37 CRF encoding X264: C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\encoder\x264.exe --pass 1 --crf 16 --stats "F:\mkv Rips\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --sar 1:1 --output "F:\mkv Rips\temp\movie.264" "F:\mkv Rips\temp\movie.avs"
06:37:19 X264 Final CRF Encoding Stats:
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
x264 [info]: slice I:809 Avg QP:13.15 size: 62656
x264 [info]: slice P:60951 Avg QP:15.22 size: 29000
x264 [info]: slice B:90521 Avg QP:16.87 size: 11988
x264 [info]: mb I I16..4: 10.6% 17.1% 72.3%
x264 [info]: mb P I16..4: 4.2% 10.4% 8.9% P16..4: 19.0% 22.3% 22.0% 5.0% 4.3% skip: 3.9%
x264 [info]: mb B I16..4: 2.5% 5.7% 2.0% B16..8: 37.6% 6.1% 9.9% direct:23.6% skip:12.6%
06:37:19 Accepted values are between 31876710400 and 33889976320 bytes (movie+audio)
06:37:19 Got a file of size: 2903469312 bytes + audio size 355681536 bytes (3262368256)
06:37:19 Only Movie Size: 2903469312 bytes
06:37:19 "C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\matroska\mkvmerge.exe" -o "F:\mkv Rips\temp\Y Tu Mama, Tambien.mkv" --default-duration 0:24000/1001fps --track-name -1:"Y Tu Mama, Tambien" --aspect-ratio -1:1.500000 --chapters "C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\chapters.txt" "F:\mkv Rips\temp\movie.264" --language -1:esp --default-track -1:yes "F:\mkv Rips\temp\movie t80 3_2ch 448kbps delay 0ms_.ac3" "F:\mkv Rips\temp\Y Tu Mama, Tambien.idx" --title "Done with AutoMKV 0.95 http://forum.doom9.org/showthread.php?p=854221 "
06:37:20 Final Muxed size: -1 bytes
06:37:20 Encoding finished: 04:40:43 elapsed time
06:37:20 -----------------------------------------------------------------------
06:37:20 Script AutoCrop.log
06:37:20
06:37:20 Crop(0,6,720,464)
06:37:20 -----------------------------------------------------------------------
06:37:20 Script movie.avs
06:37:20
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\AddGrain.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\autocrop.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\aWarpSharp(Pruned).dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\blockbuster.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\cnr2.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\ColorMatrix.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\Convolution3D.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\corrector.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\DctFilter.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\Decomb.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\Deen.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\degrainmedian.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\DGDecode.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\EEDI2.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\FFMpegSource.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\FFT3DFilter.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\FluxSmooth.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\frfun7.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\hqdn3d.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\LeakKernelDeint.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\MaskTools.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\medianblur.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\MipSmooth.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\MSharpen.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\mt_masktools.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\mvtools.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\NicAudio.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\RemoveGrainS.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\RepairS.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\SangNom.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\SimpleResize.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\SoundOut.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\TBilateral.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\TDeint.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\TIVTC.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\TomsMoComp.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\TTempSmooth.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\UnDot.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\UnFilter.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\VSFilter.dll")
06:37:20 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\warpsharp.dll")
06:37:20 #loadpluginstart
06:37:20
06:37:20 #test1
06:37:20
06:37:20 Import("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\BlindDeHalo3_mt2.avsi")
06:37:20 Import("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\Deblock_QED_MT2.avsi")
06:37:20 Import("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
06:37:20 Import("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\HybridFuPP.avsi")
06:37:20 Import("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\LanczosPlus.avsi")
06:37:20 Import("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\Lem.avsi")
06:37:20 Import("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\LimitedSharpenFaster.avsi")
06:37:20 Import("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\MCBob_v03c.avsi")
06:37:20 Import("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\mvbob.avsi")
06:37:20 Import("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\QMlib.avsi")
06:37:20 Import("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\seesaw.avsi")
06:37:20 Import("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\spresso.avsi")
06:37:20 #importstart
06:37:20
06:37:20 #test2
06:37:20
06:37:20 movie = mpeg2source("F:\mkv Rips\temp\movie.d2v")
06:37:20 function getOrder(clip c) {
06:37:20 order = GetParity(c) ? 1 : 0
06:37:20 Return order }
06:37:20 #filter1start
06:37:20
06:37:20 #test3
06:37:20
06:37:20 movie = tfm(movie,d2v="F:\mkv Rips\temp\movie.d2v").tdecimate()
06:37:21 last=movie.Crop(0,6,720,464)
06:37:21 fixed_aspect = 1.839000
06:37:21 out_width = 720
06:37:21 out_width = 720
06:37:21 out_height = 384
06:37:21 out_height = 480
06:37:21 #resizestart
06:37:21
06:37:21 #test4
06:37:21
06:37:21 #filter2start
06:37:21
06:37:21 #test5
06:37:21
06:37:21 RemoveGrain(mode=2)
06:37:21 -----------------------------------------------------------------------
06:37:21 Script mkvmaudio.avs
06:37:21
06:37:21 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\NicAudio.dll")
06:37:21 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\SoundOut.dll")
06:37:21 LoadPlugin("C:\Users\HomeTheaterOne\Desktop\AutoMKV095_NORIP\exe\filter\FFmpegSource.dll")
06:37:21 NicAC3Source("F:\mkv Rips\temp\movie t80 3_2ch 448kbps delay 0ms.ac3")
06:37:21 #Applying STEREO downmixing routines
06:37:21 function stereo(clip a)
06:37:21 {
06:37:21 flr = GetChannel(a, 1, 2)
06:37:21 fcc = GetChannel(a, 3)
06:37:21 lfe = GetChannel(a, 4)
06:37:21 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
06:37:21 mix = MergeChannels(lfc, lfc)
06:37:21 lrc = MixAudio(flr, mix, 0.2929, 1.0)
06:37:21 blr = GetChannel(a, 5, 6)
06:37:21 Return MixAudio(lrc, blr, 1.0, 0.2929)
06:37:21 }
06:37:21 #
06:37:21 6==Audiochannels() ? stereo() : last
06:37:21 function addvideo(clip c) {
06:37:21 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
06:37:21 Return audiodub(last,c)
06:37:21 }
06:37:21 Normalize()
06:37:21
06:37:21
06:37:21 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
buzzqw
6th February 2008, 17:40
@Zow
without the temp folder (for manual running the muxing.bat) it's hard to tell what was wrong
the file was encoded.. but not muxed... the audio was present.. maybe the subs was missing ?
please retry without checking "del temp file"
thanks for your test!
BHH
Amir
6th February 2008, 18:05
Well some feedback...
I just tried this version and its fine for encoding episodic DVDs, I batched up 4 episodes and all four have been converted!. First time I've been able to do this. Only downside to this is that I had to rip the DVD to disc and then run AutoMKV against it, I think this because AutoMKV writes to that folder, a configurable "temp" folder does not appear to be settable.
Also turning off the stats allowed x264 to run at full speed.
buzzqw
6th February 2008, 18:43
@Amir
:) well done!
BHH
Honeyko
6th February 2008, 20:31
TWO new features requested
#1 - audio CUT (if the audio is longer than the video track)
I don't like this one -- audio is often a couple seconds longer than the video, and merely needs to have its start time adjusted in an external muxing utility.
ryc0203
6th February 2008, 20:40
maybe it's the windows regional configuration
could you try setting "." as decimal separator ?
BHH
it work
:thanks:
Crono141
6th February 2008, 21:40
I'm sorry to ask you to switch gears, but I'm a total noob on AutoMKV. I have an Mpeg2 file (extracted from a dvr-ms file) with surround sound in it. I'm trying to get it into WMV with 5.1 audio to play in Xbox360 MCE. I've looked in the Wiki and can't find anything on it.
Also, encoded to WMV gives me insanely slow encoding speeds (x0.05), so a 12 minute file took 4 hours. I have a dual core athlon 64 4200+, old but not nearly that bad. I'm I doing something (obvious) wrong?
EDIT: Its a 1280x720 clip, btw, and I'd like to maintain the quality.
buzzqw
6th February 2008, 22:02
@Crono141
First of all Welcome to the Forum!
i bet you have selected an Insane profile.., try with the "2_Pass_Balanced", should be a lot faster and quality wise similar
About audio... sorry but 5.1 is very problematic on wmv.. not due to my application... but to wmcmd.vbs encoder
just set your ac3/audio decoder to output 5.1 16bit audio and .. hope the best!
BHH
Crono141
6th February 2008, 22:10
I did pick insane quality. However, I also picked 2 pass balanced, and had the same effect. The 1st pass ran at about 0.5x, but the second pass ran at .05x. The final output was also garbled noise for video, and 2 channel audio.
Thanks for quick response.
buzzqw
6th February 2008, 22:14
ok.. go for WMV8_2_Pass_VBR and if slow try the WMV7_2_Pass_CBR.
The last MUST be fast! (and not garbled)
BHH
survivant001
6th February 2008, 23:42
@buzzwq
first test with the ps3 profile (default values)
I got
x264 [warning]: VBV underflow (-52681 bits)fps, eta 1:24:03
x264 [warning]: VBV underflow (-39157 bits)
x264 [warning]: VBV underflow (-159150 bits)ps, eta 1:20:38
x264 [warning]: VBV underflow (-269549 bits)
x264 [warning]: VBV underflow (-230413 bits)
x264 [warning]: VBV underflow (-206341 bits)
x264 [warning]: VBV underflow (-217045 bits)
x264 [warning]: VBV underflow (-66966 bits)fps, eta 0:58:06
x264 [warning]: VBV underflow (-33013 bits)fps, eta 0:57:45
x264 [warning]: VBV underflow (-2054 bits)7 fps, eta 0:18:55
x264 [warning]: VBV underflow (-107962 bits)
x264 [warning]: VBV underflow (-287210 bits)
x264 [warning]: VBV underflow (-65786 bits)
x264 [warning]: VBV underflow (-137824 bits)
I will try with a lower keyint and your new build.
REQUEST
if you find VBV underflow in the x264 output.. you need to restart the encoding with a lower value for the keyint.
Crono141
7th February 2008, 01:16
Another question: the wiki says the audio string for 5.1 wmv needs to be WMAPRO 160_48_6. However, I can't get the last number to change from _2 to _6. Since this is setting the number of channels, how can I get this to change. The advanced audio options under WMV sound doesn't have a number of channels options.
Also, in the drop down, do I need to pick "original"?
OK, I've encoded with your suggested settings, The encode was much quicker, but I"m still getting garbled video and 2 channel audio.
EDIT: Attached log file.
bigggt
7th February 2008, 02:07
If you have an avi with AC3 how do you get it to do 5.1 AAC
i select nero and then original but it always is 2.0
Crono141
7th February 2008, 04:46
OK, I finally have some success. I was able to get 6 channel sound (I think, file properties indicate 6 channels) as well as a non-garbled video. I was able to get multichannel surround by using one of the regular profiles. Problem is, second pass still maxed its speed out at .12x (1st pass still about .56x). I used 2 pass better quality. Any of the other profiles (accessible by using the all profiles check box) left me with garbled video, from this particular source.
Problem is, I didn't get the quality I wanted at all. Visible blockiness was abundant. And I don't even want to speculate how long a 2 hour DVD rip would take. I'm going to try again with extreme quality to see if the blockiness decreases.
The method I had used for DVDs was this attached batch file. I don't really know anything about writing code or scripts, but this file always gives me the quality I like from the DVD rip. If someone could tell me how to make a script to match the quality of this batch file, I think I would be very happy. Bitrate is 4 Mbit/s.
Thanks again for all your help!
buzzqw
7th February 2008, 08:07
@survivant001
actually the keyint is 300 ... what value you suggest ?
@Crono141
attachment need to be approved.. post it in [code] tag
.. and i will try the WMV8_1_Pass_CBR BUT in advanced settings check "Specify Quality" and set it to 95%
in this way should be fast and .. at 95% of max quality
@bigggt
If you have an avi with AC3 how do you get it to do 5.1 AAC
avi is processed via directshowsource, you need to set your audio decoder (ffdshow or ac3filter) to output 5.1 16bit audio
BHH
xxxyzzzz
7th February 2008, 15:58
Hi buzzqw,
I have some feature requests if you don't mind hearing me out:
1. The ability to use custom AVIsynth scripts during the video encode. (This may exist, I just haven't found it.)
2. The ability to use different scripts for each of the first and second passes.
Thanks for all your good work. I haven't had any big problems with AutoMKV 0.95a in Linux yet.
Z
buzzqw
7th February 2008, 16:11
1. The ability to use custom AVIsynth scripts during the video encode. (This may exist, I just haven't found it.)
it's already possible to feed an avs script as input :)
2. The ability to use different scripts for each of the first and second passes.
could you motivate it ? :confused: (just want to learn!)
Thanks for all your good work. I haven't had any big problems with AutoMKV 0.95a in Linux yet.
fyi.. in next mounths i will change pc (i waiting for q9450) and i will VERY PROBABLY move to Linux (i already use it ... but not as primary OS)... so.. automkv will have some hiccup..
BUT purebasic (automkv source code language) is present EVEN on LINUX.. so maybe i will build natively for linux.. and not for win.. but i cannot promise.. (since automkv use several specific windows api.. maybe i must change some behavior)
BHH
xxxyzzzz
7th February 2008, 16:35
2. The ability to use different scripts for each of the first and second passes.could you motivate it ? (just want to learn!)
Sure thing. Take a look here:
http://avisynth.org/mediawiki/VFR#encoding_to_vfr_.28mkv.29
There is sometimes content from DVDs that is blended true 30fps and 30fps telecined. When this occurs, any sort of frame matching or "teleciding" applied to the whole video will make some parts jumpy/stutter in varying degrees.
One good example is "Avatar: The last Airbender" DVDs. I was having problems in this thread:
http://forum.doom9.org/showthread.php?t=131779
until someone pointed me to the above AVIsynth page about variable frame rate video that MKVs can handle.
But to use VFR, you have to use a different script for each of the first and second passes during an encoding. Example scripts I finally chose to use only differed by one line:
First pass:
tfm(movie,mode=0,pp=7,mi=40,output="tfm.txt").tdecimate(mode=4,output="stats.txt")
Second pass:
tfm(movie,mode=0,pp=7).tdecimate(mode=5,hybrid=2,dupThresh=1.0,input="stats.txt",tfmin="tfm.txt",mkvout="timecodes.txt")
Everything else in the scripts was identical.
This is why I ask for the ability to use different scripts for each pass. Did I motivate you? :)
Thanks once again,
Z
buzzqw
7th February 2008, 16:47
a little bit ;)
... i will try to do this without changing so much the application..
stay tuned!
BHH
Tirade
7th February 2008, 19:36
OK, I just started using AutoMKV last night and so far so good!
Ive done some test clips and even a DVD, but before I do a batch convert of all 300 movies I wanted to verify some things.
Source - 300 DVD's ripped to individual folders with VIDEO_TS subfolder (VOB's)
Output - Another local drive
My goal is simple.
I want to reduce each DVD as small as possible without losing "noticeable" quality. I realize noticeable quality is subjective and that there is no perfect setting.
Couple of questions:
1. What is a good estimate in size reduction before image quality usually begins to drop off? Is it generally possible to transcode DVD down to 50% of its original size w/o easily noticeable quality loss? I would be happy with 50%, but smaller is better, but not at the expense of poor video quality.
2. I have done nothing but read read read for the last 72 hours and there is a LOT to absorb. From what I can gather though the following is true:
CQ Lossless would be pointless in my situation because my source is lossy. Encoding time is not important and I do not have any bitrate restrictions, so ideally CQ CRF profile with AQ strength 5 (.5) and AQ Sens. 13 should provide a good quality MP4 transcode?
So my remaining question is where do I specify the CQ factor?
I see the box for Specify Quality, but I read on the previous page that Specify Quality is not needed for CQ profile because it is already CQ. How do I tell what the default CQ number is? Also what is the suggested number for CQ to be set at? I see the default is 75 if you check the box, but I believe this wont give me much size reduction. Ive seen mention of using 72 as well.
This is my command line
--pass 1 --crf 18 --stats "C:\Temp\HTPC\Utils\AutoMKV095_NORIP\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --aq-strength 0.50 --aq-sensitivity 13 --sar 1:1
My final questions (sorry so many) is:
Do I need to do high quality 1st pass with CRF?
and
My monitor is a 52" TV, desktop resolution is 1920X1080. Some of my movies are 2:35 and some are 1:85. What is the correct crop setting to make each of these properly fill the screen without black lines. Is this even possible? Maybe I should just use ffdshow to resize the movie as it is being played.
valnar
7th February 2008, 20:05
This is my command line
--pass 1 --crf 18 --stats "C:\Temp\HTPC\Utils\AutoMKV095_NORIP\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --aq-strength 0.50 --aq-sensitivity 13 --sar 1:1
Since you are going to go through the trouble to reencode your DVD's, might I make a suggestion? Two changes to make it more DXVA or hardware player compatible.
Remove analyse p4x4
Don't use --b-pyramid
And with a DVD source, you could also lower your level to 3.1.
-Robert
survivant001
7th February 2008, 20:13
@survivant001
actually the keyint is 300 ... what value you suggest ?
I'll come back to you for that. I'm doing tests, and I think it's a combinaison of keyint and vbv..
and you should put a popup : "vbv buffer underflow detected in the encoding process" something meanfull.
the output movie will play on a PC and ps3 (but only using streaming).. but won't be a valid bluray or avchd (won't be able to authorize it)
keep you inform
buzzqw
7th February 2008, 20:27
@Tirade
little suggestion: select the 2 pass balanced, then go in advanced settings and set quality to 80 (is crf 20)
you wil encode with a good profile with but in 1 pass
BHH
reddragon72
7th February 2008, 21:03
First Ajax_Undone.... could you add the Haali spliter into the setup you created? It is needed if your source is MKV which mine are as well as many others reencoding for the 360.
And I think the 6 channel issue I had is fixed. but I wont know till it is done.
And Buzzqw... when it decodes the x264 file in the MKV and when encoding the file to Xvid the stats move really fast then pause for five or so seconds then move again. Is there something wrong, should the stats always be moving or is that pause normal??
Glorioso
7th February 2008, 21:05
Hi, i'm using the Xbox 360 profile but my PC takes AGES to encode 264, and with the XVid i get a good quality and a fast encode but i get some "breaks" wen playing the file, what can a tweak in the fast encode xvid profile to prevent this from happening?
reddragon72
7th February 2008, 21:44
Hi, i'm using the Xbox 360 profile but my PC takes AGES to encode 264, and with the XVid i get a good quality and a fast encode but i get some "breaks" wen playing the file, what can a tweak in the fast encode xvid profile to prevent this from happening?
what do you mean by "break" ?? missing parts like the whole movie is not there or the video pauses but the sound keeps playing then it goes all back to normal?
Crono141
7th February 2008, 21:56
1. What is a good estimate in size reduction before image quality usually begins to drop off? Is it generally possible to transcode DVD down to 50% of its original size w/o easily noticeable quality loss? I would be happy with 50%, but smaller is better, but not at the expense of poor video quality.
I dunno about h264, but when I used WVC1 with 5.1 audio, I was able to get nice quality DVD rips at around 2 to 3 gig each, depending on movie length (3 gigs were LotR special editions)
reddragon72
7th February 2008, 22:08
I dunno about h264, but when I used WVC1 with 5.1 audio, I was able to get nice quality DVD rips at around 2 to 3 gig each, depending on movie length (3 gigs were LotR special editions)
I'm getting 2.5GB 720P movies with no noticeable loss and 5.1 surround with Xvid so a DVD 480P being 2-3 is really bad for WMV. And I mean it is hard to spot any quality loss going from a 7gig MKV(H264 1080P) source.
Also I have many DVD backups with 5.1 at 480P(no resizing) at 1.7gig and they look every bit as good as the original DVD.
Wileyd
7th February 2008, 22:10
Chrono,
What profile/settings are you using for your WMV encodes?
Crono141
7th February 2008, 22:25
This was done using a different method than AutoMKV. There's a batch file I posted (awaiting approval) that outlines the process. I realize that 2-3 gig is bad, but I've never been any good at getting high quality DVD rips quickly at low disk space usage.
On the other hand, I like my rips to be virtually indistinguishable from the native DVD. Its a reason I'm interested in AutoMKV. If it can get me an Xbox360 Media Center Extender compatible DVD rip at a fraction of the speed (old method took 8 hours per DVD) and a fraction of the disc space, I'll be very happy.
reddragon72
7th February 2008, 22:51
I use xvid through the vids part of the 360, I hate the media extender stuff, there is to much crap to wade through all I want is a file browser so I can click on my movie, no need for a picture of it or info, I know what I want to watch. Plus space is a cencern and pipping vids through a wireless G setup, so the smaller the better.
Wileyd
7th February 2008, 23:22
Chrono,
Thanks for the reply, I saw the file. I've done a few WMV encodes for the same reason.....XBox/Media Center. I've used AutoMKV with Constant Quality profile and set CQ to 95. Also set audio to 5.1. Gotten some decent encodes out of it on some of my movies with about 1 to 1.5GB files for a 2 hour movie. I thought maybe you were using some other settings that I could play around with.
Tirade
8th February 2008, 00:08
@Tirade
little suggestion: select the 2 pass balanced, then go in advanced settings and set quality to 80 (is crf 20)
you wil encode with a good profile with but in 1 pass
BHH
No need for AQ settings?
Crono141
8th February 2008, 00:43
OK, here's the results of my latest encode on "INSANE 2 pass" Vs Better quality 2 pass
22:50:26 0.95a - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
22:50:26 OS Version: Windows XP
22:50:26 Selected Input file: D:\Media\Movies\Tom Petty Half Time Show.mpg
22:50:26 Selected Output dir: D:\Media\Movies\temp\
22:50:26 Selected Final Name: Tom Petty Half Time Show INSANE
22:50:26 Selected Container type: WMV
22:50:26 Selected Encoder: WMV
22:50:26 Selected Size: Don't care about size / 1
22:50:26 Selected Profile: 2_Pass_Insane_Quality.xml
22:50:26 Selected Resizer: NONE / Original
22:50:26 Selected Filters: NONE
22:50:26 Selected Deinterlacer: AUTO
22:50:26 Selected Field Order: AUTO
22:50:26 NeroAACEnc.exe: not present
22:50:26 Track Language 1: 80: AC3 3/2 448
22:50:26 Audio Codec 1: WMV
22:50:26 Audio Quality 1: 384
22:50:26 Audio Channel 1: Original
22:50:26 Track Language 2: NONE
22:50:26 Audio Codec 2: WMV
22:50:26 Advanced Audio Settings DUMP Track 1
22:50:26 Audio Track Language: und
22:50:26 Nero Option Profiles: AUTO --- Encoding Mode: Quality
22:50:26 CCT Option Profiles: AUTO --- Channel Options: AUTO
22:50:26 Lame Settings: ABR
22:50:26 Audio Normalization: 1
22:50:26 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
22:50:26 Activate Anamorphic Encoding
22:50:26
22:50:26 Dgindex CMD: D:\Programs\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[D:\Media\Movies\Tom Petty Half Time Show.mpg] -OF=[D:\Media\Movies\temp\movie] -exit -minimize
22:50:54 D2V file size: 214264
22:50:54 Audio 1: movie t80 3_2ch 448kbps delay 0ms.ac3
22:50:54 Pre Audio 1' Size: 42787584 bytes
22:50:54 Applying DelayAudio of 0 to audio file: movie t80 3_2ch 448kbps delay 0ms.ac3
22:50:54 Encoding D:\Media\Movies\temp\movie t80 3_2ch 448kbps delay 0ms.ac3 to WAV , as pre-process to WMV
22:51:41 Encoded 1' Audio Track: audio.wav 440100928 bytes
22:51:47 Number of Frames: 45798
22:51:47 Framerate: 59.940060
22:51:47 Movie length in Seconds: 765
22:51:47 Movie Width/Height: 1280/720
22:51:47 DgIndex AR: 16:9
22:54:20 Source is declared tff by a margin of 27/27.
22:54:20 Advanced Deinterlace Routines Log
22:54:20 Analyzed 274 sections of five frames
22:54:20 Found Interlace Sections: 21 7.66%
22:54:20 Found Progressive Sections:253 92.34%
22:54:20 Found Telecined Sections: 0 0.00%
22:54:20 Found Zero Mov: 92.34% 253
22:54:20 Found One Mov: 1.82% 5
22:54:20 Found Two Mov: 0.00% 0
22:54:20 Found Three Mov: 0.00% 0
22:54:20 Found Four Mov: 1.46% 4
22:54:20 Found Five Mov: 4.38% 12
22:54:20 WMV CMD: cscript.exe "D:\Programs\AutoMKV\exe\encoder\WMCmd.vbs" -input "D:\Media\Movies\temp\movie.avs" -output "D:\Media\Movies\temp\movie.wmv" -v_codec WVC1 -v_mode 3 -v_bitrate 339577280 -s_config "D:\Media\Movies\temp\wmv_crb" -v_preset insane -v_buffer 10000 -v_performance 80 -a_input "D:\Media\Movies\temp\audio.wav" -a_codec WMAPRO -a_mode 1 -title "Tom Petty Half Time Show INSANE" -log wmv.log -year 2008 -copyright "Done with AutoMKV! 0.95a" -a_setting 384_48_6_24
02:48:39 Only Movie Size: 976688960 bytes
02:48:39 Final Muxed size: 976688960 bytes
02:48:39 Encoding finished: 03:58:13 elapsed time
02:48:39 -----------------------------------------------------------------------
02:48:39 Script AutoCrop.log
02:48:39
02:48:39 Crop(0,0,1280,720)
02:48:39 -----------------------------------------------------------------------
02:48:39 Script movie.avs
02:48:39
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\AddGrain.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\autocrop.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\aWarpSharp(Pruned).dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\blockbuster.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\cnr2.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\ColorMatrix.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\Convolution3D.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\corrector.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\DctFilter.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\Decomb.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\Deen.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\degrainmedian.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\DGDecode.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\EEDI2.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\FFMpegSource.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\FFT3DFilter.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\FluxSmooth.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\frfun7.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\hqdn3d.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\LeakKernelDeint.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\MaskTools.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\medianblur.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\MipSmooth.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\MSharpen.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\mt_masktools.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\mvtools.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\NicAudio.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\RemoveGrainS.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\RepairS.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\SangNom.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\SimpleResize.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\SoundOut.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\TBilateral.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\TDeint.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\TIVTC.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\TomsMoComp.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\TTempSmooth.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\UnDot.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\UnFilter.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\VSFilter.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\warpsharp.dll")
02:48:39 #loadpluginstart
02:48:39
02:48:39 #test1
02:48:39
02:48:39 Import("D:\Programs\AutoMKV\exe\filter\BlindDeHalo3_mt2.avsi")
02:48:39 Import("D:\Programs\AutoMKV\exe\filter\Deblock_QED_MT2.avsi")
02:48:39 Import("D:\Programs\AutoMKV\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
02:48:39 Import("D:\Programs\AutoMKV\exe\filter\HybridFuPP.avsi")
02:48:39 Import("D:\Programs\AutoMKV\exe\filter\LanczosPlus.avsi")
02:48:39 Import("D:\Programs\AutoMKV\exe\filter\Lem.avsi")
02:48:39 Import("D:\Programs\AutoMKV\exe\filter\LimitedSharpenFaster.avsi")
02:48:39 Import("D:\Programs\AutoMKV\exe\filter\MCBob_v03c.avsi")
02:48:39 Import("D:\Programs\AutoMKV\exe\filter\mvbob.avsi")
02:48:39 Import("D:\Programs\AutoMKV\exe\filter\QMlib.avsi")
02:48:39 Import("D:\Programs\AutoMKV\exe\filter\seesaw.avsi")
02:48:39 Import("D:\Programs\AutoMKV\exe\filter\spresso.avsi")
02:48:39 #importstart
02:48:39
02:48:39 #test2
02:48:39
02:48:39 movie = mpeg2source("D:\Media\Movies\temp\movie.d2v")
02:48:39 function getOrder(clip c) {
02:48:39 order = GetParity(c) ? 1 : 0
02:48:39 Return order }
02:48:39 #filter1start
02:48:39
02:48:39 #test3
02:48:39
02:48:39 last = movie
02:48:39 fixed_aspect = 1.777778
02:48:39 out_width = 1280
02:48:39 out_height = 720
02:48:39 #resizestart
02:48:39
02:48:39 #test4
02:48:39
02:48:39 #filter2start
02:48:39
02:48:39 #test5
02:48:39
02:48:39 ColorMatrix(mode="Rec.709->Rec.601")
02:48:39 return last
02:48:39 -----------------------------------------------------------------------
02:48:39 Script mkvmaudio.avs
02:48:39
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\NicAudio.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\SoundOut.dll")
02:48:39 LoadPlugin("D:\Programs\AutoMKV\exe\filter\FFmpegSource.dll")
02:48:39 NicAC3Source("D:\Media\Movies\temp\movie t80 3_2ch 448kbps delay 0ms.ac3")
02:48:39 DelayAudio(0.0000)
02:48:39 #Applying ORIGINAL downmixing routines
02:48:39
02:48:39 function addvideo(clip c) {
02:48:39 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
02:48:39 Return audiodub(last,c)
02:48:39 }
02:48:39 Normalize()
02:48:39
02:48:39 ConvertAudioTo16bit()
02:48:39 Soundout(output="wav",type=1,autoclose=true,filename="audio.wav",showoutput=false)
02:48:39 -----------------------------------------------------------------------
02:48:39 Script wmv.log
02:48:39
02:48:39 Microsoft (R) Windows Media Encoder Command Line Script Utility
02:48:39 Copyright (C) Microsoft Corporation. All rights reserved.
02:48:39
02:48:39 Title: Tom Petty Half Time Show INSANE
02:48:39 Year: 2008
02:48:39 Copyright: Done with AutoMKV! 0.95a
02:48:39
02:48:39 Warning: Encoder failed to retrieve duration attribute from source plug-in.
02:48:39 .
02:48:39 Source duration retrieved: 764.063 seconds.
02:48:39
02:48:39 ======== Begin Pass1 ========
02:48:39
02:48:39
02:48:39 ======== Begin Pass2 ========
02:48:39
02:48:39
02:48:39 ======== Encoding Completed ========
02:48:39
02:48:39 Audio :
02:48:39 Codec: Windows Media Audio 10 Professional
02:48:39 Expected bit rate: 384000 bps
02:48:39 Average bit rate: 384000 bps
02:48:39 Expected sample rate: 5859
02:48:39 Average sample rate: 5859
02:48:39 Dropped byte count: 0 bytes
02:48:39 Dropped sample rate: 0
02:48:39 Total bytes: 36741120 bytes
02:48:39
02:48:39 Video :
02:48:39 Codec: Windows Media Video 9 Advanced Profile
02:48:39 Expected bit rate: 9799000 bps
02:48:39 Average bit rate: 9797149 bps
02:48:39 Expected fps: 30
02:48:39 Dropped frame count: 0
02:48:39 Total coded frames: 22924
02:48:39 Average sample rate: 30.002
02:48:39 Dropped bytes: 0 bytes
02:48:39 Total bytes: 935668996 bytes
02:48:39
02:48:39 Overall:
02:48:39 Encoding time: 14043 seconds
02:48:39 Average bit rate: 10181149 bps
02:48:39 File size: 976688936 bytes
02:48:39 File duration: 764.202 seconds
02:48:39
02:48:39 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
And I get garbled video. And the encode was .07x speed, and the file size is nearly identical to the first encode.
Crono141
8th February 2008, 00:46
Sorry for the double post, but here's the batch file from above, both wouldn't fit.
Here's that batch file in code brackets. It sets up a wme profile, and I get great quality from it, but the size and time is too long for my tastes. This is the relevant part (the whole thing wouldn't fit)
REM This section creates the WME file for Windows Media Encoder to use
REM The file will have most of the seetings for the final conversion to WMV
REM
REM
echo ^<^?xml version="1.0"^?^> > %rootdir%\vob\encode.wme
echo ^<WMEncoder major_version="9" >> %rootdir%\vob\encode.wme
echo minor_version="0" >>%rootdir%\vob\encode.wme
echo Name="WMEncoder19282" >>%rootdir%\vob\encode.wme
echo SynchroniesOperation="0" ^> >>%rootdir%\vob\encode.wme
echo ^<Description /^> >>%rootdir%\vob\encode.wme
IF %Channels%==6 (
echo ^<Attributes ^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_LONG Name="SurroundMix" Value="-3" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_LONG Name="CenterMix" Value="-3" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_LONG Name="LFEMix" Value="-12" /^> >>%rootdir%\vob\encode.wme
echo ^</Attributes^> >>%rootdir%\vob\encode.wme
)
echo ^<SourceGroups ^> >>%rootdir%\vob\encode.wme
echo ^<SourceGroup Name="Convert" ^> >>%rootdir%\vob\encode.wme
echo ^<Source Type="WMENC_VIDEO" >>%rootdir%\vob\encode.wme
echo Scheme="file" >>%rootdir%\vob\encode.wme
echo InputSource="%rootdir%\VOB\video.m2v" >>%rootdir%\vob\encode.wme
echo CropTopMargin="%topCrop%" >>%rootdir%\vob\encode.wme
echo CropBottomMargin="%bottomCrop%" >>%rootdir%\vob\encode.wme
echo PixelAspectRatioX="1" >>%rootdir%\vob\encode.wme
echo PixelAspectRatioY="1" >>%rootdir%\vob\encode.wme
echo PreProcesses="1" ^> >>%rootdir%\vob\encode.wme
echo ^<UserData ^> >>%rootdir%\vob\encode.wme
echo ^</UserData^> >>%rootdir%\vob\encode.wme
echo ^</Source^> >>%rootdir%\vob\encode.wme
echo ^<Source Type="WMENC_AUDIO" >>%rootdir%\vob\encode.wme
IF %Channels%==6 (
echo Scheme="multichannel" >>%rootdir%\vob\encode.wme
echo PreProcesses="1" ^> >>%rootdir%\vob\encode.wme
echo ^<UserData ^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_STRING Name="FrontLeft" Value="%rootdir%\VOB\movieaudio-FL.wav" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_STRING Name="FrontRight" Value="%rootdir%\VOB\movieaudio-FR.wav" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_STRING Name="FrontCenter" Value="%rootdir%\VOB\movieaudio-C.wav" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_STRING Name="LowFrequency" Value="%rootdir%\VOB\movieaudio-LFE.wav" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_STRING Name="BackLeft" Value="%rootdir%\VOB\movieaudio-SL.wav" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_STRING Name="BackRight" Value="%rootdir%\VOB\movieaudio-SR.wav" /^> >>%rootdir%\vob\encode.wme
echo ^</UserData^> >>%rootdir%\vob\encode.wme
)
IF %Channels%==2 (
echo Scheme="file" >>%rootdir%\vob\encode.wme
echo InputSource="%rootdir%\VOB\movieaudio.wav" >>%rootdir%\vob\encode.wme
echo PreProcesses="1" ^> >>%rootdir%\vob\encode.wme
echo ^<UserData ^> >>%rootdir%\vob\encode.wme
echo ^</UserData^> >>%rootdir%\vob\encode.wme
)
IF %Channels%==1 (
echo Scheme="file" >>%rootdir%\vob\encode.wme
echo InputSource="%rootdir%\VOB\movieaudio.wav" >>%rootdir%\vob\encode.wme
echo PreProcesses="1" ^> >>%rootdir%\vob\encode.wme
echo ^<UserData ^> >>%rootdir%\vob\encode.wme
echo ^</UserData^> >>%rootdir%\vob\encode.wme
)
echo ^</Source^> >>%rootdir%\vob\encode.wme
echo ^<EncoderProfile id="High definition quality audio (VBR) / High definition quality video (VBR)" /^> >>%rootdir%\vob\encode.wme
echo ^<UserData ^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_LONG Name="Video0\CropMethod" Value="1" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_LONG Name="Video0\CropCustomT" Value="%topCrop%" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_LONG Name="Video0\CropCustomL" Value="0" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_LONG Name="Video0\CropCustomR" Value="0" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_LONG Name="Video0\CropCustomB" Value="%bottomCrop%" /^> >>%rootdir%\vob\encode.wme
echo ^</UserData^> >>%rootdir%\vob\encode.wme
echo ^</SourceGroup^> >>%rootdir%\vob\encode.wme
echo ^</SourceGroups^> >>%rootdir%\vob\encode.wme
echo ^<File LocalFileName="%rootdir%\movietitle.wmv" /^> >>%rootdir%\vob\encode.wme
echo ^<WMEncoder_Profile id="High definition quality audio (VBR) / High definition quality video (VBR)" ^> >>%rootdir%\vob\encode.wme
echo ^<![CDATA[ ^<profile version="589824" >>%rootdir%\vob\encode.wme
echo storageformat="1" >>%rootdir%\vob\encode.wme
echo name="High definition quality audio (VBR) / High definition quality video (VBR)" >>%rootdir%\vob\encode.wme
echo description=""^> >>%rootdir%\vob\encode.wme
echo ^<streamconfig majortype="{73647561-0000-0010-8000-00AA00389B71}" >>%rootdir%\vob\encode.wme
echo streamnumber="1" >>%rootdir%\vob\encode.wme
echo streamname="Audio Stream" >>%rootdir%\vob\encode.wme
echo inputname="Audio409" >>%rootdir%\vob\encode.wme
echo bitrate="256008" >>%rootdir%\vob\encode.wme
echo bufferwindow="-1" >>%rootdir%\vob\encode.wme
echo reliabletransport="0" >>%rootdir%\vob\encode.wme
echo decodercomplexity="" >>%rootdir%\vob\encode.wme
echo rfc1766langid="en-us" >>%rootdir%\vob\encode.wme
echo vbrenabled="1" >>%rootdir%\vob\encode.wme
echo bitratemax="0" >>%rootdir%\vob\encode.wme
echo bufferwindowmax="0"^> >>%rootdir%\vob\encode.wme
echo ^<wmmediatype subtype="{00000162-0000-0010-8000-00AA00389B71}" >>%rootdir%\vob\encode.wme
echo bfixedsizesamples="1" >>%rootdir%\vob\encode.wme
echo btemporalcompression="0" >>%rootdir%\vob\encode.wme
echo lsamplesize="10923"^> >>%rootdir%\vob\encode.wme
echo ^<waveformatex wFormatTag="354" >>%rootdir%\vob\encode.wme
IF %Channels%==6 (
echo nChannels="6" >>%rootdir%\vob\encode.wme
)
IF %Channels%==2 (
echo nChannels="2" >>%rootdir%\vob\encode.wme
)
IF %Channels%==1 (
echo nChannels="1" >>%rootdir%\vob\encode.wme
)
echo nSamplesPerSec="48000" >>%rootdir%\vob\encode.wme
echo nAvgBytesPerSec="32001" >>%rootdir%\vob\encode.wme
echo nBlockAlign="10923" >>%rootdir%\vob\encode.wme
echo wBitsPerSample="24" >>%rootdir%\vob\encode.wme
IF %Channels%==6 (
echo codecdata="18003F0000000000000000000000E0000000"/^> >>%rootdir%\vob\encode.wme
)
IF %Channels%==2 (
echo codecdata="1800030000000000000000000000E0000000"/^> >>%rootdir%\vob\encode.wme
)
IF %Channels%==1 (
echo codecdata="1800030000000000000000000000E0000000"/^> >>%rootdir%\vob\encode.wme
)
echo ^</wmmediatype^> >>%rootdir%\vob\encode.wme
echo ^</streamconfig^> >>%rootdir%\vob\encode.wme
echo ^<streamconfig majortype="{73646976-0000-0010-8000-00AA00389B71}" >>%rootdir%\vob\encode.wme
echo streamnumber="2" >>%rootdir%\vob\encode.wme
echo streamname="Video Stream" >>%rootdir%\vob\encode.wme
echo inputname="Video409" >>%rootdir%\vob\encode.wme
echo bitrate="4000000" >>%rootdir%\vob\encode.wme
echo bufferwindow="-1" >>%rootdir%\vob\encode.wme
echo reliabletransport="0" >>%rootdir%\vob\encode.wme
echo decodercomplexity="AU" >>%rootdir%\vob\encode.wme
echo rfc1766langid="en-us" >>%rootdir%\vob\encode.wme
echo vbrenabled="1" >>%rootdir%\vob\encode.wme
echo bitratemax="0" >>%rootdir%\vob\encode.wme
echo bufferwindowmax="0"^> >>%rootdir%\vob\encode.wme
echo ^<videomediaprops maxkeyframespacing="20000000" >>%rootdir%\vob\encode.wme
echo quality="0"/^> >>%rootdir%\vob\encode.wme
echo ^<wmmediatype subtype="{33564D57-0000-0010-8000-00AA00389B71}" >>%rootdir%\vob\encode.wme
echo bfixedsizesamples="0" >>%rootdir%\vob\encode.wme
echo btemporalcompression="1" >>%rootdir%\vob\encode.wme
echo lsamplesize="0"^> >>%rootdir%\vob\encode.wme
echo ^<videoinfoheader dwbitrate="4000000" >>%rootdir%\vob\encode.wme
echo dwbiterrorrate="0" >>%rootdir%\vob\encode.wme
echo avgtimeperframe="333667"^> >>%rootdir%\vob\encode.wme
echo ^<rcsource left="0" >>%rootdir%\vob\encode.wme
echo top="0" >>%rootdir%\vob\encode.wme
echo right="%width%" >>%rootdir%\vob\encode.wme
echo bottom="%height%"/^> >>%rootdir%\vob\encode.wme
echo ^<rctarget left="0" >>%rootdir%\vob\encode.wme
echo top="0" >>%rootdir%\vob\encode.wme
echo right="%width%" >>%rootdir%\vob\encode.wme
echo bottom="%height%"/^> >>%rootdir%\vob\encode.wme
echo ^<bitmapinfoheader biwidth="%width%" >>%rootdir%\vob\encode.wme
echo biheight="%height%" >>%rootdir%\vob\encode.wme
echo biplanes="1" >>%rootdir%\vob\encode.wme
echo bibitcount="24" >>%rootdir%\vob\encode.wme
echo bicompression="WMV3" >>%rootdir%\vob\encode.wme
echo bisizeimage="0" >>%rootdir%\vob\encode.wme
echo bixpelspermeter="0" >>%rootdir%\vob\encode.wme
echo biypelspermeter="0" >>%rootdir%\vob\encode.wme
echo biclrused="0" >>%rootdir%\vob\encode.wme
echo biclrimportant="0"/^> >>%rootdir%\vob\encode.wme
echo ^</videoinfoheader^> >>%rootdir%\vob\encode.wme
echo ^</wmmediatype^> >>%rootdir%\vob\encode.wme
echo ^</streamconfig^> >>%rootdir%\vob\encode.wme
echo ^<streamprioritization^> >>%rootdir%\vob\encode.wme
echo ^<stream number="1" mandatory="0"/^> >>%rootdir%\vob\encode.wme
echo ^<stream number="2" mandatory="0"/^> >>%rootdir%\vob\encode.wme
echo ^</streamprioritization^> >>%rootdir%\vob\encode.wme
echo ^</profile^> >>%rootdir%\vob\encode.wme
echo ]]^> >>%rootdir%\vob\encode.wme
echo ^</WMEncoder_Profile^> >>%rootdir%\vob\encode.wme
echo ^<UserData ^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_LONG Name="Encoding\Dest" Value="2" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_LONG Name="Encoding\Bitrate0\Video0\CustomW" Value="%width%" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_LONG Name="Encoding\Bitrate0\Video0\CustomH" Value="%height%" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_STRING Name="Encoding\Audio0" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_STRING Name="Encoding\Video0" /^> >>%rootdir%\vob\encode.wme
echo ^<WMENC_STRING Name="Encoding\Script0" /^> >>%rootdir%\vob\encode.wme
echo ^</UserData^> >>%rootdir%\vob\encode.wme
echo ^</WMEncoder^> >>%rootdir%\vob\encode.wme
REM
REM
REM This section encodes the WAVs and M2V files into a WMV
REM
REM
echo merging files into WMV
cscript.exe "C:\Program Files\Windows Media Components\Encoder\WMCmd.vbs" -wme "%rootdir%\vob\encode.wme" -title "%MovieTitle%" -output "%rootdir%\%movietitle%.wmv"
REM
REM
REM Echo time finished
REM
REM
echo The conversion process ended at %time%
:RemoveFiles
REM
REM
REM Delete all files created except the WMV
REM
REM
SET /P choice=Do you want to delete all files created during this process (except for the WMV file, of course)[y,n]?
IF %choice%==y GOTO del
IF NOT %choice%==y GOTO end
:del
rmdir /s /q %rootdir%\vob
:end
pause
I'll try your above suggestions and come back and let you know how things go.
Crono141
8th February 2008, 00:51
@survivant001
actually the keyint is 300 ... what value you suggest ?
@Crono141
attachment need to be approved.. post it in [code] tag
.. and i will try the WMV8_1_Pass_CBR BUT in advanced settings check "Specify Quality" and set it to 95%
in this way should be fast and .. at 95% of max quality
@bigggt
avi is processed via directshowsource, you need to set your audio decoder (ffdshow or ac3filter) to output 5.1 16bit audio
BHH
OK, I've found another problem. If I try to use WMV8, I don't get surround sound. The command line shows the _2 instead of the _6, even if I choose "WMAPRO" in the advanced options. Is this a bug, or is there something in the profile that determines what kind of audio gets encoded?
I"m gonna try WVC1 1pass at 95 quality, and see how that treats me.
Glorioso
8th February 2008, 08:39
what do you mean by "break" ?? missing parts like the whole movie is not there or the video pauses but the sound keeps playing then it goes all back to normal?
The video slows down for less then a second but the audio keeps playing.
buzzqw
8th February 2008, 09:25
WMV encoding is really a messy. Point.
i hope to drop wmvcmd.vbs for vide encoding and use avs2afs (the new build from nic)
do you know a command line muxer for wmaudii + wmvideo-> wmv
BHH
zacoz
8th February 2008, 14:52
I've noticed a considerable difference in output video (file) size between 0.95beta21 and 0.95a when using the constant_quality.xml profile.
Example being 5000 frames of an *.m2v source I've just tested (no audio).
With 0.95beta21 the video comes out at 47,939,256 bytes
With 0.95a the video comes out at 75,696,888 bytes
I'm seeing this same sort of difference in full encodes also. The x264 command line seems to be the same so I can't work out why it's happening.
Anyone else able to replicate this behaviour?
20:14:03 0.95 beta 21 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
20:14:03 OS Version: Windows XP
20:14:03 Selected Input file: D:\Capture\WIN HD 2008-02-04_213255.m2v
20:14:03 Selected Output dir: D:\Capture\temp\
20:14:03 Selected Final Name: test 5000 b21
20:14:03 Selected Container type: MKV
20:14:03 Selected Encoder: X264
20:14:03 Selected Size: Unlimited File Size
20:14:03 Selected Profile: Constant_Quality.xml
20:14:03 Selected Resizer: BicubicResize (neutral=0,0.50) / 896
20:14:03 Selected Filters: RemoveGrain(mode=2)
20:14:03 Selected Deinterlacer: AUTO
20:14:03 Selected Field Order: AUTO
20:14:03 Enabled Constant Quality With Unlimited Size (Q 22)
20:14:03 Track Language 1: NONE
20:14:03 Audio Codec 1: Nero AAC
20:14:03 Track Language 2: NONE
20:14:03 Audio Codec 2: Nero AAC
20:14:03 Movie title Name: CSI NY 322 Cold Reveal
20:14:03 Activate Anamorphic Encoding
20:14:03 Activate Last line AVS Script: trim(0,5000)
20:14:03 Selected Unlimited media size
20:14:03 Dgindex CMD: E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\dgindex\dgindex.exe -FO=0 -OM=1 -YR=2 -AIF=[D:\Capture\WIN HD 2008-02-04_213255.m2v] -OF=[D:\Capture\temp\movie] -exit -minimize
20:15:15 Number of Frames: 61020
20:15:15 Framerate: 25.000000
20:15:15 Movie length in Seconds: 2441
20:15:15 Movie Width/Height: 1440/1080
20:15:15 DgIndex AR: 16:9
20:19:27 Source is declared tff by a margin of 26/30.
20:19:27 Advanced Deinterlace Routines Log
20:19:27 Analyzed 340 sections of five frames
20:19:27 Found Interlace Sections: 8 2.35%
20:19:27 Found Progressive Sections:330 97.06%
20:19:27 Found Telecined Sections: 2 0.59%
20:19:27 Found Zero Mov: 97.06% 330
20:19:27 Found One Mov: 1.76% 6
20:19:27 Found Two Mov: 0.59% 2
20:19:27 Found Three Mov: 0.59% 2
20:19:27 Found Four Mov: 0.00% 0
20:19:27 Found Five Mov: 0.00% 0
20:19:27 The Movie is declared to progressive
20:19:27 Starting X264
20:19:27 CRF encoding X264: E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\encoder\x264.exe --pass 1 --crf 22 --stats "D:\Capture\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --sar 13432836:10000000 --output "D:\Capture\temp\movie.264" "D:\Capture\temp\movie.avs"
20:27:17 X264 Final CRF Encoding Stats:
x264 [info]: using SAR=52472/39062
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
x264 [info]: slice I:90 Avg QP:20.63 size: 29919
20:27:17 Accepted values are between 697303040 and 741343232 bytes (movie+audio)
20:27:17 Got a file of size: 47939256 bytes + audio size -1 bytes (47939256)
20:27:17 Only Movie Size: 47939256 bytes
20:27:17 "E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\matroska\mkvmerge.exe" -o "D:\Capture\temp\test 5000 b21.mkv" --default-duration 0:25000/1000fps --track-name -1:"test 5000 b21" --aspect-ratio -1:1.791045 "D:\Capture\temp\movie.264" --title "CSI NY 322 Cold Reveal"
20:27:22 Final Muxed size: 48015240 bytes
20:27:22 Encoding finished: 00:07:55 elapsed time
20:27:22 -----------------------------------------------------------------------
20:27:22 Script AutoCrop.log
20:27:22
20:27:22 Crop(0,8,1440,1072)
20:27:22 -----------------------------------------------------------------------
20:27:22 Script movie.avs
20:27:22
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\AddGrain.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\autocrop.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\aWarpSharp(Pruned).dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\blockbuster.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\cnr2.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\ColorMatrix.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\Convolution3D.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\corrector.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\DctFilter.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\Decomb.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\Deen.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\degrainmedian.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\DGDecode.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\EEDI2.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\FFMpegSource.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\FFT3DFilter.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\FluxSmooth.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\frfun7.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\hqdn3d.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\LeakKernelDeint.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\MaskTools.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\medianblur.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\MipSmooth.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\MSharpen.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\mt_masktools.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\mvtools.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\NicAudio.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\RemoveGrainS.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\RepairS.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\SangNom.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\SimpleResize.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\SoundOut.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\TBilateral.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\TDeint.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\TIVTC.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\TomsMoComp.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\TTempSmooth.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\UnDot.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\UnFilter.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\VSFilter.dll")
20:27:22 LoadPlugin("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\warpsharp.dll")
20:27:22 #loadpluginstart
20:27:22
20:27:22 #test1
20:27:22
20:27:22 Import("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\BlindDeHalo3_mt2.avsi")
20:27:22 Import("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\Deblock_QED_MT2.avsi")
20:27:22 Import("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
20:27:22 Import("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\HybridFuPP.avsi")
20:27:22 Import("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\LanczosPlus.avsi")
20:27:22 Import("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\Lem.avsi")
20:27:22 Import("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\LimitedSharpenFaster.avsi")
20:27:22 Import("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\MCBob_v03c.avsi")
20:27:22 Import("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\mvbob.avsi")
20:27:22 Import("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\QMlib.avsi")
20:27:22 Import("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\seesaw.avsi")
20:27:22 Import("E:\Documents and Settings\Thermal\Desktop\AutoMKV093_NORIP\exe\filter\spresso.avsi")
20:27:22 #importstart
20:27:22
20:27:22 #test2
20:27:22
20:27:22 movie = mpeg2source("D:\Capture\temp\movie.d2v")
20:27:22 function getOrder(clip c) {
20:27:22 order = GetParity(c) ? 1 : 0
20:27:22 Return order }
20:27:22 #filter1start
20:27:22
20:27:22 #test3
20:27:22
20:27:22 last=movie.Crop(0,8,1440,1072)
20:27:22 fixed_aspect = 1.343284
20:27:22 out_width = 896
20:27:22 out_height = 672
20:27:22 #resizestart
20:27:22
20:27:22 #test4
20:27:22
20:27:22 BicubicResize(out_width,out_height,0,0.50)
20:27:22 #filter2start
20:27:22
20:27:22 #test5
20:27:22
20:27:22 RemoveGrain(mode=2)
20:27:22 ColorMatrix(mode="Rec.709->Rec.601")
20:27:22 trim(0,5000)
20:27:22
20:27:22 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
(0.95a log in next post)
zacoz
8th February 2008, 14:53
(cont from previous post)
23:11:04 0.95a - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
23:11:04 OS Version: Windows XP
23:11:04 Selected Input file: D:\Capture\WIN HD 2008-02-04_213255.m2v
23:11:04 Selected Output dir: D:\Capture\temp\
23:11:04 Selected Final Name: test 5000 95a
23:11:04 Selected Container type: MKV
23:11:04 Selected Encoder: X264
23:11:04 Selected Size: Unlimited File Size
23:11:04 Selected Profile: Constant_Quality.xml
23:11:04 Selected Resizer: BicubicResize (neutral=0,0.50) / 896
23:11:04 Selected Filters: RemoveGrain(mode=2)
23:11:04 Selected Deinterlacer: AUTO
23:11:04 Selected Field Order: AUTO
23:11:04 Enabled Constant Quality With Unlimited Size (Q 22)
23:11:04 Track Language 1: NONE
23:11:04 Audio Codec 1: Nero AAC
23:11:04 Track Language 2: NONE
23:11:04 Audio Codec 2: Nero AAC
23:11:04 Movie title Name: CSI NY 322 Cold Reveal
23:11:04 Activate Anamorphic Encoding
23:11:04 Activate Last line AVS Script: trim(0,5000)
23:11:04 Selected Unlimited media size
23:11:04 Dgindex CMD: E:\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -YR=2 -AIF=[D:\Capture\WIN HD 2008-02-04_213255.m2v] -OF=[D:\Capture\temp\movie] -exit -minimize
23:12:15 Number of Frames: 61020
23:12:15 Framerate: 25.000000
23:12:15 Movie length in Seconds: 2441
23:12:15 Movie Width/Height: 1440/1080
23:12:15 DgIndex AR: 16:9
23:16:18 Source is declared tff by a margin of 26/30.
23:16:18 Advanced Deinterlace Routines Log
23:16:18 Analyzed 340 sections of five frames
23:16:18 Found Interlace Sections: 8 2.35%
23:16:18 Found Progressive Sections:330 97.06%
23:16:18 Found Telecined Sections: 2 0.59%
23:16:18 Found Zero Mov: 97.06% 330
23:16:18 Found One Mov: 1.76% 6
23:16:18 Found Two Mov: 0.59% 2
23:16:18 Found Three Mov: 0.59% 2
23:16:18 Found Four Mov: 0.00% 0
23:16:18 Found Five Mov: 0.00% 0
23:16:18 The Movie is declared to progressive
23:16:18 Starting X264
23:16:18 CRF encoding X264: E:\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 22 --stats "D:\Capture\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --sar 13432836:10000000 --output "D:\Capture\temp\movie.264" "D:\Capture\temp\movie.avs"
23:26:07 X264 Final CRF Encoding Stats:
x264 [info]: using SAR=52472/39062
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
x264 [info]: slice I:88 Avg QP:17.26 size: 38101
x264 [info]: slice P:3063 Avg QP:19.24 size: 20109
x264 [info]: slice B:1850 Avg QP:20.99 size: 5809
x264 [info]: mb I I16..4: 35.4% 25.8% 38.8%
x264 [info]: mb P I16..4: 15.1% 21.9% 7.4% P16..4: 24.8% 13.5% 4.7% 0.8% 0.4% skip:11.5%
x264 [info]: mb B I16..4: 3.1% 4.4% 0.5% B16..8: 25.7% 1.5% 1.6% direct:12.9% skip:50.3%
x264 [info]: 8x8 transform intra:48.6% inter:29.5%
x264 [info]: direct mvs spatial:99.8% temporal:0.2%
23:26:07 Accepted values are between 697303040 and 741343232 bytes (movie+audio)
23:26:07 Got a file of size: 75696888 bytes + audio size -2 bytes (75696880)
23:26:07 Only Movie Size: 75696888 bytes
23:26:07 "E:\AutoMKV\exe\matroska\mkvmerge.exe" -o "D:\Capture\temp\test 5000 95a.mkv" --default-duration 0:25000/1000fps --track-name -1:"test 5000 95a" --aspect-ratio -1:1.791045 "D:\Capture\temp\movie.264" --title "CSI NY 322 Cold Reveal"
23:26:10 Final Muxed size: 75774752 bytes
23:26:10 Encoding finished: 00:09:52 elapsed time
23:26:10 -----------------------------------------------------------------------
23:26:10 Script AutoCrop.log
23:26:10
23:26:10 Crop(0,8,1440,1072)
23:26:10 -----------------------------------------------------------------------
23:26:10 Script movie.avs
23:26:10
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\AddGrain.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\autocrop.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\aWarpSharp(Pruned).dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\blockbuster.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\cnr2.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\ColorMatrix.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\Convolution3D.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\corrector.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\DctFilter.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\Decomb.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\Deen.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\degrainmedian.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\DGDecode.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\EEDI2.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\FFMpegSource.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\FFT3DFilter.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\FluxSmooth.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\frfun7.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\hqdn3d.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\LeakKernelDeint.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\MaskTools.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\medianblur.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\MipSmooth.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\MSharpen.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\mt_masktools.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\mvtools.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\NicAudio.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\RemoveGrainS.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\RepairS.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\SangNom.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\SimpleResize.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\SoundOut.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\TBilateral.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\TDeint.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\TIVTC.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\TomsMoComp.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\TTempSmooth.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\UnDot.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\UnFilter.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\VSFilter.dll")
23:26:10 LoadPlugin("E:\AutoMKV\exe\filter\warpsharp.dll")
23:26:10 #loadpluginstart
23:26:10
23:26:10 #test1
23:26:10
23:26:10 Import("E:\AutoMKV\exe\filter\BlindDeHalo3_mt2.avsi")
23:26:10 Import("E:\AutoMKV\exe\filter\Deblock_QED_MT2.avsi")
23:26:10 Import("E:\AutoMKV\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
23:26:10 Import("E:\AutoMKV\exe\filter\HybridFuPP.avsi")
23:26:10 Import("E:\AutoMKV\exe\filter\LanczosPlus.avsi")
23:26:10 Import("E:\AutoMKV\exe\filter\Lem.avsi")
23:26:10 Import("E:\AutoMKV\exe\filter\LimitedSharpenFaster.avsi")
23:26:10 Import("E:\AutoMKV\exe\filter\MCBob_v03c.avsi")
23:26:10 Import("E:\AutoMKV\exe\filter\mvbob.avsi")
23:26:10 Import("E:\AutoMKV\exe\filter\QMlib.avsi")
23:26:10 Import("E:\AutoMKV\exe\filter\seesaw.avsi")
23:26:10 Import("E:\AutoMKV\exe\filter\spresso.avsi")
23:26:10 #importstart
23:26:10
23:26:10 #test2
23:26:10
23:26:10 movie = mpeg2source("D:\Capture\temp\movie.d2v")
23:26:10 function getOrder(clip c) {
23:26:10 order = GetParity(c) ? 1 : 0
23:26:10 Return order }
23:26:10 #filter1start
23:26:10
23:26:10 #test3
23:26:10
23:26:10 last=movie.Crop(0,8,1440,1072)
23:26:10 fixed_aspect = 1.343284
23:26:10 out_width = 896
23:26:10 out_height = 672
23:26:10 #resizestart
23:26:10
23:26:10 #test4
23:26:10
23:26:10 BicubicResize(out_width,out_height,0,0.50)
23:26:10 #filter2start
23:26:10
23:26:10 #test5
23:26:10
23:26:10 RemoveGrain(mode=2)
23:26:10 ColorMatrix(mode="Rec.709->Rec.601")
23:26:10 trim(0,5000)
23:26:10
23:26:10 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
buzzqw
8th February 2008, 15:12
... an idea... the AQ patch
i suppose the AQ is triggered, please try settings in advanced profile editing set aq strenght to 0 (zero)
thanks!
BHH
P.S. what about quality ?
zacoz
8th February 2008, 15:46
Set aq strength at 0 but with no effect, 0.95a still comes out larger (same as without aq strength set). Do I need to set both aq strength and aq sensitivity, as I can't see any aq setting added into the command line?
Will test some more along that line in the morning. I need to get some sleep or I'll fall asleep at the keyboard. :eek:
P.S. Great difficulty seeing the difference between the 0.95beta21 and 0.95a encode, and couldn't pick one being better than the other. Surprising I thought considering the % size difference between them.
buzzqw
8th February 2008, 15:49
... feel free to substitute the x264.exe build...
ant btw here is 15.49 :p
BHH
reddragon72
8th February 2008, 16:42
The video slows down for less then a second but the audio keeps playing.
I am having the same issue, and it is always at the same places in the movie. At first I thought it was buffer issue, but now that I have a Xvid at less than 5000Kbs it still hesitates in the same place. So right now I am back to square one trying to figure out why a 1280x544 movie at 5kbs struggles to play on a system that is powerful enough to play a X264 file at 10k. Hell I would use the X264 file directly, but my issue is that I want 5.1 and on the 360 the only codecs that allow 5.1 is Xvid and WMV and I hate encoding anything in WMV the file size if frign HUGE compared to Xvid. I'm doing another movie right now, but so far all of my MKV movies that I am converting to Xvid have had this issue, but only on the 360, the PC plays them perfectly.
Glorioso
8th February 2008, 18:12
I am having the same issue, and it is always at the same places in the movie. At first I thought it was buffer issue, but now that I have a Xvid at less than 5000Kbs it still hesitates in the same place. So right now I am back to square one trying to figure out why a 1280x544 movie at 5kbs struggles to play on a system that is powerful enough to play a X264 file at 10k. Hell I would use the X264 file directly, but my issue is that I want 5.1 and on the 360 the only codecs that allow 5.1 is Xvid and WMV and I hate encoding anything in WMV the file size if frign HUGE compared to Xvid. I'm doing another movie right now, but so far all of my MKV movies that I am converting to Xvid have had this issue, but only on the 360, the PC plays them perfectly.
Same here, i thought it was the problem with 5k plus bitrate but after i limited i get the same problem...
Honeyko
8th February 2008, 18:49
(Surveying the wreckage of the last two pages...)
Like the man from Arkansas said, but really meaning it, "I feel your pain". -- And it's chiefly why I've stopped even messing with (h/x)264 altogether for at least the time being.
A video project is like a car that needs fixing, and codecs are like toolboxes, and I'm a semi-competent backyard mechanic. XviD is a toolbox with ten tools in it, some of which will do the very well*, some more which will do it half-ass, and the rest that aren't appropriate. OTOH, x264 is a toolbox with a thousand tools in it, a couple of which work insanely great and better than the best xvid tool, some more that do as well, and about 950 tools that are inappropriate for your particular project's needs.
-- meaning, if you're a putterer, you're going to waste a LOT, LOT, LOT more time fumbling around in 264 before stumbling upon the right combination. And it'll take you a LOT, LOT, LOT more time waiting until you know that your pin totally missed getting the tail on the donkey.
(* LEM filter + Didees SixOfNine-HVS.cqm custom matrix really clean up old messy films. The greatest appeal of AutoMKV is that it's the only GUI shell that permits using those great processors with XviD, and also which permits MOD2 (or "no resizing at all if you don't want resizing") XviD encoding.)
Honeyko
8th February 2008, 19:10
LEM filter + Didees SixOfNine-HVS.cqm custom matrix really clean up old messy films. The greatest appeal of AutoMKV is that it's the only GUI shell that permits using those great processors with XviD, and also which permits MOD2 (or "no resizing at all if you don't want resizing") XviD encoding.)
SUGGESTION: Make those two default on AutoMKV if the user selects XviD encoding, and selects one-pass high performance or constant-quality. -- LEM is so much better than plain ordinary removegrain(2) on "dirty" video that it isn't silly; and Didees blows Jawor(1CD) away for quality when output size isn't a concern. LEM+Didees clean so much grain out of old movies that they compress better*, meaning I can apply CQ2.5 and get a better-looking file of about the same size as that made with CQ2.75 or even CQ3 with removegrain(2) and AUTO for cust. matrix.
(*Example: "Dragonslayer", shot without a deep-focus lens in Scotland; one of the few films made in the last thirty years without artificial lighting in a single scene. There is wafting smoke, hazy mist or billowing clouds in virtually every frame from beginning to end, and backgrounds are blurry. A couple transfers later to DVD, and it's a total "grain blizzard". In dark scenes with fire, there's literally more grain in the frame than original film. With this, LEM+Didees produced output video which was noticeably better that the source!)
Tirade
9th February 2008, 01:47
The problem is what you suspected...
AQ is being used even when set to 0 or when turned off.
I did 2 rips, 1 with AQ set at .5/13 and the other with no AQ. The resulting file size is identical.
gaspah
9th February 2008, 05:09
so i've been encoding these files via making the .d2v files manually with dgindex because automkv wont recognise the .ifo either ripped or with the inbuilt ripper, and been ripping the subs with subrip (which is better having a .srt vs .idx/.vob anyways). I'm getting excellent video/audio results, which is a definate step up from my old basic virtualdubmod/xvid/azid/normalize/lame archives.
After using this prog I couldnt go back to .avi if i tryed :) but now my 3GHz c2d feels like a p4 when encoding :( guess its time to go quad-core hey :)
But now i've noticed that encoding via .d2v eliminates chapters from from the encoded file, wheras the first run I had with automkv was nearly flawless it recognized all the .ifo and encoded most of them first time round perfect with only having to rip a few with an alternate ripper to get the audio in sync, but they had all the chapters included which was just awesome. is there anyway to keep the chapters even when forced to use .d2v method?
zacoz
9th February 2008, 13:39
The problem is what you suspected...
AQ is being used even when set to 0 or when turned off.
I did 2 rips, 1 with AQ set at .5/13 and the other with no AQ. The resulting file size is identical.
I've checked out the x264 help and it seems that in the x264.exe (r706) with 0.95beta21 the default aq strength was 0.0 and aq sensitivity was 15 whereas the default in the latest build (r736) is now 0.5 and 13.
Also noted that previously if you didn't explicitly set aq strength or you set it to 0 in AutoMKV it wasn't being added to the x264 command line and consequently wasn't activated.
Now however if you don't explicitly set aq strength or you set it to 0 in AutoMKV it still isn't being added to the x264 command line but this results in aq strength of 0.5 and aq sensitivity of 13 being used.
So AutoMKV now needs to be changed so that if you select aq strength of 0 and aq sensitivity of 0 then these are added to the x264 command line.
survivant001
9th February 2008, 14:14
@buzzwq
just to keep you inform. I still have problem with my movie. I created a new thread about the VBV Buffer underflow error.
here the link : http://forum.doom9.org/showthread.php?p=1098148#post1098148
look so hard to find a working command line.. I which I know which parameters to change when I get this error
buzzqw
9th February 2008, 14:55
@gaspah
use the chapter button in advanced settings (you can load the chapter extracted with chapter extractor)
@zacoz
fixed i next update
@survivant001
i will follow the thread , thanks
BHH
Crono141
9th February 2008, 23:27
Alright, I've ripped a DVD, and I"ve converted an Xvid to WMV. The DVD rip looked great and was about half the size of my other rips, except that the last 5 minutes or so of movie had no video, but the audio continued. I noticed in the log file there was an encoder error, probably at that moment.
On the Xvid to WMV conversion, the video started stuttering 10 minutes into the conversion. The audio remained synced, but it seemed like it was repeating every 4th previous frame, or something.
I can attach the log files if that would be helpful, but I didn't see anything in there (error messages or otherwise) that would indicate this problem occuring. I used WVC1 2 pass good with 800 mb size specified on the file conversion, and 95 quality on the DVD rip. Its actually in the middle of converting about 8 Divx and Xvids to WMV VC1 files. If the next one is behaving the same way, I'll let you know.
EDIT: I just found a new problem. After Ripping "Pan's Labyrinth" with burn in subtitles, I lose all subtitles about 42 minutes in. I believe they got lost because there were 2 peoples subtitles simultaneousely. The second person's subtitle didn't appear, and afterward all subtitles are gone.
EDIT AGAIN: All the file conversions as described above have the stuttering video. Must have something to do with "specify size".
weaver4
10th February 2008, 00:03
select the Ipod profile, then go in advanced settings , check specify quality, select 72, then save setting
restart automkv, your profile should be loaded
BHH
I use AutoMKV to make H264 for my popcornhour, H264 for my IPod, and XviD for my DivX DVD players. So this does not do what I want it to do. I don't need a setup that has persistence what I need is a way to make a new profile(s), or easy change the existing profiles to constant quality. I mean, who would really want a specific filesize for iPod content anyway, or a media server, or any other device that is not "feed" by a CD or DVD; including any media server?
It is not that big of a deal to go to the advanced settings and set it for every encode, but it seems a little clumsy.
Tirade
10th February 2008, 01:50
Just go to C:\Program Files\AutoMKV\profiles\x264-profiles
And edit on the of the existing profiles that is close to what you want. Be sure when you name the file that you include _CQ_ in the file name to activate CRF if it is a CRF profile. For example MyProfileforPS3_CQ_80CQ.xml
This profile will then be selectable under profile drop down menu if you click All Profile
AMED
10th February 2008, 05:53
I think i've found a bug,
when running an encode with automkv waiting until you get to the video encoding part and exit automkv, the Output Folder = line in automkv.ini will be reset to the location of the AutoMKV095a.exe
Zow
10th February 2008, 10:43
Still have the problem of missing MKV after ripping a Video_ts of subtitled movies. Tried it several different ways, it just won't create the MKV.
I tried running the muxing.bat from the Temp folder and got an error.
I am attaching the Command Prompt screen-grab with the error, as well as the log.
Thanks.
Gruelius
10th February 2008, 12:20
I dunno if this is a bug or my stupidity but hwen i select "Autocrop only" in the width resolution listbox it still resizes the film.
Thanks
zacoz
10th February 2008, 13:03
@Zow
I suggest you edit your post and paste log text inside CODE tags as attachments can take quite a while to be approved.
@Gruelius
Can you please post your log (as above - inside CODE tags).
weaver4
10th February 2008, 13:11
Just go to C:\Program Files\AutoMKV\profiles\x264-profiles
And edit on the of the existing profiles that is close to what you want. Be sure when you name the file that you include _CQ_ in the file name to activate CRF if it is a CRF profile. For example MyProfileforPS3_CQ_80CQ.xml
This profile will then be selectable under profile drop down menu if you click All Profile
Knowing what file to edit or to put _CQ_ in the name is not the problem. Knowing what to edit in the file is. What parameters do I change? What parameters do I add? What parameters do I remove?
zacoz
10th February 2008, 14:21
@Zow
Try removing the language setting (--language -1:esp) from the command line in muxing.bat and see if it works.
buzzqw
10th February 2008, 14:37
@Amed
that's strange automkv write automkv.ini only when save setting is pressed...
@Gruelius
I dunno if this is a bug or my stupidity but hwen i select "Autocrop only" in the width resolution listbox it still resizes the film.
for keeping best ar. you can manually crop (using the manual crop on advanced settings, then set NONE as resize in main panel)
@zacoz @Zow
good suggestion!
BHH
zacoz
10th February 2008, 14:45
@buzzqw
Gone back and looked at Zow's previous post (http://forum.doom9.org/showthread.php?p=1097010#post1097010) with the log and it also had the esp language setting in the mkvmerge command line.
Where does AutoMKV source the language from for this, as the audio advanced options is the only place I can see a language selection but esp isn't in the list?
If esp is supposed to be spanish then it should be "spa" or "es" I believe to be accepted by mkvmerge.
buzzqw
10th February 2008, 16:35
automkv don't internally "translate" esp to spa... it simply keep the first three letters (espana -> esp).
I will add an exception for this (as for finnish->suo, japan ->jpn ...)
BHH
zacoz
10th February 2008, 17:53
Some positive feedback :)
Just processed a capture of 4:3 movie broadcast in 16:9 (black bars on left and right). I applied a manual crop to remove bars and some noise at the top, and specified a desired width, leaving AutoMKV to decide on height, SAR & DAR.
Perfect results both with and without anamorphic encode selected. :cool:
Thanks for all the work with AR and such on 0.95 :thanks:
buzzqw
10th February 2008, 18:07
thanks zacoz, it's was an hard work. Mainly because i don't knew what doing ;)
i will soon publish the 0.95b with varius fixes.
the next beta (0.96) will be focused on wmv, BUT if someone don't fix the avs2asf on audio part... i am lost :(
i'am also waiting for some feedback from DivX, i will love to add support to DivX codec by using CLI.exe (as in Dr.DivX) interface
BHH
Tirade
10th February 2008, 18:11
At roughly what point does diminishing returns kick in with CRF? I started with a 4.7GB DVD Rip of Fantastic 4 16X9
1st transcode - 2 pass better CQ90 - size 1.23GB
2nd transcode - CRF 16 - size 1.65GB
3rd transcode - CRF 10 - size 3.07GB
Ive done about 10 encodes on 2 PC's over the last 3 days trying to iron out a solid setting before batch transcoding all my DVD's.
I removed b-pyramid and removed p4X4mv for DXVA compatibility (thx valnar)
This is my current command line:
--pass 1 --crf 14 --stats "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\VIDEO_TS\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 14000 --me umh --level 3.1 --weightb --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --aq-strength 0.50 --aq-sensitivity 13 --no-dct-decimate --sar 1:1
I'm using auto-crop and anamorphic encoding on 16X9 sources.
Is there anything big I'm missing? Trying to iron out these last few details is tough because I'm starting to get lost. I'm not sure what resize filter I should be using on my auto crop stuff and I'm not sure if I should be using the RemoveGrain(mode=2) filter that is enabled by default. Is there a good source that explains these filters and also a good source for explaining the results of different CRF values?
buzzqw
10th February 2008, 18:38
crf 14 is a little overkill, even 16 should produce a near trasparent quality
i will you a sharp resizer, stick with lanczos or spline36, and ermovegrain(mode=2) cannot damage your source, so use it without doubt
i will remove i4x4, not a big deal leaving it. and maybe.. rainse bframes to 4 ... try with this settings, just for fun :)
BHH
Zow
10th February 2008, 18:45
automkv don't internally "translate" esp to spa... it simply keep the first three letters (espana -> esp).
I will add an exception for this (as for finnish->suo, japan ->jpn ...)
BHH
Thanks, zacoz and buzzqw. Sorry about the attachments, it looked like they approved them right away, but I guess not.
Is there something I can manually edit now, or should I just wait for the next version (which is O.K., I am not in a terrible hurry?)
buzzqw
10th February 2008, 19:59
edit the muxing.bat and substitute esp for spa
next time, when working on ifo , hit advanced audio buttons and select language here
anyway will be fixed in next update (wait some days)
BHH
Tirade
10th February 2008, 20:54
i will remove i4x4, not a big deal leaving it. and maybe.. rainse bframes to 6 ... try with this settings, just for fun :)
BHH
Is raising the bframes to 6 going to cause a compatibility issue with DXVA?
I saw this thread and I am curious.
http://forum.doom9.org/showthread.php?t=132924
Taddeusz
10th February 2008, 21:01
@buzzqw
I think I have an idea what's going on with some of the videos with subtitles. I've discovered that the VOB that came out correctly has exactly the same PTS for it's audio and video. The VOB where the subtitles display at the incorrect times the PTS values are slightly different between the audio and the video. Somehow I believe this causes AutoMKV to display subtitles at the wrong time.
buzzqw
10th February 2008, 22:31
@Tirade
you are right! thanks
i have edited my post
@Taddeusz
The VOB where the subtitles display at the incorrect times the PTS values are slightly different between the audio and the video. Somehow I believe this causes AutoMKV to display subtitles at the wrong time.
just to be precise: automkv use dgindex to create the d2v, and the audio delay is fixed at muxing/encoding time
BUT subtitles are ripped as is, and muxed as is.
The time of display subs(idx/sub) are inside the .idx, and automkv will not touch this file.
So i suppose something is wrong on subripping (pgc/vts/angle/chain...). I must say that often when i need subs (rarely needed) i subrip previusly, check the timing, then add as external subtitle
BHH
Crono141
10th February 2008, 23:17
thanks zacoz, it's was an hard work. Mainly because i don't knew what doing ;)
i will soon publish the 0.95b with varius fixes.
the next beta (0.96) will be focused on wmv, BUT if someone don't fix the avs2asf on audio part... i am lost :(
i'am also waiting for some feedback from DivX, i will love to add support to DivX codec by using CLI.exe (as in Dr.DivX) interface
BHH
Any idea when you'll have the .96 build ready? The software has great potential to be my one-stop video conversion utility. There's literally nothing out there that reliably and easily converts to WMV.
I'm not trying to be demanding, so sorry if I come across that way. I was just curious if your a few days away from release, or a few weeks or months.
Thanks again for the nice software.
darbid
10th February 2008, 23:41
It is not the first time I have written here. i am trying the same m2ts file from a backedup copy of Worlds End - AVC and AC3
1 I am demuxing with elecard
2. mux the .avc file into a ts stream (does not work otherwise)
Then loading both files into Automkv. For the sound I am just choosing keep original.
23:08:50 0.95 beta 21 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
23:08:50 Selected Input file: E:\DVD\elcard\mux.ts
23:08:50 Selected Output dir: E:\DVD\elcard\temp\
23:08:50 Selected Final Name: mux
23:08:50 Selected Container type: MKV
23:08:50 Selected Encoder: X264
23:08:50 Selected Size: 1 CD / 1
23:08:50 Selected Profile: 1_Pass_Fastest.xml
23:08:50 Selected Resizer: SimpleResize (neutral soft) / Automatic
23:08:50 Selected Filters: RemoveGrain(mode=2)
23:08:50 Selected Deinterlacer: AUTO
23:08:50 Selected Field Order: AUTO
23:08:50 Manual Crop: Enabled
23:08:50 Left Crop: 0
23:08:50 Top Crop: 0
23:08:50 Right Crop: 0
23:08:50 Botton Crop: 0
23:08:50 Manual Width: 1280
23:08:50 Manual Height: 720
23:08:50 Enabled CRF/CQ AutoRes at 18 value
23:08:50 Track Language 1: E:\DVD\elcard\00001_audio1.ac3
23:08:50 Audio Codec 1: Copy Original
23:08:50 Track Language 2: NONE
23:08:50 Audio Codec 2: Nero AAC
23:08:50 Enabled Use DirectShowSource for AUDIO and VIDEO
23:08:50 Activate use ProjectX
23:08:50
23:08:55 Number of Frames: 2876
23:08:55 Framerate: 23.976044
23:08:55 Movie length in Seconds: 120
23:08:55 Movie Width/Height: 1920/1080
23:10:49 Source is declared tff by a margin of 1/0.
23:10:49 Advanced Deinterlace Routines Log
23:10:49 Analyzed 572 sections of five frames
23:10:49 Found Interlace Sections: 0 0.00%
23:10:49 Found Progressive Sections:572 100.00%
23:10:49 Found Telecined Sections: 0 0.00%
23:10:49 Found Zero Mov: 100.00% 572
23:10:49 Found One Mov: 0.00% 0
23:10:49 Found Two Mov: 0.00% 0
23:10:49 Found Three Mov: 0.00% 0
23:10:49 Found Four Mov: 0.00% 0
23:10:49 Found Five Mov: 0.00% 0
23:10:49 The Movie is declared to progressive
23:10:49 Encoded 1' Audio Track: -2 bytes
23:10:49 Unable to encode Audio, try piping with FFmpeg!
23:13:34 Unable to encode Audio even piping from FFmpeg!
Honeyko
10th February 2008, 23:51
SUGGESTION (because no other utility has it):
Ability to open an audio file (any of those currently supported) and re-time it by entering in a desired time-length in hhh:mm:ss:mmm format.
-- This will resolve the annoyance of some audio tracks still being out of the sync after using the PAL>NTSC (or vice-versa) presets found in other applications. (And by "out of sync", I don't mean "it just needs a delay factor"; I mean it's still too fast or too slow.)
(General audio messin' around without it being part of a video project would be a fantastic addition.)
Atak_Snajpera
11th February 2008, 00:31
General audio messin' around without it being part of a video project would be a fantastic addition
I think I will be able to write that app. It should be quite easy. Do you transcode only to AC3 or to other format?
Don_Genaro
11th February 2008, 01:59
I think I found two bugs in automkv0.95a:
When using Constant Quality profile to hit a target size... the audio gets encoded to audio.mp4 but the application then looks for a %movie_name.mp4 and it doesnīt find it, then it starts to encode the audio again with ffmpeg and once again the audio doesnīt get noticed.
Then the avs script for the movie instead of the original width it places "ORIGINAL" on the value, so avisynths complains about not knowing what to do with "ORIGINAL".
:thanks:
I really like automkv! hope it will continue to getting better and better.
Suggestion: A feauture that lets you choose the final output size based on a percentage of the original file size. Example: One wants to encode a xvid file to x264 but to a 70% of itīs original size.
Honeyko
11th February 2008, 05:44
General audio messin' around without it being part of a video project would be a fantastic additionI think I will be able to write that app. It should be quite easy. Do you transcode only to AC3 or to other format?It doesn't matter, actually, since once the stuff is properly retimed, I can use BeSweet, et al, to convert it to any other format. Of course the more input/output choices there are, the more convenient the utility becomes.
Note that (1) retiming to the millisecond and (2) cutting/splicing are about the only things BeSweetGUI doesn't do, so those are the things I'm most interested in.
Honeyko
11th February 2008, 05:49
Suggestion: A feauture that lets you choose the final output size based on a percentage of the original file size. Example: One wants to encode a xvid file to x264 but to a 70% of itīs original size.Already built in: Take original file size and multiply by 0.7; enter value in Disk Settings after selecting a 2-pass profile.
Encoder888
11th February 2008, 06:02
@buzzqw
I'm experiencing a huge final mux size difference in this version, compared to 0.93. I encoded a movie with original Constant Quality @ 18 default quantitizer and AQ settings 15 for sensitivity and 8 for strength and original resolution / no filters, which is very high quality. In 0.93 the final file size of that movie was around 3GB. Using the EXACT same settings, with 0.95 I get a final size of 3.4GB. I can't even detect a difference in quality, so where did the extra 400MB come from?
Actually, the only difference is that in 0.95 I check the "Anamorphic Encoding", because in 0.93 it does it automatically even if you don't check it and in 0.95 you have to check it, but I don't think that affects final size in any way.
Anyone else experience the same problem? I mean, I heard that the AQ in this version cannot be disabled, but I used it in both, so it's not that... So what is it? Any ideas?
I have the complete codes from both versions, let me know if you need to see them and I'll post them...
thomaspf
11th February 2008, 07:38
I recently installed autoMKV 0.95a but I can't seem to get beyond the startup.
It hangs there with a message
"Parsing profiles"
I saw that the same question was asked on the 0.93 thread but I could not find an answer there how to fix this condition.
Cheers
Thomas
buzzqw
11th February 2008, 08:27
@Crono141
first beta of 0.96 maybe appear at end month, then will be the beta testing... (if my soon don't decide to born early..., my wife it's already at 8 month)
@darbid
could you please PM me a link where to download a sample ?
@Honeyko
audio file could be already encoded without need of a video.. just feed the audio file as input
and in advanced audio settings there is already the possibility to stretch audio
@Don_Genaro
post your log
@Encoder888
substitute the x264 build ...
@thomaspf
need some info
1) in what folder have you un-rarred the automkv_full file ?
2) what os ?
3) have you installed all needed files ?
BHH
Don_Genaro
11th February 2008, 10:04
@Don_Genaro
post your log
05:31:17 0.95a - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
05:31:17 OS Version: Windows XP
05:31:17 Selected Input file: F:\Case\some_movie.avi
05:31:17 Selected Output dir: F:\Case\temp\
05:31:17 Selected Final Name: some_movie
05:31:17 Selected Container type: MKV
05:31:17 Selected Encoder: X264
05:31:17 Selected Size: 1150 / 1
05:31:17 Selected Profile: Constant_Quality.xml
05:31:17 Selected Resizer: NONE / Original
05:31:17 Selected Filters: RemoveGrain(mode=2)
05:31:17 Selected Deinterlacer: NONE
05:31:17 Selected Field Order: AUTO
05:31:17 Enabled Constant Quality With Fixed Size (Q 21)
05:31:17 Using Queue: queue0.ini of 1 works
05:31:17 Track Language 1: some_movie.avi
05:31:17 Audio Codec 1: Nero AAC
05:31:17 Audio Quality 1: 0.40
05:31:17 Audio Channel 1: Stereo
05:31:17 Track Language 2: NONE
05:31:17 Audio Codec 2: Nero AAC
05:31:17 Advanced Audio Settings DUMP Track 1
05:31:17 Nero Option Profiles: AUTO --- Encoding Mode: Quality
05:31:17 CCT Option Profiles: AUTO --- Channel Options: AUTO
05:31:17 Lame Settings: ABR
05:31:17 Audio Normalization: 1
05:31:17 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
05:31:17 Selected Hit Media Size
05:31:42 Number of Frames: 152862
05:31:42 Framerate: 29.969999
05:31:42 Movie length in Seconds: 5101
05:31:42 Movie Width/Height: 720/480
05:31:42 Encoding F:\Case\temp\some_movie.avi to NeroAAC with 0.40 quality
05:42:39 Encoded 1' Audio Track: some_movie.mp4 -1 bytes
05:42:39 Unable to encode Audio, try piping with FFmpeg!
05:42:39 NeroAACEnc doesn't accept piping from ffmpeg, switching to LibFaac at 128 kbps
05:42:39 "C:\X264GUIS\AutoMKV095_NORIP\exe\BeSweet\ffmpeg.exe" -i "F:\Case\some_movie.avi" -vn -acodec libfaac -ab 128000 -vol 256 -f aac audio1.aac
05:42:39 "C:\X264GUIS\AutoMKV095_NORIP\exe\matroska\MP4Box.exe" -new "F:\Case\temp\audio1.mp4" -add "F:\Case\temp\audio1.aac"
05:51:59 Encoded 1' Audio Track: audio1.mp4 74526264 bytes
05:52:00 Starting X264 AutoResize with WIDTH of Original and wanted size of 1205862400 bytes
05:52:00 Testing ABR of: 1767
05:52:00 CRF encoding X264: C:\X264GUIS\AutoMKV095_NORIP\exe\encoder\x264.exe --bitrate 1767 --ratetol inf --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --subme 7 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --sar 1:1 --output "F:\Case\temp\resmovie.mp4" "F:\Case\temp\resmovie.avs"
05:52:04 CRF Iterate LOG
05:52:04 End of first Sample LOG
05:52:04 No CRF FOUND - Skipping !!! Please download a newer build of x264
and the avs script:
#test3
last = movie
fixed_aspect = 0.985994
out_width = Original
out_height = 480
#resizestart
If you replace the "Original" with a number the script works, but as it is avisynth complains about no knowing what "Original" is.
:thanks:
zacoz
11th February 2008, 10:25
@buzzqw
I'm experiencing a huge final mux size difference in this version, compared to 0.93. I encoded a movie with original Constant Quality @ 18 default quantitizer and AQ settings 15 for sensitivity and 8 for strength and original resolution / no filters, which is very high quality. In 0.93 the final file size of that movie was around 3GB. Using the EXACT same settings, with 0.95 I get a final size of 3.4GB. I can't even detect a difference in quality, so where did the extra 400MB come from?...
I've played around with swapping the x264.exe (r709) from AutoMKV 0.93 package into use with the AutoMKV 0.95 package (normally r736) and testing with and without aq-strength & aq-sensitivity.
0.95a using x264 r709 aq-str 0 aq-sens 0 5,687 KB
0.95a using x264 r736 aq-str 0 aq-sens 0 5,761 KB 1.3% increase
0.95a using x264 r709 aq-str 8 aq-sens 15 9,824 KB
0.95a using x264 r736 aq-str 8 aq-sens 15 11,040 KB 12.3% increase
Seems to indicate that while x264 r736 does create slightly larger files than x264 r709, the application of aq increases this difference significantly.
Personally I was hard pressed to see the visual difference for the extra 11-12%, but maybe my eyesight is failing as I get older ;)
I heard that the AQ in this version cannot be disabled
It can be disabled, just isn't by default or via the aq-strength / aq-sensitivity boxes.
If you add the following into the "Add to line" box at the bottom of the "Advanced Profiles Editing" tab, it will deactivate aq.
--aq-strength 0 --aq-sensitivity 0
Not required after 0.95b is released however - just use 0 in the respective boxes then as I understand it.
As buzzqw said "substitute the 264 build" if you don't like the output of the 736 build that comes with 0.95. I'm considering this myself.
@buzzqw
Looking forward to good reports of a healthy bouncing baby boy/girl. Your first?
At 8 months I can see an extended beta test schedule being the likely outcome, unless you draw midnight feeding duty and can't get back to sleep of course :D
zacoz
11th February 2008, 10:52
@Don_Genaro
Reproduced here (whether run alone or from the queue) - but have no idea what the issue is.
Honeyko
11th February 2008, 11:46
@Honeyko: and in advanced audio settings there is already the possibility to stretch audioUhm...where? I see some presets under the "Tempo" section of "Normalize", but nothing which would give me to-the-millisecond finesse. (I'll test the "Edit Me" after my current project gets done...I have a sneaky hunch that the BeSweet module will choke just the same way it does when non-standard preset fps numbers are entered in BeSweetGUI. We'll see....)
Encoder888
11th February 2008, 12:44
@buzzqw
Well, I don't wanna substitute the x264.exe with an older build, I wanna stay updated with the current version. My only question is - why the extra size ? Does the newer build increase AQ additionally, or does it increase the quantitizer quality or what?
If I encode a movie with 0.93 which uses the older build and I use AQ sensitivity 15 and strength 8 or if I encode the same movie with 0.95 and I use sensitivity 15 and strength 5, I basically get the same size, and I frankly can't tell if there's a difference in quality... I'm sure there's some sort of a difference, but I don't know what it is, is it overall, is it AQ... so I can't make up my mind... it's all so darn confusing... If I wait for 0.96, is it going to fix the extra size problem, or are all the x264 builds from now on gonna produce the extra size?
Sorry, it's just, I've been waiting for so long to find a good quality/size combination and I thought had it with 0.93 and now it's all crazy again with this size increase... Looks like there's always gonna be something wrong.
zacoz
11th February 2008, 13:37
@Encoder888
Thing is that the larger size issue is totally unrelated to AutoMKV. I haven't read it but this thread (http://forum.doom9.org/showthread.php?p=1076312#post1076312) might contain some of the info you're looking for.
EDIT: Not sure now after perusing thread
Encoder888
11th February 2008, 14:11
@zacoz
Okay, so AutoMKV 0.95 uses x264 r736. Hmm... From what I got from that post, it seems that now the defaults for AQ in r736 are 13 and 0.5, as opposed to 15 and 0.5 in the older build and that's why files made with x736 are bigger, because the sensitivity is higher. So, when I'm using the same settings for both builds, I'm actually increasing the sensitivity in the r736... (so confusing isn't it)
It's just a theory, but a good way to find out would be to test x736 (through AutoMKV 0.95) at 15 and 0.5 (so I'm decreasing sensitivity from the default) and the older one (through AutoMKV 0.93) at 13 and 0.5 (so I'm increasing sensitivity from the default) and if I get almost identical results, then I've found what the difference is - sensitivity. I don't know actually if that makes any sense whatsoever but I'll give it a shot and I'll let you know. The thing is that I thought if you change it manually it doesn't matter, but I guess the manual settings are multiplications of the default, so... I'll test and and I'll let you know. Thanks.
zacoz
11th February 2008, 14:35
Hmmm, after looking through the thread I linked I'm not sure if it is the AQ implementation in the r736 included in AutoMKV 0.95 or a different patched AQ also build using r736. May just be that the changed defaults are reflected in both. But I guess the change of defaults would infer that there was a change in the algorithm somewhere.
Encoder888
11th February 2008, 16:00
@zacoz,
I tried downloading the latest r736 x264 build from its official site (and from a few others to make sure it's always the same thing) and I copied it over the one AutoMKV 0.95 uses (it was 15-20kb bigger, so it's not exactly the same one), but it won't work... AutoMKV stops after the audio encoding is complete...
I don't know, what did you do? Did you copy the old x264 build from 0.93 or are you using the new one? I think I'm just gonna use the new one with 15 sensitivity, but I'll use lower the strength, just so I get approximately the same bit rate I used to get with 0.93... I think that's a better idea than substituting the build, because you probably don't wanna keep an old build forever.
And I'm sure the change in the new build is for the better, otherwise they wouldn't have made it so... I just hope that the extra size goes to AQ and making block areas crisper and not just to overall quality.
hfmls
11th February 2008, 18:52
i want to convert mkv to wmv, can u guys tell me wich profiles is the most fast/good quality ? like a a balance between quality and speed? pls
and to mp4 too please (both to play with x360)
if i use coreavc to decode mkv will the total process time be less? (trwoing things at air now)
edited
Atak_Snajpera
11th February 2008, 19:42
Stardust.2007.1080p.HDDVD.x264.DTS-DEFiNiTE
Let me guess... Your grandma encoded this file... ;)
hfmls
11th February 2008, 19:45
hm? so.. :S
Atak_Snajpera
11th February 2008, 19:48
You haven't read rules...
hfmls
11th February 2008, 19:50
i have a doubt! right?what is the problem with my source file? do i have to erase that text? if so..i will do it.
valnar
11th February 2008, 20:05
i have a doubt! right?what is the problem with my source file? do i have to erase that text? if so..i will do it.
Yes.
Change Stardust.2007.1080p.HDDVD.x264.DTS-DEFiNiTE to My.Pirated.Movie.2007
It'll be less obvious that way. :rolleyes:
Robert
buzzqw
11th February 2008, 20:35
@Don_Genaro
thanks for your log, i will look at this issue
@zacoz and Encoder888
it's a patched 736, since it include the hrd-nal/aud,vbv buffer... NOT a official one
Looking forward to good reports of a healthy bouncing baby boy/girl. Your first?
At 8 months I can see an extended beta test schedule being the likely outcome, unless you draw midnight feeding duty and can't get back to sleep of course
the first, yea, a little boy (name in english should be Edward (Edoardo in italian))
... i must admit that extended beta testing could be not avaiable or applicable... don't know.. i hope for a calm/love to sleep baby ;)
BHH
Encoder888
11th February 2008, 22:09
@zacoz (and everybody else)
After some testing I discovered something pretty weird in regards to the oversize of files in 0.95. I had been testing with sensitivity 15 and strength 8 and getting very different results with 0.93 and 0.95. In order to get similar results, I had to use strength 5 instead of 8 in 0.95. So, this time, I thought, I'd play with the sensitivity - and normally, as it was in 0.93, when you decrease the number, you get better sensitivity and a larger size. Well, apparently, that is NOT the case in 0.95, because I decreased it to 13 (still keeping the strength at 8), just to see what happens and I actually got a significantly smaller size, very close to what I got with 15 and 5.
To sum up - in 0.95 I got very similar results with 15 and 5 and 13 and 8. So, if you wanna increase the sensitivity in 0.95 you actually have to increase the number, not lower it. I don't know if that's a bug or if it was a bug in 0.93, which got fixed. The 15 and 5 version though looks much better, even the very block areas which would be affected by even very small sensitivity, so that's another thing to think about... I wish things were simpler.
Tirade
12th February 2008, 00:35
@zacoz (and everybody else)
After some testing I discovered something pretty weird in regards to the oversize of files in 0.95. I had been testing with sensitivity 15 and strength 8 and getting very different results with 0.93 and 0.95. In order to get similar results, I had to use strength 5 instead of 8 in 0.95. So, this time, I thought, I'd play with the sensitivity - and normally, as it was in 0.93, when you decrease the number, you get better sensitivity and a larger size. Well, apparently, that is NOT the case in 0.95, because I decreased it to 13 (still keeping the strength at 8), just to see what happens and I actually got a significantly smaller size, very close to what I got with 15 and 5.
To sum up - in 0.95 I got very similar results with 15 and 5 and 13 and 8. So, if you wanna increase the sensitivity in 0.95 you actually have to increase the number, not lower it. I don't know if that's a bug or if it was a bug in 0.93, which got fixed. The 15 and 5 version though looks much better, even the very block areas which would be affected by even very small sensitivity, so that's another thing to think about... I wish things were simpler.
So this would seem to be an issue with x264 build and not with AutoMKV. I think .93 and .95 used different x264 builds.
Maybe you should check other encoder threads to see if others are having this same problem. That would confirm if its x264 or AutoMKV. Maybe someone can track down DS and ask him to explain :)
Honeyko
12th February 2008, 00:38
BUG:
1. If source is MKV(h264/AC3) and...
2. "Use FFmpegSource" is checked in Advanced Settings, and...
3. ...source and destination are different drives...
4. The BUG: (name)mkv.ffa1cache and (name)mkv.ffv1cache files will be written on the source drive rather than in the Temp folder created on the destination drive. Quite naturally this will cause problems if the source drive is unwritable or has limited space.
Follow-up BUG:
FFmpegSource will waste a lot of time demuxing audio tracks even if NONE is selected for audio.
thomaspf
12th February 2008, 00:55
I recently installed autoMKV 0.95a but I can't seem to get beyond the startup.
It hangs there with a message
"Parsing profiles"
I saw that the same question was asked on the 0.93 thread but I could not find an answer there how to fix this condition.
Cheers
Thomas
@thomaspf
need some info
1) in what folder have you un-rarred the automkv_full file ?
2) what os ?
3) have you installed all needed files ?
Hi,
I started with the setup version AutoMKV-v0.95a-Setup.exe which installed everything into
C:\Program Files\AutoMKV
Since that lead to the hang with Parsing Profiles I uninstalled and reinstalled using the 15.2MB download AutoMKV095.rar and also installed that into that directory. Here is what that looks like. I am running Vista SP1 and I assume with the setup version I should have all the files I need. Unfortunately I still get the hang at startup.
Thanks for your help
Thomas
Directory of c:\Program Files\AutoMKV
2/09/2008 08:09 PM <DIR> .
2/09/2008 08:09 PM <DIR> ..
1/28/2008 05:14 PM 3,946 automkv.ita
2/05/2008 09:29 AM 72 AutoMKV.url
2/05/2008 11:54 AM 843,776 AutoMKV095.exe
6/06/2007 06:24 PM 137 AutoMKV_Wiki.url
2/24/2006 01:05 AM 69,632 AVSredirect.dll
2/05/2008 11:57 AM 84,091 Changelog.txt
2/09/2008 08:07 PM <DIR> exe
2/05/2008 11:38 AM 35,638 License.txt
2/09/2008 06:34 PM <DIR> profiles
1/28/2008 01:00 PM 3,302 tips.txt
2/09/2008 06:36 PM 85,076 uninst.exe
9 File(s) 1,125,670 bytes
4 Dir(s) 119,255,793,664 bytes free
superdragonpoop
12th February 2008, 04:45
I have currently only run this through the .93 build but...
I have an AC3 with a length of 20:31. When converted to MP3 it is being shortened to 19:24. Additionally when muxed the audio is in sync in the beginning, but gradually falls out of sync. At the end of the video it's about 1500ms behind.
I ran the same video/audio through AGK 2.48b. Besweet produced an audio track that was 20:31. However it also loses audio sync at the end of the video by approximately 1500ms.
It's odd that the shortened audio track still muxes (nearly) properly even though it's a full minute shorter in length. I can't explain why it's losing sync either.
I'll run this vid through the .95 build tomorrow and see if it does any better.
I'm not sure which log files would help you, but I can supply them if you think they'll help. I've only been using automkv for a couple days so I'm still picking through the logfiles to see what I can learn.
morgankane
12th February 2008, 07:50
Hi,
How can I manually "force" 16:9 aspect ratio?
I have couple of DVD:s which are 16:9, but for some reason autoMKV (and AGK too) allways makes 4:3 MKV from them.
I assume there is wrong aspect ratio code somewhere in DVD ifo, but I have tried edit them with bad luck.
nanorch
12th February 2008, 08:03
too small to be called a bug: in v0.95a the link "Open AutoMKV Thread" (english, can't access the italian one at the moment) still points to the thread for v0.93
buzzqw
12th February 2008, 08:59
update 0.95b http://www.64k.it/andres/data/a/AutoMKV095b.exe
changelog
0.95b 12/02/2007
ADDED: Now AutoMKV create a muxing.bat even for M2TS muxing. For hand made facilities (suggestion by survivant001)
ADDED: In case of M2TS muxing AutoMKV will compute an overhead of 6% on bitrate (suggestion by survivant001)
ADDED: M2TS Container Logo (fell free to suggest better logo)
FIXED: "Do HQ First Pass" wasn't applyed when encoding to XivD (thansk to XhmikosR)
FIXED: On log file "Enabled CRF/CQ AutoRes" wasn't displyed on case of "Specify Quality" (thanks to Honeyko)
FIXED: Double use of --sar option. Pay attention to <Sar> value in profiles (thanks to survivant001)
FIXED: Link to new 0.95 thread (thanks to nanorch)
FIXED: Clicking on "Preview" will now force "Use Manual Crop/Resize"
FIXED: Usage of AQ (previusly was always on) (thanks to zacoz)
FIXED: SPA to ESP in language (thanks to zacoz)
FIXED: Use of Constant_Quality with constrained disk settings AND Original width/height (thanks to Don_Genaro)
BHH
EDIT: link fixed
Encoder888
12th February 2008, 09:30
The link doesn't seem to work for me... :(
buzzqw
12th February 2008, 09:45
link fixed
BHH
AMED
12th February 2008, 11:25
using the insane profile with x264 is the --me dia meant to be there instead of --me umh on the first pass?
x264cmdq_pass1.bat"E:\AutoMKV095_NORIP\exe\encoder\x264.exe" --pass 1 --bitrate 761 --stats "E:\Movies\temp\.stats" --ref 1 --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --filter -2,-1 --subme 2 --direct auto --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --merange 32 --b-pyramid --analyse none --threads auto --thread-input --aq-strength 0 --aq-sensitivity 0 --sar 14412009:10000000 --output NUL "E:\Movies\temp\movie.avs"
x264cmdq_pass2.bat"E:\AutoMKV095_NORIP\exe\encoder\x264.exe" --pass 2 --bitrate 761 --stats "E:\Movies\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 --level 4.1 --merange 32 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --aq-strength 0 --aq-sensitivity 0 --sar 14412009:10000000 --output "E:\Movies\temp\movie.264" "E:\Movies\temp\movie.avs"
AutoMKV log22:16:24 0.95b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
22:16:24 OS Version: Windows XP
22:16:24 Selected Input file: E:\FullDisc\DONNIE DARKO DIRECTORS CUT\VIDEO_TS\VTS_01_0.IFO
22:16:24 Selected Output dir: E:\Movies\temp\
22:16:24 Selected Final Name: DONNIE DARKO DIRECTORS CUT
22:16:24 Selected Container type: MKV
22:16:24 Selected Encoder: X264
22:16:24 Selected Size: 1/4 DVD-R / 1
22:16:24 Selected Profile: 2_Pass_Insane_Quality.xml
22:16:24 Selected Resizer: Lanczosmtplus / Automatic
22:16:24 Selected Filters: RemoveGrain(mode=2)
22:16:24 Selected Deinterlacer: AUTO
22:16:24 Selected Field Order: AUTO
22:16:24 Enabled CRF/CQ AutoRes at 20 value
22:16:24 Activate PGC Ripping: 1
22:16:24 Track Language 1: 80: English (AC3 6ch, 0xBD 0x80) [0]
22:16:24 Audio Codec 1: Copy Original
22:16:24 Track Language 2: NONE
22:16:24 Audio Codec 2: Nero AAC
22:16:24 Activate Anamorphic Encoding
22:16:24
22:16:24 Activate PGC processing: PGC 1 [2:08:21:15]
22:16:24 Dgindex CMD: E:\AutoMKV095_NORIP\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[E:\FullDisc\DONNIE DARKO DIRECTORS CUT\VIDEO_TS\VTS_01_1.vob] -OF=[E:\Movies\temp\movie] -exit -minimize
22:19:36 D2V file size: 1002802
22:19:36 Audio 1: movie t80 3_2ch 448kbps delay 0ms.ac3
22:19:36 Pre Audio 1' Size: 431287808 bytes
22:19:36 Renamed file movie t80 3_2ch 448kbps delay 0ms.ac3 to movie t80 3_2ch 448kbps delay 0ms_.ac3
22:19:36 Encoded 1' Audio Track: movie t80 3_2ch 448kbps delay 0ms_.ac3 431287808 bytes
22:19:41 Number of Frames: 192540
22:19:41 Framerate: 25.000000
22:19:41 Movie length in Seconds: 7702
22:19:41 Movie Width/Height: 720/576
22:19:41 DgIndex AR: 16:9
22:25:41 Source is declared tff by a margin of 75/73.
22:25:41 Advanced Deinterlace Routines Log
22:25:41 Analyzed 477 sections of five frames
22:25:41 Found Interlace Sections: 0 0.00%
22:25:41 Found Progressive Sections:477 100.00%
22:25:41 Found Telecined Sections: 0 0.00%
22:25:41 Found Zero Mov: 100.00% 477
22:25:41 Found One Mov: 0.00% 0
22:25:41 Found Two Mov: 0.00% 0
22:25:41 Found Three Mov: 0.00% 0
22:25:41 Found Four Mov: 0.00% 0
22:25:41 Found Five Mov: 0.00% 0
22:25:41 The Movie is declared to progressive
22:25:41 Starting X264 AutoResize with WIDTH of Automatic and wanted size of 1169162240 bytes
22:25:41 CRF encoding X264: E:\AutoMKV095_NORIP\exe\encoder\x264.exe --pass 1 --crf 20 --stats "E:\Movies\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 --level 4.1 --merange 32 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --aq-strength 0 --aq-sensitivity 0 --sar 14412009:10000000 --output "E:\Movies\temp\resmovie.mp4" "E:\Movies\temp\resmovie.avs"
22:55:10 Finished Autosize procedure
22:55:10 Tested total movie: 5%
22:55:10 AutoResize movie size: 38611648 bytes
22:55:10 Movie Width suggested: 1072 value based on sample size (148.89% of original width)
22:55:10 Starting X264
22:55:11 Command Line 1' Pass X264: E:\AutoMKV095_NORIP\exe\encoder\x264.exe --pass 1 --bitrate 761 --stats "E:\Movies\temp\.stats" --ref 1 --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --filter -2,-1 --subme 2 --direct auto --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --merange 32 --b-pyramid --analyse none --threads auto --thread-input --aq-strength 0 --aq-sensitivity 0 --sar 14412009:10000000 --output NUL "E:\Movies\temp\movie.avs"
22:55:11 Command Line 2' Pass X264: E:\AutoMKV095_NORIP\exe\encoder\x264.exe --pass 2 --bitrate 761 --stats "E:\Movies\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 --level 4.1 --merange 32 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --aq-strength 0 --aq-sensitivity 0 --sar 14412009:10000000 --output "E:\Movies\temp\movie.264" "E:\Movies\temp\movie.avs"
buzzqw
12th February 2008, 12:02
@morgankane
check "force muxing dar"
@Honeyko
i will check
@Amed
first pass is always in "turbo" mode... you should check "HQ first pass" to have both running at "insanely slow" speed
@buzzqw
go to sleep!
BHH
BHH
Don_Genaro
12th February 2008, 13:37
Hi,
I tested the new version but the audio bug is still present in v0.95b, automkv does not recognize the output made with neroaac:
Nero aac outputs: audio.mp4
Automkv espects: movie_title.mp4
So the audio ends encoded by ffmpeg to a file named: audio1.aac wich does get recognized by automkv :confused:
When using "Copy Original Audio" everythings runs normally...
The problem seems to be related only to neroaac output.
Suggestion: An option to choose the target size in terms of a percentage of the source's size.
09:10:28 0.95b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
09:10:28 OS Version: Windows XP
09:10:28 Selected Input file: F:\Case\some_movie.avi
09:10:28 Selected Output dir: F:\Case\temp\
09:10:28 Selected Final Name: some_movie
09:10:28 Selected Container type: MKV
09:10:28 Selected Encoder: X264
09:10:28 Selected Size: 1150 / 1
09:10:28 Selected Profile: Constant_Quality.xml
09:10:28 Selected Resizer: NONE / Original
09:10:28 Selected Filters: RemoveGrain(mode=2)
09:10:28 Selected Deinterlacer: Progressive
09:10:28 Selected Field Order: AUTO
09:10:28 Enabled Constant Quality With Fixed Size (Q 21)
09:10:28 Track Language 1: some_movie.avi
09:10:28 Audio Codec 1: Nero AAC
09:10:28 Audio Quality 1: 0.40
09:10:28 Audio Channel 1: Stereo
09:10:28 Track Language 2: NONE
09:10:28 Audio Codec 2: Nero AAC
09:10:28 Advanced Audio Settings DUMP Track 1
09:10:28 Audio Track Language: und
09:10:28 Nero Option Profiles: AUTO --- Encoding Mode: Quality
09:10:28 CCT Option Profiles: AUTO --- Channel Options: AUTO
09:10:28 Lame Settings: ABR
09:10:28 Audio Normalization: 1
09:10:28 Frequency: 48000 --- Tempo: NONE --- Pitch: NONE --- Other Add:
09:10:28 Selected Hit Media Size
09:11:08 Number of Frames: 152862
09:11:08 Framerate: 29.969999
09:11:08 Movie length in Seconds: 5101
09:11:08 Movie Width/Height: 720/480
09:11:08 Encoding F:\Case\temp\some_movie.avi to NeroAAC with 0.40 quality
09:22:10 Encoded 1' Audio Track: some_movie.mp4 -1 bytes
09:22:10 Unable to encode Audio, try piping with FFmpeg!
09:22:10 NeroAACEnc doesn't accept piping from ffmpeg, switching to LibFaac at 128 kbps
09:22:10 "C:\X264GUIS\AutoMKV095_NORIP\exe\BeSweet\ffmpeg.exe" -i "F:\Case\some_movie.avi" -vn -acodec libfaac -ab 128000 -vol 256 -f aac audio1.aac
09:22:10 "C:\X264GUIS\AutoMKV095_NORIP\exe\matroska\MP4Box.exe" -new "F:\Case\temp\audio1.mp4" -add "F:\Case\temp\audio1.aac"
09:32:39 Encoded 1' Audio Track: audio1.mp4 74526264 bytes
09:32:39 Starting X264 AutoResize with WIDTH of Original and wanted size of 1205862400 bytes
09:32:39 Testing ABR of: 1767
:thanks:
buzzqw
12th February 2008, 13:54
please post the FULL log (since here is ok...)
BHH
Don_Genaro
12th February 2008, 15:45
please post the FULL log (since here is ok...)
BHH
09:10:28 0.95b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
09:10:28 OS Version: Windows XP
09:10:28 Selected Input file: F:\Case\some_movie.avi
09:10:28 Selected Output dir: F:\Case\temp\
09:10:28 Selected Final Name: some_movie
09:10:28 Selected Container type: MKV
09:10:28 Selected Encoder: X264
09:10:28 Selected Size: 1150 / 1
09:10:28 Selected Profile: Constant_Quality.xml
09:10:28 Selected Resizer: NONE / Original
09:10:28 Selected Filters: RemoveGrain(mode=2)
09:10:28 Selected Deinterlacer: Progressive
09:10:28 Selected Field Order: AUTO
09:10:28 Enabled Constant Quality With Fixed Size (Q 21)
09:10:28 Track Language 1: some_movie.avi
09:10:28 Audio Codec 1: Nero AAC
09:10:28 Audio Quality 1: 0.40
09:10:28 Audio Channel 1: Stereo
09:10:28 Track Language 2: NONE
09:10:28 Audio Codec 2: Nero AAC
09:10:28 Advanced Audio Settings DUMP Track 1
09:10:28 Audio Track Language: und
09:10:28 Nero Option Profiles: AUTO --- Encoding Mode: Quality
09:10:28 CCT Option Profiles: AUTO --- Channel Options: AUTO
09:10:28 Lame Settings: ABR
09:10:28 Audio Normalization: 1
09:10:28 Frequency: 48000 --- Tempo: NONE --- Pitch: NONE --- Other Add:
09:10:28 Selected Hit Media Size
09:11:08 Number of Frames: 152862
09:11:08 Framerate: 29.969999
09:11:08 Movie length in Seconds: 5101
09:11:08 Movie Width/Height: 720/480
09:11:08 Encoding F:\Case\temp\some_movie.avi to NeroAAC with 0.40 quality
09:22:10 Encoded 1' Audio Track: some_movie.mp4 -1 bytes
09:22:10 Unable to encode Audio, try piping with FFmpeg!
09:22:10 NeroAACEnc doesn't accept piping from ffmpeg, switching to LibFaac at 128 kbps
09:22:10 "C:\X264GUIS\AutoMKV095_NORIP\exe\BeSweet\ffmpeg.exe" -i "F:\Case\some_movie.avi" -vn -acodec libfaac -ab 128000 -vol 256 -f aac audio1.aac
09:22:10 "C:\X264GUIS\AutoMKV095_NORIP\exe\matroska\MP4Box.exe" -new "F:\Case\temp\audio1.mp4" -add "F:\Case\temp\audio1.aac"
09:32:39 Encoded 1' Audio Track: audio1.mp4 74526264 bytes
09:32:39 Starting X264 AutoResize with WIDTH of Original and wanted size of 1205862400 bytes
09:32:39 Testing ABR of: 1767
09:32:39 CRF encoding X264: C:\X264GUIS\AutoMKV095_NORIP\exe\encoder\x264.exe --bitrate 1767 --ratetol inf --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --subme 7 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --aq-strength 0 --aq-sensitivity 0 --sar 1:1 --output "F:\Case\temp\resmovie.mp4" "F:\Case\temp\resmovie.avs"
09:38:39 CRF Iterate LOG
09:38:40 avis [info]: 720x480 @ 29.97 fps (3066 frames)
09:38:40 x264 [info]: using SAR=1/1
09:38:40 x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
09:38:40 mp4 [info]: initial delay 200 (scale 2997)
09:38:40 x264 [info]: final ratefactor: 18.93
09:38:40 x264 [info]: kb/s:1869.0
09:38:40 x264 [info]: kb/s:1869.0
09:38:40 encoded 3066 frames, 8.69 fps, 1869.32 kb/s
09:38:40 End of first Sample LOG
09:38:40 Finished Autosize procedure
09:38:40 Tested total movie: 2%
09:38:40 AutoResize movie size: 23938616 bytes
09:38:40 Movie Width suggested: 1072 value based on sample size (148.89% of original width)
09:38:40 Starting X264
09:38:40 CRF encoding X264: C:\X264GUIS\AutoMKV095_NORIP\exe\encoder\x264.exe --pass 1 --crf 18.93 --stats "F:\Case\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --subme 7 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --aq-strength 0 --aq-sensitivity 0 --sar 1:1 --output "F:\Case\temp\movie.264" "F:\Case\temp\movie.avs"
11:22:18 X264 Final CRF Encoding Stats:
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
x264 [info]: slice I:655 Avg QP:17.83 size: 23259
x264 [info]: slice P:61845 Avg QP:19.77 size: 11112
x264 [info]: slice B:90362 Avg QP:21.62 size: 4156
x264 [info]: mb I I16..4: 26.5% 61.6% 12.0%
11:22:18 Accepted values are between 1121452032 and 1217921024 bytes (movie+audio)
11:22:18 Got a file of size: 1078045056 bytes + audio size 74526264 bytes (1152571264)
11:22:18 Only Movie Size: 1078045056 bytes
11:22:19 "C:\X264GUIS\AutoMKV095_NORIP\exe\matroska\mkvmerge.exe" -o "F:\Case\temp\some_movie.mkv" --default-duration 0:29969/1000fps --engage keep_bitstream_ar_info --track-name -1:"some_movie" --aspect-ratio -1:1.500000 "F:\Case\temp\movie.264" --language -1:und --default-track -1:yes "F:\Case\temp\audio1.mp4" --title "Done with AutoMKV 0.95b http://forum.doom9.org/showthread.php?t=134478 "
11:28:27 Final Muxed size: 1164967296 bytes
11:28:27 Encoding finished: 01:49:47 elapsed time
11:28:27 -----------------------------------------------------------------------
11:28:27 Script AutoCrop.log
11:28:27
11:28:27 Crop(4,0,704,476)
11:28:27 -----------------------------------------------------------------------
11:28:27 Script Resmovie.avs
11:28:27
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\AddGrain.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\autocrop.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\aWarpSharp(Pruned).dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\blockbuster.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\cnr2.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\ColorMatrix.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\Convolution3D.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\corrector.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\DctFilter.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\Decomb.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\Deen.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\degrainmedian.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\DGDecode.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\EEDI2.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\FFMpegSource.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\FFT3DFilter.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\FluxSmooth.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\frfun7.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\hqdn3d.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\LeakKernelDeint.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\MaskTools.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\medianblur.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\MipSmooth.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\MSharpen.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\mt_masktools.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\mvtools.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\NicAudio.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\RemoveGrainS.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\RepairS.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\SangNom.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\SimpleResize.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\SoundOut.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\TBilateral.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\TDeint.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\TIVTC.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\TomsMoComp.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\TTempSmooth.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\UnDot.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\UnFilter.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\VSFilter.dll")
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\warpsharp.dll")
11:28:27 #loadpluginstart
11:28:27
11:28:27 #test1
11:28:27
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\BlindDeHalo3_mt2.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\Deblock_QED_MT2.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\HybridFuPP.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\LanczosPlus.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\Lem.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\LimitedSharpenFaster.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\MCBob_v03c.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\mvbob.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\QMlib.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\seesaw.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\spresso.avsi")
11:28:27 #importstart
11:28:27
11:28:27 #test2
11:28:27
11:28:27 movie = avisource("F:\Case\some_movie.avi",audio=false)
11:28:27 movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
11:28:27 movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
11:28:27 function getOrder(clip c) {
11:28:27 order = GetParity(c) ? 1 : 0
11:28:27 Return order }
11:28:27 #filter1start
11:28:27
11:28:27 #test3
11:28:27
11:28:27 last = movie
11:28:27 fixed_aspect = 0.985994
11:28:27 out_width = 720
11:28:27 out_height = 480
11:28:27 #resizestart
11:28:27
11:28:27 #test4
11:28:27
11:28:27 #filter2start
11:28:27
11:28:27 #test5
11:28:27
11:28:27 RemoveGrain(mode=2)
11:28:27 function Comptest(clip c, float percent)
11:28:27 {
11:28:27 frange=floor(14./(percent/100.))
11:28:27 Return SelectRangeEvery(c, frange, 14)
11:28:27 }
11:28:27 Comptest(last,2)
11:28:27 -----------------------------------------------------------------------
11:28:27 Script movie.avs
11:28:27 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\warpsharp.dll")
11:28:27 #loadpluginstart
11:28:27
11:28:27 #test1
11:28:27
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\BlindDeHalo3_mt2.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\Deblock_QED_MT2.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\HybridFuPP.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\LanczosPlus.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\Lem.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\LimitedSharpenFaster.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\MCBob_v03c.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\mvbob.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\QMlib.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\seesaw.avsi")
11:28:27 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\spresso.avsi")
11:28:27 #importstart
11:28:27
11:28:27 #test2
11:28:27
11:28:27 movie = avisource("F:\Case\some_movie.avi",audio=false)
11:28:27 movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
11:28:27 movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
11:28:27 function getOrder(clip c) {
11:28:27 order = GetParity(c) ? 1 : 0
11:28:27 Return order }
11:28:27 #filter1start
11:28:27
11:28:27 #test3
11:28:27
11:28:27 last = movie
11:28:27 fixed_aspect = 0.985994
11:28:27 out_width = 720
11:28:27 out_height = 480
11:28:27 #resizestart
11:28:27
11:28:27 #test4
11:28:27
11:28:27 #filter2start
11:28:27
11:28:27 #test5
11:28:27
11:28:27 RemoveGrain(mode=2)
11:28:27 -----------------------------------------------------------------------
11:28:27 Script mkvmaudio.avs
11:28:27
11:28:28 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\NicAudio.dll")
11:28:28 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\SoundOut.dll")
11:28:28 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\FFmpegSource.dll")
11:28:28 DirectShowSource("F:\Case\some_movie.avi",fps=29.969999,convertfps=true,video=false)
11:28:28 #Applying STEREO downmixing routines
11:28:28 function stereo(clip a)
11:28:28 {
11:28:28 flr = GetChannel(a, 1, 2)
11:28:28 fcc = GetChannel(a, 3)
11:28:28 lfe = GetChannel(a, 4)
11:28:28 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
11:28:28 mix = MergeChannels(lfc, lfc)
11:28:28 lrc = MixAudio(flr, mix, 0.2929, 1.0)
11:28:28 blr = GetChannel(a, 5, 6)
11:28:28 Return MixAudio(lrc, blr, 1.0, 0.2929)
11:28:28 }
11:28:28 #
11:28:28 6==Audiochannels() ? stereo() : last
11:28:28 function addvideo(clip c) {
11:28:28 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
11:28:28 Return audiodub(last,c)
11:28:28 }
11:28:28 Normalize()
11:28:28 SSRC(48000)
11:28:28
11:28:28 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="C:\X264GUIS\AutoMKV095_NORIP\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.40 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
11:28:28
11:28:28 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
I cutted some of the log x264 info because the forum asked to: shorten to 16000 chars.
The only modifications to the audio were:
-Changing from default 0.35 to 0.4 Quality.
-Changing Frequency from Auto to 48000.
:thanks:
buzzqw
12th February 2008, 15:53
sorry pal.. where is the error ?
the file is correctly muxed ... :confused:
09:22:10 Encoded 1' Audio Track: some_movie.mp4 -1 bytes
09:22:10 Unable to encode Audio, try piping with FFmpeg!
you "error" is due to inability of your directshowfilters to correctly decode audio part (aka.. install all required software)
BHH
Don_Genaro
12th February 2008, 16:05
sorry pal.. where is the error ?
the file is correctly muxed ... :confused:
you "error" is due to inability of your directshowfilters to correctly decode audio part (aka.. install all required software)
BHH
Automkv muxed the audio coded by ffmpeg and not the one coded by nero...
Nero produced a track called audio.mp4 that was not "seen" by automkv. Automkv looked for a file with another name and did not see the one produced by nero "audio.mp4".
So at the end in the temp folder there are two audio files... both of about the same size... but to automkv thereīs only one file (the one produced by ffmpeg). I donīt know if it is clearly explained??
So the audio produced by nero does not have any errors... it has correct size and play well in winamp, the error is that automkv doesnīt "see" it and ingores it.
The final mux is with the second audio, not the neroaac audio.
:thanks:
buzzqw
12th February 2008, 16:33
Nero produced a track called audio.mp4 that was not "seen" by automkv. Automkv looked for a file with another name and did not see the one produced by nero "audio.mp4".
what is the audio size ?
automkv will reject any size <100000 bytes, since it's considered "broken"
BHH
Don_Genaro
12th February 2008, 16:54
what is the audio size ?
automkv will reject any size <100000 bytes, since it's considered "broken"
BHH
The audio file size produced by neroaac is: 84.639.949 bytes.
This time I tried the option "Use ffmpegsource" in advanced settings and it happens just the same...
1.- Audio gets coded by nero.
2.- Audio gets ignored by automkv... because it looks for a file with another name.
3.- Audio gets coded by ffmpeg.
:script:
12:28:36 Encoding F:\Case\temp\some_movie.avi to NeroAAC with 0.40 quality
12:40:34 Encoded 1' Audio Track: some_movie.mp4 -1 bytes
12:40:34 Unable to encode Audio, try piping with FFmpeg!
The error seems clear, Automkv says that nero audio should have a file name: "some_movie.mp4" but the real file name (produced and placed in temp folder) is "audio.mp4".
So since automkv doenīt find the file "some_movie.mp4", it ignores the existing "audio.mp4" and proced to code it again with ffmpeg.
Posible solution: Make the mkvmaudio.avs script produce a file named "some_movie.mp4" instead of "audio.mp4" or make automkv to spect a file name of "some_movie.mp4" instead of "audio.mp4".
:thanks:
buzzqw
12th February 2008, 16:59
thanks Don_Genaro , i will try to replicate!
BHH
Don_Genaro
12th February 2008, 17:36
Thanks Buzzqw!
Youīre right, I tested again with a "healthy" source and everything went fine...
13:18:07 0.95b - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
13:18:07 OS Version: Windows XP
13:18:07 Selected Input file: F:\Case_2\Movie_source.avi
13:18:07 Selected Output dir: F:\Case_2\temp\
13:18:07 Selected Final Name: Movie_source
13:18:07 Selected Container type: MKV
13:18:07 Selected Encoder: X264
13:18:07 Selected Size: 15 / 1
13:18:07 Selected Profile: Constant_Quality.xml
13:18:07 Selected Resizer: NONE / Original
13:18:07 Selected Filters: NONE
13:18:07 Selected Deinterlacer: Progressive
13:18:07 Selected Field Order: AUTO
13:18:07 Enabled Constant Quality With Fixed Size (Q 21)
13:18:07 Using Queue: queue0.ini of 1 works
13:18:07 Track Language 1: Movie_source.avi
13:18:07 Audio Codec 1: Nero AAC
13:18:07 Audio Quality 1: 0.40
13:18:07 Audio Channel 1: Stereo
13:18:07 Track Language 2: NONE
13:18:07 Audio Codec 2: Nero AAC
13:18:07 Advanced Audio Settings DUMP Track 1
13:18:07 Nero Option Profiles: AUTO --- Encoding Mode: Quality
13:18:07 CCT Option Profiles: AUTO --- Channel Options: AUTO
13:18:07 Lame Settings: ABR
13:18:07 Audio Normalization: 1
13:18:07 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
13:18:07 Selected Hit Media Size
13:18:29 Number of Frames: 3000
13:18:29 Framerate: 25.000000
13:18:29 Movie length in Seconds: 121
13:18:29 Movie Width/Height: 720/304
13:18:29 Encoding F:\Case_2\temp\Movie_source.avi to NeroAAC with 0.40 quality
13:18:52 Encoded 1' Audio Track: Movie_source.mp4 1528927 bytes
13:18:52 Starting X264 AutoResize with WIDTH of Original and wanted size of 15728640 bytes
13:18:52 Testing ABR of: 933
13:18:52 CRF encoding X264: C:\X264GUIS\AutoMKV095_NORIP\exe\encoder\x264.exe --bitrate 933 --ratetol inf --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --subme 7 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --aq-strength 0 --aq-sensitivity 0 --sar 1:1 --output "F:\Case_2\temp\resmovie.mp4" "F:\Case_2\temp\resmovie.avs"
13:18:59 CRF Iterate LOG
13:18:59 avis [info]: 720x304 @ 25.00 fps (70 frames)
13:18:59 x264 [info]: using SAR=1/1
13:18:59 x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
13:18:59 mp4 [info]: initial delay 2 (scale 25)
13:18:59 x264 [info]: slice I:5 Avg QP:15.40 size: 28515
13:18:59 x264 [info]: slice P:43 Avg QP:21.16 size: 10425
13:18:59 x264 [info]: slice B:22 Avg QP:21.41 size: 3501
13:18:59 x264 [info]: mb I I16..4: 35.3% 60.7% 4.0%
13:18:59 x264 [info]: mb P I16..4: 11.1% 24.0% 2.4% P16..4: 26.1% 10.4% 3.8% 0.2% 0.1% skip:21.9%
13:18:59 x264 [info]: mb B I16..4: 1.0% 2.5% 0.9% B16..8: 31.1% 2.0% 2.3% direct: 4.1% skip:56.0%
13:18:59 x264 [info]: final ratefactor: 22.83
13:18:59 x264 [info]: 8x8 transform intra:63.0% inter:77.4%
13:18:59 x264 [info]: direct mvs spatial:59.1% temporal:40.9%
13:18:59 x264 [info]: ref P 72.2% 19.3% 8.4%
13:18:59 x264 [info]: ref B 87.8% 12.2%
13:18:59 x264 [info]: kb/s:1908.2
13:18:59 x264 [info]: kb/s:1908.2
13:18:59 encoded 70 frames, 13.10 fps, 1910.47 kb/s
13:18:59 End of first Sample LOG
13:18:59 Finished Autosize procedure
13:18:59 Tested total movie: 2%
13:18:59 AutoResize movie size: 670046 bytes
13:18:59 Movie Width suggested: 480 value based on sample size (66.67% of original width)
13:18:59 Starting X264
13:18:59 CRF encoding X264: C:\X264GUIS\AutoMKV095_NORIP\exe\encoder\x264.exe --pass 1 --crf 22.83 --stats "F:\Case_2\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --subme 7 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --aq-strength 0 --aq-sensitivity 0 --sar 1:1 --output "F:\Case_2\temp\movie.264" "F:\Case_2\temp\movie.avs"
13:19:57 X264 Final CRF Encoding Stats:
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
x264 [info]: slice I:23 Avg QP:19.61 size: 12543
x264 [info]: slice P:1243 Avg QP:22.55 size: 5178
13:19:57 Accepted values are between 14627635 and 15885926 bytes (movie+audio)
13:19:57 Got a file of size: 9762922 bytes + audio size 1528927 bytes (11291849)
13:19:57 Switching to 2 pass mode
13:19:57 CRF encoding X264: C:\X264GUIS\AutoMKV095_NORIP\exe\encoder\x264.exe --pass 2 --bitrate 933 --stats "F:\Case_2\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --subme 7 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads auto --thread-input --aq-strength 0 --aq-sensitivity 0 --sar 1:1 --output "F:\Case_2\temp\movie.264" "F:\Case_2\temp\movie.avs"
13:21:05 X264 Final CRF(managed) Stats:
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
x264 [info]: slice I:23 Avg QP:18.48 size: 14247
13:21:05 Only Movie Size: 14053642 bytes
13:21:05 "C:\X264GUIS\AutoMKV095_NORIP\exe\matroska\mkvmerge.exe" -o "F:\Case_2\temp\Movie_source.mkv" --default-duration 0:25000/1000fps --track-name -1:"Movie_source" --aspect-ratio -1:2.368421 "F:\Case_2\temp\movie.264" --language -1:und --default-track -1:yes "F:\Case_2\temp\Movie_source.mp4" --title "Done with AutoMKV 0.95b http://forum.doom9.org/showthread.php?t=134478 "
13:21:06 Final Muxed size: 15617485 bytes
13:21:06 Encoding finished: 00:01:09 elapsed time
13:21:06 -----------------------------------------------------------------------
13:21:06 Script AutoCrop.log
13:21:06
13:21:06 Crop(0,0,720,304)
13:21:06 -----------------------------------------------------------------------
13:21:06 Script Resmovie.avs
13:21:06
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\warpsharp.dll")
13:21:06 #loadpluginstart
13:21:06
13:21:06 #test1
13:21:06
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\BlindDeHalo3_mt2.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\Deblock_QED_MT2.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\HybridFuPP.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\LanczosPlus.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\Lem.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\LimitedSharpenFaster.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\MCBob_v03c.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\mvbob.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\QMlib.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\seesaw.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\spresso.avsi")
13:21:06 #importstart
13:21:06
13:21:06 #test2
13:21:06
13:21:06 movie = avisource("F:\Case_2\Movie_source.avi",audio=false)
13:21:06 movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
13:21:06 movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
13:21:06 function getOrder(clip c) {
13:21:06 order = GetParity(c) ? 1 : 0
13:21:06 Return order }
13:21:06 #filter1start
13:21:06
13:21:06 #test3
13:21:06
13:21:06 last = movie
13:21:06 fixed_aspect = 1.777700
13:21:06 out_width = 720
13:21:06 out_height = 304
13:21:06 #resizestart
13:21:06
13:21:06 #test4
13:21:06
13:21:06 #filter2start
13:21:06
13:21:06 #test5
13:21:06
13:21:06 function Comptest(clip c, float percent)
13:21:06 {
13:21:06 frange=floor(14./(percent/100.))
13:21:06 Return SelectRangeEvery(c, frange, 14)
13:21:06 }
13:21:06 Comptest(last,2)
13:21:06 -----------------------------------------------------------------------
13:21:06 Script movie.avs
13:21:06
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\AddGrain.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\autocrop.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\aWarpSharp(Pruned).dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\blockbuster.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\cnr2.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\ColorMatrix.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\Convolution3D.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\corrector.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\DctFilter.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\Decomb.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\Deen.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\degrainmedian.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\DGDecode.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\EEDI2.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\FFMpegSource.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\FFT3DFilter.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\FluxSmooth.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\frfun7.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\hqdn3d.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\LeakKernelDeint.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\MaskTools.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\medianblur.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\MipSmooth.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\MSharpen.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\mt_masktools.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\mvtools.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\NicAudio.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\RemoveGrainS.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\RepairS.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\SangNom.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\SimpleResize.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\SoundOut.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\TBilateral.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\TDeint.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\TIVTC.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\TomsMoComp.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\TTempSmooth.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\UnDot.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\UnFilter.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\VSFilter.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\warpsharp.dll")
13:21:06 #loadpluginstart
13:21:06
13:21:06 #test1
13:21:06
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\BlindDeHalo3_mt2.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\Deblock_QED_MT2.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\HybridFuPP.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\LanczosPlus.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\Lem.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\LimitedSharpenFaster.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\MCBob_v03c.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\mvbob.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\QMlib.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\seesaw.avsi")
13:21:06 Import("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\spresso.avsi")
13:21:06 #importstart
13:21:06
13:21:06 #test2
13:21:06
13:21:06 movie = avisource("F:\Case_2\Movie_source.avi",audio=false)
13:21:06 movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
13:21:06 movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
13:21:06 function getOrder(clip c) {
13:21:06 order = GetParity(c) ? 1 : 0
13:21:06 Return order }
13:21:06 #filter1start
13:21:06
13:21:06 #test3
13:21:06
13:21:06 last = movie
13:21:06 fixed_aspect = 1.777700
13:21:06 out_width = 720
13:21:06 out_height = 304
13:21:06 #resizestart
13:21:06
13:21:06 #test4
13:21:06
13:21:06 #filter2start
13:21:06
13:21:06 #test5
13:21:06
13:21:06 return last
13:21:06 -----------------------------------------------------------------------
13:21:06 Script mkvmaudio.avs
13:21:06
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\NicAudio.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\SoundOut.dll")
13:21:06 LoadPlugin("C:\X264GUIS\AutoMKV095_NORIP\exe\filter\FFmpegSource.dll")
13:21:06 DirectShowSource("F:\Case_2\Movie_source.avi",fps=25.000000,convertfps=true,video=false)
13:21:06 #Applying STEREO downmixing routines
13:21:06 function stereo(clip a)
13:21:06 {
13:21:06 flr = GetChannel(a, 1, 2)
13:21:06 fcc = GetChannel(a, 3)
13:21:06 lfe = GetChannel(a, 4)
13:21:06 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
13:21:06 mix = MergeChannels(lfc, lfc)
13:21:06 lrc = MixAudio(flr, mix, 0.2929, 1.0)
13:21:06 blr = GetChannel(a, 5, 6)
13:21:06 Return MixAudio(lrc, blr, 1.0, 0.2929)
13:21:06 }
13:21:06 #
13:21:06 6==Audiochannels() ? stereo() : last
13:21:06 function addvideo(clip c) {
13:21:06 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
13:21:06 Return audiodub(last,c)
13:21:06 }
13:21:06 Normalize()
13:21:06
13:21:06 Soundout(output="cmd",type=1,format=3,autoclose=true,executable="C:\X264GUIS\AutoMKV095_NORIP\exe\besweet\neroaacenc.exe",prefilename=" -ignorelength -q 0.40 -if - -of audio.mp4",postfilename="",nofilename=true,showoutput=false)
13:21:06
13:21:06 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
The problem was the source... In the player MPC it played OK, but when transcoding there is a part where the audio simply goes blank till the end of the movie and since that part was near the end of the movie I didnīt noticed earlier. I donīt know what kind of error is this (because to virtual dub and avidemux the avi has no errors) but it really has some kind of error.
So in conclusion automkv works flawlessly with a healthy source and has that audio behaviour only when the source has errors.
Still I insist on adding an option to compute the target file size based on a percentage of the source's video bitrate... since itīs kind of annoying to calculate it manually, this is useful to transcode between video codecs. Ex: I want to transcode an xvid movie to x264 but keeping only 70% of itīs original video bitrate... etc.
Thank you very much for this excelent tool! :devil:
buzzqw
12th February 2008, 17:43
@Don_Genaro
glad you resolved :)
@ALL
Still I insist on adding an option to compute the target file size based on a percentage of the source's video bitrate... since itīs kind of annoying to calculate it manually, this is useful to transcode between video codecs. Ex: I want to transcode an xvid movie to x264 but keeping only 70% of itīs original video bitrate... etc.
could be of any interest ?
Don_Genaro, i don't want to be rude, but ... i haven't found a good reason to add this option
Remember that bitrate =~ video size
so.. 4000MB of video could 2800MB at 70% of video bitrate
BHH
morgankane
12th February 2008, 22:22
@morgankane
check "force muxing dar"
BHH
Thanks Buzzw !!:thanks:
survivant001
13th February 2008, 00:40
@buzzqw
again.. new features suggested
#1 - in the Advanced Profiles.. can be great if we can save the setting in a new profiles instead of just the option (use this profile)
#2 - add a parameter in the parameters list for the Thread number : the default is AUTO.. but I think the problem with the VBV bufferunderflows is releated to Thread. If I use --thread 1 I don't get the error.
Tirade
13th February 2008, 02:12
Odd problem...
Transcoding DVD to h.264 - If I choose my audio as Nero AAC-HE 160k only about 30% of my movie has audio. Ive tried 4 times with DVD source and DVD rip source. If I choose Nero ACC default with quality, the audio is fine. When I click the advanced audio tab to select AAC-HE and 2pass, is AutoMKV making other audio changes?
14:51:36 Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\VTS_08_1.vob] -OF=[C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\movie] -exit -minimize
14:53:41 D2V file size: 833062
14:53:41 Audio 1: movie t80 3_2ch 448kbps delay 0ms.ac3
14:53:41 Pre Audio 1' Size: 355826688 bytes
14:53:41 Applying DelayAudio of 0 to audio file: movie t80 3_2ch 448kbps delay 0ms.ac3
14:53:41 Encoding C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\movie t80 3_2ch 448kbps delay 0ms.ac3 to NeroAAC with custom command line
14:59:59 2 Pass encoding Audio 1 track: C:\Program Files\AutoMKV\exe\BeSweet\neroaacenc.exe -br 160 -2pass -if audio.wav -of movie t80 3_2ch 448kbps delay 0ms.mp4
15:08:43 Encoded 1' Audio Track: movie t80 3_2ch 448kbps delay 0ms.mp4 18109838 bytes
15:08:43 D2V Film Detected: 100.000000% FILM found
15:08:47 Number of Frames: 190431
15:08:47 Framerate: 29.970030
15:08:47 Movie length in Seconds: 6355
15:08:47 Movie Width/Height: 720/480
15:08:47 DgIndex AR: 16:9
15:13:10 Source is declared tff by a margin of 160/2.
15:13:10 Advanced Deinterlace Routines Log
15:13:10 Analyzed 552 sections of five frames
15:13:10 Found Interlace Sections: 16 2.90%
15:13:10 Found Progressive Sections:23 4.17%
15:13:10 Found Telecined Sections: 513 92.93%
15:13:10 Found Zero Mov: 4.17% 23
15:13:10 Found One Mov: 2.90% 16
15:13:10 Found Two Mov: 92.93% 513
15:13:10 Found Three Mov: 0.00% 0
15:13:10 Found Four Mov: 0.00% 0
15:13:10 Found Five Mov: 0.00% 0
15:13:10 The Movie is declared to telecined
15:13:10 Starting X264
15:13:10 CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 18 --stats "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 14000 --me umh --level 3.1 --weightb --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --aq-strength 0.50 --aq-sensitivity 13 --sar 11982092:10000000 --output "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\movie.264" "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\movie.avs"
18:25:33 X264 Final CRF Encoding Stats:
x264 [info]: using SAR=46805/39062
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
x264 [info]: slice I:2399 Avg QP:15.16 size: 35952
x264 [info]: slice P:65995 Avg QP:17.28 size: 14173
x264 [info]: slice B:83950 Avg QP:19.53 size: 3335
x264 [info]: mb I I16..4: 23.7% 52.0% 24.2%
18:25:33 Accepted values are between 697303040 and 741343232 bytes (movie+audio)
18:25:33 Got a file of size: 1301674624 bytes + audio size 18109838 bytes (1319784448)
18:25:33 Only Movie Size: 1301674624 bytes
18:25:33 "C:\Program Files\AutoMKV\exe\matroska\MP4Box.exe" -add "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\movie.264":par=2.344322 -chap "C:\Program Files\AutoMKV\exe\chapters.txt" -add "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\movie t80 3_2ch 448kbps delay 0ms.mp4:lang=und" -fps 23.976 -new "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\Fantastic_Four_Default_full.mp4"
18:28:16 Final Muxed size: 1321183104 bytes
18:28:16 Encoding finished: 03:15:06 elapsed time
18:28:16 -----------------------------------------------------------------------
18:28:16 Script AutoCrop.log
18:28:16
18:28:16 Crop(0,56,720,364)
18:28:16 -----------------------------------------------------------------------
18:28:16 Script movie.avs
18:28:16
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\AddGrain.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\autocrop.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\aWarpSharp(Pruned).dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\blockbuster.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\cnr2.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\ColorMatrix.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Convolution3D.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\corrector.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DctFilter.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Decomb.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\Deen.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\degrainmedian.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\DGDecode.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\EEDI2.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FFMpegSource.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FFT3DFilter.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FluxSmooth.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\frfun7.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\hqdn3d.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\LeakKernelDeint.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MaskTools.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\medianblur.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MipSmooth.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\MSharpen.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mt_masktools.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\mvtools.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\RemoveGrainS.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\RepairS.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SangNom.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SimpleResize.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SoundOut.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TBilateral.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TDeint.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TIVTC.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TomsMoComp.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\TTempSmooth.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnDot.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\UnFilter.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\VSFilter.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\warpsharp.dll")
18:28:16 #loadpluginstart
18:28:16
18:28:16 #test1
18:28:16
18:28:16 Import("C:\Program Files\AutoMKV\exe\filter\BlindDeHalo3_mt2.avsi")
18:28:16 Import("C:\Program Files\AutoMKV\exe\filter\Deblock_QED_MT2.avsi")
18:28:16 Import("C:\Program Files\AutoMKV\exe\filter\FastLineDarken 1.3 MT MOD.avsi")
18:28:16 Import("C:\Program Files\AutoMKV\exe\filter\HybridFuPP.avsi")
18:28:16 Import("C:\Program Files\AutoMKV\exe\filter\LanczosPlus.avsi")
18:28:16 Import("C:\Program Files\AutoMKV\exe\filter\Lem.avsi")
18:28:16 Import("C:\Program Files\AutoMKV\exe\filter\LimitedSharpenFaster.avsi")
18:28:16 Import("C:\Program Files\AutoMKV\exe\filter\MCBob_v03c.avsi")
18:28:16 Import("C:\Program Files\AutoMKV\exe\filter\mvbob.avsi")
18:28:16 Import("C:\Program Files\AutoMKV\exe\filter\QMlib.avsi")
18:28:16 Import("C:\Program Files\AutoMKV\exe\filter\seesaw.avsi")
18:28:16 Import("C:\Program Files\AutoMKV\exe\filter\spresso.avsi")
18:28:16 #importstart
18:28:16
18:28:16 #test2
18:28:16
18:28:16 movie = mpeg2source("C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\movie.d2v")
18:28:16 function getOrder(clip c) {
18:28:16 order = GetParity(c) ? 1 : 0
18:28:16 Return order }
18:28:16 #filter1start
18:28:16
18:28:16 #test3
18:28:16
18:28:16 movie = tfm(movie,d2v="C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\movie.d2v").tdecimate()
18:28:16 last=movie.Crop(0,56,720,364)
18:28:16 fixed_aspect = 1.978022
18:28:16 out_width = 720
18:28:16 out_height = 368
18:28:16 #resizestart
18:28:16
18:28:16 #test4
18:28:16
18:28:16 LanczosResize(out_width,out_height)
18:28:16 #filter2start
18:28:16
18:28:16 #test5
18:28:16
18:28:16 RemoveGrain(mode=2)
18:28:16 -----------------------------------------------------------------------
18:28:16 Script mkvmaudio.avs
18:28:16
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SoundOut.dll")
18:28:16 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FFmpegSource.dll")
18:28:16 NicAC3Source("C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\movie t80 3_2ch 448kbps delay 0ms.ac3")
18:28:16 DelayAudio(0.0000)
18:28:16 #Applying ORIGINAL downmixing routines
18:28:16
18:28:16 function addvideo(clip c) {
18:28:16 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
18:28:16 Return audiodub(last,c)
18:28:16 }
18:28:16 Normalize()
18:28:16
18:28:16 Soundout(output="wav",type=1,autoclose=true,filename="audio.wav",showoutput=false)
18:28:16
18:28:16 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
thomaspf
13th February 2008, 07:30
I don't know exactly what the cause of the problem is but it appears to be an access right issue with Vista.
I tried a few more re-installs in "Program Files" and gave up. I now run it from my temp directory without problems.
Converting a movie right now...
Thanks
Thomas
buzzqw
13th February 2008, 08:14
@survivant001
#1 - in the Advanced Profiles.. can be great if we can save the setting in a new profiles instead of just the option (use this profile)
:confused: what do you mean "instead of just the option" ?
do you mean using load/save confuguration ?
#2 - add a parameter in the parameters list for the Thread number : the default is AUTO.. but I think the problem with the VBV bufferunderflows is releated to Thread. If I use --thread 1 I don't get the error.
already present on advanced profile editing
@Tirade
for encoding on 2 pass automkv first decode audio to wav, then feed nero with wav file
... you keep original as channel.. maybe a bug of 4gb wav.. , i will look at this ! thanks
EDIT: download this build an tell me if ok http://www.64k.it/andres/data/a/AutoMKV095c.exe
@thomaspf
most probably was a problem of privileges/read only folder
BHH
Ajax_Undone
13th February 2008, 08:41
Hey bro the installer links are Updated...
230 DDLs of the AutoMKV0.95a and 6 of the NoRip version... Do to that I will only be making the Rip version from now on it speeds things up Anyway..
buzzqw
13th February 2008, 09:03
@Ajax_Undone
thanks! link update too!
BHH
nanorch
13th February 2008, 10:08
a small but annoying bug: if a automkv.ini file exists, the Audio Codec (both tracks) reverts to "Lame", even if I had saved (and automkv.ini contains) "Ogg Vorbis"
I tried to delete the specific lines Audio Codec N = from the file, no change...
buzzqw
13th February 2008, 10:11
thanks nanorch, i will check!
BHH
Poopoo
13th February 2008, 11:37
buzz, it would be helpfull to add some whatsnew to the first post. :stupid:
delacroixp
13th February 2008, 11:58
Still I insist on adding an option to compute the target file size based on a percentage of the source's video bitrate... since
itīs kind of annoying to calculate it manually, this is useful to transcode between video codecs.
Eg: I want to transcode an xvid movie to x264 but keeping only 70% of itīs original video bitrate... etc.
Perhaps, the issue is not so much of encoding at 70% of orginal filesize even if you can't always gauge the original audio/video makeup (eg, multiple audio tracks, huge DTS file, etc)... but the advantage thereof !
There has been a huge swing in encoding philosophy in favour of Constant_Quality-CRF.
It's preferable to maintain a constant quality... rather than aim at an arbitrary filesize which would result in a huge swing in quality over time (see post (http://forum.doom9.org/showthread.php?p=1091248#post1091248)).
There is no harm in aiming at an average percentage reduction in filesize but it far less clear how it would be attainable.
Try 1-pass CQ and you'll soon get a feel as to where you want to be.
:):devil::D
Pascal
Don_Genaro
13th February 2008, 16:10
There has been a huge swing in encoding philosophy in favour of Constant_Quality-CRF.
It's preferable to maintain a constant quality... rather than aim at an arbitrary filesize which would result in a huge swing in quality over time.
There is no harm in aiming at an average percentage reduction in filesize but it far less clear how it would be attainable.
The problem with the CRF aproach to transcode divx/xvid movies, is that there is no easy way on knowing how much CRF does the file really needs. Sometimes a transcoded file with CRF 21 ends with a bigger size than the source, so it is evident that one is throwing into it more CRF than the necesary.
Another problem is that some divx/xvids have enough CRF with no less than 24, so a given CRF number isnīt optimal for every case. And since the goal is gaining some file size reduction keeping the quality as much as possible close to the source, the bitrate solution seems better.
I been testing with percentage of bitrate reduction and until now and I have had excelent results transcodes using 70% to 75% of the original bitrate, whether using two pass or "hit media size" CRF, but with CRF is quicker.
Also, do you agree that CRF or CQ 18 is equal in quality to divx/xvid CQ 2??? And what happens when a sample encoded with CQ 18 in x264 has the same size of one encoded with Xvid cq 2?, does this mean x264 has no compresability advantage over xvid in that particular movie??
:thanks:
Tirade
13th February 2008, 23:07
@Tirade
for encoding on 2 pass automkv first decode audio to wav, then feed nero with wav file
... you keep original as channel.. maybe a bug of 4gb wav.. , i will look at this ! thanks
EDIT: download this build an tell me if ok http://www.64k.it/andres/data/a/AutoMKV095c.exe
Fixed :)
survivant001
14th February 2008, 02:38
@survivant001
:confused: what do you mean "instead of just the option" ?
do you mean using load/save confuguration ?
in the advanced profile editing. You cna personnalized settings.. but I want the option.. Export theses setting into a new Profile (xxx) and I can use later for other encoding..
I mean create a new profile in automkv\profiles\x264\xxx.xml
already present on advanced profile editing
oups.. yah.. saw it.. I tough it will be in the textarea not a listbox.
Ajax_Undone
14th February 2008, 03:12
It came to my attention earlier that I did not upload the updated installer for this program. So I fixed it...
Happy Days LOL... BTW Might want to update your link on the fron page...
Tirade
14th February 2008, 03:29
Ok, once again I call on the guidance of the video gurus :)
I am actually in the process of writing a very clear "best practices" guide focused on DVD to h.264 converting and I have come a long way in my quest for knowledge.
I am good on the video and audio settings but I am definately having a problem grasping something and I need some clarification.
My questions are about aspect ratio, anamorphic and auto-crop.
Ok, I think I understand it as follows.
1. I have 300+ DVD's and all of them are widescreen. Most are 2.35:1 or 1.85:1. Neither of those aspect ratios are 16X9 (1.78:1). My TV is 16X9 so the DVD plays at 16X9 and because of the difference between 16X9 and the aspect ratio of the movie, that is why I have the black bars (called letterboxing). Am I correct on this?
2. Assuming the above is correct, I go to my next question. Some of my DVD's say "Anamoprhic Widescreen" on the back of them. The way I understand it is that anamorphic widescreen movies are "squished" horizontally and then "stretched" back out on the TV to fill the entire screen and correct the image size which results in a 16X9 image or 853X480 resolution? Is this correct?
3. Assuming that is correct, when I put a 2.35:1 or 1.85:1 DVD into AutoMKV why does it tell me to select anamorphic in the advanced menu? Is this so AutoMKV can stretch the squished image during the transcoding so that the TV does not have to?
4. If that is the case, then choosing to auto-crop and choosing anamorphic is defeating the purpose (if your goal is to remove black lines)? If I choose auto-crop and also choose anamorphic I end up with a resolution of 720X368 and even if my TV stretches the image to 16X9 I end up with black bars. So if I will only be viewing these transcodes on 16X9 TV then I should not auto-crop anamorphic widescreen DVD's correct?
5. So then the only reason why someone only watching on a 16X9 TV would auto-crop a 1.85 or 2.35 DVD usually is because it is non-anamorphic (so you will get letterboxing anyway) and you wish to save bits (or wish to clean up the letterbox edges)?
6. Does auto-cropping result in a resize of the entire image or does it just "cut off" the letterboxed areas? I read that resizing will always result in a loss of quality so if it resizes the entire image then I will not auto-crop non-anamorphic DVD's.
This is so much to take in over a 1-2 week period that it all starts to run together. If I am way off, please tell me as I wish to start batch transcoding all of my DVD's this weekend.
buzzqw
14th February 2008, 08:32
@Tirade
thanks, i will upload the fixed build
@survivant001
i have understud. thanks for this suggestion
@Ajax_Undone
thanks, link update
@Tirade
humble hint: Try all settings with a very small vob.
you should get what you want
BHH
nanorch
14th February 2008, 09:27
@Tirade:
I am actually in the process of writing a very clear "best practices" guide focused on DVD to h.264 converting and I have come a long way in my quest for knowledge.
I would be very interested in such a guide (provided it's not too arcane), as I also have a bunch of DVD => H.264 conversions planned for the next weeks.
nanorch
14th February 2008, 09:42
A question (and possibly suggestion) about Autocrop:
while encoding with "Autocrop only", I got the following message from x264: width or height not divisible by 16 (716x544), compression will suffer (the original movie size is 720x576.)
How bad is that? If there is any serious impact, should the Autocrop function not ensure that the resulting dimensions are mod16 compliant ? (even if that means increasing dimensions instead of cropping)
Aylwin
14th February 2008, 10:30
Ok, once again I call on the guidance of the video gurus :)I'm barely a newbie myself so I hope you don't mind my comments and additional questions.
1. I have 300+ DVD's and all of them are widescreen. Most are 2.35:1 or 1.85:1. Neither of those aspect ratios are 16X9 (1.78:1). My TV is 16X9 so the DVD plays at 16X9 and because of the difference between 16X9 and the aspect ratio of the movie, that is why I have the black bars (called letterboxing). Am I correct on this?As I understand it, "letterboxing" is generally used to refer to the black bars added to standard (4:3, non-anamorphic) video when the movie is wider (1.66, 1.78, 1.85, 2.35 or whatever). Anamorphic video has a display aspect ratio of 1.78:1. So if the movie is wider than that, black bars will also have to be added which technically is probably also "letterboxing".
The way I understand it is that anamorphic widescreen movies are "squished" horizontally and then "stretched" back out on the TV to fill the entire screen and correct the image size which results in a 16X9 image or 853X480 resolution? Is this correct?I've always been curious about this one so hopefully someone else can clarify. What's the resolution of a widescreen (NTSC) TV? Is it 853x480 with square pixels, or is it 720x480 with rectangular pixels?
3. Assuming that is correct, when I put a 2.35:1 or 1.85:1 DVD into AutoMKV why does it tell me to select anamorphic in the advanced menu? Is this so AutoMKV can stretch the squished image during the transcoding so that the TV does not have to?I don't know why AutoMKV tells you to select anamorphic but anamorphic encoding doesn't stretch the squished image. It actually maintains it.
4. If that is the case, then choosing to auto-crop and choosing anamorphic is defeating the purpose (if your goal is to remove black lines)?Auto-crop can always be used to remove the black bars from the source video. It doesn't matter if you choose anamorphic or not. Anamorphic simply defines where or not the image is "squished".
If I choose auto-crop and also choose anamorphic I end up with a resolution of 720X368 and even if my TV stretches the image to 16X9 I end up with black bars. So if I will only be viewing these transcodes on 16X9 TV then I should not auto-crop anamorphic widescreen DVD's correct?
If the movie is wider than your TV (e.g. 2.35:1 on a widescreen TV) then there will always be black bars. The question is: where do the black bars come from? If you don't auto-crop then the black bars are encoded. If you auto-crop, then the black bars are not encoded but are anyway generated by your media player before sending to the TV. So how I see it, auto-crop is always better since I see no point in encoding black bars. Anamorphic encoding only affects the width of the encoded video. Not the black bars.
6. Does auto-cropping result in a resize of the entire image or does it just "cut off" the letterboxed areas? I read that resizing will always result in a loss of quality so if it resizes the entire image then I will not auto-crop non-anamorphic DVD's.Yes, auto-cropping cuts off the black bars but I believe in many cases this also involves resizing because the number horizontal pixels vs the number of vertical pixels need to be a certain way. I guess it's something to do with MOD16 but I don't understand any of that stuff.
Anyway, I believe you're right. Any resizing will result in a loss of quality so you might not want to auto-crop. However, if the original video is anamorphic then you'd want to maintain that if you don't want any resizing. Anamorphic NTSC is 720x480 which is squished. Anamorphic encoding will maintain that. If you don't use anamorphic encoding then the picture will be resized to somewhere around 853x480.
This is so much to take in...Tell me about it! I'm still trying to figure out the best settings and dimensions for my encodes.
Aylwin
14th February 2008, 10:44
I been testing with percentage of bitrate reduction and until now and I have had excelent results transcodes using 70% to 75% of the original bitrate,Interesting. Does this mean that for the same level of quality, X264 files can be 25-30% smaller than XviD/DivX?
JuanCC
14th February 2008, 11:08
Microsoft (R) Windows Media Encoder Command Line Script Utility
Copyright (C) Microsoft Corporation. All rights reserved.
Title: Example
Year: 2008
Copyright: Done with AutoMKV! 0.95
Warning: Encoder failed to retrieve duration attribute from source plug-in.
Trying alternate method now....
Source duration retrieved: 10 seconds.
======== Begin Pass1 ========
Read: 25,5s (255%) Elapsed: 00:00:00 Left: 00:00:00 [25500x]
I try to encode an wmv vc-1 video from an mpeg video source.
Output Codec Settings
-------------------------------------------------------------
-v_codec WVC1 -v_mode 3 -v_bitrate 1 -s_config "C:\Example\wmv_crb" -v_preset best -v_buffer 10000 -v_performance 80 -a_input "C:\Example\" -a_codec WMAPRO -a_mode 1 -title "Example" -log wmv.log -year 2008 -copyright "Done with AutoMKV! 0.95"
Input Codec Settings
-------------------------------------------------------------
Video: MPEG1 Video 640x480 (73:60) 29.97fps 104857Kbps [Video]
Audio: MPEG Audio 48000Hz stereo 96Kbps [Audio]
My O.S is Windows Vista Home Basic
zacoz
14th February 2008, 11:22
My questions are about aspect ratio, anamorphic and auto-crop.
Ok, I think I understand it as follows.
1. I have 300+ DVD's and all of them are widescreen. Most are 2.35:1 or 1.85:1. Neither of those aspect ratios are 16X9 (1.78:1). My TV is 16X9 so the DVD plays at 16X9 and because of the difference between 16X9 and the aspect ratio of the movie, that is why I have the black bars (called letterboxing). Am I correct on this?
Yes, this is letterboxing, as it is also letterboxing when a 16:9 movie is played on a 4:3 TV. On my TV I also have the option of NOT letterboxing - it instead fills the height of the screen but consequently chops off the right and left of the picture (yuk).
2. Assuming the above is correct, I go to my next question. Some of my DVD's say "Anamoprhic Widescreen" on the back of them. The way I understand it is that anamorphic widescreen movies are "squished" horizontally and then "stretched" back out on the TV to fill the entire screen and correct the image size which results in a 16X9 image or 853X480 resolution? Is this correct?
You will likely find all your widescreen movies are "Anamorphic Widescreen" whether they specifically say that or not. Your obviously from NTSC land considering your reference to 480 height. Your DVD movies therefore all have a resolution of 720 x 480 which obviously isn't 16:9, so they all must be either being stretched horizontally or squashed vertically (i.e. Anamorphic).
3. Assuming that is correct, when I put a 2.35:1 or 1.85:1 DVD into AutoMKV why does it tell me to select anamorphic in the advanced menu? Is this so AutoMKV can stretch the squished image during the transcoding so that the TV does not have to?
You must have width selected as "Original" in that case - that's the only time that message is displayed, and only relevant when you both select "Original" and have a widescreen source. When "Original" is selected, that actually means original width and original height (i.e. no cropping whatsoever). Therefore if you are encoding a widescreen movie using the original 720 x 480 then it MUST be stretched to display as a widescreen (whether 16:9, 2.35:1, 1.85:1, etc).
EDIT: It's not AutoMKV stretching the image, rather setting the Display Aspect Ratio (DAR) or similar to tell the player to stretch it on playback.
4. If that is the case, then choosing to auto-crop and choosing anamorphic is defeating the purpose (if your goal is to remove black lines)? If I choose auto-crop and also choose anamorphic I end up with a resolution of 720X368 and even if my TV stretches the image to 16X9 I end up with black bars. So if I will only be viewing these transcodes on 16X9 TV then I should not auto-crop anamorphic widescreen DVD's correct?
If you choose autocrop and select anamorphic then your original picture height is retained (less the cropping) and your picture is stretched horizontally to make it widescreen. If you choose autocrop but NOT selecting anamorphic then your original width (less cropping) will be retained (normally 716 - 720) but your height will be squashed to get to the right widescreen aspect ratio (i.e. you loose pixels).
You seem to be thinking you HAVE to remove black bars - that's WRONG. With a 16:9 TV you can only ever not have black bars if the picture area of your movie is exactly 16:9 aspect ratio as well. You've stated that most of your movies are NOT 16:9, their width is actually proportionately larger than their height compared to a 16:9 therefore to retain the correct visual aspect ratio your TV either needs to:
fill the width which leaves the height not filling the screen (i.e. black bars top and bottom - this is good)
fill the height which means the left and right of the picture is cut off (not good)
or visually squash the picture back to 16:9 and fill both height and width (everything subsequently looks squashed horizontally - not good)
5. So then the only reason why someone only watching on a 16X9 TV would auto-crop a 1.85 or 2.35 DVD usually is because it is non-anamorphic (so you will get letterboxing anyway) and you wish to save bits (or wish to clean up the letterbox edges)?
Question seems flawed to me as 16:9, 1.85, 2.35 DVD movies are all anamorphic to start with. When encoding them you can choose to make the resulting encode anamorphic or not - your choice. If you retain the same visual aspect ratio of the picture however, then making it anamorphic or not has very little (actually read "nothing") to do with it being letterboxed when played.
6. Does auto-cropping result in a resize of the entire image or does it just "cut off" the letterboxed areas? I read that resizing will always result in a loss of quality so if it resizes the entire image then I will not auto-crop non-anamorphic DVD's.
My experience is that with a widescreen movie in AutoMKV, autocrop set on the basic settings tab in the width field doesn't resize, only crops, when you have anamorphic selected on advanced setting tab.
If you don't select anamorphic then it has to squash the height to retain the aspect ratio - you haven't given it a choice.
This is so much to take in over a 1-2 week period that it all starts to run together. If I am way off, please tell me as I wish to start batch transcoding all of my DVD's this weekend.
DON'T.......until you've tried some short test encodes with and without autocrop and with and without anamorphic to see what the output is. This is the best way to be confident in yourself that you know what is happening and what your output will be like.
Also you may want to use something like Mediainfo or Avinaptic to see what the output pixel size, the display aspect ratio etc is, and play the output in a software player that isn't set to override the display aspect ratio.
My apologies to the true experts who may pick up some not quite 100% *technically* accurate comments I've made. I've come from a similar level of confusion as Tirade so hopefully my explanation may gel. :helpful:
EDIT: Aylwin beat me, and has some nice concise comments on several of the questions to. Good Job.
Aylwin
14th February 2008, 12:12
If you choose autocrop and select anamorphic then your original picture height is retained (less the cropping) and your picture is stretched horizontally to make it widescreen.It might be useful to clarify that the "picture is stretched horizontally to make it widescreen" during playback. If you select anamorphic encoding then the encoded file remains "squished". Here's a test I made with an anamorphic PAL (720x576) movie with an aspect ratio of 2.35:1:
Auto-crop + Anamorphic Encoding = 716x432 (DAR = 2.35)
Auto-crop only = 716x304 (DAR = 2.35)
You'll see that with auto-crop only, the aspect ratio is already 2.35 (716/304). However, with anamorphic encoding the image needs to be stretch horizontally (about 1016x432 on the PC) during playback to get the right aspect ratio.
By comparison, here's what I get if I select Original instead of Auto-Crop:
Original + Anamorphic Encoding = 720x576 (DAR = 16/9)
Original only = 720x576 (DAR = 5/4)
We can see that Original keeps the same image dimensions as the source. The anamorphic file is again stretched during playback to get the right display aspect ratio (letterboxed 1024x576). However, the non-anamorphic file is just plain wrong. I don't know if this is by design or a bug.
valnar
14th February 2008, 12:51
If you choose autocrop and select anamorphic then your original picture height is retained (less the cropping) and your picture is stretched horizontally to make it widescreen. If you choose autocrop but NOT selecting anamorphic then your original width (less cropping) will be retained (normally 716 - 720) but your height will be squashed to get to the right widescreen aspect ratio (i.e. you lose pixels).
Best single sentence answer of how anamorphic works with AutoMKV. QFT.
Robert
buzzqw
14th February 2008, 13:13
If you choose autocrop and select anamorphic then your original picture height is retained (less the cropping) and your picture is stretched horizontally to make it widescreen. If you choose autocrop but NOT selecting anamorphic then your original width (less cropping) will be retained (normally 716 - 720) but your height will be squashed to get to the right widescreen aspect ratio (i.e. you lose pixels).
added to TIPS!
thanks!
BHH
valnar
14th February 2008, 14:19
added to TIPS!
thanks!
BHH
Aylwin is correct that anamorphic is stretched back during playback. Make sure that gets in there.
Robert
buzzqw
14th February 2008, 14:35
If you choose autocrop and select anamorphic then your original picture height is retained (less the cropping) and your picture is stretched horizontally during playback to make it widescreen.//If you choose autocrop but NOT selecting anamorphic then your original width (less cropping) will be retained (normally 716 - 720) but your height will be squashed to get to the right widescreen aspect ratio (i.e. you lose pixels).
yes, done. thanks to ALL!
and post more TIPs!
BHH
Tirade
14th February 2008, 14:47
I've always been curious about this one so hopefully someone else can clarify. What's the resolution of a widescreen (NTSC) TV? Is it 853x480 with square pixels, or is it 720x480 with rectangular pixels?
I am pretty sure its 853X480 w/ square pixel. My TV runs at 1920X1080 and my other TV is 1280X720 both are 16X9. I can only assume its stored at 720X480 on the DVD because of some sort of resolution restriction?
Yes, auto-cropping cuts off the black bars but I believe in many cases this also involves resizing because the number horizontal pixels vs the number of vertical pixels need to be a certain way. I guess it's something to do with MOD16 but I don't understand any of that stuff.
I dont fully understand it either. I do know MOD16 means that the width and height are dividable by 16 and thats important because the video is divided up into 16X16 blocks for encoding. So if its not dividable by 16 you are losing data as it will down to to the nearest 16th. I'm sure there is more to it than that though.
Anyway, I believe you're right. Any resizing will result in a loss of quality so you might not want to auto-crop. However, if the original video is anamorphic then you'd want to maintain that if you don't want any resizing. Anamorphic NTSC is 720x480 which is squished. Anamorphic encoding will maintain that. If you don't use anamorphic encoding then the picture will be resized to somewhere around 853x480.
Hmmm then would it be better to retain the anamorphic source and let my player stretch it out or not choose anamorphic and let AutoMKV stretch it out? The end result of 853X480 would be fine on a 16X9 TV.
In Zacos reply he states that selecting anamorphic will set the correct DAR so that the player properly stretches it out but not selecting anamorphic will result in the original size of 720X480 (squished). So I do not think your end result will be 853X480. I think you will still get 720X480 and you will have to manually select the DAR? Is this right Zacos? (and yes I am from NTSC land hehe)
If you choose autocrop and select anamorphic then your original picture height is retained (less the cropping) and your picture is stretched horizontally to make it widescreen. If you choose autocrop but NOT selecting anamorphic then your original width (less cropping) will be retained (normally 716 - 720) but your height will be squashed to get to the right widescreen aspect ratio (i.e. you loose pixels). You seem to be thinking you HAVE to remove black bars - that's WRONG. With a 16:9 TV you can only ever not have black bars if the picture area of your movie is exactly 16:9 aspect ratio as well.
Damn you are right I should have thought about that. The only way to fill the screen vertically is to also stretch it (off the screen) horizontally; otherwise I will lose the films native aspect ratio. That makes perfect sense.
My experience is that with a widescreen movie in AutoMKV, autocrop set on the basic settings tab in the width field doesn't resize, only crops, when you have anamorphic selected on advanced setting tab.
I am hoping to get clarification on this. If I choose Auto-Crop it forces me to choose a resize option (even if Anamorphic is selected). Is this because it does resize but it only resizes the black areas? Can anyone confirm if cropping affects the entire image or not? I am hoping the answer is no so that I can finish this guide and start my testing w/o worrying about resize filters.
THANKS A TON GUYS! I hope when I get this all squared away today I can contribute back with a decent guide.
Aylwin
14th February 2008, 15:15
I am pretty sure its 853X480 w/ square pixel. My TV runs at 1920X1080 and my other TV is 1280X720 both are 16X9.I was referring to conventional CRT widescreen TVs. These new HDTVs, I think of them like computer monitors (square pixels).
I can only assume its stored at 720X480 on the DVD because of some sort of resolution restriction?720x480 is the standard for NTSC. And this is what the "old" CRT TVs need.
If you don't use anamorphic encoding then the picture will be resized to somewhere around 853x480.Hmmm then would it be better to retain the anamorphic source and let my player stretch it out or not choose anamorphic and let AutoMKV stretch it out? The end result of 853X480 would be fine on a 16X9 TV.Sorry. Very poor statement on my part. I was trying to imply that you would have to manually set the dimensions in AutoMKV if you want a similar resolution to anamorphic encoding. If you simply use Auto-crop with no anamorphic encoding, then it's 720 x [whatever height needed to get the rigth aspect ratio] as explained by zacoz.
If I choose Auto-Crop it forces me to choose a resize option (even if Anamorphic is selected). Is this because it does resize but it only resizes the black areas? Can anyone confirm if cropping affects the entire image or not? I am hoping the answer is no so that I can finish this guide and start my testing w/o worrying about resize filters.I'm not sure I fully understand your questions. Auto-Crop removes the black areas, it doesn't resize them. You also mention resize filters. I don't think that has any direct relation to cropping.
By the way, what media player are you using and how is it connected to your TV?
valnar
14th February 2008, 15:42
I'm not sure I fully understand your questions. Auto-Crop removes the black areas, it doesn't resize them. You also mention resize filters. I don't think that has any direct relation to cropping.
I think what he was saying is that by removing *any* lines from the original source at all, even black bars, it will force a minor resize/scale from the original DVD because of MOD16. Most of us think it's best to remove the black bars and not encode them, but the price we pay is a little bit of fudging.
If you are a total stickler for the original quality, the best option is Original sizing + anamorphic. In the case of a 2.35:1 movie for instance, that would mean wasting some bits encoding black bars.
Robert
Tirade
14th February 2008, 16:05
I think what he was saying is that by removing *any* lines from the original source at all, even black bars, it will force a minor resize/scale from the original DVD because of MOD16. Most of us think it's best to remove the black bars and not encode them, but the price we pay is a little bit of fudging.
If you are a total stickler for the original quality, the best option is Original sizing + anamorphic. In the case of a 2.35:1 movie for instance, that would mean wasting some bits encoding black bars.
Robert
Yes, I was wondering if cropping works like say... using scissors to cut off the top and bottom of a photo or does cropping the black bars out actually require processing/resizing the entire source?
I plan to compare some size differences tonight between cropping and original and seeing how much of a size difference there is and if there is an quality difference. If the wasted bits are a negligible size difference (1-3%) I might just use the original. I cant think there would be a lot of information in those black areas :)
I do like the solid black look of the cropped areas compared to the somewhat gray/black default letterbox bars.
Taddeusz
14th February 2008, 16:19
I think it's always been the common-man consensus that cropping the black bars reduces the size by a lot. But then compression techniques now are very efficient. And you're talking about two large bands of black which should compress down to nearly nothing because nothing is there. I've never seen any actual proof that cropping actually reduces size or increases quality by a noticeable amount.
buzzqw
14th February 2008, 16:44
update 0.95c
ADDED: Better tooltip layout
ADDED: Aspect error in log file
ADDED: Save personalized profile (suggestion by survivant001)
FIXED: 2 pass encoding with Nero AAC Audio and movie longer than 2 hours
FIXED: Reduced log (trimming all load plugin/import section)
BHH
zacoz
14th February 2008, 16:51
It might be useful to clarify that the "picture is stretched horizontally to make it widescreen" during playback.
Thanks Aylwin. I should have been clearer in my post.
Hmmm then would it be better to retain the anamorphic source and let my player stretch it out or not choose anamorphic and let AutoMKV stretch it out? The end result of 853X480 would be fine on a 16X9 TV.
In Zacos reply he states that selecting anamorphic will set the correct DAR so that the player properly stretches it out but not selecting anamorphic will result in the original size of 720X480 (squished). So I do not think your end result will be 853X480. I think you will still get 720X480 and you will have to manually select the DAR? Is this right Zacos? (and yes I am from NTSC land hehe)
Not quite true, I may not have been clear.
If you use Autocrop + Anamorphic you would end up with approx 720 x 480 that is stretched to 853 x 480 on playback.
If you use Autocrop only you get approx 720 x 404 with no stretching on playback.
AutoMKV sets DAR correctly in both cases.
(these are approximates as I've never encoded NTSC so don't know what it normally mods/resizes W & H to exactly)
My experience is that with a widescreen movie in AutoMKV, autocrop set on the basic settings tab in the width field doesn't resize, only crops, when you have anamorphic selected on advanced setting tab.I am hoping to get clarification on this. If I choose Auto-Crop it forces me to choose a resize option (even if Anamorphic is selected). Is this because it does resize but it only resizes the black areas? Can anyone confirm if cropping affects the entire image or not?
You have me thinking about this a little more now too. I might have to look a bit deeper. When I "autocrop with anamorphic" my 720 x 576 16:9 anamorphic PAL TV captures (no black bars evident), I end up with 716 x 576 (anamorphic) output - I'd assumed no resizing was done but I should probably double check it isn't doing a tiny bit.
zacoz
14th February 2008, 17:00
By comparison, here's what I get if I select Original instead of Auto-Crop:
Original + Anamorphic Encoding = 720x576 (DAR = 16/9)
Original only = 720x576 (DAR = 5/4)
We can see that Original keeps the same image dimensions as the source. The anamorphic file is again stretched during playback to get the right display aspect ratio (letterboxed 1024x576). However, the non-anamorphic file is just plain wrong. I don't know if this is by design or a bug.
Your second test, selecting "Original only" is why the message comes up about recommending Anamorphic be selected - because if your source is anamorphic in this case and you don't your output DAR will be wrong and it won't play right.
It was discussed in the 0.95beta thread, but it was unclear if forcing this could cause an issue in the case an unusual anamorphic source. From memory someone mentioned having seen vertically anamorphic videos not only the common horizontally anamorphic. Buzzqw therefore added the "recommendation to tick anamorphic" in the status bar as a solution.
zacoz
14th February 2008, 17:04
update 0.95c
ADDED: Better tooltip layout
ADDED: Aspect error in log file
ADDED: Save personalized profile (suggestion by survivant001)
FIXED: 2 pass encoding with Nero AAC Audio and movie longer than 2 hours
FIXED: Reduced log (trimming all load plugin/import section)
BHH
Nice :thanks: Might even get us closer to being on topic :p ;)
Reduced log should help a bit when people are posting them here too :cool:
2am - bed time zzzzzzzzzz
Honeyko
14th February 2008, 17:39
REQUEST: Multiple encodes of the same file will create different date-stamped logs appended with DATE/TIME rather than sequentially appending them all together (which makes it annoying to locate the beginning of one in the middle).
ALSO: The first post in this thread now reads: "
UPDATE 0.95b: http://www.64k.it/andres/data/a/AutoMKV095c.exe" ....suggest changing "UPDATE 0.95b:" to just "LASTEST UPDATE:" so as to not need to edit so much with every change.
buzzqw
14th February 2008, 17:46
REQUEST: Multiple encodes of the same file will create different date-stamped logs appended with DATE/TIME rather than sequentially appending them all together (which makes it annoying to locate the beginning of one in the middle).
... the log of my preferred vob test is over 25mb... :p
and.. fixed the 0.95B , thanks
BHH
Honeyko
14th February 2008, 18:08
Still I insist on adding an option to compute the target file size based on a percentage of the source's video bitrate... since itīs kind of annoying to calculate it manually, this is useful to transcode between video codecs. Eg: I want to transcode an xvid movie to x264 but keeping only 70% of itīs original video bitrate... etc.Perhaps, the issue is not so much of encoding at 70% of orginal filesize even if you can't always gauge the original audio/video makeup (eg, multiple audio tracks, huge DTS file, etc)... but the advantage thereof !
There has been a huge swing in encoding philosophy in favour of Constant_Quality-CRF. It's preferable to maintain a constant quality... rather than aim at an arbitrary filesize which would result in a huge swing in quality over time (see post (http://forum.doom9.org/showthread.php?p=1091248#post1091248)). There is no harm in aiming at an average percentage reduction in filesize but it far less clear how it would be attainable.
-- Actually that is ridiculously simple for compilations (such TV series) that you want to fill DVD5s right up to 4482mb:
1. Figure out how many episodes will go on each DVD, and how roughly, on average, much space you intend to devote to each episode. (Example: 27 show series with one extra = 14 episodes per DVD, or a very generous 320mb per episode, so quality should be superb.)
2. Do a Target Quality 60% pass CQ encode on all episodes, and record resultant file sizes. IMPORTANT: Make sure your output FPS is the desired one (usually 23.976 in the case of NTSC DVDs), and that you're properly deinterlacing -- otherwise output sizes will be bloated: "Hybrid" sources subjected to "Auto" will otherwise yield some episodes at 23.976 and others at 29.97 (in which case you'll have to force the 29.97s down).
3. Now simply apply percentages to 320mb to get the actual desired size of each episode. (In the example above, you can break each "set" of 14 into its own group.) Round fractions down so there'll be about 10mb of extra space on each DVD to fill up with pictures, theme music MP3s, etc. -- If you're really a geek into squeezing out the last possible percentage points, you'll strip out all the converted audio tracks and remove them from your calculations.
-- You'll find that variation with a series can be considerable. For instance, any cartoon episode featuring a storm (driving rain, blowing leaves, etc) or busy action scenes with rolling backdrops needs considerably more space than one with mostly just characters "moving lips". In the example above, mean file size will cluster near or a little below 320mb, some files will be as low as 250mb or less, some will be near 400mb, and a "season ender blow-out" episode will be up near 450mb or more.
Honeyko
14th February 2008, 18:17
REQUEST: Ability to import/read RealMedia files.
Aylwin
14th February 2008, 18:53
Your second test, selecting "Original only" is why the message comes up about recommending Anamorphic be selected - because if your source is anamorphic in this case and you don't your output DAR will be wrong and it won't play right.
It was discussed in the 0.95beta thread, but it was unclear if forcing this could cause an issue in the case an unusual anamorphic source. From memory someone mentioned having seen vertically anamorphic videos not only the common horizontally anamorphic. Buzzqw therefore added the "recommendation to tick anamorphic" in the status bar as a solution.I've just made a test with standard NTSC:
Original only = 720x480 (DAR 1.5)
Original + Anamorphic = 720x480 (DAR 4/3)
It seems it doesn't matter if I'm encoding standard or anamorphic. I still need to select Anamorphic encoding. Otherwise, the DAR is incorrect.
So in my opinion, if Original is selected then Anamorphic should automatically selected also. If necessary, then add comment in the status bar to say "Anamorphic Encoding is also enabled. Go to Advanced tab to change."
I believe the majority of encodes will need Anamorphic Encoding checked if Original is selected. And I think default/automatic settings should favor the majority rather than the minority.
SeeMoreDigital
14th February 2008, 19:51
Hi Buzz,
Sorry for taking so long to get back to you. I've been rather busy working...
Earlier today I contacted Moitah for the source code for my ARS Calculator application (which I seem to have lost).
With it, it will be possible to work out the required "aspect ratio signalling" values of any "AutoCrop Only" anamorphic MPEG-4 Part-2 and Part-10 encode.
Cheers
Honeyko
14th February 2008, 20:03
BUG:
Advanced Audio Settings windows still won't accept changes (i.e., open window, uncheck Normalizing, close window, start encode, see normalizing function appear, abort, open window and see Normalizing is still checked....etc).
buzzqw
14th February 2008, 20:14
BUG:
Advanced Audio Settings windows still won't accept changes (i.e., open window, uncheck Normalizing, close window, start encode, see normalizing function appear, abort, open window and see Normalizing is still checked....etc).
again NOT A BUG
i wanted this behavior
BHH
Spreeni
14th February 2008, 20:54
Hello Buzzqw,
I'd like to thank you for your work, I'm using your AutoMen wich I like for quick and good quality encodings; now I take a look at AutoMKV and I'm very impressed of the possibilities of this prog.
I often encode TV-revcordings to xvid avi, they are always broadcasted interlaced (PAL-TV) although most movies are progressive, they splitt a full frame into two interlaced. Programms like AutoGK detect those files as interlaced and switch on their deinterlace-routines. AutoMKV is much more sophisticated, its detection is treating those files as progressive and the quality of the encoding is much better (because no deinterlace-filter is used). However, there are some cases, AutoMKV's detection comes to no result, for example:
18:08:33 0.95c - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
18:08:33 OS Version: Windows XP
18:08:33 Selected Input file: E:\_Mpeg-Capture\transcode\Doku - Passen Sie mal auf 007.mpg
18:08:33 Selected Output dir: C:\Programme\_Video\AutoMKV095_NORIP\temp\
18:08:33 Selected Final Name: Doku - Passen Sie mal auf 007
18:08:33 Selected Container type: AVI
18:08:33 Selected Encoder: XviD
18:08:33 Selected Size: 1 CD / 1
18:08:33 Selected Profile: 2_Pass_SAP.xml
18:08:33 Selected Resizer: LanczosResize / AutoCrop Only
18:08:33 Selected Filters: DeGrainMedian(limitY=5,limitUV=5,mode=3)
18:08:33 Selected Deinterlacer: AUTO
18:08:33 Selected Field Order: AUTO
18:08:33 NeroAACEnc.exe: not present
18:08:33 Track Language 1: c0: MPA L2 2ch 48 224
18:08:33 Audio Codec 1: Lame
18:08:33 Audio Quality 1: 128
18:08:33 Audio Channel 1: Stereo
18:08:33 Track Language 2: NONE
18:08:33 Audio Codec 2: Lame
18:08:33 Advanced Audio Settings DUMP Track 1
18:08:33 Audio Track Language: und
18:08:33 Nero Option Profiles: AUTO --- Encoding Mode: Quality
18:08:33 CCT Option Profiles: AUTO --- Channel Options: AUTO
18:08:33 Lame Settings: CBR
18:08:33 Audio Normalization: 1
18:08:33 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
18:08:33
18:08:33 Dgindex CMD: C:\Programme\_Video\AutoMKV095_NORIP\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=c0 -YR=2 -AIF=[E:\_Mpeg-Capture\transcode\Doku - Passen Sie mal auf 007.mpg] -OF=[C:\Programme\_Video\AutoMKV095_NORIP\temp\movie] -exit -minimize
18:10:23 D2V file size: 351180 bytes
18:10:23 Audio 1: movie tc0 l2 2ch 48 224 delay 0ms.mpa
18:10:23 Pre Audio 1' Size: 83612928 bytes
18:10:23 Applying DelayAudio of 0 to audio file: movie tc0 l2 2ch 48 224 delay 0ms.mpa
18:10:23 Encoding C:\Programme\_Video\AutoMKV095_NORIP\temp\movie tc0 l2 2ch 48 224 delay 0ms.mpa To Mp3 with 128 CBR Bitrate
18:14:10 Encoded 1' Audio Track: movie tc0 l2 2ch 48 224 delay 0ms.mp3 47779584 bytes
18:14:13 Number of Frames: 74654
18:14:13 Framerate: 25.000000
18:14:13 Movie length in Seconds: 2987
18:14:13 Movie Width/Height: 720/576
18:14:13 DgIndex AR: 4:3
18:15:51 Source is declared tff by a margin of 61/16.
18:15:51 Advanced Deinterlace Routines Log
18:15:51 Analyzed 327 sections of five frames
18:15:51 Found Interlace Sections: 138 42.20%
18:15:51 Found Progressive Sections:168 51.38%
18:15:51 Found Telecined Sections: 21 6.42%
18:15:51 Found Zero Mov: 51.38% 168
18:15:51 Found One Mov: 7.65% 25
18:15:51 Found Two Mov: 6.42% 21
18:15:51 Found Three Mov: 5.20% 17
18:15:51 Found Four Mov: 5.81% 19
18:15:51 Found Five Mov: 23.55% 77
18:15:51 FIRST pass XviD: "C:\Programme\_Video\AutoMKV095_NORIP\exe\encoder\xvid_encraw.exe" -pass1 -bitrate 1831 -turbo -max_bframes 1 -imax 16 -notrellis -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -odegrade 9 -nopacked -nochromame -threads 0 -i "C:\Programme\_Video\AutoMKV095_NORIP\temp\movie.avs" -type 2 -avi "C:\Programme\_Video\AutoMKV095_NORIP\temp\movie.avi"
18:15:51 SECOND pass XviD: "C:\Programme\_Video\AutoMKV095_NORIP\exe\encoder\xvid_encraw.exe" -pass2 -bitrate 1831 -max_bframes 1 -imax 16 -notrellis -quality 6 -vhqmode 1 -pmax 16 -bmax 16 -bquant_ratio 162 -odegrade 9 -nopacked -nochromame -threads 0 -i "C:\Programme\_Video\AutoMKV095_NORIP\temp\movie.avs" -type 2 -avi "C:\Programme\_Video\AutoMKV095_NORIP\temp\movie.avi"
18:34:44 Starting Second Pass
18:57:15 Only Movie Size: 685205248 bytes
18:57:15 Using VirtualDubMod for Muxing!
18:57:58 Encoding finished: 00:23:14 elapsed time
18:57:58 -----------------------------------------------------------------------
18:57:58 Script AutoCrop.log
18:57:58
18:57:58 Crop(0,2,720,568)
18:57:58 -----------------------------------------------------------------------
18:57:58 Script movie.avs
18:57:58
18:57:58 #loadpluginstart
18:57:58
18:57:58 #test1
18:57:58
18:57:58 #importstart
18:57:58
18:57:58 #test2
18:57:58
18:57:58 movie = mpeg2source("C:\Programme\_Video\AutoMKV095_NORIP\temp\movie.d2v")
18:57:58 function getOrder(clip c) {
18:57:58 order = GetParity(c) ? 1 : 0
18:57:58 Return order }
18:57:58 #filter1start
18:57:58
18:57:58 #test3
18:57:58
18:57:58 last=movie.Crop(0,2,720,568)
18:57:58 fixed_aspect = 1.352079
18:57:58 out_width = 720
18:57:58 #Aspect_Error = -0.848%
18:57:58 out_height = 528
18:57:58 #resizestart
18:57:58
18:57:58 #test4
18:57:58
18:57:58 LanczosResize(out_width,out_height)
18:57:58 #filter2start
18:57:58
18:57:58 #test5
18:57:58
18:57:58 DeGrainMedian(limitY=5,limitUV=5,mode=3)
18:57:58 -----------------------------------------------------------------------
18:57:58 Script mkvmaudio.avs
18:57:58
18:57:58 LoadPlugin("C:\Programme\_Video\AutoMKV095_NORIP\exe\filter\NicAudio.dll")
18:57:58 LoadPlugin("C:\Programme\_Video\AutoMKV095_NORIP\exe\filter\SoundOut.dll")
18:57:58 LoadPlugin("C:\Programme\_Video\AutoMKV095_NORIP\exe\filter\FFmpegSource.dll")
18:57:58 NicMPG123Source("C:\Programme\_Video\AutoMKV095_NORIP\temp\movie tc0 l2 2ch 48 224 delay 0ms.mpa")
18:57:58 DelayAudio(0.0000)
18:57:58 #Applying STEREO downmixing routines
18:57:58 function stereo(clip a)
18:57:58 {
18:57:58 flr = GetChannel(a, 1, 2)
18:57:58 fcc = GetChannel(a, 3)
18:57:58 lfe = GetChannel(a, 4)
18:57:58 lfc = MixAudio(fcc, lfe, 0.2071, 0.2071)
18:57:58 mix = MergeChannels(lfc, lfc)
18:57:58 lrc = MixAudio(flr, mix, 0.2929, 1.0)
18:57:58 blr = GetChannel(a, 5, 6)
18:57:58 Return MixAudio(lrc, blr, 1.0, 0.2929)
18:57:58 }
18:57:58 #
18:57:58 6==Audiochannels() ? stereo() : last
18:57:58 function addvideo(clip c) {
18:57:58 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
18:57:58 Return audiodub(last,c)
18:57:58 }
18:57:58 Normalize()
18:57:58
18:57:58 Soundout(output="mp3",type=0,format=0,autoclose=true,mode=2,cbrrate=128,showoutput=false,filename="audio.mp3")
18:57:58 -----------------------------------------------------------------------
18:57:58 Script VirtualDubMod.vcf
18:57:58
18:57:58 VirtualDub.Open("C:\\Programme\\_Video\\AutoMKV095_NORIP\\temp\\movie.avi",0,0);
18:57:58 VirtualDub.RemoveInputStreams();
18:57:58 VirtualDub.stream[0].SetSource("C:\\Programme\\_Video\\AutoMKV095_NORIP\\temp\\movie tc0 l2 2ch 48 224 delay 0ms.mp3",0x00000202,1);
18:57:58 VirtualDub.stream[0].DeleteComments(1);
18:57:58 VirtualDub.stream[0].AdjustChapters(1);
18:57:58 VirtualDub.stream[0].SetMode(0);
18:57:58 VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
18:57:58 VirtualDub.stream[0].SetClipMode(1,1);
18:57:58 VirtualDub.stream[0].SetConversion(0,0,0,0,0);
18:57:58 VirtualDub.stream[0].SetVolume();
18:57:58 VirtualDub.stream[0].SetCompression();
18:57:58 VirtualDub.stream[0].EnableFilterGraph(0);
18:57:58 VirtualDub.stream[0].filters.Clear();
18:57:58 VirtualDub.video.DeleteComments(1);
18:57:58 VirtualDub.video.AddComment(0x00000005,"ISFT","Done with AutoMKV! http://forum.doom9.org/showthread.php?t=134478");
18:57:58 VirtualDub.video.AdjustChapters(1);
18:57:58 VirtualDub.video.SetDepth(24,24);
18:57:58 VirtualDub.video.SetMode(0);
18:57:58 VirtualDub.video.SetFrameRate(0,1);
18:57:58 VirtualDub.video.SetIVTC(0,0,-1,0);
18:57:58 VirtualDub.video.SetCompression();
18:57:58 VirtualDub.video.filters.Clear();
18:57:58 VirtualDub.SaveAVI("C:\\Programme\\_Video\\AutoMKV095_NORIP\\Doku - Passen Sie mal auf 007.avi");
18:57:58 VirtualDub.Close();
18:57:58
18:57:58 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
In this case I think the file was treated as progressive video, wich means that no deinterlace-filter was used. The result of the encoded video is a bit poor because of the visible interlace-lines. Therefore I had the idea of a switch added to the deinterlace options wich forces AutoMKV to deinterlace if the automatic routines come to no result. What do you think, does this make sense?
Another (small) point: Would it be a big thing to add an option for "standby-mode" to shutdown mode?
:thanks:
Honeyko
14th February 2008, 21:06
Advanced Audio Settings windows still won't accept changes (i.e., open window, uncheck Normalizing, close window, start encode, see normalizing function appear, abort, open window and see Normalizing is still checked....etc).again NOT A BUG
i wanted this behavior...BHH
I'm confused then.... :confused: What's the point of the window if you can't change anything?
(I dislike normalizing....)
Cyrus221
14th February 2008, 22:06
I think I found a small Bug:
When trying to save more than 1 "configuration" , it wont save the config. Currently, I have "Sample.ini" as the only thing which I can save... is there anyway to save more than 1? =O
Tirade
14th February 2008, 22:10
I think I found a small Bug:
When trying to save more than 1 "configuration" , it wont save the config. Currently, I have "Sample.ini" as the only thing which I can save... is there anyway to save more than 1? =O
You have to include the .ini at the end of your filename. If you don't it wont work. (Small bug)
buzzqw
14th February 2008, 22:13
@Spreeni
the deinterlacer detection is far from perfect!
anyway if you KNOW that your file is interlaced (and tff from your log) simple select Interlaced and check TFF in deinterlacer settings
Therefore I had the idea of a switch added to the deinterlace options wich forces AutoMKV to deinterlace if the automatic routines come to no result. What do you think, does this make sense
have a sense.. let's me think about! (something like "Save Deinterlacer")
@Honeyko
have you try to
launch automkv
load your file, set all options, open the advanced audio settings , DEcheck normalize and click ok, launch encoding
please then check if normalize is applyed.
I mean the window reset to default BUT if you set some options those settings ARE remembered.
@Cyrus221
feel free to change name to what you want.ini :)
BHH
Tirade
14th February 2008, 22:27
Aylwin, Zacos and buzzqw...
Jumping back on the topic of autocrop with AutkoMKV. I did 3 transcodes of the same movie (DVD source 5GB).
The first 2 transcodes I choose autocrop & anamorphic. For the first file I choose Spline36 as the resize option (you are forced to choose a resize filter when selecting autocrop) and for the 2nd movie I choose Lanzcos. Here are the resulting file sizes.
DVD_Default_Spline36.mp4 - 1,421,179,777 bytes (720X368)
DVD_Default_Lanzcos.mp4 - 1,427,978,077 bytes (720X368)
Obviously only a about 5MB difference in size. Not sure if the entire movie is being resized or not (how to tell?).
Here is the oddness though. Transcode #3 the ONLY difference is I selected original instead of autocrop. Nothing else changed (I did a batch job of all 3 only changing the crop option). The file without autocrop is SMALLER than the files with autocrop. If leaving in the letterbox is supposed to add more bits, why is the file smaller? I can only assuming autocrop does force a resize of the movie and the extra data used during the resize results in a larger file. If this is the case it is actually better not to autocrop if you wish to save space (depending on the settings).
DVD_Default_Original.mp4 - 1,407,112,927 bytes (720X480)
Here are the logs from transcode #2 and #3
17:04:58 0.95c - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
17:04:58 OS Version: Windows XP
17:04:58 Selected Input file: C:\Movies\Fantastic 4\FANTASTIC FOUR 169\VIDEO_TS\VTS_01_0.IFO
17:04:58 Selected Output dir: C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\
17:04:58 Selected Final Name: DVD_Default_Lanzcos
17:04:58 Selected Container type: MP4
17:04:58 Selected Encoder: X264
17:04:58 Selected Size: Unlimited File Size
17:04:58 Selected Profile: DVD_Profile_CQ_CRF.xml
17:04:58 Selected Resizer: LanczosResize / AutoCrop Only
17:04:58 Selected Filters: RemoveGrain(mode=2)
17:04:58 Selected Deinterlacer: AUTO
17:04:58 Selected Field Order: AUTO
17:04:58 Enabled Constant Quality With Unlimited Size (Q 18)
17:04:58 Activate PGC Ripping: 1
17:04:58 Track Language 1: 80: English (AC3 6ch, 0xBD 0x80) [0]
17:04:58 Audio Codec 1: Nero AAC
17:04:58 Audio Quality 1: 160
17:04:58 Audio Channel 1: Original
17:04:58 Track Language 2: NONE
17:04:58 Audio Codec 2: Nero AAC
17:04:58 Advanced Audio Settings DUMP Track 1
17:04:58 Nero Option Profiles: HE --- Encoding Mode: -CBR
17:04:58 CCT Option Profiles: AUTO --- Channel Options: AUTO
17:04:58 Lame Settings: ABR
17:04:58 Audio Normalization: 1
17:04:58 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
17:04:58 Activate Anamorphic Encoding
17:04:58
17:04:58 Activate PGC processing: PGC 1 [1:45:48:05]
17:04:58 Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[C:\Movies\Fantastic 4\FANTASTIC FOUR 169\VIDEO_TS\VTS_01_1.vob] -OF=[C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie] -exit -minimize
17:07:34 D2V file size: 821141
17:07:34 Audio 1: movie t80 3_2ch 448kbps delay 0ms.ac3
17:07:34 Pre Audio 1' Size: 355826688 bytes
17:07:34 Applying DelayAudio of 0 to audio file: movie t80 3_2ch 448kbps delay 0ms.ac3
17:07:34 Encoding C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie t80 3_2ch 448kbps delay 0ms.ac3 to NeroAAC with custom command line
17:12:40 2 Pass encoding Audio 1 track: C:\Program Files\AutoMKV\exe\BeSweet\neroaacenc.exe -br 160000 -ignorelength -2pass -if audio.wav -of "movie t80 3_2ch 448kbps delay 0ms.mp4"
17:38:10 Encoded 1' Audio Track: movie t80 3_2ch 448kbps delay 0ms.mp4 124846000 bytes
17:38:10 D2V Film Detected: 100.000000% FILM found
17:38:14 Number of Frames: 190431
17:38:14 Framerate: 29.970030
17:38:14 Movie length in Seconds: 6355
17:38:14 Movie Width/Height: 720/480
17:38:14 DgIndex AR: 16:9
17:42:31 Source is declared tff by a margin of 160/2.
17:42:31 Advanced Deinterlace Routines Log
17:42:31 Analyzed 552 sections of five frames
17:42:31 Found Interlace Sections: 16 2.90%
17:42:31 Found Progressive Sections:23 4.17%
17:42:31 Found Telecined Sections: 513 92.93%
17:42:31 Found Zero Mov: 4.17% 23
17:42:31 Found One Mov: 2.90% 16
17:42:31 Found Two Mov: 92.93% 513
17:42:31 Found Three Mov: 0.00% 0
17:42:31 Found Four Mov: 0.00% 0
17:42:31 Found Five Mov: 0.00% 0
17:42:31 The Movie is declared to telecined
17:42:31 Starting X264
17:42:31 CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 18 --stats "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 14000 --me umh --level 3.1 --weightb --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --aq-strength 0.50 --aq-sensitivity 13 --sar 11982092:10000000 --output "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie.264" "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie.avs"
20:34:15 X264 Final CRF Encoding Stats:
x264 [info]: using SAR=46805/39062
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
x264 [info]: slice I:2399 Avg QP:15.16 size: 35952
x264 [info]: slice P:65995 Avg QP:17.28 size: 14173
x264 [info]: slice B:83950 Avg QP:19.53 size: 3335
x264 [info]: mb I I16..4: 23.7% 52.0% 24.2%
20:34:15 Accepted values are between 31876710400 and 33889976320 bytes (movie+audio)
20:34:15 Got a file of size: 1301674624 bytes + audio size 124846000 bytes (1426520576)
20:34:15 Only Movie Size: 1301674624 bytes
20:34:15 "C:\Program Files\AutoMKV\exe\matroska\MP4Box.exe" -add "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie.264":par=2.344322 -chap "C:\Program Files\AutoMKV\exe\chapters.txt" -add "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie t80 3_2ch 448kbps delay 0ms.mp4:lang=eng" -fps 23.976 -new "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\DVD_Default_Lanzcos_full.mp4"
20:38:11 Final Muxed size: 1427978112 bytes
20:38:11 Encoding finished: 02:55:40 elapsed time
20:38:11 -----------------------------------------------------------------------
20:38:11 Script AutoCrop.log
20:38:11
20:38:11 Crop(0,56,720,364)
20:38:11 -----------------------------------------------------------------------
20:38:11 Script movie.avs
20:38:11 #test2
20:38:11
20:38:11 movie = mpeg2source("C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie.d2v")
20:38:11 function getOrder(clip c) {
20:38:11 order = GetParity(c) ? 1 : 0
20:38:11 Return order }
20:38:11 #filter1start
20:38:11
20:38:11 #test3
20:38:11
20:38:11 movie = tfm(movie,d2v="C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie.d2v").tdecimate()
20:38:11 last=movie.Crop(0,56,720,364)
20:38:11 fixed_aspect = 1.978022
20:38:11 out_width = 720
20:38:11 out_height = 368
20:38:11 #resizestart
20:38:11
20:38:11 #test4
20:38:11
20:38:11 LanczosResize(out_width,out_height)
20:38:11 #filter2start
20:38:11
20:38:11 #test5
20:38:11
20:38:11 RemoveGrain(mode=2)
20:38:11 -----------------------------------------------------------------------
20:38:11 Script mkvmaudio.avs
20:38:11
20:38:11 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
20:38:11 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SoundOut.dll")
20:38:11 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FFmpegSource.dll")
20:38:11 NicAC3Source("C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie t80 3_2ch 448kbps delay 0ms.ac3")
20:38:11 DelayAudio(0.0000)
20:38:11 #Applying ORIGINAL downmixing routines
20:38:11
20:38:11 function addvideo(clip c) {
20:38:11 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
20:38:11 Return audiodub(last,c)
20:38:11 }
20:38:11 Normalize()
20:38:11
20:38:11 Soundout(output="wav",type=1,autoclose=true,filename="audio.wav",showoutput=false)
20:38:11
20:38:11 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
20:38:13 0.95c - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
20:38:13 OS Version: Windows XP
20:38:13 Selected Input file: C:\Movies\Fantastic 4\FANTASTIC FOUR 169\VIDEO_TS\VTS_01_0.IFO
20:38:13 Selected Output dir: C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\
20:38:13 Selected Final Name: DVD_Default_Original
20:38:13 Selected Container type: MP4
20:38:13 Selected Encoder: X264
20:38:13 Selected Size: Unlimited File Size
20:38:13 Selected Profile: DVD_Profile_CQ_CRF.xml
20:38:13 Selected Resizer: NONE / Original
20:38:13 Selected Filters: RemoveGrain(mode=2)
20:38:13 Selected Deinterlacer: AUTO
20:38:13 Selected Field Order: AUTO
20:38:13 Enabled Constant Quality With Unlimited Size (Q 18)
20:38:13 Activate PGC Ripping: 1
20:38:13 Track Language 1: 80: English (AC3 6ch, 0xBD 0x80) [0]
20:38:13 Audio Codec 1: Nero AAC
20:38:13 Audio Quality 1: 160
20:38:13 Audio Channel 1: Original
20:38:13 Track Language 2: NONE
20:38:13 Audio Codec 2: Nero AAC
20:38:13 Advanced Audio Settings DUMP Track 1
20:38:13 Nero Option Profiles: HE --- Encoding Mode: -CBR
20:38:13 CCT Option Profiles: AUTO --- Channel Options: AUTO
20:38:13 Lame Settings: ABR
20:38:13 Audio Normalization: 1
20:38:13 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
20:38:13 Activate Anamorphic Encoding
20:38:13
20:38:13 Activate PGC processing: PGC 1 [1:45:48:05]
20:38:13 Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -TN=80 -YR=2 -AIF=[C:\Movies\Fantastic 4\FANTASTIC FOUR 169\VIDEO_TS\VTS_01_1.vob] -OF=[C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie] -exit -minimize
20:40:54 D2V file size: 821141
20:40:54 Audio 1: movie t80 3_2ch 448kbps delay 0ms.ac3
20:40:54 Pre Audio 1' Size: 355826688 bytes
20:40:54 Applying DelayAudio of 0 to audio file: movie t80 3_2ch 448kbps delay 0ms.ac3
20:40:54 Encoding C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie t80 3_2ch 448kbps delay 0ms.ac3 to NeroAAC with custom command line
20:46:30 2 Pass encoding Audio 1 track: C:\Program Files\AutoMKV\exe\BeSweet\neroaacenc.exe -br 160000 -ignorelength -2pass -if audio.wav -of "movie t80 3_2ch 448kbps delay 0ms.mp4"
21:12:17 Encoded 1' Audio Track: movie t80 3_2ch 448kbps delay 0ms.mp4 124846000 bytes
21:12:18 D2V Film Detected: 100.000000% FILM found
21:12:22 Number of Frames: 190431
21:12:22 Framerate: 29.970030
21:12:22 Movie length in Seconds: 6355
21:12:22 Movie Width/Height: 720/480
21:12:22 DgIndex AR: 16:9
21:16:47 Source is declared tff by a margin of 160/2.
21:16:47 Advanced Deinterlace Routines Log
21:16:47 Analyzed 552 sections of five frames
21:16:47 Found Interlace Sections: 16 2.90%
21:16:47 Found Progressive Sections:23 4.17%
21:16:47 Found Telecined Sections: 513 92.93%
21:16:47 Found Zero Mov: 4.17% 23
21:16:47 Found One Mov: 2.90% 16
21:16:47 Found Two Mov: 92.93% 513
21:16:47 Found Three Mov: 0.00% 0
21:16:47 Found Four Mov: 0.00% 0
21:16:47 Found Five Mov: 0.00% 0
21:16:47 The Movie is declared to telecined
21:16:47 Starting X264
21:16:47 CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 18 --stats "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --mixed-refs --trellis 1 --ref 3 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 14000 --me umh --level 3.1 --weightb --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --aq-strength 0.50 --aq-sensitivity 13 --sar 11851852:10000000 --output "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie.264" "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie.avs"
00:15:30 X264 Final CRF Encoding Stats:
x264 [info]: using SAR=46296/39062
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
x264 [info]: slice I:2131 Avg QP:15.84 size: 37122
x264 [info]: slice P:62460 Avg QP:17.63 size: 14120
x264 [info]: slice B:87753 Avg QP:19.70 size: 3643
x264 [info]: mb I I16..4: 26.3% 53.9% 19.7%
x264 [info]: mb P I16..4: 3.5% 11.7% 3.3% P16..4: 28.1% 16.1% 7.2% 0.0% 0.0% skip:30.1%
x264 [info]: mb B I16..4: 0.5% 1.2% 0.4% B16..8: 21.9% 2.1% 3.7% direct: 2.9% skip:67.4%
x264 [info]: 8x8 transform intra:61.2% inter:66.0%
x264 [info]: direct mvs spatial:98.7% temporal:1.3%
x264 [info]: ref P 78.9% 12.7% 8.3%
00:15:30 Accepted values are between 31876710400 and 33889976320 bytes (movie+audio)
00:15:30 Got a file of size: 1280839296 bytes + audio size 124846000 bytes (1405685248)
00:15:30 Only Movie Size: 1280839296 bytes
00:15:30 "C:\Program Files\AutoMKV\exe\matroska\MP4Box.exe" -add "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie.264":par=1.777778 -chap "C:\Program Files\AutoMKV\exe\chapters.txt" -add "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie t80 3_2ch 448kbps delay 0ms.mp4:lang=eng" -fps 23.976 -new "C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\DVD_Default_Original_full.mp4"
00:19:18 Final Muxed size: 1407112960 bytes
00:19:18 Encoding finished: 03:02:31 elapsed time
00:19:18 -----------------------------------------------------------------------
00:19:18 Script AutoCrop.log
00:19:18
00:19:18 Crop(0,56,720,364)
00:19:18 -----------------------------------------------------------------------
00:19:18 Script movie.avs
00:19:18 #test2
00:19:18
00:19:18 movie = mpeg2source("C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie.d2v")
00:19:18 function getOrder(clip c) {
00:19:18 order = GetParity(c) ? 1 : 0
00:19:18 Return order }
00:19:18 #filter1start
00:19:18
00:19:18 #test3
00:19:18
00:19:18 movie = tfm(movie,d2v="C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie.d2v").tdecimate()
00:19:18 last = movie
00:19:18 fixed_aspect = 1.978022
00:19:18 out_width = 720
00:19:18 out_height = 480
00:19:18 #resizestart
00:19:18
00:19:18 #test4
00:19:18
00:19:18 #filter2start
00:19:18
00:19:18 #test5
00:19:18
00:19:18 RemoveGrain(mode=2)
00:19:18 -----------------------------------------------------------------------
00:19:18 Script mkvmaudio.avs
00:19:18
00:19:18 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\NicAudio.dll")
00:19:18 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\SoundOut.dll")
00:19:18 LoadPlugin("C:\Program Files\AutoMKV\exe\filter\FFmpegSource.dll")
00:19:18 NicAC3Source("C:\Movies\Fantastic 4\FANTASTIC FOUR 169\temp\DVD\VIDEO_TS\temp\movie t80 3_2ch 448kbps delay 0ms.ac3")
00:19:18 DelayAudio(0.0000)
00:19:18 #Applying ORIGINAL downmixing routines
00:19:18
00:19:18 function addvideo(clip c) {
00:19:18 blankclip(length = Int(100 * AudioLengthF(c) / float(audiorate(c))), fps=100)
00:19:18 Return audiodub(last,c)
00:19:18 }
00:19:18 Normalize()
00:19:18
00:19:18 Soundout(output="wav",type=1,autoclose=true,filename="audio.wav",showoutput=false)
I am working on transcode #4 with the same settings as 1 and 2 but using SimpleResize so that I can compare the final size to Lanzcos and Spline36
Honeyko
15th February 2008, 01:24
@Spreenithe deinterlacer detection is far from perfect! ....anyway if you KNOW that your file is interlaced (and tff from your log) simple select Interlaced and check TFF in deinterlacer settingshave a sense.. let's me think about! (something like "Save Deinterlacer")I'd like to just be able to select a single item which will forcibly (1) de-interlace and (2) de-telecine and (3) after all that, decimate (if necessary) or otherwise reduce FPS to 24/1.001. -- Call it the "NTSC Crunch!", applicable to virtually every ordinary US/Hollywood NTSC DVD of an American film or older cel-drawn cartoon series.Advanced Audio Settings windows still won't accept changes (i.e., open window, uncheck Normalizing, close window, start encode, see normalizing function appear, abort, open window and see Normalizing is still checked....etc).again NOT A BUG. i wanted this behavior...BHHI'm confused then.... What's the point of the window if you can't change anything?have you try to launch automkv load your file, set all options, open the advanced audio settings , DEcheck normalize and click ok, launch encoding please then check if normalize is applyed.Normalizing is being applied in those cases (or at least I assume so, since I always abort, before it is finished, the normalizing doohicky that pops up and begins thrashing through the audio). I tried is both with audio track in a video file, and also with a stand-alone audio file (both .wav and AC3).I mean the window reset to default BUT if you set some options those settings ARE remembered.IMO, you're just begging for trouble, especially once it works right. For instance, if somebody WANTS normalize checked, but he'd unchecked it previously, if he just opens the Advanced Audio Settings window again, he'll see the box checked (your default) and assume that normalizing is all set to go, since the window's box is checked per default -- but, according to what you just said above, it wouldn't be.
Tirade
15th February 2008, 05:02
While I endlessly wait for these transcodes to finish (and you video experts to wake up!) I started working on the beginners guide to DVD transcoding I mentioned earlier. It's a work in progress and chock full of errors, but for now you can see the progress here. Please dont comment on this guide here but feel free to PM me. This guide should NOT be followed yet as It's about 2 hours old and currently completely inaccurate!
http://www.kayakingcoach.com/GUIDE.htm
Ajax_Undone
15th February 2008, 06:58
Check out the updated installer...
buzzqw
15th February 2008, 08:33
@Tirade
good test!, i'm waiting for the fourth!
about your guide: Excellent!
just some points:
the setup of Ajax_Undone is coomprensive of neroaac
in \exe\besweet must be put the neroaacenc.exe not dll
the profiles must be .xml not .txt
"(alternately you may select all of the .VOB files in the directory)." it's better to say: select the first vob where movie start, usually vts_01_1.vob (the vts_01_0.vob is usually menu/intro)
thanks for this guide!
@Ajax_Undone
thanks, link updated!
@Honeyko
REQUEST: Ability to import/read RealMedia files.
just check "DSS for A/V"
BHH
zacoz
15th February 2008, 08:46
IFor instance, if somebody WANTS normalize checked, but he'd unchecked it previously, if he just opens the Advanced Audio Settings window again, he'll see the box checked (your default) and assume that normalizing is all set to go, since the window's box is checked per default -- but, according to what you just said above, it wouldn't be.
The settings selected upon last reopening of Advanced Audio Settings are remembered UNTIL the settings window is re=opened again and then they are reset to the defaults you see. So if you see normalise selected that's what it should be doing, if it's not selected it shouldn't be normalising.
Requests to have it not reset to the defaults upon opening the window comes up frequently in the threads but buzzqw specifically wants it that way.
The main issue seems to be if I'm reading your posts right is that it's normalising for you even when you've de-selected normalise. Will see later if I can replicate that - assuming don't lose power again here (major storms and flooding here today).
Spreeni
15th February 2008, 10:12
Hi Buzzqw,
the deinterlacer detection is far from perfect!
I don't think the detection is THAT far from perfect. I tested several clips and everytime AutoMKV declared it as interlaced or progressive, it was correct. The problem is when the source material is mixed stuff (documentaries etc.) - AutoMKV then does nothing. I think it would be better for quality to always deinterlace in such cases.
anyway if you KNOW that your file is interlaced (and tff from your log) simple select Interlaced and check TFF in deinterlacer settings
Yes, of course you're right. But always checking the source clips manually before encoding takes time and is not so comfortable as using an automatic routine. ;).
Deckard2019
15th February 2008, 10:34
I use AutoMKV to make H264 for my popcornhour ...
I also own a PopcornHour A-100 and some of MKVs don't play at all (Level 5.1, insane number of ref frames, etc ...).
Do you use AutoMKV to reencode MKV ? If so, could you tell me what settings you use ?
Thank you.
buzzqw
15th February 2008, 11:15
@Deckard2019
in recent build of automvk the profiles are set to 4.1
BHH
Deckard2019
15th February 2008, 11:28
Sorry buzzqw, my post was not clear enough.
What I mean is that some MKVs won't play at all with PopcornHour. Don't know what encoding GUI/tool was used.
Explanation is here : http://www.networkedmediatank.com/viewtopic.php?p=14102#14102
So I need to reencode them and I'm looking for a simple tool to do this. That's why I'm here ;)
I would like to made them PCH compliant, with the less degradation and so the fastest as possible.
I'm quite lost with all the settings. Need to simply do MKV2MKV with level 4.1 and 4-6 ref frames. Same resolution, framerate, bitrate, etc ...
Hope I made myself clear now ...
buzzqw
15th February 2008, 12:11
look here http://www.google.com/translate?u=http%3A%2F%2Fwww.divxmania.it%2Findex.php%3Fshowtopic%3D10952&langpair=it%7Cen&hl=it&ie=UTF8
this is a tool i developed for italian forum (where i am moderator) BUT application is in english , it will allow to transcode from near all source to avi , in a simple way
BHH
Deckard2019
15th February 2008, 12:39
I've just gave it a test, using "quickff04 -i test.mkv -audio copy -codec x264". Video looks ugly, no audio. But the idea's here ;)
Just need the same tool with MKV container and audio perfectly kept.
Could you tell me the ffmpeg command line you use plz ?
Thank you.
Tirade
15th February 2008, 13:17
Ok here is additional transcodes. I think this will prove that the entire movie is filtered when being cropped. Source = Fantastic 4 Widecreen DVD 720X480 5.4GB
AutoCrop (Different Resize Filters)
DVD_Default_AutoCrop_Spline36.mp4 - 1,421,179,777 bytes (720X368)
DVD_Default_AutoCrop_Lanzcos.mp4 - 1,427,978,077 bytes (720X368)
DVD_Default_AutoCrop_SimpleResize.mp4 - 1,351,053,170 bytes (720X368)
Obviously if you wish to crop "to save bits" and choose a sharpening filter, you will actually end up with a bigger file size than if you stay with the original. If you use SimpleResize (or possibly other soft filters, I am testing now) you will save a good amount of size. I think this shows that indeed the entire movie is being processed during the AutoCrop and its not just "cutting off the bars".
No AutoCrop (AC3 vs DTS)
DVD_Default_Original_AC3.mp4 - 1,407,112,927 bytes (720X480)
DVD_Default_Original_DTS.mp4 - 1,407,675,913 bytes (720X480)
buzzqw
15th February 2008, 13:20
try without -codec x264 ... but you will get an avi/xvid
and what is the original audio ?
anyway.. for question about quickff, open a new thread thanks!
BHH
Encoder888
15th February 2008, 13:36
@buzzqw
I'm having problems with getting queued jobs done. I tried to queue 22 jobs (a TV series), but whenever I hit start (and I tried this three times), AutoMKV gets to the 5-6th of them (the first time it got to the 6th, second time it got only to the 3rd) and then crashes... I was wondering if there was anything I was doing wrong? Is there a limit on the number of jobs you can queue up?
buzzqw
15th February 2008, 13:40
@Encoder888
i check!
BHH
Aylwin
15th February 2008, 13:45
I've just made a test with standard NTSC:
Original only = 720x480 (DAR 1.5)
Original + Anamorphic = 720x480 (DAR 4/3)
It seems it doesn't matter if I'm encoding standard or anamorphic. I still need to select Anamorphic encoding. Otherwise, the DAR is incorrect.
So in my opinion, if Original is selected then Anamorphic should automatically selected also. If necessary, then add comment in the status bar to say "Anamorphic Encoding is also enabled. Go to Advanced tab to change."
I believe the majority of encodes will need Anamorphic Encoding checked if Original is selected. And I think default/automatic settings should favor the majority rather than the minority.
@Buzzqw
Could we please have Anamorphic Encoding automatically checked if Original is selected?
weaver4
15th February 2008, 16:05
I also own a PopcornHour A-100 and some of MKVs don't play at all (Level 5.1, insane number of ref frames, etc ...).
Do you use AutoMKV to reencode MKV ? If so, could you tell me what settings you use ?
Thank you.
The popcorn hour will go as high as High-Profile Level 4.1 HP@L4.1 (which is the same profile that is used in HD and Blue-Ray DVD's) I don't know of any dedicated box that will run 5.1 including the XBOX or PS3 because of the huge bitrate.
I made a custom profile for the PopCorn hour that seems to work great. This profile is Constant Quality Q=21 which looks great, really great. When I get home tonight I will post it here.
This profile is MP4 not MKV, but that is easy enough to modify.
One of my complaints with AutoMKV is that all the profiles for hardware devices are file-size based where I think most of the time the end-user would want quality based.
nanorch
15th February 2008, 17:29
@buzzwq:
a small but annoying bug: if a automkv.ini file exists, the Audio Codec (both tracks) reverts to "Lame", even if I had saved (and automkv.ini contains) "Ogg Vorbis"
I tried to delete the specific lines Audio Codec N = from the file, no change...
thanks nanorch, i will check!
I think I just found out some more: this problem only occurs if one does *NOT* have NeroAAC installed...
Don_Genaro
15th February 2008, 20:28
Is it possible to implement a new encoding aproach based not on the file size nor the CRF factor, but on the SIMM and PNSR factors of the comparison between the original and samples???
Example: I want to code the video in X264 CRF with the higher CRF setting posible that achieves a SIMM >0.975 and a PSNR factor > 40.0.
This way it ensures that the coding is been made using bitrate effiently a posible to retain a minimum desired amount of quality. And not throwing CRF 21 at sources that have plenty with CRF 26.
:thanks:
valnar
15th February 2008, 20:31
Ok here is additional transcodes. I think this will prove that the entire movie is filtered when being cropped. Source = Fantastic 4 Widecreen DVD 720X480 5.4GB
AutoCrop (Different Resize Filters)
DVD_Default_AutoCrop_Spline36.mp4 - 1,421,179,777 bytes (720X368)
DVD_Default_AutoCrop_Lanzcos.mp4 - 1,427,978,077 bytes (720X368)
DVD_Default_AutoCrop_SimpleResize.mp4 - 1,351,053,170 bytes (720X368)
Obviously if you wish to crop "to save bits" and choose a sharpening filter, you will actually end up with a bigger file size than if you stay with the original. If you use SimpleResize (or possibly other soft filters, I am testing now) you will save a good amount of size. I think this shows that indeed the entire movie is being processed during the AutoCrop and its not just "cutting off the bars".
No AutoCrop (AC3 vs DTS)
DVD_Default_Original_AC3.mp4 - 1,407,112,927 bytes (720X480)
DVD_Default_Original_DTS.mp4 - 1,407,675,913 bytes (720X480)
Instead of using autocrop, try manual crop. And cut off exactly 16 or 32 lines (MOD16) from the top and bottom just to test. Leave the width at 720. I might have the math wrong, but basically see if you can cut an exact number of lines off the top/bottom so no resizing is done. Run a compression.
Then try it again, but cut off an additional 2 or 4 lines so it'll have to use the resize filter. Check sizing with example 1.
Your theory is probably right. This is not an AutoMKV problem though - just the nature of reencoding to any other format.
Robert
buzzqw
15th February 2008, 20:58
@nanorch
I think I just found out some more: this problem only occurs if one does *NOT* have NeroAAC installed...
that's true. if automkv don't find nero AND nero is the selected audio codec it will switch to ogg (maybe next update to cct aac)
@Don_Genaro
sorry pal.. too complex
@valnar AND Tirade
Instead of using autocrop, try manual crop. And cut off exactly 16 or 32 lines (MOD16) from the top and bottom just to test. Leave the width at 720. I might have the math wrong, but basically see if you can cut an exact number of lines off the top/bottom so no resizing is done. Run a compression.
AND don't forget to set resizer to NONE or automkv will apply a resizer
BHH
survivant001
16th February 2008, 03:03
@buzzqw
Another usefull request :)
In the target output size. please add "Same as source".
becaue I want to convert anime and some anime are between 130-220 megs.. I don'T want to enter manually the value each time.
weaver4
16th February 2008, 04:31
The popcorn hour will go as high as High-Profile Level 4.1 HP@L4.1 (which is the same profile that is used in HD and Blue-Ray DVD's) I don't know of any dedicated box that will run 5.1 including the XBOX or PS3 because of the huge bitrate.
I made a custom profile for the PopCorn hour that seems to work great. This profile is Constant Quality Q=21 which looks great, really great. When I get home tonight I will post it here.
This profile is MP4 not MKV, but that is easy enough to modify.
One of my complaints with AutoMKV is that all the profiles for hardware devices are file-size based where I think most of the time the end-user would want quality based.
Here is the PopCornHour profile.
You can modify the quantizer by modifing this line.
<BitrateQuantizer>21</BitrateQuantizer>
And the Level is set here.
<Level>4.1</Level>
Be sure to name the file something like this.
PCH_CQ_L41_Q21.xml
where you have the _CQ_ in the filename so it knows it is a constant quality profile. Put the file in the x264-profiles folder.
===================================
<?xml version="1.0" ?>
- <VideoProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>CQ21 Level 4.1</Name>
- <Settings xsi:type="x264Settings">
<EncodingMode>9</EncodingMode>
<BitrateQuantizer>21</BitrateQuantizer>
<KeyframeInterval>250</KeyframeInterval>
<NbBframes>3</NbBframes>
<MinQuantizer>10</MinQuantizer>
<MaxQuantizer>51</MaxQuantizer>
<Turbo>false</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>false</Trellis>
<CreditsQuantizer>40</CreditsQuantizer>
<Logfile>.stats</Logfile>
<CustomEncoderOptions />
<FourCC>1</FourCC>
<Zones />
<MaxNumberOfPasses>3</MaxNumberOfPasses>
<NbThreads>1</NbThreads>
<NoDCTDecimate>false</NoDCTDecimate>
<PSNRCalculation>false</PSNRCalculation>
<noFastPSkip>false</noFastPSkip>
<NoiseReduction>0</NoiseReduction>
<MixedRefs>true</MixedRefs>
<X264Trellis>1</X264Trellis>
<NbRefFrames>3</NbRefFrames>
<AlphaDeblock>-2</AlphaDeblock>
<BetaDeblock>-1</BetaDeblock>
<SubPelRefinement>5</SubPelRefinement>
<MaxQuantDelta>4</MaxQuantDelta>
<TempQuantBlur>0</TempQuantBlur>
<BframePredictionMode>3</BframePredictionMode>
<VBVBufferSize>-1</VBVBufferSize>
<VBVMaxBitrate>25000</VBVMaxBitrate>
<METype>2</METype>
<MERange>16</MERange>
<MinGOPSize>25</MinGOPSize>
<Profile>2</Profile>
<Level>4.1</Level>
<IPFactor>1.4</IPFactor>
<PBFactor>1.3</PBFactor>
<ChromaQPOffset>0</ChromaQPOffset>
<VBVInitialBuffer>0.9</VBVInitialBuffer>
<BitrateVariance>1.0</BitrateVariance>
<QuantCompression>0.6</QuantCompression>
<TempComplexityBlur>20</TempComplexityBlur>
<TempQuanBlurCC>0.5</TempQuanBlurCC>
<SCDSensitivity>40</SCDSensitivity>
<BframeBias>0</BframeBias>
<Deblock>true</Deblock>
<Cabac>true</Cabac>
<WeightedBPrediction>true</WeightedBPrediction>
<AdaptiveBFrames>true</AdaptiveBFrames>
<BFramePyramid>true</BFramePyramid>
<BRDO>true</BRDO>
<biME>true</biME>
<ChromaME>true</ChromaME>
<P8x8mv>true</P8x8mv>
<B8x8mv>true</B8x8mv>
<I4x4mv>true</I4x4mv>
<I8x8mv>true</I8x8mv>
<P4x4mv>true</P4x4mv>
<AdaptiveDCT>true</AdaptiveDCT>
<Lossless>false</Lossless>
<SSIMCalculation>false</SSIMCalculation>
<Interlaced>false</Interlaced>
<Width>false</Width>
<Sar>false</Sar>
<aq-strength>false</aq-strength>
<aq-sensitivity>false</aq-sensitivity>
<deadzone-inter>false</deadzone-inter>
<deadzone-intra>false</deadzone-intra>
<fpel-cmp>false</fpel-cmp>
<me-prepass>false</me-prepass>
<QuantizerMatrix />
<QuantizerMatrixType>0</QuantizerMatrixType>
</Settings>
</VideoProfile>
Cyrus221
16th February 2008, 05:47
Will changing the specified audio or video bitrate to a specific one (from 192 -> 96 for audio or using a low bitrate like 1300 for video) effect the audio sync on the finished encode?
It seems im having audio sync issues, and was wondering if this was the case. Im encoding from vob to wmv btw.
Taddeusz
16th February 2008, 06:19
I still notice that VOB's where the audio and video have different PST values end up having audio that is not properly synced. The delay between the audio and video needs to be taken into account when this type of VOB is converted and muxed.
Aylwin
16th February 2008, 07:36
@buzzqw
Another usefull request :)
In the target output size. please add "Same as source".
becaue I want to convert anime and some anime are between 130-220 megs.. I don'T want to enter manually the value each time.Hmmm, Don_Genaro has requested "adding an option to compute the target file size based on a percentage of the source's video bitrate". Is that the same as adding an option to compute the target file size based on a percentage of the source's file size?
I'm also beginning to see this as something useful. If I want to maintain the same file size then I could set target output to 100%. Or, if I'm converting from Xvid to x264 and feel that I can usually get the same level of quality at 30% less file size, then I can set target output to 70%.
Aylwin
16th February 2008, 08:27
I've just noticed that if I select Original + Anamorphic Encoding with XviD then the DAR is wrong. In other words, anamorphic encoding doesn't have any effect:
Standard NTSC:
Original + Anamorphic = 720x480 with DAR: 1.5
Anamorphic PAL:
Oringial + Anamorphic = 720x576 with DAR: 5/4
Is this a bug or doesn't XviD support non-square pixels?
Another thing. With x264, if I do anamorphic encoding to MP4 instead of MKV then MediaInfo reports the wrong DAR just like my XviD test above. However, VLC plays it back in the correct aspect ratio. How does VLC know? Is there some other aspect ratio information somewhere in the file that MediaInfo is unable to detect (e.g. PAR)?
buzzqw
16th February 2008, 09:04
@Encoder888
about queue: please try this build http://www.64k.it/andres/data/a/AutoMKV095d.exe (i hope it is more stable)
@weaver4
added your "PopCornHour_profile" to profile pack, thanks!
@Cyrus221
Will changing the specified audio or video bitrate to a specific one (from 192 -> 96 for audio or using a low bitrate like 1300 for video) effect the audio sync on the finished encode?
No
@Taddeusz
I still notice that VOB's where the audio and video have different PST values end up having audio that is not properly synced. The delay between the audio and video needs to be taken into account when this type of VOB is converted and muxed.
imho it's a problem of vobs. try fixing with videoredo or manually do the d2v cutting first seconds of movie
@Aylwin @survivant001 @Don_Genaro
Same as source
and if source is a vob ? or ifo ? i compute 70kb of disk settings ?
anyway added in todo list :p
Is this a bug or doesn't XviD support non-square pixels?
xvid support NON square pixel... let me check code
BHH
... just write some numbers :rolleyes:
zacoz
16th February 2008, 09:06
@Alywin
Avinaptic will show you additional information - http://forum.doom9.org/showthread.php?t=123076
delacroixp
16th February 2008, 09:43
Ok, I think I understand it as follows.
I have 300+ DVD's and all of them are widescreen. Most are 2.35 or 1.85. Neither of those aspect ratios are 16X9 (1.78).
My TV is 16X9 so the DVD plays at 16X9 and because of the difference between 16X9 and the aspect ratio of the movie, that is why I have the black bars (called letterboxing).
Am I correct on this?
Yes, this is letterboxing, as it is also letterboxing when a 16:9 movie is played on a 4:3 TV.
On my TV I also have the option of NOT letterboxing - it instead fills the height of the screen but consequently chops off the right and left of the picture (yuk).
Yah sure... chopping off the left and right is pretty yuk.
Pan and scan (http://en.wikipedia.org/wiki/Pan_and_scan) by contrast... will crop each frame differently by moving the 4:3 box to keep the best bits in each frame.
:):devil::D
Pascal
Don_Genaro
16th February 2008, 09:55
and if source is a vob ? or ifo ? i compute 70kb of disk settings ?
anyway added in todo list :p
:thanks: Buzzqw! I really think Itīll be a useful posiblity.
For vob sources the video bitrate can be obtained easily with MediaInfo.
Also Dark Shikari mentioned that x264 has some kind of SIMM and PSNR info output about the encoded result, perhaphs this could facilitate the SIMM aproach.
Example:
-Take a 2% sample without filters and find a CRF factor that outputs a SIMM >= 97,5 and PSNR > 40.
-Apply filters.
-Encode.
I have found several files specially 700mb xvids that achieve those conditions at high CRF settings like 26. So itīs a waste to blindly apply CRF 18, 20, 21 to all sources.
:thanks:
Aylwin
16th February 2008, 10:03
Avinaptic will show you additional information - http://forum.doom9.org/showthread.php?t=123076What a wonderful tool! Thanks for the advice!
xvid support NON square pixel... let me check codeIf that's the case, then I think I can confirm that anamorphic encoding for XviD is not working.
Information from AVInaptic:
FourCC: xvid/XVID
Resolution: 720 x 480
Frame aspect ratio: 3:2 = 1.5
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 3:2 = 1.5
vgiozo
16th February 2008, 10:12
I'm having trouble downloading the installer...
...the link takes me to the megaupload toolbar download page...
Could the file be uploaded somewhere else, maybe?
delacroixp
16th February 2008, 10:53
The problem with the CRF aproach to transcode divx/xvid movies, is that there is no easy way on knowing how much CRF does the file really needs. Sometimes a transcoded file with CRF 21 ends with a bigger size than the source, so it is evident that one is throwing into it more CRF than the necesary.
Another problem is that some divx/xvids have enough CRF with no less than 24, so a given CRF number isnīt optimal for every case. And since the goal is gaining some file size reduction keeping the quality as much as possible close to the source, the bitrate solution seems better.
I think you're right !
Also, do you agree that CRF or CQ 18 is equal in quality to divx/xvid CQ 2 ???
And what happens when a sample encoded with CQ 18 in x264 has the same size of one encoded with Xvid cq 2?, does this mean x264 has no compresability advantage over xvid in that particular movie??
I don't know if X265_CQ(crf)_18 = Xvid/DivX_CQ_2 .
I will say that X264_CQ(crf) use a different system from Xvid/DivX_CQ.
CQ(crf) automatically incorporates an advanced psychovisual enhancement system which will use a whole range of quantizers from Q10 to Q34 for one encode.
Xvid/DivX_CQ, by contrast will blindly maintain the same quantizer throughout... unless you use a decimal quantizer and then it'll swing between the whole numbers.
-- Actually that is ridiculously simple for compilations (such TV series) that you want to fill DVD5s right up to 4482mb:
1. Figure out how many episodes will go on each DVD, and how roughly, on average, much space you intend to devote to each episode.
(Example: 27 show series with one extra = 14 episodes per DVD, or a very generous 320mb per episode, so quality should be superb.)
2. Do a Target Quality 60% pass CQ encode on all episodes, and record resultant file sizes.
IMPORTANT: Make sure your output FPS is the desired one (usually 23.976 in the case of NTSC DVDs), and that you're properly deinterlacing -- otherwise output sizes will be bloated: "Hybrid" sources subjected to "Auto" will otherwise yield some episodes at 23.976 and others at 29.97 (in which case you'll have to force the 29.97s down).
Nice !
Is it possible to implement a new encoding aproach based not on the file size nor the CRF factor, but on the SIMM and PNSR factors of the comparison between the original and samples???
Example: I want to code the video in X264 CRF with the higher CRF setting posible that achieves a SIMM >0.975 and a PSNR factor > 40.0.
This way it ensures that the coding is been made using bitrate effiently a posible to retain a minimum desired amount of quality.
And not throwing CRF 21 at sources that have plenty with CRF 26.
For vob sources the video bitrate can be obtained easily with MediaInfo.
Also Dark Shikari mentioned that x264 has some kind of SIMM and PSNR info output about the encoded result, perhaphs this could facilitate the SIMM aproach.
Example:
-Take a 2% sample without filters and find a CRF factor that outputs a SIMM >= 97,5 and PSNR > 40.
-Apply filters.
-Encode.
I have found several files specially 700mb xvids that achieve those conditions at high CRF settings like 26. So itīs a waste to blindly apply CRF 18, 20, 21 to all sources.
Nice idea... but very complicated to implement in software !
:):devil::D
Pascal
buzzqw
16th February 2008, 11:03
@Aylwin
xvid support only standard ar
-par integer[:integer] : Set Pixel Aspect Ratio.
1 = 1:1
2 = 12:11 (4:3 PAL)
3 = 10:11 (4:3 NTSC)
4 = 16:11 (16:9 PAL)
5 = 40:33 (16:9 NTSC)
other = custom (width:height)
but
other = custom (width:height)
isnt' fuctional :(
EDIT: try this http://www.64k.it/andres/data/a/AutoMKV095d.exe
@vgiozo
click on link, insert the code
wait for 45 seconds, then click on free download
BHH
vgiozo
16th February 2008, 13:10
@vgiozo
click on link, insert the code
wait for 45 seconds, then click on free download
BHH
Thanks for your answer buzzqw...
And once more well done for the sustained effort to improve an already great program...
But, my problem was not to figure out how to download the file, I am familiar with the way these sites work...
It's just that for the past 4-5 days I've been clicking on the link, trying to download the software and it ALWAYS led to a page to download the "megaupload toolbar"...
...by downloading the toolbar, one does not get the All download slots assigned to your country are currently in use. Please try again in a few hours or install the Megaupload Toolbar for immediate access - with the toolbar installed, there are no more slot limitations for you!
I don't want any toolbar installed on my browser and this site, by this "trick" tries to force you to install the software in order to be able to download...
So, my suggestion is, Why not try another of these download sites? You pick which one...I don't want to name any...just one from which people will be able to download...maybe add another link?
zacoz
16th February 2008, 14:54
@vgiozo
As a temp solution, have posted up on my site so you should be able to get without problems (so long as 300 other people don't beat you and use all my remaining bandwidth)
AutoMKV-v0.95c-Setup.exe (http://thermal-ions.net/files/AutoMKV-v0.95c-Setup.exe)
survivant001
16th February 2008, 14:59
@Aylwin @survivant001 @Don_Genaro
and if source is a vob ? or ifo ? i compute 70kb of disk settings ?
anyway added in todo list :p
good point. but the user should be warn of that.. but it will be his choice..
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.