View Full Version : AutoMKV 0.93a - (DVD/TS/AVI/AVS to X264/XviD/WVC1 into MKV/MP4/WMV) update 30/12/2007
wallstreetcrash
23rd May 2007, 11:04
please open the movie.avs script... there is any resizers or crop ? i don't think so...
#test2
movie = directshowsource("C:\Documents and Settings\xxxxx\Desktop\Media\aaaa\zzz.mkv",fps=25.000,convertfps=true,audio=false)
movie = isRGB(movie) ? ConvertToYV12(movie,interlaced=true) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie,interlaced=true) : movie
audio = DirectShowSource("C:\Documents and Settings\xxxxx\Desktop\Media\aaaaa\zzzzzzzzz\temp\audio.mp3")
function getOrder(clip c) {
order = GetParity(c) ? 1 : 0
Return order }
#filter1start
#test3
#resizestart
#test4
last = movie
#filter2start
#test5
audiodub(audio,last)
return last
if you open your video with mediainfo/gspot.. what resolution is reported ?
Source
Codec : MPEG-4 AVC
Codec/Info : MPEG4 ISO advanced profile
PlayTime : 56mn 21s
Width : 1280 pixels
Height : 720 pixels
Aspect ratio : 16/9
Converted File
Codec : WMV1
Codec/Info : Windows Media Video 7
Bit rate : 4988 Kbps
Width : 1280 pixels
Height : 704 pixels
Aspect ratio : 16/9
Resolution : 24 bits
Is that the right video codec? I chose WVC1_1_Pass_CBR.xml so shouldn't Codec/Info read Windows Media Video 9 Advanced Profile?
The resolution has changed :(
Hope you can help :)
buzzqw
23rd May 2007, 11:29
as you can see in your script there isn't any resizer at all!
BUT the file is processed by
movie = directshowsource("C:\Documents and Settings\xxxxx\Desktop\Media\aaaa\zzz.mkv",fps=25.000,convertfps=true,audio=false)
could be that your directshow filter apply a resizer ??
Is that the right video codec? I chose WVC1_1_Pass_CBR.xml so shouldn't Codec/Info read Windows Media Video 9 Advanced Profile?
i think is a misurestud of mediainfo :)
open your movie_wmv.bat, you will see WVC1
BHH
foxyshadis
23rd May 2007, 17:58
I've noticed that when I encode with AutoMKV, both MediaInfo & Gspot cannot read the audio - video bitrate of the file.
MediaInfo only shows overall (video+audio) bitrate in "text" mode.
Where can that be attributed to? Is it the mkv container that is not well supported, or somehow AutoMkv does not "register" that information in the file?
This is not of course a serious matter...
It just doesn't read and parse the entire file right now, which you have to do to separate their bitrates. zenitram has wanted to extend mkv support for a while, but since it's a low priority, it probably won't happen until someone else does it.
kikker
23rd May 2007, 22:03
On Vista, in general settings do not often stick. For instance, when I add a job to the queue and begin the job from there, suddenly the profile changes back to the one that is there by default (constant quality 2 pass). Often, I find the bitrate setting of the audio reverts to a quality setting instead of a specific bitrate when I begin the job. Things are more stable if I begin the encode on the main page, however. That is, if I don't add the job first, things go generally pretty well.
I'm not quite sure if this is a Vista thing, or the fact that I have the AutoMKV folder running from a partitioned data drive instead, which shouldn't pose a problem. Anyways, it seems like a nice app with tons of configuration possible. Thanks for your hard work!
buzzqw
24th May 2007, 07:33
when queuing jobs automkv will save the state of near all objects present in gui... and when job starts , automkv will reinsert all object string/state as when saved.
This will cause the "funny" quick switch of all objects from one state to other.
In any case when the job is started you will see the main gui as was when the job is saved
BHH
smoothOP
24th May 2007, 13:44
Hi people,
Recently I found this tool- AutoMKV. I am a newbie so please ignore my ignorance :) I've got a little problem- the resulting audio sounds some kind of weird. :) I can hear my voice sounds drawlingly, thick and deep!!! And at the end of the encoded movie the video ends but the audio keeps on playing! I don't change the default settings and only change the container to .mp4 and add last line AVS Script "trim(X,Y)". I noticed that the video is trimmed but the audio is not. What do I miss? I also tried LAME and Ogg Vorbis and the result is the same. When I tried Copy Original then there is no audio in the resulting movie.
Please help me to resolve this problem. I use Vista.
Cheers.
buzzqw
24th May 2007, 14:24
first of all Welcome to the Forum!
second :logfile:
I can hear my voice sounds drawlingly, thick and deep!!!
what bitrate selected ?
add last line AVS Script "trim(X,Y)". I noticed that the video is trimmed but the audio is not
that's correct... i do not trim the audio conversion... and the muxer will mux all those files... (i will check anyway !)
When I tried Copy Original then there is no audio in the resulting movie.
so i argue your input file is an mpeg4 (avi/mp4/mkv..) files...
in that case copy audio should not be allowed.. since is impossible to do...
and remember... more info you give.. better answer you will have! :)
BHH
kikker
24th May 2007, 15:29
when queuing jobs automkv will save the state of near all objects present in gui... and when job starts , automkv will reinsert all object string/state as when saved.
This will cause the "funny" quick switch of all objects from one state to other.
In any case when the job is started you will see the main gui as was when the job is saved
BHH
Sorry, not sure you understood. If I start the encode from the main page, the settings seem to stick and the encode goes as expected. However, if I queue the jobs and and start the project from the jobs page, the encode does *not* go as expected, as different settings are applied to the encode. As mentioned, the video profile jumps to one of the default ones that are not hidden behind the 'more' option. And, the encode uses a profile I did *not* intend to use.
TheRyuu
24th May 2007, 15:52
Got a problem.
Xvid_encraw seems to crash on me.
Always happens in the same spot, after it gets 100% finished, and some numbers appear on the screen.
Picture (http://img158.imageshack.us/img158/9851/xvidcrash1rx6.jpg)
Sorry, lost the log file, but everything looked ok, besides a few things:
-Encoded media size was -1, and I had a bit of a custom script:
undot()
hqdn3d(blah...) #no, I didn't really write blah, but the script had no errors in it, AFAIK
vmtoon(blah...)
dull=last
sharp=LimitedSharpenFaster(blah...)
Soothe(sharp, dull, XX) #were XX is a number from 0-100
And I didn't use any MT functions. I just had a SetMemoryMax(768) in the beginning. I found using MT functions becomes a liability.
Does it have something to do with the dgindex problem? I didn't replace the files yet because when I did, I still got a similar problem.
And if I encode it with x264, the encode finishes, but there are many errors in the video (first 5 seconds the video is green, then the colors don't look right, then the movement jumps ahead of the color...)
smoothOP
24th May 2007, 16:17
first of all Welcome to the Forum!Thank you. I'm impressed by you. Not only developing this fine tool but you keep on supporting novices like me! Good for you man.
OK the "drawlingly, thick and deep" thing is solved. :) I just downloaded the last version of AviSynth and now the sound is OK.
So in fact I only have one problem for now and it's the lack of auto-trimming the audio to match the trimmed video. Did I understand that correctly? If that's right, is there any chance to see it implemented in AutoMKV in the near future?
Right now I will do the following:
1. Capture the movie with Windows MovieMaker from the miniDV cassette.
2. Trim the desired parts.
3. Export to DV-AVI (PAL).
4. AutoMKV to convert it to H264.
If someone have got ideas for more automated, easier or better way I am here to hear. :)
Regards.
buzzqw
24th May 2007, 16:51
@kikker
OK! now i have understud!
but your problem "should" be solved with 0.84b (the latest update) .. check first post of thread
and please report back :)
@wizboy11
i suggest to try the same source without this custom script.
if ok ... ... try to modify your script , adding filters one at time, till the problem is replicated
Afaik.. automkv.. is innocent.. but i will glady help you as far as i can!
@smoothOP
your workflow is already pretty quick and efficent!
for audio trim.. the best would be to trim video input before feeding automkv... anyway i will try to found a solution :) (if any :o )
BHH
kikker
24th May 2007, 17:24
OK, the latest 84b version solves the problem of the profile changing on me at the last second. I still am seeing settings jump all over the place when I change a setting either on the main or advanced pages. If I change 1 setting, I have to go back and make sure all the other settings didn't change. I still have to go around in circles making sure nothing changes!
Also, is it possible to switch between constant quality, 1-pass and 2-pass for a given video profile? I'm not sure what happens when I *don't* select a bitrate on the advanced page. Is that the equivalent of <2-pass -crf> or a <2-pass -qp> or a <2-pass -bitrate>? If I select a file size on the main page, I assume it would be <2-pass -bitrate>?
buzzqw
24th May 2007, 17:54
If I change 1 setting, I have to go back and make sure all the other settings didn't change. I still have to go around in circles making sure nothing changes!
:) i know
there are some switchs that "reset" many and more values
these are the container and the codec, since the container allow or not some options i MUST reset all for being sure that not possible/allowed options is in use
i suggest this flow for usage
select your input, then the container, then the video codec, then the audio codec/bitrate, the width and disk settings
Many of the advanced options are ininfluent for main settins
The basic profile are divided in three categories
1 pass profile : 1_Pass_Fastest.xml, 1_Pass_High Performance.xml
2 pass profile : 2_Pass_Balanced.xml, _Pass_Better_Quality.xml, 2_Pass_Extreme_Quality.xml, 2_Pass_Insane_Quality.xml
1 pass profile Quality MODE: Constant_Quality.xml
I select a file size on the main page, I assume it would be <2-pass -bitrate>?
If you specify the bitrate AutoMKV will IGNORE the Disk Settings and will apply in both (if a two profile is selected) or in the single passes the bitrate you have writtem
If you don't specify the bitrate is AutoMKV that will compute it using the Disk Settings specified
<2-pass -crf> or a <2-pass -qp>
this profile or "way of encoding" isn't present in any of the codec that AutoMKV use
i hope to be clear
for ANY problem feel free to ask :)
BHH
kikker
24th May 2007, 18:07
Wow. Thanks for that explanation. It seems though some profiles do have the -qp or -crf switches. But, for those "2-pass" profiles, it seems at least to me that there ought to be 1-pass option specifying bitrate, especially for the "portable device" profiles, as 2-pass is usually overkill.
Just a recommendation for placement of the bitrate selection. Perhaps it should be on the main page. The reason being if one wants to encode a short video (3 min. video), 1/4 CD is the lowest size option and is far too large, and it's not obvious what size to manually select either. Choosing 'I don't care' changes the whole profile too to 'constant quality', which is not what is desired either. And, when *not* selecting a bitrate, the end result is a file that is probably too large for what the user wants/needs. Therefore, in those cases, the user must know the bitrate *and* enter it on the "advanced" page.
Just a suggestion, and a big :thanks:
buzzqw
24th May 2007, 19:00
It seems though some profiles do have the -qp or -crf switches.
these are quality profiles and so are 1 pass only profiles
especially for the "portable device" profiles, as 2-pass is usually overkill
well... for the zune profile there are both 1 pass and 2 passes profiles, the PSP and Ipod are 2 pass profile that's true ...
if you want to change ipod/psp to 1 pass profiles you must edit the profiles (and change <EncodingMode>4</EncodingMode> to <EncodingMode>0</EncodingMode> )
ust a recommendation for placement of the bitrate selection. Perhaps it should be on the main page. The reason being if one wants to encode a short video (3 min. video), 1/4 CD is the lowest size option and is far too large
:p no.. there is no need at all... simply write 3 in disk settings for 3 mb output... or 400 for 400 mb output .. ot 4 and 3 in next box for 3 slice of 4mb each!
Choosing 'I don't care' changes the whole profile too to 'constant quality', which is not what is desired either.
try to answer a simple question: in a 2 pass or 1 pass profile.. what bitrate i must use for "infinity" size ? 100 ? 1000? 10^6 ? or what ?
I NEED the bitrate in single or 2 pass profile, WHILE the quality profile DON'T NEED and DON'T WANT the bitrate ... just a quality to achieve :)
thanks for your point! i happy to discuss and confront .. so i can make AutoMKV a simplier and "more comprensible" application :)
BHH
smoothOP
24th May 2007, 19:03
for audio trim.. the best would be to trim video input before feeding automkv... anyway i will try to found a solution :) (if any :o )Thank you for your hard work.i suggest this flow for usage
select your input, then the container, then the video codec, then the audio codec/bitrate, the width and disk settingsJust an idea: you can number the path to follow. You've got enough area and simply you can add some beautiful numbers to the GUI.
kikker
24th May 2007, 19:18
what bitrate i must use for "infinity" size ? 100 ? 1000? 10^6 ? or what ?
I NEED the bitrate in single or 2 pass profile, WHILE the quality profile DON'T NEED and DON'T WANT the bitrate ... just a quality to achieve :)
thanks for your point! i happy to discuss and confront .. so i can make AutoMKV a simplier and "more comprensible" application :)
BHH
OK, I have only begun to encode some short vids for a portable device. So, I NEED a baseline profile, and I don't know what size file I need to end up with. Sure, I could use a bitrate calculator, or just add the bitrate in the 'advanced settings'. This is all relatively simple. But, for those real first-timers, coming up with an appropriate file size is not a trivial thing. And, if nothing is entered there, the end result is a file that is way bigger than it needs to be to achieve a good result. People generally know which bitrate they need for a device, and so I think it may be better to have the bitrate setting in such cases not so hidden. :)
But, for me, everything is fine!
buzzqw
24th May 2007, 19:38
@smoothOP
Just an idea: you can number the path to follow.
:helpful: ... i will look.. i don't want AutoMKV look more messy than is now.. and now is already over... :p
@kikker
But, for those real first-timers, coming up with an appropriate file size is not a trivial thing.
i have fully understud.. but again is a matter of approach
while the first user want at last 1003 as bitrate because have ridden somewhere in some obscure guide that 1003 (no more no less) is the perfect bitrate (or use the 100% rule )... i suggest a different approach
start the sample with a QUALITY encoding, using the CRF profile!
Look at file size and x264 stats... these will provide enough information for starting a good encoding!
Also remember that first time user don't even know what is width, quality, quantitizer or resizers...
So the AutoResize fuction will compute the width using the disk settings: if users allow 2100 MB output automkv will probably goes for keep the full width, if users allow only 700 mb automkv will scale down to achive a respectable quality in this media size.
BHH
P.S. the 100% rule was born at with divx3 (low/fast motion... with the nandub!): bitrate = width*height/100
in this way the bitrate value is always an overkill... i suggest the w*h/250 for x264 and w*h/200 for xvid... but don't tell anyone of this brutal/antique/total broken approach :eek:
kikker
24th May 2007, 19:56
Hmmm..but you can't use that profile for either the PSP or iPod. I was speaking only when you need a baseline profile of some sort, where all the advanced features have been disabled. But, yeah, during normal encodes where processor, res, file size, etc aren't as critical, the placement of input fields is perfect!
P.S. I've heard that the square root of a change in resolution should be proportional to the change in bitrate, no doubt antique as well. :)
buzzqw
24th May 2007, 21:19
P.S. I've heard that the square root of a change in resolution should be proportional to the change in bitrate, no doubt antique as well.
don't reveal the antique words! :eek:
the truth is out of here! :devil
BHH:
TheRyuu
24th May 2007, 21:30
Even with nothing in the base.avs and no filters activated Xvid_encraw still seems to crash on me. I'll try the same thing on the 0.83x versions that I have to see if it still affects it.
Edit:
0.83b works fine with it.
I think it might have been some of the filter dll's I copied over. I'll try a fresh extract of AutoMKV without any thing added to any of the directories and get back to ya.
You right though, it's probably my messing around with AutoMKV, not AutoMKV itself :p
Edit2:
Well, don't know what fixed it but I guess it was me messing around with it.
Nevermind then.
Also, you should update the fft3dfilter in the filter directory with the latest one.
fft3dfilter (http://avisynth.org.ru/fft3dfilter/fft3dfilter.html)
Towards bottom of page, version 2.1.1, Feb. 2007, yours is from Dec. 2005 I think.
Nothing really changed though besides multi-threading support.
Seraphic-
25th May 2007, 00:58
Hi, I recently started experimenting with this program and found it to be really interesting. Have a few questions if someone could help me out. First would be: From reading over some guides and posts it seems the program is primarily used for DVD work, but is it also recommended for work using file to file? (say like uncompressed avi to x264/MKV) Also, how does it compare to something like MeGUI for file to file x264 encoding?
Last, was doing some testing and found to have some issues with audio/video. Is it possible for the program to use an audio track within the file as the video or does it need to be split? The audio is a "PCM 48000Hz stereo" but it comes back that the "audio wasn't encoded properly". There also seems to be programs with the video as it doesn't encode. It's a 24bit RGB 888 at 592x444 with 29fps. Was looking over "http://automkv.wiki-site.com/index.php/Help:Contents" but it doesn't really cover file to file.
Here is the test video/audio file I was using if anyone wanted to view it: Download (http://www.seraphicgate.com/test.rar) (51MB)
Any help would be great, thanks.
19:30:21 Unable to encode Audio, trying with DirectShowSource!
19:30:21 Unable to encode Audio, even with DirectShowSource!, trying with FFmpeg!
19:30:22 Unable to encode Audio even with DirectShowSource and FFmpeg!
19:30:25 Broken audio found. No one press abort. I will continue
19:30:25 Encoded 1' Audio Track: -1 bytes
19:30:25 Unable to encode Audio, even with DirectShowSource!, trying with FFmpeg!
19:30:26 Unable to encode Audio even with DirectShowSource and FFmpeg!
Using: ffdshow revision 1193
TheRyuu
25th May 2007, 05:53
Hi, I recently started experimenting with this program and found it to be really interesting. Have a few questions if someone could help me out. First would be: From reading over some guides and posts it seems the program is primarily used for DVD work, but is it also recommended for work using file to file? (say like uncompressed avi to x264/MKV) Also, how does it compare to something like MeGUI for file to file x264 encoding?
Last, was doing some testing and found to have some issues with audio/video. Is it possible for the program to use an audio track within the file as the video or does it need to be split? The audio is a "PCM 48000Hz stereo" but it comes back that the "audio wasn't encoded properly". There also seems to be programs with the video as it doesn't encode. It's a 24bit RGB 888 at 592x444 with 29fps. Was looking over "http://automkv.wiki-site.com/index.php/Help:Contents" but it doesn't really cover file to file.
Here is the test video/audio file I was using if anyone wanted to view it: Download (http://www.seraphicgate.com/test.rar) (51MB)
Any help would be great, thanks.
19:30:21 Unable to encode Audio, trying with DirectShowSource!
19:30:21 Unable to encode Audio, even with DirectShowSource!, trying with FFmpeg!
19:30:22 Unable to encode Audio even with DirectShowSource and FFmpeg!
19:30:25 Broken audio found. No one press abort. I will continue
19:30:25 Encoded 1' Audio Track: -1 bytes
19:30:25 Unable to encode Audio, even with DirectShowSource!, trying with FFmpeg!
19:30:26 Unable to encode Audio even with DirectShowSource and FFmpeg!
Using: ffdshow revision 1193
Go to ffdshow audio codec preferences:
codecs->Uncompressed->change to "all supported"
Same with ffdshow video codec.
Change codec "raw video" to "all supported".
Worked fine for me. Encoded the test file just fine. Even spiced it up with a few filters.
Test2.mkv (http://www.mytempdir.com/1337613)
Resized to 720x544 (640x480 would've been better for a "real" encode though), with filters:
undot()
hqdn3d()
dull=last
sharp=LimitedSharpenFaster(ss_x=2, ss_y=2, smode=4, strength=250, overshoot=1, undershoot=1)
Soothe(sharp, dull, 30)
Looks nice me thinks :p
buzzqw
25th May 2007, 07:27
@wizboy11
glad you have solved!
thanks for point me to updated fft3dfilter! (added in next full package)
@Seraphic-
i can confirm the suggestion by wizboy11 !
i successfully encoded your sample using the directshow filter
BHH
Seraphic-
25th May 2007, 09:13
Thanks for the reply to you both.
Changed both those settings and it seemed to work as the file has audio now. Although, it still said "audio wasn't encoded properly in the pop-up with the timer" (used nero aac, and have the neroAacEnc in besweet). I'll try some more tomorrow... as it's late.
buzzqw, if you get a chance, could you maybe reply to the first paragraph in my #2222 post (interested to know)? Also wizboy11, yeah I see you added a few filters. But wouldn't think it would need any as it's all lossless up to that point, has cropping but no resizing, and the capture settings/field alignment should be right on.
Have two other questions if you have a chance:
1) Could you share the full script you used or how you did the test encode? (just want to get a idea as to what I'm doing wrong)
2) Yes, the pre-crop video is 640x480 (4:3). The one I linked was post-crop at 592x444 as that is the planned size of my final video. Was there a necessary reason to resize or was it just preference?
(On a side note: I also plan to have a 16:9 version as well, which would be 852x480 pre-crop then around something like 788x444 post-crop. Although, I haven't had a chance to experiment with that too much as I need to find the right sharpen filter. As the video needs to be sharpened up just a little after/during the upscaling from 640x480/720x480 to 852x480)
buzzqw
25th May 2007, 10:16
From reading over some guides and posts it seems the program is primarily used for DVD work, but is it also recommended for work using file to file?
AutoMKV support a wide range of input files
1) all file supported by dgindex (so all mpeg2 file like vob/mpeg/svcd/vro ...)
2) specific support with projectX for TS files
3) basically all video file supported by DirectShowSource (so ... all you can see/view with windows media player)... is also possible to force use of directshowsource even for otherwise processed file (like mpeg files)
4) audio files... while is a near unknow feature.. AutoMKV could be feeded with audio file (as input) and transcode to other format
5) support for subtitles....
compare to something like MeGUI for file to file x264 encoding?
i don't want to do any comparison :) both are excellent applications
Last, was doing some testing and found to have some issues with audio/video. Is it possible for the program to use an audio track within the file as the video or does it need to be split?
when input file is an avi (or mkv/mp4... basically an mpeg4 files) the audio is directly taken from input file.
Using directshowsource the audio is processed and used to feed nero/lame/ogg... isn't possible to extract audio AND copy to new encoded file
The audio is a "PCM 48000Hz stereo" but it comes back that the "audio wasn't encoded properly".
as i said audio is processed by nicaudio (for dts/ac3/mp2/mp3 source file) or by directshowsource if audio is "inside" an avi.
in that case is neccessary have a directshow filter installed, and ffdshow is a good filter!
There also seems to be programs with the video as it doesn't encode.
same as before... install ffdshow and allow to decode this format (basically near all)
BHH
delacroixp
25th May 2007, 11:47
Hi. Its Pascals friend Andrew. Im a video editer and work with raw avi in Premiere 2.0. MKV I find to be a fantastic compression/quaility codec. I archive with mkv.I have a problem that I cant seem to solve:
A) I use it to archive used footage and find it a problem converting back to MS Raw DVI
B) I can do it in Premiere but problems do crop in and would like a know if there be a dedicated interface to do this conversion from mkv - MS raw avi or any form of raw avi
Thanks & do have a good weekend!
Prospero424
25th May 2007, 11:49
I'm having a problem with an MPEG2/ac3 transport stream not being handled by the x264 decoder.
I've never had a problem with these files before, and this format is primarily what I use AutoMKV to convert.
I've tried both versions .83 and .84b and also tried replacing the dgindex files as buzz suggested, but still had the same problem. The file does play in Media Player Classic properly. I'm hoping someone can help me out.
Log file:
20:01:07 0.82 - - - - - - - - - - - - - START JOBS - - - - - - - - - - - - - -
20:01:07 Selected Input file: C:\Temp\xxxxxxxx.tp
20:01:07 Selected Output dir: C:\Temp\High Def Conversion\temp\
20:01:07 Selected Final Name: xxxxxxxx
20:01:07 Selected Container type: MKV
20:01:07 Selected Encoder: X264
20:01:07 Selected Size: 1 DVD-R
20:01:07 Selected Slice: 1
20:01:07 Selected Profile: HighQuality-Insane.xml
20:01:07 Selected Width: 1280
20:01:07 Selected Resizer: LanczosResize
20:01:07 Selected Filters: RemoveGrain(mode=3)
20:01:07 Selected Deinterlacer: AUTO
20:01:07 Selected Field Order: AUTO
20:01:07 Enabled CRF/CQ AutoRes at 18 value
20:01:07 Track Language 1: PID 0014, Private AC3 Audio Stream 1
20:01:07 Audio Codec 1: Copy Original
20:01:07 Audio Quality 1: 0.35
20:01:07 Audio Channel 1:
20:01:07 Advanced Audio Settings DUMP Track 1
20:01:07 Nero Option Profiles: AUTO --- Encoding Mode: Quality
20:01:07 CCT Option Profiles: AUTO --- Channel Options: AUTO
20:01:07 Lame Settings: ABR
20:01:07 Audio Normalization: 1
20:01:07 Frequency: AUTO --- Tempo : NONE
20:01:07 Pitch: NONE --- Other Add :
20:01:07 Advanced Audio Settings DUMP Track 2
20:01:07 Nero Option Profiles: AUTO --- Encoding Mode: Quality
20:01:07 CCT Option Profiles: AUTO --- Channel Options: AUTO
20:01:07 Lame Settings: ABR
20:01:07 Audio Normalization: 1
20:01:07 Frequency: AUTO --- Tempo : NONE
20:01:07 Pitch: NONE --- Other Add :
20:01:07
20:01:07 Dgindex CMD: C:\Program Files\AutoMKV\exe\dgindex\dgindex.exe -FO=0 -OM=1 -AP=014 -VP=0011 -YR=2 -If=[C:\Temp\xxxxxxxx.tp] -OF=[C:\Temp\High Def Conversion\temp\movie] -exit -minimize
20:09:08 Starting fixing audio delay on track number 1
20:09:08 DelayCut CMD: C:\Program Files\AutoMKV\exe\dgindex\Delaycut.exe -auto -out "C:\Temp\High Def Conversion\temp\fixed1.ac3" "C:\Temp\High Def Conversion\temp\movie PID 014 T01 3_2ch 640Kbps DELAY 0ms.ac3"
20:10:40 Original 1' Audio Size: 472770560 bytes
20:10:40 Finished fixing audio delay
20:10:40 Renamed file fixed1.ac3 to audio.ac3
20:10:40 Encoded 1' Audio Track: 472770560 bytes
20:10:40 ForceFilm Detected: 100.000000% FILM found
20:10:44 Avi engage mode not corrected, switched to DirectShowSource
20:10:47 !!! BREAK - FILE NOT SUPPORTED !!! - Trying with MediaInfo!
20:10:49 Aspect ratio: 1.778
20:10:49 Number of Frames: 177116
20:10:49 Framerate: 29.970
20:10:49 Movie length in Seconds: 5910
20:10:49 Movie Width/Height: 1920/1080
20:10:49 DgIndex AR: 1.778
20:10:49 Number of Frames: 177116
20:10:49 Framerate: 29.970
20:10:49 Movie length in Seconds: 5910
20:10:49 Movie Width/Height: 1920/1080
20:10:49 DgIndex AR: 1.778
20:10:52 Starting X264 AutoResize with WIDTH of 1280 and wanted size of 4696571904 bytes
20:10:52 CRF encoding X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --crf 18 --stats "C:\Temp\High Def Conversion\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "C:\Temp\High Def Conversion\temp\resmovie.mp4" "C:\Temp\High Def Conversion\temp\resmovie.avs"
20:10:55 Tested total movie: 2%
20:10:55 AutoResize movie size: 0 bytes
20:10:55 Movie Width suggested: 0 value based on sample size (0.00% of original width)
20:10:55 Warning !!! - Too low resolution. Set witdh to 640
20:10:55 Starting X264
20:10:55 Command Line 1' Pass X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 5711 --stats "C:\Temp\High Def Conversion\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output NUL "C:\Temp\High Def Conversion\temp\movie.avs"
20:10:55 Command Line 2' Pass X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 5711 --stats "C:\Temp\High Def Conversion\temp\.stats" --progress --keyint 250 --bframes 3 --qpmin 10 --qpmax 51 --no-psnr --no-fast-pskip --mixed-refs --trellis 2 --ref 16 --filter -2,-1 --subme 6 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --weightb --b-pyramid --b-rdo --bime --analyse p8x8,b8x8,i4x4,i8x8,p4x4 --8x8dct --threads 3 --output "C:\Temp\High Def Conversion\temp\movie.mp4" "C:\Temp\High Def Conversion\temp\movie.avs"
20:10:58 Finished 1' Pass X264
20:11:02 BREAK ! FILE NOT SUPPORTED ! LAST TRY WITH FFMPEG!
20:11:02 Switched to FFmpeg for Video Encoding!
20:11:02 FFmpeg.exe String: "C:\Program Files\AutoMKV\exe\BeSweet\ffmpeg.exe" -i "C:\Temp\xxxxxxxx.tp" -vcodec h264 -bf 3 -b 5711000 -s 1280x704 -r 29.970 -passlogfile x264_2pass -pass 1 "C:\Temp\High Def Conversion\temp\movie.mp4"
20:11:02 FFmpeg.exe String: "C:\Program Files\AutoMKV\exe\BeSweet\ffmpeg.exe" -i "C:\Temp\xxxxxxxx.tp" -vcodec h264 -bf 3 -b 5711000 -s 1280x704 -r 29.970 -passlogfile x264_2pass -pass 2 "C:\Temp\High Def Conversion\temp\movie.mp4"
buzzqw
25th May 2007, 11:58
is movie.d2v present in \temp folder ?
try opening movie.avs in virtualdub ... any errors ?
BHH
EDIT: @delacroixp
in automkv load your file and then in advanced settings in ffmpeg output choose DV
Prospero424
25th May 2007, 12:55
is movie.d2v present in \temp folder ?
try opening movie.avs in virtualdub ... any errors ?
movie.d2v is present, and I get an "AVI Import Filter error: (Unknown) (80040154)" error in VirtualDub 1.7.2.
buzzqw
25th May 2007, 13:05
"AVI Import Filter error: (Unknown) (80040154)" error in VirtualDub 1.7.2.
:eek:
have you update some video codec ?
try reinstalling xvid (maybe is a yv12 decoder problem) and/or avisynth 2.57
BHH
TheRyuu
25th May 2007, 13:17
Thanks for the reply to you both.
Changed both those settings and it seemed to work as the file has audio now. Although, it still said "audio wasn't encoded properly in the pop-up with the timer" (used nero aac, and have the neroAacEnc in besweet). I'll try some more tomorrow... as it's late.
buzzqw, if you get a chance, could you maybe reply to the first paragraph in my #2222 post (interested to know)? Also wizboy11, yeah I see you added a few filters. But wouldn't think it would need any as it's all lossless up to that point, has cropping but no resizing, and the capture settings/field alignment should be right on.
Have two other questions if you have a chance:
1) Could you share the full script you used or how you did the test encode? (just want to get a idea as to what I'm doing wrong)
2) Yes, the pre-crop video is 640x480 (4:3). The one I linked was post-crop at 592x444 as that is the planned size of my final video. Was there a necessary reason to resize or was it just preference?
(On a side note: I also plan to have a 16:9 version as well, which would be 852x480 pre-crop then around something like 788x444 post-crop. Although, I haven't had a chance to experiment with that too much as I need to find the right sharpen filter. As the video needs to be sharpened up just a little after/during the upscaling from 640x480/720x480 to 852x480)
I don't want to make things too complicated for ya but I'll post it.
First off, even if the capture is lossless, you'll be surprised at how much noise and other sh!t can get into videos, even DVD's (hell, even HD-DVD/Blu-ray). Pretty much everything needs some sort of noise reduction, and sharpening is just extra. And sharpening also increase the bitrate needed so keep that in mind.
640x480 is just "preferred" by me I guess since it is pretty much the standard and I wouldn't want my TV doing any upsizing to degrade the quality of the video (my stuff would've been played on XBMC on a standard SD TV). So I want to keep as much video info as possible. Once it's gone you can't get it back. :)
First off Copy and paste into text file:
function Soothe(clip sharp, clip orig, int "keep")
{
Assert(sharp.width == orig.width && sharp.height == orig.height,
\ "Soothe: clip dimentions must match!")
keep = default(keep, 24)
keep = (keep>100) ? 100 : (keep<0) ? 0 : keep
KP = string(keep)
diff = mt_makediff(orig,sharp)
diff2 = diff.temporalsoften(1,255,0,32,2)
diff3 = mt_lutxy(diff,diff2, "x 128 - y 128 - * 0 < x 128 - 100 / " + KP
\ + " * 128 + x 128 - abs y 128 - abs > x " + KP
\ + " * y 100 " + KP + " - * + 100 / x ? ?")
return( mt_makediff(orig,diff3,chroma="copy first") )
}
Save as "Soothe.avsi" and place in automkv->exe->filter.
Second, open base.avs in same place, under #test5 you can do something like:
undot()
hqdn3d()
dull=last
sharp=LimitedSharpenFaster(ss_x=2, ss_y=2, smode=4, strength=250, overshoot=1, undershoot=1)
Soothe(sharp, dull, 30)
Lower the strength value to ~200 if your not gonna resize it. Pretty much, in general, you'll need a larger strength if you upsize it more. Like for the 720x444 thing, the script should be fine, just tweak (or change out totally if you want the denoisers and you can also, if you like, tweak the strength and whatever else you want. Basically, it's a starting point. Lower strength when downsizing. This is just an example. If you want less noise reduction try hqdn3d(2) instead. Your job is to tweak all the parameters. Also you can try something like this too:
a= last
b=a.hqdn3d()
SeeSaw(a,b, NRlimit=3, NRlimit2=4, Sstr=1.5, Slimit=5, Spower=5, Sdamplo=6, Szp=16)
Thats the standard SeeSaw code posted in the SeeSaw thread (http://forum.doom9.org/showthread.php?t=104701).
Same thing goes here, you tweak the parameters to the movie. I'll help ya but general it would be a bad idea to hold your hand :p. (seesaw should run without needing to add anything to filters directory).
Prospero424
25th May 2007, 15:28
:eek:
try reinstalling xvid (maybe is a yv12 decoder problem) and/or avisynth 2.57
That fixed it! Weird.
Thanks again for everything you do here.
buzzqw
25th May 2007, 15:39
Thanks again for everything you do here.
it's my pleasure! :goodpost: :)
BHH
smoothOP
25th May 2007, 23:19
Hi,
Two more questions:
1. Which filter should I use for better quality- LanczosResize or LanzosPlus?
2. Why the outputed movie is resized to 720x544? I expected 720x540. I only use "Set Width Resolution" to 720 and no manual resize.
Will I have to go for the manual resizing option and set it to be 720x540 or do I have to leave it to 720x544?
Regards.
TheRyuu
25th May 2007, 23:53
Hi,
Two more questions:
1. Which filter should I use for better quality- LanczosResize or LanzosPlus?
2. Why the outputed movie is resized to 720x544? I expected 720x540. I only use "Set Width Resolution" to 720 and no manual resize.
Will I have to go for the manual resizing option and set it to be 720x540 or do I have to leave it to 720x544?
Regards.
Answers a little backward here. :D
2.) I believe it is to maintain MOD 4/8 for compressibility or something like that. 720x544 is close enough, the change is aspect ratio is very, very minor with one 4 extra pixels.
1.) Never tried LanczosPlus. Try it and see if you like it, compare it to LanczosResize/Spline36.
I always use Spline36Resize because of the "supposedly" reduced amount of ringing, although both are "tap" resizers and ringing is just another part of that.
Edit:
BTW, there is a huge thread on Spline vs Lanczos.
Lanczos vs Spline (http://forum.doom9.org/showthread.php?t=112594)
Also, somewhere in that thread is a link to "newfilters.dll". I believe foxyshadis made it.
With that you could try spline64resize (basically spline36 just with 4 taps instead of 3.
Or how about "BlackmanResize" :D. Or basically Lanczos4Resize with reduced ringing.
I still stand be spline though.
buzzqw
26th May 2007, 06:54
1. Which filter should I use for better quality- LanczosResize or LanzosPlus?
Attention LanczosPlus is to use only for Upscaling not for downscaling!
if used to downscale automkv will force use of lanczos4resize (in next update will be Spline36Resize)
2. Why the outputed movie is resized to 720x544? I expected 720x540. I only use "Set Width Resolution" to 720 and no manual resize.
maybe you source file isn't a pure 4/3 film?
i suggest to select (if you want only crop the back bars) to select AutoCrop Only
@wizboy11
i am already testing the new resize with avysinth 2.58... but i will not introduce it till is declared stable
BHH
delacroixp
26th May 2007, 08:48
@wizboy11
i am already testing the new resize with avysinth 2.58... but i will not introduce it till is declared stable
Awesome...
I'm encoding a 7-DVD series on 'Creation Science Evangelism' onto 1 DVD... Q22 works fine but I thought I'ld push for Q21.
I'ts a slow-moving lecture series at 29.97 fps which should show no ill effects from a 25 fps conversion.
AutoMKV has a few conversion options (CcnvertFPS, ChangeFPS...)
Which would work best for me... (I did check the wiki but it doesn't seam to include the 0.84 Advanced Profiles Editing).
:):D:eek:
Pascal
buzzqw
26th May 2007, 10:25
first of all i not an expert at all of framerate conversion ...
but changefps and covertfps should do the trick in easy way
... could be aso recommed to ask help in avisynth usage forum
BHH
delacroixp
26th May 2007, 10:47
changefps and covertfps should do the trick in easy way
... could be aso recommed to ask help in avisynth usage forum
OK... thanks, much appreciated... and will do...
:):D:eek:
pascal
pdanpdan
26th May 2007, 12:23
Hello. I try to encode some DVD's and I only want the blackbars cropped, so that I can set aspect ratio in mkv and have the image displayed as it should. But the "Crop Only" option automatically adds a resize to 720 in the end of the script. Is there a way not to resize at all.
Also, if I check the "Anamorphic encode" then the final mkv is the wrong aspect ratio (is very tall)
buzzqw
26th May 2007, 13:08
@delacroixp
from avisynth manual
ChangeFPS changes the frame rate by deleting or duplicating frames.
The AssumeFPS filter changes the frame rate without changing the frame count (causing the video to play faster or slower). It only sets the framerate-parameter
ConvertFPS: the filter attempts to convert the frame rate of clip to new_rate without dropping or inserting frames, providing a smooth conversion with results similar to those of standalone converter boxes. The output will have (almost) the same duration as clip, but the number of frames will change proportional to the ratio of target and source frame rates.
also.. pay attention to audio.. maybe you must use the advanced audio fuction, expecially the Tempo.
your formula for 29.97 to 25 should be this (100.0*30.0*1001.0)/25000.0
@pdanpdan
But the "Crop Only" option automatically adds a resize to 720 in the end of the script
the resize is used to maintain the aspect ratio
if you don't want any at all resizer you must use the manual crop fuction (setting all values, but width/height... leave 720*576) AND set in main panel NONE as resizer
about anamorphic: as a previusly said the fuction is under testing and not supported (and btw when using anamorphic encode ... the actors are very tall always)
BHH
delacroixp
27th May 2007, 11:16
Zoom, VLC and MPC player can't find the 'SegmentInfo' (see post (http://forum.doom9.org/showthread.php?p=1007955#post1007955)).
I'm going to try a 2-pass based on a 10% decrease on the 21-CQ-CRF encode...
:):D:eek:
Pascal
/************************** EDIT *****************************
/* I ran out of disk space... incredible... 30 MB from a complete mux...
/* I re-ran the mux.bat and all is well... though the video does 'feel' a bit odd...
/************************************************************
smoothOP
27th May 2007, 14:10
@wizboy11:
@buzzqw:
Thank you guys I'll stick with Spline36Resize filter for resizing.
buzzqw
27th May 2007, 17:41
@delacroixp
never seen this error .. could you post a sample ?
BHH
P.S. finally added AR error in preview panel!
vorob
27th May 2007, 21:41
Here you can see content of DVD disk.
http://img91.imageshack.us/img91/8952/untitledsh6.th.jpg (http://img91.imageshack.us/img91/8952/untitledsh6.jpg)
Numbers are for absolutely different video files on this dvd, which you can choose in menu. I would like you encode all of them one by one. But when I open VTS_04_0.IFO for some strange reason it opens VTS_05_0.IFO and encode only this file. Not the first one. Also if I open VTS_06_0.IFO it still opens VTS_05_0.IFO. Why? What should I do?
Here is photos. Step by step:
Opening
http://img242.imageshack.us/img242/8650/60443658hl6.th.jpg (http://img242.imageshack.us/img242/8650/60443658hl6.jpg)
And the result
http://img242.imageshack.us/img242/5701/29923744gd5.th.jpg (http://img242.imageshack.us/img242/5701/29923744gd5.jpg)
Seraphic-
28th May 2007, 02:08
I don't want to make things too complicated for ya but I'll post it.
First off, even if the capture is lossless, you'll be surprised at how much noise and other sh!t can get into videos, even DVD's (hell, even HD-DVD/Blu-ray). Pretty much everything needs some sort of noise reduction, and sharpening is just extra. And sharpening also increase the bitrate needed so keep that in mind.
640x480 is just "preferred" by me I guess since it is pretty much the standard and I wouldn't want my TV doing any upsizing to degrade the quality of the video (my stuff would've been played on XBMC on a standard SD TV). So I want to keep as much video info as possible. Once it's gone you can't get it back. :)
First off Copy and paste into text file:
function Soothe(clip sharp, clip orig, int "keep")
{
Assert(sharp.width == orig.width && sharp.height == orig.height,
\ "Soothe: clip dimentions must match!")
keep = default(keep, 24)
keep = (keep>100) ? 100 : (keep<0) ? 0 : keep
KP = string(keep)
diff = mt_makediff(orig,sharp)
diff2 = diff.temporalsoften(1,255,0,32,2)
diff3 = mt_lutxy(diff,diff2, "x 128 - y 128 - * 0 < x 128 - 100 / " + KP
\ + " * 128 + x 128 - abs y 128 - abs > x " + KP
\ + " * y 100 " + KP + " - * + 100 / x ? ?")
return( mt_makediff(orig,diff3,chroma="copy first") )
}
Save as "Soothe.avsi" and place in automkv->exe->filter.
Second, open base.avs in same place, under #test5 you can do something like:
undot()
hqdn3d()
dull=last
sharp=LimitedSharpenFaster(ss_x=2, ss_y=2, smode=4, strength=250, overshoot=1, undershoot=1)
Soothe(sharp, dull, 30)
Lower the strength value to ~200 if your not gonna resize it. Pretty much, in general, you'll need a larger strength if you upsize it more. Like for the 720x444 thing, the script should be fine, just tweak (or change out totally if you want the denoisers and you can also, if you like, tweak the strength and whatever else you want. Basically, it's a starting point. Lower strength when downsizing. This is just an example. If you want less noise reduction try hqdn3d(2) instead. Your job is to tweak all the parameters. Also you can try something like this too:
a= last
b=a.hqdn3d()
SeeSaw(a,b, NRlimit=3, NRlimit2=4, Sstr=1.5, Slimit=5, Spower=5, Sdamplo=6, Szp=16)
Thats the standard SeeSaw code posted in the SeeSaw thread (http://forum.doom9.org/showthread.php?t=104701).
Same thing goes here, you tweak the parameters to the movie. I'll help ya but general it would be a bad idea to hold your hand :p. (seesaw should run without needing to add anything to filters directory).
I appreciate your help and I'm not trying to ask you to hold my hand. Just trying to get the hang of this. Plan to make a more detailed reply to both you and buzzqw, but for now, I've pretty much got the filters working with VirtualDub (thought it would be better to use AutoMKV just for the final encode).
However, wanted to know if you could tell me what I'm missing as "LimitedSharpenFaster" comes back as no function. I thought adding the import of "LimitedSharpenFaster.avsi" would fix it but it doesn't seem to help. Is there a declared .dll needed? Also, can seesaw and LSF be used together? From the looks of this post (http://forum.doom9.org/showpost.php?p=995838&postcount=604) they can but I wasn't sure.
This is what I came up with:
avisource("C:\Documents and Settings\Desktop\test3.avi")
LoadPlugin("C:\Documents and Settings\Desktop\VirtualDub\plugins\EEDI2.dll")
LoadPlugin("C:\Documents and Settings\Desktop\VirtualDub\Avisynth Scripts\SeeSawSharpen\MaskTools-v1.5.8\MaskTools.dll")
LoadPlugin("C:\Documents and Settings\Desktop\AutoMKV 0.84b\exe\Filter\hqdn3d.dll")
LoadPlugin("C:\Documents and Settings\Desktop\AutoMKV 0.84b\exe\Filter\RemoveGrainS.dll")
LoadPlugin("C:\Documents and Settings\Desktop\AutoMKV 0.84b\exe\Filter\RepairS.dll")
LoadPlugin("C:\Documents and Settings\Desktop\AutoMKV 0.84b\exe\Filter\UnDot.dll")
import("C:\Documents and Settings\Desktop\VirtualDub\Avisynth Scripts\SeeSawSharpen\SeeSaw.avs")
import("C:\Documents and Settings\Desktop\VirtualDub\Avisynth Scripts\SeeSawSharpen\Soothe.avsi")
import("C:\Documents and Settings\Desktop\VirtualDub\Avisynth Scripts\SeeSawSharpen\Base.avs")
import("C:\Documents and Settings\Desktop\AutoMKV 0.84b\exe\Filter\LimitedSharpenFaster.avsi")
# Not sure if needed
a= last
b=a.hqdn3d()
SeeSaw(a,b, NRlimit=3, NRlimit2=4, Sstr=1.5, Slimit=5, Spower=5, Sdamplo=6, Szp=16)
EEDI2().TurnRight().EEDI2().TurnLeft()
Spline36Resize(852,480)
buzzqw
28th May 2007, 07:22
@vorob
this is a normal behavior of automkv
when selecting a ifo file, automkv will look in this folder for a bigger file and then select this ifo.
This is done because the main film has usually the biggest ifo
If you want to select a specific ifo you must , in order, open automkv, go in advanced settings and check Use this IFO, then in main panel select your ifo
other solution is to put every group of vts is a specific folders
BHH
vorob
28th May 2007, 10:37
No it is not working. It opened first file, but when I’ve opened preview I saw only first part of this file only VTS_04_1.VOB. Also when I’ve started encoding, I received this
http://img148.imageshack.us/img148/6119/untitledcp6.th.jpg (http://img148.imageshack.us/img148/6119/untitledcp6.jpg)
Same happens when I put all files from video 1 in different folder. Opens only first part and I receive this error. By the way, AutoGK opens and encode exactly what I ask, but you understand that Xvid is a bad thing :)))
buzzqw
28th May 2007, 12:11
this message have nothing to do with automkv
this message is given by dgindex
i suggest to look at dgindex manual for fixing these transitions then use the corrected dv2 file as input for automkv
BHH
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.