Log in

View Full Version : AutoMKV 0.98.4


Pages : 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 20 21

Chengbin
26th October 2008, 15:29
Could to clarify on how to add borders? Does 100 mean 100 pixels? Which one controls top and bottom?

BTW, does image quality suffer if I add black borders to make it MOD16?

buzzqw
26th October 2008, 16:19
addborders http://avisynth.org/AddBorders
quality suffer ? NO, mod16 could help compression too

BHH

Dark Shikari
26th October 2008, 16:37
BTW, does image quality suffer if I add black borders to make it MOD16?Yes, most definitely. Avoid borders whenever possible.quality suffer ? NO, mod16 could help compression tooPlease stop spreading misinformation. Black borders not aligned to macroblock boundaries are a great way to waste enormous amounts of bits.

buzzqw
26th October 2008, 16:47
thanks for the info Dark Shikari

BHH

stenews
26th October 2008, 17:35
Hi, thanks a lot for your reply.
I'll stay in touch to read about you.
Congratulation, you did a really smart program!http://forum.doom9.org/images/smilies/smile.gif
:)

Stefano.

Chengbin
26th October 2008, 19:04
So maybe I should just stick with MOD8?

stenews
26th October 2008, 23:51
Hi, does anyone to know where I can download DivX264.exe and h264vout.001 to use with Automkv?
buzzqw in his first post wrote that for encoding with DivX H.264 we need to put into \exe\encoder both DivX264.exe and h264vout.001.
Right, I checked for that codec in http://labs.divx.com/ProjectRemoulade but even after registered as new member I couldn't find a right URL for the download.

Hope someone will want to help me,
Stefano.

Chengbin
27th October 2008, 00:11
buzzqw, I see that you have made the deinterlace process to be run simultaneously. This is great for people with multiple cores. Can you make AutoMKV encode audio and run deinterlace process simultaneously? This could save a lot of time for people with quad core processors like me. Thanks.

Also, how come the deinterlace process takes much longer when you specify AR input?

flebber
27th October 2008, 07:49
Hi, does anyone to know where I can download DivX264.exe and h264vout.001 to use with Automkv?
buzzqw in his first post wrote that for encoding with DivX H.264 we need to put into \exe\encoder both DivX264.exe and h264vout.001.
Right, I checked for that codec in http://labs.divx.com/ProjectRemoulade but even after registered as new member I couldn't find a right URL for the download.

Hope someone will want to help me,
Stefano.

Once you register you need to follow the directions and write a short peice about yourself and send in. They may then give you extra privilege to download.

AMED
27th October 2008, 08:54
Hi Buzzqw,

I was wondering if there is anyway of suppressing the cmd boxes that appear while AutoMKV goes through the encoding process. e.g. interlace checking, compression test, encoding and muxing. It makes AutoMKV rather annoying to use because it's throwing boxes up which interrupt watching a movie in full screen.

Another thing that may make your life easier in the long run. have you thought about using the MeGUI video encoding profiles instead of your own?

buzzqw
27th October 2008, 10:25
@Chengbin

no, actually isn't possible to run deinterlacer AND audio simultaniusly
Also, how come the deinterlace process takes much longer when you specify AR input?
i haven't idea ... :confused:

@AMED
i will start minimized only when i will be sure of all process going fine. Don't worry is on todo list
Another thing that may make your life easier in the long run. have you thought about using the MeGUI video encoding profiles instead of your own?
well that's not fair.. :p but i fully understud your doubt

BHH

Chengbin
27th October 2008, 12:40
Hi Buzzqw,

I was wondering if there is anyway of suppressing the cmd boxes that appear while AutoMKV goes through the encoding process. e.g. interlace checking, compression test, encoding and muxing. It makes AutoMKV rather annoying to use because it's throwing boxes up which interrupt watching a movie in full screen.

Another thing that may make your life easier in the long run. have you thought about using the MeGUI video encoding profiles instead of your own?

I completely agree, it is very annoying, especially when you're playing games and a window pop up and you die because you lost control of the game.

buzzqw, how come it is not possible to encode audio and deinterlace at the same time? Do they share the same program or something?

Chengbin
31st October 2008, 00:56
Encoding audio with neroaac is messed up. When it downmix 5.1 track to 2 channel is messed up. The center channel is sometime mixed only on the right channel or the left channel. For some reason it works perfectly with family guy 5.1 tracks. The prison break 5.1 track is downmixed wrong. The first season has DTS 5.1, the second season has AC3 5.1. Any reason for this?

valnar
31st October 2008, 01:06
So far in my testing, I don't like the new x264 at all compared to the one in the older 0.96 beta 12. I don't think it's AutoMKV related because I've tried all kinds of settings to compare, but when I use the equivalent settings (except CRF20 vs CRF22 in the new one, to keep file sizes similar), I get strobing blue in the skies. Even with psy-rd and AQ off, I think the new encoder is fighting with the grain, because it appears to alternate between keeping the grain and smoothing the blue, causing the flashing.

