View Full Version : AutoMKV 0.95c - (DVD/TS/AVI/AVS to X264/XviD/WVC1 into MKV/MP4/WMV) update 12/02/2008
Pages :
1
2
3
4
[
5]
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.11, Copyright ©2000-2025, vBulletin Solutions Inc.