The older x264/AutoMKV combo did not have this problem. So far, I can't seem to pinpoint why, other than x264 with new settings after October 7.

Edit: New 0.98 fixed whatever the problem was.

AMED
31st October 2008, 05:21
Maybe you should report it in the MPEG-4 AVC / H.264 section?

Wizecat
31st October 2008, 07:54
Was just hoping for a way to modify the profile to spec WMASTD (WMA9) in new version .97.1 as it was previously a capability in .95c(?) and worked for the v1 extender.

WMA9 can be used easy in Windows Media Encoder.

Chengbin
1st November 2008, 02:46
buzzqw, can you make a feature for AutoMKV that automatically (or make an option to) deletes the temporary files after encoding? I just freed up like 10GB of my HDD because of this. Thanks.

AMED
1st November 2008, 04:04
it's already there,

Advanced Tab, global options, del temp file

reverett
1st November 2008, 13:43
Hi I'm brand new to the board, but have been using 0.97.1 with great success for the last couple of weeks. However, the Advanced Audio Options do not work for me. The tab opens, I edit the Track Language and add a Track Title, click OK!, but the options do not stick, because when I reopen Advanced Audio Options again, everything is reset to default. How can I remedy this proplem?

As well, is there a way to select DTS as an audio encoding option?

Thanks very much for this program, I'm very appreciative of it.

[r]

buzzqw
1st November 2008, 13:55
@reverett

Hi reverett and Welcome to the Forum!

the "don't stick" of advanced options is a well know NO BUG :)

automkv will remember your choice (i can assure) BUT if you reopen the advanced audio options all settings will be resetted to defaults.

so.. don't open it again

DTS as encoder ? no, i don't know a freeware command line DTS encoder

BHH

Chengbin
1st November 2008, 16:43
AutoMKV can't encode audio. When I encode audio, all it comes out is some irritating noise. I think it doesn't have a decoder to decode the audio because it happened to every audio format AutoMKV is able to encode. But I have the latest CCCP and ffdshow. Checking use ffmpegsource encodes audio incorrectly (downmix incorrectly). For some reason it can encode the AC3 track from a VOB without using ffmpegsource.

Also, if ffmpegsource downmix 5.1 to 2.0 incorrectly, and I need it to prevent slow frame rate, that puts me in a strange position.

Also, I can encode audio perfectly (without using ffmpegsource) on another computer. Encoding with ffmpegsource on the other computer results the same thing (downmix incorrectly).

buzzqw
1st November 2008, 17:17
automkv can't remap channel or doing a better works if using directshowsource

... wait some days, next build will be able to extract audio from mkv/avi and should able to decode NOT using directshow filters

BHH

Chengbin
1st November 2008, 17:41
So you're saying that I can use FFmpegsource and encode audio separately with using FFmpegsource?

BTW, I hope some days means in the next 1-2 weeks.

buzzqw
1st November 2008, 17:56
i mean that on mkv/avi source audio will be demuxed and processed with nicaudio.. (as vob files)

BHH

Chengbin
1st November 2008, 21:35
i mean that on mkv/avi source audio will be demuxed and processed with nicaudio.. (as vob files)

BHH

Fantastic, I'll be looking forward to that release. Will you add x264 rev 1000 to that build as well?

eidolen
1st November 2008, 22:05
Hi,
Tried asking for help in the subtitles forum on this, but no joy so far. After mucho reading I'm hoping I can get done what I want using this program and hoped someone could help me with a few of the settings.

Target playback on PS3

Here is a typical Source I use:
(All are anime sources and most will be HD. Have maybe 3 movies at 1080, but the bulk will be 720p)

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 10 frames
Muxing mode : Container profile=Unknown@5.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 42mn
Bit rate : 3 070 Kbps
Nominal bit rate : 4 732 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.214
Writing library : x264 core 59 r851M e11ef38
Encoding settings : cabac=1 / ref=10 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=7 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / fgo=2 / bframes=10 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=4732 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=8 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=15000 / vbv_bufsize=12000 / ip_ratio=1.40 / pb_ratio=1.24 / aq=2:0.90
Language : Japanese

Audio
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 1h 42mn
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 24 bits
Title : Japanese DTS 5.1, 1.5 mbit
Language : Japanese

Text
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : English styled subtitles
Language : English


I have successfully followed the guide here for playback on PS3 and the video looks astounding. The hitch is the subtitles. There is no good way yet to convert .ass subs to .sup without major problems. Even when you overcome those, you still lose all styling, custom fonts, colors, etc. Since I never intend to watch these without the subtitles I would like to hard code them into the video.

If possible I would also like to set it up where it changes as little as possible but encodes the subtitles to the video resulting in a new .mkv that I can process through tsMuxerGUI to make it BluRay/AVCHD/PS3 compatible.

Any help here would be most appreciated, even if it's pointing me in an entirely different direction.

Many Thanks,
Eidolen

buzzqw
3rd November 2008, 15:30
update 0.98

changelog

FIXED: Muxing in avi with virtualdub don't keep correct audio order (thanks to paolo1983)
FIXED: Chapter button don't load already present chapters's file (thanks to madforweb)
FIXED: Anamorphic encoding (very beta)
FIXED: Preview will not report exact AR (thanks to madforweb)
FIXED: When accepting the preview automkv will set also the AR input as selected in preview
CHANGED: No more need of h264to (now using ffmpeg.exe)
CHANGED: FFmpegSource no more handle audio
CHANGED: Recked all x264 profiles (suggest to try the new 2 pass balanced and cq optimized profiles)
CHANGED: When input is avi/mkv/mp4/flv automkv will now scan for audio tracks without extracting it. Automkv will dinamically extract and encode it when needed. This allow copy audio track or encoding specific one's
UPDATE: eac3to 2.73, mkvmerge 04/10/2008, x264 rev 1016 (x264.nl), FFmpegSource 2.03beta,FFmpeg (Sherpya) r15666, MCTemporalDenoise.v1.0beta4

BHH

Chengbin
3rd November 2008, 22:15
Audio does not encode for some reason. The audio conversion dislog doesn't even pop up. It's like AutoMKV just skipped that process. Audio is not even recognized when the source is DTS or mp3.

Audio does encode when the source is a VOB

BTW, how do you change the profile (balanced) so that it uses main profile?

Also, the slow frame rate issue is now gone, even without ffmpegsource.

buzzqw
4th November 2008, 08:11
don't use ffmpegsource is source is mpeg2

use ffmpegsource only if source is avi/mkv/ogm/mp4....

BHH

Chengbin
4th November 2008, 13:08
ffmpegsource was not used in any of my encodings in 0.98

Even using ffmpegsource audio encoding process is skipped.

The audio is not recognized in the beginning when you select an input file.

buzzqw
4th November 2008, 13:28
PLEASE POST A LOG

and next time post more info about source and options used, otherwise no help is possible

BHH

Chengbin
4th November 2008, 13:55
After further testing, if source audio is mp3, the audio is extracted and encoded.

This is the log without using ffmpegsource. The source is a clip from Prison Break encoded with H.264 and AC3.

07:49:38 0.97.2 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
07:49:38 Selected Input file: C:\Users\Administrator\Desktop\sample.mkv
07:49:38 Selected Output dir: C:\Users\Administrator\Desktop\temp\
07:49:38 Selected Final Name: sample
07:49:38 Selected Container type: MP4
07:49:38 Selected Encoder: X264
07:49:38 Selected Size: 15 / 1
07:49:38 Selected Profile: 1_Pass_Fastest.xml
07:49:38 Selected Resizer: SimpleResize (neutral soft) / Automatic
07:49:38 Selected Filters: RemoveGrain(mode=2)
07:49:38 Selected Deinterlacer: NONE
07:49:38 Selected Field Order: AUTO
07:49:38 Manual Crop&Resize Enabled
07:49:38 Left Crop: 0
07:49:38 Top Crop: 0
07:49:38 Right Crop: 0
07:49:38 Botton Crop: 0
07:49:38 Manual Width: 640
07:49:38 Manual Height: 360
07:49:38 Enabled CRF/CQ AutoRes at 19 value
07:49:38 Enabled FFmpegSource
07:49:38 Track Language 1: C:\Users\Administrator\Desktop\sample.mkv
07:49:38 Audio Codec 1: Nero AAC
07:49:38 Audio Quality 1: 0.50
07:49:38 Audio Channel 1: Stereo
07:49:38 Track Language 2: NONE
07:49:38 Audio Codec 2: Nero AAC
07:49:38 Enabled Use DirectShowSource for AUDIO
07:49:38 Advanced Audio Settings DUMP Track 1
07:49:38 Nero Option Profiles: AUTO --- Encoding Mode: Quality
07:49:38 CCT Option Profiles: AUTO --- Channel Options: AUTO
07:49:38 Lame Settings: ABR
07:49:38 Audio Normalization: 1
07:49:38 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
07:49:38
07:49:38 Encoding C:\Users\Administrator\Desktop\temp\sample.mkv to NeroAAC with 0.50 quality
07:52:57 0.98 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
07:52:57 Selected Input file: C:\Users\Administrator\Desktop\sample.mkv
07:52:57 Selected Output dir: C:\Users\Administrator\Desktop\temp\
07:52:57 Selected Final Name: sample
07:52:57 Selected Container type: MP4
07:52:57 Selected Encoder: X264
07:52:57 Selected Size: 15 / 1
07:52:57 Selected Profile: 2_Pass_Balanced.xml
07:52:57 Selected Resizer: SimpleResize (neutral soft) / Automatic
07:52:57 Selected Filters: RemoveGrain(mode=2)
07:52:57 Selected Deinterlacer: AUTO
07:52:57 Selected Field Order: AUTO
07:52:57 Manual Crop&Resize Enabled
07:52:57 Left Crop: 0
07:52:57 Top Crop: 0
07:52:57 Right Crop: 0
07:52:57 Botton Crop: 0
07:52:57 Manual Width: 640
07:52:57 Manual Height: 360
07:52:57 Enabled CRF/CQ AutoRes at 20 value
07:52:57 Track Language 1: Stream #0.1(eng): Audio: ac3
07:52:57 Audio Codec 1: Nero AAC
07:52:57 Audio Quality 1: 0.50
07:52:57 Audio Channel 1: Stereo
07:52:57 Track Language 2: NONE
07:52:57 Audio Codec 2: Nero AAC
07:52:57 Advanced Audio Settings DUMP Track 1
07:52:57 Nero Option Profiles: AUTO --- Encoding Mode: Quality
07:52:57 CCT Option Profiles: AUTO --- Channel Options: AUTO
07:52:57 Lame Settings: ABR
07:52:57 Audio Normalization: 1
07:52:57 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
07:52:57
07:52:57 Extracting audio track 1 Stream #0.1(eng): Audio: ac3 with ffmpeg
07:52:57 Unable to determine movie properties , switched to DirectShowSource
07:53:06 Unable to determine movie properties with DirectShowSource, switched to FFVideoSource
07:53:07 Number of Frames: 1523
07:53:07 Framerate: 23.976215
07:53:07 Movie length in Seconds: 64
07:53:07 Movie Width/Height: 1280/720
07:53:07 Number of Frames: 1523
07:53:07 Framerate: 23.976215
07:53:07 Movie length in Seconds: 64
07:53:07 Movie Width/Height: 1280/720
07:53:07 Number of Frames: 1523
07:53:07 Framerate: 23.976215
07:53:07 Movie length in Seconds: 64
07:53:07 Movie Width/Height: 1280/720
07:53:40 Source is declared bff by a margin of 1/0.
07:53:40 Advanced Deinterlace Routines Log
07:53:40 Analyzed 226 sections of five frames
07:53:40 Found Interlace Sections: 0 0.00%
07:53:40 Found Progressive Sections:226 100.00%
07:53:40 Found Telecined Sections: 0 0.00%
07:53:40 Found Zero Mov: 100.00% 226
07:53:40 Found One Mov: 0.00% 0
07:53:40 Found Two Mov: 0.00% 0
07:53:40 Found Three Mov: 0.00% 0
07:53:40 Found Four Mov: 0.00% 0
07:53:40 Found Five Mov: 0.00% 0
07:53:40 The Movie is declared to progressive
07:53:40 Starting X264
07:53:40 Command Line 1' Pass X264: C:\AutoMKV098\exe\encoder\x264.exe --pass 1 --bitrate 1960 --stats "C:\Users\Administrator\Desktop\temp\.stats" --ref 1 --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --filter -1,-1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-adapt 2 --no-chroma-me --partitions none --threads auto --thread-input --aq-mode 2 --aq-strength 0.10 --psy-rd 1.1:1.0 --sar 1:1 --output NUL "C:\Users\Administrator\Desktop\temp\movie.avs"
07:53:40 Command Line 2' Pass X264: C:\AutoMKV098\exe\encoder\x264.exe --pass 2 --bitrate 1960 --stats "C:\Users\Administrator\Desktop\temp\.stats" --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --ref 3 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-adapt 2 --no-chroma-me --8x8dct --threads auto --thread-input --aq-mode 2 --aq-strength 0.10 --psy-rd 1.1:1.0 --sar 1:1 --output "C:\Users\Administrator\Desktop\temp\movie.264" "C:\Users\Administrator\Desktop\temp\movie.avs"
07:54:07 Finished 1' Pass X264
07:54:45 Only Movie Size: 15539561 bytes
07:54:45 "C:\AutoMKV098\exe\matroska\MP4Box.exe" -add "C:\Users\Administrator\Desktop\temp\movie.264" -fps 23.9762 -new "C:\Users\Administrator\Desktop\temp\sample_full.mp4"
07:54:46 Final Muxed size: 15557016 bytes
07:54:46 Encoding finished: 00:00:39 elapsed time
07:54:46 -----------------------------------------------------------------------
07:54:46 Script movie.avs
07:54:46
07:54:46 #loadpluginstart
07:54:46
07:54:46 #test1
07:54:46
07:54:46 #importstart
07:54:46
07:54:46 #test2
07:54:46
07:54:46 movie = FFVideoSource("C:\Users\Administrator\Desktop\sample.mkv",seekmode=0)
07:54:46 movie = isRGB(movie) ? ConvertToYV12(movie) : movie
07:54:46 movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
07:54:46 movie = AssumeFPS(movie,24000,1001)
07:54:46 function getOrder(clip c) {
07:54:46 order = GetParity(c) ? 1 : 0
07:54:46 Return order }
07:54:46 #filter1start
07:54:46
07:54:46 #test3
07:54:46
07:54:46 last = movie
07:54:46 crop(0,0,-0,-0)
07:54:46 fixed_aspect = 1.777778
07:54:46 #Aspect_Error = -1.#IO%
07:54:46 #resizestart
07:54:46
07:54:46 #test4
07:54:46
07:54:46 SimpleResize(640,360)
07:54:46 #filter2start
07:54:46
07:54:46 #test5
07:54:46
07:54:46 RemoveGrain(mode=2)
07:54:46
07:54:46 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

Chengbin
4th November 2008, 14:01
This is the log file for the same file encoded with ffmpegsource


07:49:38 0.97.2 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
07:49:38 Selected Input file: C:\Users\Administrator\Desktop\sample.mkv
07:49:38 Selected Output dir: C:\Users\Administrator\Desktop\temp\
07:49:38 Selected Final Name: sample
07:49:38 Selected Container type: MP4
07:49:38 Selected Encoder: X264
07:49:38 Selected Size: 15 / 1
07:49:38 Selected Profile: 1_Pass_Fastest.xml
07:49:38 Selected Resizer: SimpleResize (neutral soft) / Automatic
07:49:38 Selected Filters: RemoveGrain(mode=2)
07:49:38 Selected Deinterlacer: NONE
07:49:38 Selected Field Order: AUTO
07:49:38 Manual Crop&Resize Enabled
07:49:38 Left Crop: 0
07:49:38 Top Crop: 0
07:49:38 Right Crop: 0
07:49:38 Botton Crop: 0
07:49:38 Manual Width: 640
07:49:38 Manual Height: 360
07:49:38 Enabled CRF/CQ AutoRes at 19 value
07:49:38 Enabled FFmpegSource
07:49:38 Track Language 1: C:\Users\Administrator\Desktop\sample.mkv
07:49:38 Audio Codec 1: Nero AAC
07:49:38 Audio Quality 1: 0.50
07:49:38 Audio Channel 1: Stereo
07:49:38 Track Language 2: NONE
07:49:38 Audio Codec 2: Nero AAC
07:49:38 Enabled Use DirectShowSource for AUDIO
07:49:38 Advanced Audio Settings DUMP Track 1
07:49:38 Nero Option Profiles: AUTO --- Encoding Mode: Quality
07:49:38 CCT Option Profiles: AUTO --- Channel Options: AUTO
07:49:38 Lame Settings: ABR
07:49:38 Audio Normalization: 1
07:49:38 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
07:49:38
07:49:38 Encoding C:\Users\Administrator\Desktop\temp\sample.mkv to NeroAAC with 0.50 quality
07:52:57 0.98 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
07:52:57 Selected Input file: C:\Users\Administrator\Desktop\sample.mkv
07:52:57 Selected Output dir: C:\Users\Administrator\Desktop\temp\
07:52:57 Selected Final Name: sample
07:52:57 Selected Container type: MP4
07:52:57 Selected Encoder: X264
07:52:57 Selected Size: 15 / 1
07:52:57 Selected Profile: 2_Pass_Balanced.xml
07:52:57 Selected Resizer: SimpleResize (neutral soft) / Automatic
07:52:57 Selected Filters: RemoveGrain(mode=2)
07:52:57 Selected Deinterlacer: AUTO
07:52:57 Selected Field Order: AUTO
07:52:57 Manual Crop&Resize Enabled
07:52:57 Left Crop: 0
07:52:57 Top Crop: 0
07:52:57 Right Crop: 0
07:52:57 Botton Crop: 0
07:52:57 Manual Width: 640
07:52:57 Manual Height: 360
07:52:57 Enabled CRF/CQ AutoRes at 20 value
07:52:57 Track Language 1: Stream #0.1(eng): Audio: ac3
07:52:57 Audio Codec 1: Nero AAC
07:52:57 Audio Quality 1: 0.50
07:52:57 Audio Channel 1: Stereo
07:52:57 Track Language 2: NONE
07:52:57 Audio Codec 2: Nero AAC
07:52:57 Advanced Audio Settings DUMP Track 1
07:52:57 Nero Option Profiles: AUTO --- Encoding Mode: Quality
07:52:57 CCT Option Profiles: AUTO --- Channel Options: AUTO
07:52:57 Lame Settings: ABR
07:52:57 Audio Normalization: 1
07:52:57 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
07:52:57
07:52:57 Extracting audio track 1 Stream #0.1(eng): Audio: ac3 with ffmpeg
07:52:57 Unable to determine movie properties , switched to DirectShowSource
07:53:06 Unable to determine movie properties with DirectShowSource, switched to FFVideoSource
07:53:07 Number of Frames: 1523
07:53:07 Framerate: 23.976215
07:53:07 Movie length in Seconds: 64
07:53:07 Movie Width/Height: 1280/720
07:53:07 Number of Frames: 1523
07:53:07 Framerate: 23.976215
07:53:07 Movie length in Seconds: 64
07:53:07 Movie Width/Height: 1280/720
07:53:07 Number of Frames: 1523
07:53:07 Framerate: 23.976215
07:53:07 Movie length in Seconds: 64
07:53:07 Movie Width/Height: 1280/720
07:53:40 Source is declared bff by a margin of 1/0.
07:53:40 Advanced Deinterlace Routines Log
07:53:40 Analyzed 226 sections of five frames
07:53:40 Found Interlace Sections: 0 0.00%
07:53:40 Found Progressive Sections:226 100.00%
07:53:40 Found Telecined Sections: 0 0.00%
07:53:40 Found Zero Mov: 100.00% 226
07:53:40 Found One Mov: 0.00% 0
07:53:40 Found Two Mov: 0.00% 0
07:53:40 Found Three Mov: 0.00% 0
07:53:40 Found Four Mov: 0.00% 0
07:53:40 Found Five Mov: 0.00% 0
07:53:40 The Movie is declared to progressive
07:53:40 Starting X264
07:53:40 Command Line 1' Pass X264: C:\AutoMKV098\exe\encoder\x264.exe --pass 1 --bitrate 1960 --stats "C:\Users\Administrator\Desktop\temp\.stats" --ref 1 --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --filter -1,-1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-adapt 2 --no-chroma-me --partitions none --threads auto --thread-input --aq-mode 2 --aq-strength 0.10 --psy-rd 1.1:1.0 --sar 1:1 --output NUL "C:\Users\Administrator\Desktop\temp\movie.avs"
07:53:40 Command Line 2' Pass X264: C:\AutoMKV098\exe\encoder\x264.exe --pass 2 --bitrate 1960 --stats "C:\Users\Administrator\Desktop\temp\.stats" --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --ref 3 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-adapt 2 --no-chroma-me --8x8dct --threads auto --thread-input --aq-mode 2 --aq-strength 0.10 --psy-rd 1.1:1.0 --sar 1:1 --output "C:\Users\Administrator\Desktop\temp\movie.264" "C:\Users\Administrator\Desktop\temp\movie.avs"
07:54:07 Finished 1' Pass X264
07:54:45 Only Movie Size: 15539561 bytes
07:54:45 "C:\AutoMKV098\exe\matroska\MP4Box.exe" -add "C:\Users\Administrator\Desktop\temp\movie.264" -fps 23.9762 -new "C:\Users\Administrator\Desktop\temp\sample_full.mp4"
07:54:46 Final Muxed size: 15557016 bytes
07:54:46 Encoding finished: 00:00:39 elapsed time
07:54:46 -----------------------------------------------------------------------
07:54:46 Script movie.avs
07:54:46
07:54:46 #loadpluginstart
07:54:46
07:54:46 #test1
07:54:46
07:54:46 #importstart
07:54:46
07:54:46 #test2
07:54:46
07:54:46 movie = FFVideoSource("C:\Users\Administrator\Desktop\sample.mkv",seekmode=0)
07:54:46 movie = isRGB(movie) ? ConvertToYV12(movie) : movie
07:54:46 movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
07:54:46 movie = AssumeFPS(movie,24000,1001)
07:54:46 function getOrder(clip c) {
07:54:46 order = GetParity(c) ? 1 : 0
07:54:46 Return order }
07:54:46 #filter1start
07:54:46
07:54:46 #test3
07:54:46
07:54:46 last = movie
07:54:46 crop(0,0,-0,-0)
07:54:46 fixed_aspect = 1.777778
07:54:46 #Aspect_Error = -1.#IO%
07:54:46 #resizestart
07:54:46
07:54:46 #test4
07:54:46
07:54:46 SimpleResize(640,360)
07:54:46 #filter2start
07:54:46
07:54:46 #test5
07:54:46
07:54:46 RemoveGrain(mode=2)
07:54:46
07:54:46 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -
07:58:12 0.98 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
07:58:12 Selected Input file: C:\Users\Administrator\Desktop\sample.mkv
07:58:12 Selected Output dir: C:\Users\Administrator\Desktop\temp\
07:58:12 Selected Final Name: sample
07:58:12 Selected Container type: MP4
07:58:12 Selected Encoder: X264
07:58:12 Selected Size: 15 / 1
07:58:12 Selected Profile: 2_Pass_Balanced.xml
07:58:12 Selected Resizer: SimpleResize (neutral soft) / Automatic
07:58:12 Selected Filters: RemoveGrain(mode=2)
07:58:12 Selected Deinterlacer: AUTO
07:58:12 Selected Field Order: AUTO
07:58:12 Manual Crop&Resize Enabled
07:58:12 Left Crop: 0
07:58:12 Top Crop: 0
07:58:12 Right Crop: 0
07:58:12 Botton Crop: 0
07:58:12 Manual Width: 640
07:58:12 Manual Height: 360
07:58:12 Enabled CRF/CQ AutoRes at 20 value
07:58:12 Enabled FFVideoSource
07:58:12 Track Language 1: Stream #0.1(eng): Audio: ac3
07:58:12 Audio Codec 1: Nero AAC
07:58:12 Audio Quality 1: 0.50
07:58:12 Audio Channel 1: Stereo
07:58:12 Track Language 2: NONE
07:58:12 Audio Codec 2: Nero AAC
07:58:12 Advanced Audio Settings DUMP Track 1
07:58:12 Nero Option Profiles: AUTO --- Encoding Mode: Quality
07:58:12 CCT Option Profiles: AUTO --- Channel Options: AUTO
07:58:12 Lame Settings: ABR
07:58:12 Audio Normalization: 1
07:58:12 Frequency: AUTO --- Tempo: NONE --- Pitch: NONE --- Other Add:
07:58:12
07:58:12 Extracting audio track 1 Stream #0.1(eng): Audio: ac3 with ffmpeg
07:58:12 Number of Frames: 1523
07:58:12 Framerate: 23.976215
07:58:12 Movie length in Seconds: 64
07:58:12 Movie Width/Height: 1280/720
07:58:40 Source is declared bff by a margin of 1/0.
07:58:40 Advanced Deinterlace Routines Log
07:58:40 Analyzed 226 sections of five frames
07:58:40 Found Interlace Sections: 0 0.00%
07:58:40 Found Progressive Sections:226 100.00%
07:58:40 Found Telecined Sections: 0 0.00%
07:58:40 Found Zero Mov: 100.00% 226
07:58:40 Found One Mov: 0.00% 0
07:58:40 Found Two Mov: 0.00% 0
07:58:40 Found Three Mov: 0.00% 0
07:58:40 Found Four Mov: 0.00% 0
07:58:40 Found Five Mov: 0.00% 0
07:58:40 The Movie is declared to progressive
07:58:40 Starting X264
07:58:40 Command Line 1' Pass X264: C:\AutoMKV098\exe\encoder\x264.exe --pass 1 --bitrate 1960 --stats "C:\Users\Administrator\Desktop\temp\.stats" --ref 1 --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --filter -1,-1 --subme 2 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me dia --no-ssim --level 4.1 --b-adapt 2 --no-chroma-me --partitions none --threads auto --thread-input --aq-mode 2 --aq-strength 0.10 --psy-rd 1.1:1.0 --sar 1:1 --output NUL "C:\Users\Administrator\Desktop\temp\movie.avs"
07:58:40 Command Line 2' Pass X264: C:\AutoMKV098\exe\encoder\x264.exe --pass 2 --bitrate 1960 --stats "C:\Users\Administrator\Desktop\temp\.stats" --progress --keyint 250 --bframes 2 --qpmin 10 --qpmax 51 --no-psnr --ref 3 --filter -1,-1 --subme 9 --direct auto --vbv-bufsize 14000 --vbv-maxrate 25000 --me umh --no-ssim --level 4.1 --weightb --b-adapt 2 --no-chroma-me --8x8dct --threads auto --thread-input --aq-mode 2 --aq-strength 0.10 --psy-rd 1.1:1.0 --sar 1:1 --output "C:\Users\Administrator\Desktop\temp\movie.264" "C:\Users\Administrator\Desktop\temp\movie.avs"
07:59:07 Finished 1' Pass X264
07:59:45 Only Movie Size: 15539071 bytes
07:59:45 "C:\AutoMKV098\exe\matroska\MP4Box.exe" -add "C:\Users\Administrator\Desktop\temp\movie.264" -fps 23.9762 -new "C:\Users\Administrator\Desktop\temp\sample_full.mp4"
07:59:46 Final Muxed size: 15556526 bytes
07:59:46 Encoding finished: 00:00:39 elapsed time
07:59:46 -----------------------------------------------------------------------
07:59:46 Script movie.avs
07:59:46
07:59:46 #loadpluginstart
07:59:46
07:59:46 #test1
07:59:46
07:59:46 #importstart
07:59:46
07:59:46 #test2
07:59:46
07:59:46 movie = FFVideoSource("C:\Users\Administrator\Desktop\sample.mkv",seekmode=0)
07:59:46 movie = isRGB(movie) ? ConvertToYV12(movie) : movie
07:59:46 movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
07:59:46 movie = AssumeFPS(movie,24000,1001)
07:59:46 function getOrder(clip c) {
07:59:46 order = GetParity(c) ? 1 : 0
07:59:46 Return order }
07:59:46 #filter1start
07:59:46
07:59:46 #test3
07:59:46
07:59:46 last = movie
07:59:46 crop(0,0,-0,-0)
07:59:46 fixed_aspect = 1.777778
07:59:46 #Aspect_Error = -1.#IO%
07:59:46 #resizestart
07:59:46
07:59:46 #test4
07:59:46
07:59:46 SimpleResize(640,360)
07:59:46 #filter2start
07:59:46
07:59:46 #test5
07:59:46
07:59:46 RemoveGrain(mode=2)
07:59:46
07:59:46 - - - - - - - - - - - - FINISHED JOBS - - - - - - - - - - - - - - - - -

buzzqw
4th November 2008, 14:59
try this build http://www.64k.it/andres/data/a/AutoMKV0981.exe

fixed: use of ffmpegsource and directshowsource
fixed: extracting ac3 audio from mkv


BHH

Chengbin
4th November 2008, 22:10
The new build works, but when you input a file, it does not recognize the audio tracks. But when you input the video a second time, it recognizes it.

EDIT, never mind, now it recognize the audio tracks on the the first try.

valnar
5th November 2008, 00:57
Buzzqw,

This new build sets the "Set Width Resolution" to Autocrop only when it used to set to "Original" on a DVD import, and anamorphic encode. I have to fight with AutoMKV to set it correctly to Original.

Chengbin
5th November 2008, 02:25
When AutoMKV tries to encode a DTS source audio to AAC, the command line kept giving me errors saying error, non monotone timestamps. What does that mean?

That process takes really long to complete. More than 5 minutes. After trying with a smaller file, it encodes, and encodes it perfectly. But this is a huge waste of time when you have a batch of files to encode.

buzzqw
5th November 2008, 08:48
@valnar
Anamorphic encoding should now work correctly, but only when not autocropping

please try as is now, and reports, my anamorphic knowledge is quite limited

@Chengbin
audio is extracted with ffmpeg and with some kind of audio type (and mkv container) , ffmpeg has some problem.
The non monotone is written by ffmpeg while extracting audio.

with this one implementation automkv is able to process single audio track present in container, and is able to encode it with soundout/nicaudio, for sure a better way than directshowsource

BHH

Chengbin
5th November 2008, 14:33
I thought virtualdubmod extracts the audio before encoding. That's why there is a long wait before it actually encodes. Am I wrong? If I'm wrong, what is virtualdubmod doing before encoding?

What do you change in the profile that changes it from encoding high profile to main profile?

valnar
5th November 2008, 14:50
@valnar
Anamorphic encoding should now work correctly, but only when not autocropping


No, anamorphic encoding still works fine, but the default of how the cropping changes to "autocrop only" seems to be different. Perhaps it doesn't have anything to do with the anamorphic setting. It just seems like every change I make resets the width back to "autocrop only" when it did not do that before. I have to keep checking that before I start an encode to make sure it did not change on me. :)

sapsa
6th November 2008, 16:32
first of all: buzzqw great JOB !!! i started using your autoMKV and i love it !:)
i used 0.95c and till yestarday all was great

i tried 0.95. 0.95c, 0.97.1 all same result
I rip VHS movies on my AverMedia Tuner in MPEG2
All of them had size from 3-5Gb and all was fine on same settings - i was making mkv file with x264 video, and vobis audio...
Encoding time was abaout 10-12h (dont know why)
I got e2180@3.0Ghz 2Gb Ram, 8800Gt.
The last (bigest) file that got about 4Gb encoded fine but...
movie is desynchronized, not from begining but more video, more delays.
and my question:
1) why only this one get this problem
2) how i can fix it ?
3) how to prevent it ?
I tried better_quality and other profiles for x264, and i tried Xvid too, with same result.

// sorry for my poor english

valnar
6th November 2008, 16:34
The last (bigest) file that got about 4Gb encoded fine but...
movie is desynchronized, not from begining but more video, more delays.

Is the original MPEG2 synchronized from start to finish?

sapsa
6th November 2008, 16:42
Is the original MPEG2 synchronized from start to finish?

Yes it is. The original MPEG2 is OK, no problem with it at all

valnar
6th November 2008, 17:00
Yes it is. The original MPEG2 is OK, no problem with it at all

If all the other files you've done with AutoMKV are fine, then there must be something wrong with that file.

Try a different program like MeGUI and see what happens.

sapsa
6th November 2008, 17:13
If all the other files you've done with AutoMKV are fine, then there must be something wrong with that file.

Try a different program like MeGUI and see what happens.
its quite imposible cuz i made those file with same program, on same hardware, with same settings... and no program detect any errors in files mpeg2

buzzqw
6th November 2008, 17:14
i can guess you cut some commercials.. and so the stream can be somehow corrupted

try fixing it with http://www.videohelp.com/tools/Mpg2Cut2

simply load and resave

also.. POST THE LOG :)

BHH

sapsa
6th November 2008, 17:24
i can guess you cut some commercials.. and so the stream can be somehow corrupted

try fixing it with http://www.videohelp.com/tools/Mpg2Cut2

simply load and resave

also.. POST THE LOG :)

BHH

nah, sorry to say, but i was recording video from vhs connected to tv tuner, no cut no editing

edit: is it bad i dont see preview on mpg2cut2?

buzzqw
6th November 2008, 17:28
post the log, and please try "fixing" anyway

thanks

BHH

spotter
6th November 2008, 17:30
I just installed 0.9.81 and am doing a 2 pass extreme quality encode test.

2 things I'm noticing

1) we know get a cmd prompt window instead of the gui (I assume that's on purpose)

2) it doesn't seem to saturate (cpu time wise) my quad core anymore. While before (0.95c) it would peg my cpu at near 100% on both passes, right now in the first pass it's sitting in the mid 30s.

Did some option change that hurts x264's multithreading ability?

buzzqw
6th November 2008, 17:37
as i wrote in changelog (and i am self asking why i continue to write something ignored by near all users)

1) i removed the encoding gui because it will cause a little slowdown in encoding
2) i suggest the 2 pass balanced. The slowing is due to easy settings in x264 It has the right saturating power and deliver a very good quality (maybe even more then the slower)


BHH