Log in

View Full Version : AutoMKV 0.93a - (DVD/TS/AVI/AVS to X264/XviD/WVC1 into MKV/MP4/WMV) update 30/12/2007


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92

buzzqw
9th February 2007, 21:22
fixed the typos... and not... i don't write it (second pass).. good suggestion !

BHH

SeeMoreDigital
9th February 2007, 21:41
I don't seem to be able to create MP4 encodes with CT 6Ch AAC-HE audio... Although CT 6Ch AAC-LC works perfectly (and sounds very good indeed at 192Kbps)...

Nothing of any significance seems to stand out in the log....


Cheers

Konstantin_by
9th February 2007, 21:42
Hello. I have 2 question.
1: Can I use AutoMkV on 64x system?
2: Why when I create film with 1 audio track, AutoMKV encode the same track 2 times? (I choose coding tech AAC) If i choose 2 tracks AutoMKC encode them 2 times each.

DDogg
9th February 2007, 23:24
Buzz, very nice. A lot of usable new features to play with. The load configuration is a time saver. Greatly appreciated!

Minor issues:

1> When configuration with manual cropping and resizing is loaded, "Set width resolution" in basic settings tab is not greyed out.

2> The profile being used when the configuration is saved is not included in the saved ini file. For instance, my DV configuration includes a modified "CQ-ASP_Q2_eq(crf) for DV.xml" profile. If possible, it would be good to have this load with the DV.ini config. This is a workaround, to some degree, as tedious modifications made in the advanced profile editor are not saved. One, or the other would be helpful, but I think just loading the profile in use at the time the config file is created would be the easiest and best way to go. Thoughts?

3> Tracing down an odd mux issue with DV input, 264/Nero stereo, MKV encodes. Lot of stuttering in audio and "fast forward" jumping in the video. The problem may be on my end. Will find out and let you know. You could try that DV source I sent you and see if you see anything.

Terrific job! Don't burn yourself out. You are a treasure we don't want to lose :)

dyne
9th February 2007, 23:34
Im having another problem

After the deinterlacer runs, the xvid_encraw cmd window pops up
and gets to "Avisynth detected" in a about a quarter of a second, closes, opens up again, closes, etc..

So I currently have the cmd window popping up every second and closing

edit:
and there's also a problem with it my computer freezing for 20-30 seconds at a time after auomkv starts running. It persists and eventually locks up the computer completely (this didn't happen with .72b, and I dont think it's a hardware problem)

Both issues occur with either the .74 or .74a version

buzzqw
10th February 2007, 00:53
@SeeMoreDigital

got it also... seems that isn't needed to pass --high to encoder... for multichannel the default is (within audio encoder) the HE-AAC. In automkv the LC-AAC is used only if bitrate is over 128 or if specified...

in other word:
if multichannel -> HE-AAC till 128 -> LC-AAC

@DDogg
i will look at the issues :) thanks !

@Konstantin_by
i hope yes... i don't have a 64bit OS... but please refere any problem
about audio ... fixed in 0.74!

@dyne
After the deinterlacer runs, the xvid_encraw cmd window pops up
and gets to "Avisynth detected" in a about a quarter of a second, closes, opens up again, closes, etc..
So I currently have the cmd window popping up every second and closing
:confused:

try opening the movie.avs or resmovie.avs in virtualdub, got any error ?
also, try manually launch the .bat of the encoder (from dos box), any message ?

about the freezing... what are you pc specs (cpu/ram/OS/video card...)?

ALSO: ANY OTHER GOT FREEZING ????

BHH

DarkNite
10th February 2007, 01:58
No freezing here, not even on my Vista Ultimate box.

dyne
10th February 2007, 07:43
@dyne

:confused:

try opening the movie.avs or resmovie.avs in virtualdub, got any error ?
also, try manually launch the .bat of the encoder (from dos box), any message ?

about the freezing... what are you pc specs (cpu/ram/OS/video card...)?

ALSO: ANY OTHER GOT FREEZING ????

BHH

There isn't a movie.avs file. If I try to open resmovie.avs, I get the following error:

Avisynth open failure:
TFM: Illegal transistions found in dvd2avi project file!
Please use the fixed version that has been created in the same directory as the original d2v file

specs: Windows XP pro
A64 3200+
1gb ram
Geforce 6150 integrated video

edit: it must just be that particular movie. I tried it 3 times and got the same bad result, but I'm trying another movie now and it seems fine

Schotenhüter
10th February 2007, 12:16
@buzzqw

now it functions marvelously,many thx.

SeeMoreDigital
10th February 2007, 14:21
@SeeMoreDigital

got it also... seems that isn't needed to pass --high to encoder... for multichannel the default is (within audio encoder) the HE-AAC. In automkv the LC-AAC is used only if bitrate is over 128 or if specified...

in other word:
if multichannel -> HE-AAC till 128 -> LC-AACIndeed...

Using BeLight I carried out some tests with CT's AAC encoder, and some 2Ch and 6Ch AC3 sources at 48.00KHz. Here is what I found: -

2Ch AAC-HE PS has a range from 16 to 48Kbps
2Ch AAC-HE has a range from 16 to 128Kbps
2Ch AAC-HE High has a range from 129 to 256Kbps
2Ch AAC-LC has a range from 96 to 256Kbps

6Ch AAC-HE has a range from 96 to 224Kbps
6Ch AAC-LC has a range from 160 to 256Kbps


Cheers

buzzqw
10th February 2007, 15:02
UPDATE ! 0.74c

www.64k.it/andres/data/a/AutoMKV074c.exe

ADDED: First or Second pass is now displayed in status list (thanks to BleedingGums) ANYONE FEEL FREE TO SUGGEST OTHER MESSAGE TO DISPLAY !!!
ADDED: Information table from SMD (the ? button in advanced audio setting)
FIXED: Some typos.. (thanks to BleedingGums)
FIXED: When configuration with manual cropping and resizing is loaded, "Set width resolution" in basic settings tab is now greyed out. (thanks to DDogg)
FIXED: The profile being used when the configuration is saved is now included in the saved ini file. (thanks to DDogg)

@SeeMoreDigital
thanks a lot !

BHH

Unrealbr
10th February 2007, 17:49
@buzzqw
The subs will be encoded as HARDSUB ou SOFTSUB?
t/y, your job on improving Automkv is magnificent!!

buzzqw
10th February 2007, 18:47
will be only muxed (in mkv or mp4, ignored in avi)

BHH

Unrealbr
10th February 2007, 19:32
will be only muxed (in mkv or mp4, ignored in avi)

BHH

Well, then lets make a suggestion.
Maybe for the next release an option to set the sub to me muxed or hardcoded.
:D

Huerta
10th February 2007, 21:19
The subs wouldn't even show up in mine. I checked the log and it said that the size of the subs was -1kb. So I opened up VStrip manually and checked to see if I could do it from there but it said it couldn't open up the Vob Sequence. I think I figured out why and I also found a solution.

I think the problem was when I decrypted the episodes. I just got those new DBZ remastered DVD's from funimation, and there were 39 episodes split up into 6 disks. Originally in each disk all the anime episodes I had didn't show up as seperate episodes but as one super long movie with 54 chapters. So each episode had 7 chapters and there were a couple of useless chapters at the end. So I decrypted 5 chapters for each episode(I excluded the opening and ending) into their own directory and I think by doing that it messed up the subs in some way where VSrip couldn't rip them.

The solution I used was to use Subrip and make your own srt file and then just load it up externally in AutoMKV when encoding. It's a little extra legwork but it was worth it.

Just thought I should bring this up incase anyone should ever have this problem. If you have any other suggestions on how to fix my sub problem that would be great.

Other than that this is a really excellent program you have here.

dalihrp
11th February 2007, 13:50
How about add an option to set min or max width for encoded movie.
or is this already available?

and what equal setting on automkv, for 1 pass target quality percentage like you find in autogk?

buzzqw
11th February 2007, 14:56
How about add an option to set min or max width for encoded movie.
or is this already available?

no, isn't avaiable, i will use the autoresize to determine the better with.

and what equal setting on automkv, for 1 pass target quality percentage like you find in autogk?

choose whatever profile you want (for x264 or xvid), this is needed to set the varius encoder 's parameters. In advanced setting check Specify Quality and select your value :)

BHH

fleon
11th February 2007, 16:58
Hi people, I am planning encoding Sin City(personal owned, for personal use) on the x264 video format, so what settings do you guys recommend me for this movie?

buzzqw
11th February 2007, 17:24
well.. sincity isn't a easy film to encode, my first approach would be a 2 cd, audio original , x264 ce-mainprofile, width auto encode, Deen("c3d",0,6,7,3) filter

or for for 1 cd, audio cct aac 96 (or ogg 2.5), ce-mainprofile, width auto, QMLF2_4_motions filter

try yourself, every movie has is own encoding story!

BHH

travisbell
11th February 2007, 19:48
Hey buzzqw,

Whenever I try and start an encode with the latest version now, it just rips through all the steps but doesn't actually encode anything...

Here is my log file..

http://consumeroo.com/files/serenity.1080i.dd51.oar.renderman.ts.log

Any idea?

buzzqw
11th February 2007, 20:43
yes ! two ideas !

first: it's your fault... sorry, you used "All audio tracks" but not checked "use projectx" (and dgindex isn't able to demux all tracks is ts files)
second: i had fixed. now dgindex try to dgindex all the possible !

www.64k.it/andres/data/a/AutoMKV074d.exe

changelog

FIXED: On ts files , selecting "All audio tracks" and not checking projectx , dgindex will try its best :) (thanks to travisbell)

BHH

fleon
12th February 2007, 01:38
Hey buzzqw,
I am gonna encode like you told me 2 cd, audio original , x264 ce-mainprofile, width auto encode, Deen("c3d",0,6,7,3) filter

But I have a question, by saying auto encode, you mean the width resolution or what? and the movie seems to be widescreen so the software detect that and choose the best resolution?

travisbell
12th February 2007, 02:41
first: it's your fault... sorry, you used "All audio tracks" but not checked "use projectx" (and dgindex isn't able to demux all tracks is ts files)

Interesting... I don't even see an option for "All audio tracks". The only thing I have done is chose "Original" on Track 1...

One more thing I have noticed in the latest builds is when I load up my .ts files it takes a good 2-3 minutes to "Verify" the source... why did you change this from the old method? Just curious is all...

Thanks man!

cosmos
12th February 2007, 07:15
well.. sincity isn't a easy film to encode, my first approach would be a 2 cd, audio original , x264 ce-mainprofile, width auto encode, Deen("c3d",0,6,7,3) filter
Hey there mate :) Just wondering: how come you don't recommend one of the HQ-Slow/HQ-Slower profiles?

sunflash10
12th February 2007, 07:57
Ever since .74 came out I haven't been able to encode dvds properly. It all seems to work fine up until the x264 encoder runs. It is open for about a second, closes, then opens again for the second pass and then closes immediately once again. Then it "completes" the process. Part of the log file is attached.
Thanks

buzzqw
12th February 2007, 08:26
how come you don't recommend one of the HQ-Slow/HQ-Slower profiles

hq-slower isn't worth the time. Make an encode with ce-mainprofile and hq-slower/insane.

Look at encoding time and quality gained. for me isn't worth all that time. Maybe hq-slow... but... just for 1 cd encoding not for 2 cd

@sunflash10

mmm... i had understud... is due to the new dgindex/tivtc... must be downgraded to dgmpgdec149b12.zip (http://www.64k.it/andres/data/d/dgmpgdec149b12.zip)
download the b12, unzip, put the dgindex.exe/dgdecode.dll into \exe\dgindex folder and copy dgdecode.dll into \exe\filter

BHH

jeffy
12th February 2007, 10:57
One more thing I have noticed in the latest builds is when I load up my .ts files it takes a good 2-3 minutes to "Verify" the source... why did you change this from the old method? Just curious is all...

Thanks man!

BHH, I have been having the same problems for MPEG files too, since the version labeled 0.74. They used to be loaded immediately. Can you comment please?

buzzqw
12th February 2007, 13:18
@jeffy and @travisbell

ops... got it !
was due to the modify of "no pop-up" for bbsummary , previusly i will check the first 10000 frames... now, erroneusly check all frames...

fixed ! www.64k.it/andres/data/a/AutoMKV074e.exe

thanks !!

BHH

papsi
12th February 2007, 14:16
I tried the newest version and I'm pleased. The new features like the status bar and the percentage-style ripping are good, and I'm planning to experiment a little with this feature in the future.

3 notices:
1) When I rip a movie with AutoMKV, AutoMKV - or one of the other programs AutoMKV uses - creates a file named "Program" (without extension) in root of drive C. When I restart the system, Windows or my firewall or my antivirus software always warn me that it's not recommended to have a file with this name in C:\ and renames the file to Program~1. I think that one of the programs AutoMKV uses is at fault. BTW I noticed this issue in all version of AutoMKV.

2) I see that many users apply 2 or more filters to their movies, not just one (for example: first remove the grain then apply some sharpening). Are you planning to add this feature in the future?

3) The source on one of my films is pretty blurry. Which filter do you recommend? Their are planty of smoothener filters, grain removers, but I don't see sharpeners in the list (or just can't notice them). SeeSaw() would be a good options, but as I read, this filter is used to intensify the details on already nice, clean and sharp sources. My source is blurry but not grainy, so which filter can you recommend? I tried to apply a sharp resize filter (bicubicResize), but it's obviously not enough. Also it would be great to add a short explanation of the filters in one place (or just add links).

Once again, thanx for the new version! :)

gekan
12th February 2007, 15:13
I agree with papsi.

I've been having the same problem he describes in #1 but I hadn't connected it with AutoMVK.

Also, I agree about the filters. Adding more than one without have to edit the script is surely welcome, like a short description on what they do.

Thanks again for the great application! :)

buzzqw
12th February 2007, 15:19
When I rip a movie with AutoMKV, AutoMKV - or one of the other programs AutoMKV uses - creates a file named "Program"

that's strange. you are the only one with this problem. i don't know why... but open the file "program" with notepad (or mail me it) . What's written inside ?

I see that many users apply 2 or more filters to their movies, not just one (for example: first remove the grain then apply some sharpening). Are you planning to add this feature in the future?

is already possible :)
in filter just write (example) Deen().Undot().Spresso()
in this why you will apply deen , then undot then spresso.

or use in Advanced setting Last line avs to write what you want

My source is blurry but not grainy,
in filter you can write what you want, remember.
Remember that is also needed to load the plugin, and to do this simply put the dll into \exe\filter folder and then relaunch automkv

What filter to use? ... try removegrain(mode=25)

BHH

gekan
12th February 2007, 15:46
This is what my "Program" file contains:

Opening IFO file E:\Media\VTS_01_0.IFO OK.

Video:
Compression : MPEG-2
TV system : PAL 625/50 Hz
Aspect ratio: 4:3
Display Mode: not specified
Source Res : 720x576
Letterboxed : no
Mode : Camera

Audio:
0. English (AC3 2ch, 0xBD 0x80)

SubPicture:
0. Greek (0xBD 0x20)

Program Chain(s):
Using PGC #0/1. Length: 01:09:45:00 in 14 cell(s).
000. VOB-ID: 01/CELL-ID: 01 - Len: 00:16:34:56 - TS: 00:00:00:00
001. VOB-ID: 01/CELL-ID: 02 - Len: 00:04:35:04 - TS: 00:16:34:56
002. VOB-ID: 01/CELL-ID: 03 - Len: 00:01:04:80 - TS: 00:21:09:60
003. VOB-ID: 01/CELL-ID: 04 - Len: 00:02:34:08 - TS: 00:22:14:40
004. VOB-ID: 01/CELL-ID: 05 - Len: 00:03:32:64 - TS: 00:24:48:48
005. VOB-ID: 01/CELL-ID: 06 - Len: 00:00:57:12 - TS: 00:28:21:12
006. VOB-ID: 01/CELL-ID: 07 - Len: 00:05:21:12 - TS: 00:29:18:24
007. VOB-ID: 01/CELL-ID: 08 - Len: 00:02:56:16 - TS: 00:34:39:36
008. VOB-ID: 01/CELL-ID: 09 - Len: 00:02:58:08 - TS: 00:37:35:52
009. VOB-ID: 01/CELL-ID: 10 - Len: 00:08:02:40 - TS: 00:40:33:60
010. VOB-ID: 01/CELL-ID: 11 - Len: 00:01:57:12 - TS: 00:48:36:00
011. VOB-ID: 01/CELL-ID: 12 - Len: 00:08:25:92 - TS: 00:50:33:12
012. VOB-ID: 01/CELL-ID: 13 - Len: 00:08:34:08 - TS: 00:58:59:04
013. VOB-ID: 01/CELL-ID: 14 - Len: 00:02:11:88 - TS: 01:07:33:12

Cells links :
000 -> 001 -> 002 -> 003 -> 004 -> 005 -> 006 -> 007 -> 008 -> 009 ->
010 -> 011 -> 012 -> 013

Total film length : 01:09:45:00

Chapter 1 = 00:00:00:00
Chapter 2 = 00:16:34:56
Chapter 3 = 00:21:09:60
Chapter 4 = 00:22:14:40
Chapter 5 = 00:24:48:48
Chapter 6 = 00:28:21:12
Chapter 7 = 00:29:18:24
Chapter 8 = 00:34:39:36
Chapter 9 = 00:37:35:52
Chapter 10 = 00:40:33:60
Chapter 11 = 00:48:36:00
Chapter 12 = 00:50:33:12
Chapter 13 = 00:58:59:04
Chapter 14 = 01:07:33:12

dyne
12th February 2007, 23:11
that's strange. you are the only one with this problem. i don't know why... but open the file "program" with notepad (or mail me it) . What's written inside ?


BHH

I actually have had that file show up, too. Its contents are pretty close to what gekan posted

sunflash10
12th February 2007, 23:18
mmm... i had understud... is due to the new dgindex/tivtc... must be downgraded to dgmpgdec149b12.zip
download the b12, unzip, put the dgindex.exe/dgdecode.dll into \exe\dgindex folder and copy dgdecode.dll into \exe\filter

That fixed the encoding problem like a charm.

The finished mkv file is messed up though. Both the subtitles and the audio are about 2 seconds ahead of the video. The log file is attached.

papsi
13th February 2007, 00:46
Yes gekan, that's it. But strange enough, I couldn't recreate this file when I actually want it...

To buzzqv:
You see, I didn't even realized that the filter text box is editable. Thanx!

HeadBangeR77
13th February 2007, 02:13
@ papsi:
You could use LimitedSharpen(Faster) with the parameter "wide=true" for your purposes. Is there any option to modify the avs manually before the encoding starts (I don't use AutoMKV, so I haven't got the faintest idea ;))?
I see now, haven't refreshed my browser for a longer time/.

Also, bicubic resize is well known from ... causing artifacts, if used with higher sharpening values. You could try Spline36 (almost artifact-free), Lanczos3 or Lanczos4 - bicubic isn't good choice imho.

cheers,
HDBR77

papsi
13th February 2007, 11:27
To HeadBangeR77:
Spline36 is included with the newest version of AutoMKV, but LimitedSharpen isn't. But that's not a problem, because I can download it manually, put it in the folder with the rest of the filters and manually apply within AutoMKV. Thanx for your reply! I'll try it! :)

foxyshadis
13th February 2007, 12:17
That fixed the encoding problem like a charm.

The finished mkv file is messed up though. Both the subtitles and the audio are about 2 seconds ahead of the video. The log file is attached.

That happens if the audio and video on the dvd don't match up, sometimes. If it's a constant offset, try just loading it into mkvtoolnix and adding that offset to the audio, then remux.

buzzqw
13th February 2007, 13:23
@sunflash10

dgindex report a delay of 0 so i cannot do better synch

i saw that dvd is already preprocessed ... dont' know if in source file is in synch or not... could be due a bad ripping

@foxyshadis

very good hint ! i suppose the delay is due to arcoss/ripguard...

P.S. i love your avatar !

glynor
13th February 2007, 18:15
I just updated to build 0.74e from 0.72b. I have a DV-encoded AVI file that I compressed yesterday to x264 in a MP4 container with 0.72b just fine.

Using identical settings, with the identical file, and 0.74e today "appears" to work correctly (AutoMKV goes through all the steps and completes) but no "result" file is created. It appears that the X264 compression step isn't working... In my log I have:

11:26:01 Starting X264
11:26:01 Command Line 1' Pass X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 1 --bitrate 226 --stats "C:\video\projects\temp\.stats" --ref 0 --no-b-adapt --progress --keyint 250 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 5 --filter 0,0 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --b-rdo --analyse p8x8,b8x8,i4x4,p4x4 --threads 3 --cqmfile "C:\Program Files\AutoMKV\profiles\X264-profiles\matrix\eqm_avc_hr.cfg" --output NUL "C:\video\projects\temp\movie.avs"
11:26:01 Command Line 2' Pass X264: C:\Program Files\AutoMKV\exe\encoder\x264.exe --pass 2 --bitrate 226 --stats "C:\video\projects\temp\.stats" --progress --keyint 250 --bframes 1 --qpmin 10 --qpmax 51 --no-psnr --trellis 1 --ref 5 --filter 0,0 --direct auto --vbv-maxrate 25000 --me umh --no-ssim --b-rdo --analyse p8x8,b8x8,i4x4,p4x4 --threads 3 --cqmfile "C:\Program Files\AutoMKV\profiles\X264-profiles\matrix\eqm_avc_hr.cfg" --output "C:\video\projects\temp\movie.mp4" "C:\video\projects\temp\movie.avs"
11:27:23 "C:\Program Files\AutoMKV\exe\matroska\mp4box.exe" -add "C:\video\projects\temp\movie.mp4":par=1.000000 -fps 29.969999 "C:\video\projects\temp\Cryo_Lobby-supertiny_full.mp4"
11:27:23 Final Muxed size: -1 bytes
11:27:23 Encoding finished: 00:08:18 elapsed time

In the actual X264 command line window, if I pop it up, it stays blank for a long while and then flashes by something about unsupported input file format (so quick it's hard to read exactly).

Also, I still had the EXE for build 0.72b so I ran that, set the same settings (but didn't roll back to the previous full RAR) and ran the encode and it worked fine....

My source file is DV, so it's huge. I can make a very small example clip and post it if you need, just ask...

buzzqw
13th February 2007, 18:28
@glynor

same, same problem as sunflash10
http://forum.doom9.org/showthread.php?p=953524#post953524

mmm... i had understud... is due to the new dgindex/tivtc... must be downgraded to dgmpgdec149b12.zip
download the b12, unzip, put the dgindex.exe/dgdecode.dll into \exe\dgindex folder and copy dgdecode.dll into \exe\filter


hope that help

BHH

glynor
13th February 2007, 19:06
Looks the same as sunflash's log alright (though mine is not a DVD or MPEG2 source). I'll try it and let you know!

glynor
13th February 2007, 19:38
Okay... This is odd. Replacing the files as you suggested in the above linked post didn't work.

So, I deleted my entire AutoMKV folder and re-extracted the 0.74 full RAR file and made a new one, re-added my NeroAAC encoder, and tried again. I also reinstalled AVISynth just for giggles, but I did certainly already have the current build.

Either way, it now appears to be working with the same source file! I don't know if I had something weird "built up" in my AutoMKV install directory (I hadn't really deleted and done the "full reinstall" in quite a long time), but either way... It seems to be working now!

I'll do a bit more testing and post back, but I think I'm solved. :thanks:

glynor
13th February 2007, 20:58
Yep. It's been working fine for me now!

One thing I have noticed -- and I'm not at all sure that it's AutoMKV's "fault" and not the creator of the applicable profile's "fault" but...

If I encode to x264 with a MP4 container, and choose CE-QuickTime.xml as my profile (with no audio and basically everything else set to the default) the resulting file will not play in Apple's current version of Quicktime Player. Upon opening the file I get:

Error -2002: a bad public movie atom was found in the movie

And it doesn't play. VLC and MPC of course handle it with aplomb. Any ideas on how to get AutoMKV to generate a Quicktime compatible x264 MP4?

dlflannery
13th February 2007, 21:14
Hi Buzzqw:

The specs for Zune encoding (http://www.zune.net/en-us/support/howto/start/providecontent.htm#section5)(without having the Zune PC software re-encode when synching to the Zune device -- taking a long time) are:

Natively Supported Formats on the Zune Device

Format: Windows Media Video (.wmv)
Video codec: Windows Media Video 9 (Simple, Main, and Advanced Profiles), Windows Media Video 9 Screen, Windows Media Video 9 Image Version 2, Windows Media Video 9 VCM.
Video resolution: up to 320x240 (QVGA) or 320x180 (16:9 QVGA)
Maximum video bit rate: 500 Kbps (recommended for the best balance of optimal battery life and video quality) up to 1.5 Mbps
Video peak bit rate: up to 1.5 Mbps
Complexity or profile: Main profile, VBR
Audio codec: Windows Media Audio (.wma)
Maximum audio bit rate: WMA Standard, CBR, 128 Kbps (recommended), up to 192 Kbps, Stereo, 44.1 kHz
Maximum total bit rate: 1.692 Mbps, 1.5 Mbps for peak video plus 192 Kbps for audio


Note

The Zune device also supports Windows Media Video (WMV) Simple Profile, Windows Media 7 and 8, and PhotoStory files. For these video types, the maximum video bit rate is 736 Kbps with a maximum overall bit rate of 800 Kbps when audio is included.

I have found the Zune 1-pass profiles work fine (using 500 kbps video, 128 kbps audio) but both of the 2-pass profiles produce WMV files that will require additional re-encoding by the Zune software upon synching to the Zune device.

The peak bitrates using the 2-pass profiles are 1 Mbps and 1.2 Mbps (per mediaInfo). Since these profiles use WMV8 codec I suspect they are exceeding the maximum bitrate for that codec (see the "note" above). (Depends on whether the note means the "Peak" bitrate or the maximum average bitrate.)

I noticed the v_bitrate option value being sent to the WME encoder was 524288000 which seems about 1000 or 1024 times too high. I modified the Zune_2_Pass profile by changing WMV8 to WMV9 and changing the bitrate option by removing the last 3 zeros (i.e., 524288). This worked fine. The output was Zune-device compatible without re-encoding and the peak bitrate was 815 kbps. The change to WMV9 (I think) allows the peak bitrate to be that high.
EDIT: I've realized with more experimenting that the extra multiplier of 1000 or 1024 on the v_bitrate option only occurs if I go into the Advanced Profiles Editing tab, change WMV8 to WMV9, then check "Use this profile". At that moment the v_bitrate value jumps from 51200 to 524288000. The only problem with the current 2-pass Zune profiles seems to be the peak bitrate is too high for WMV8 on the Zune Device. Actually I discovered if you just check "Use this profile" on any CBR WMV profile (without even editing it) the v-bitrate option gets multiplied by 1024 and this error will now stick for any other WMV profile until you restart AutoMKV.

NOTE: The bitrate was changed from 512000 to 512 in the XML profile to get the 524288 in the command line option.

When I did this with just changing WMV8 to WMV9 (but not reducing the bitrate by 1000) the files were 5 times as large and the bitrates were way to high for the Zune (several Mbps).

To summarize I see two things:
1. The 2-pass Zune profiles do not work as desired because the peak VBR bitrate is too high for the Zune device. Thus WMV9 will be needed, since the Zune device will accept much higher bitrates with that codec.
2. There is a bug where if you select a WMV CBR profile and check "Use this Profile" in the Advanced Profile Editing tab, all v_bitrate option values for WMV encodings from then until you restart AutoMKV will be multiplied by an (incorrect) value of 1024.

Thanks!

glynor
13th February 2007, 21:25
If I encode to x264 with a MP4 container, and choose CE-QuickTime.xml as my profile (with no audio and basically everything else set to the default) the resulting file will not play in Apple's current version of Quicktime Player.

I found a few posts regarding the issue with MeGUI:
http://forum.doom9.org/showthread.php?t=108334
http://forum.doom9.org/showthread.php?t=107378

Looks like it's probably caused by converting videos with a 29.97 framerate (standard NTSC). Any guess on how to work around this issue with AutoMKV (without manually altering the script of course)?

dlflannery
14th February 2007, 02:59
Was converting a .avi (DIVX4 + mp3) to WMV for Zune. When it got to the WME script it just hung. No messages, no crash, just nothing happening. The video is only 1:45 min long so after waiting several minutes I shut down the WME command window. So I tried checking "Use Direct Show Source" and it encoded just fine (although due to the nature of the video there was no way to check for good audio sync).

In graphEdit or WMP11 it shows ffdshow mpeg4 video and mp3 audio decoders being used. It will also play in the DivX software player.

Does this just mean that an AVS script using AVISource() could not serve the video? Well.... No! I just tried it with a one line AVISource() script and it played fine in WMP. (???)

I'm just trying to learn so if anyone could explain what determines this behavior I would appreciate it.

EDIT: Additional info
The movie.avs file in the temp folder from the failed conversion plays fine in WMP and running movie_wmv.bat produced a successful encoding. Seems strange that the encoding failed while AutoMKV was in control.

buzzqw
14th February 2007, 08:54
@dlflannery

:thanks: ! i modded the zune profiles, modifing the <v_peakbitrate> to 736000 for wmv8 and wmv7 encoder.

also changed the <v_bitrate> to 512, not 512000. in this way i will correct multiply by 1024 without break compatibility

also added two new zune profiles, both using wmv9 and for these profiles <v_peakbitrate> is 1500000

EDIT: dflannery, since you had a very good knowledge of Zune and profiles... what about buid new profiles ?

The movie.avs file in the temp folder from the failed conversion plays fine in WMP and running movie_wmv.bat produced a successful encoding. Seems strange that the encoding failed while AutoMKV was in control.
:confused: , was the original movie "played" while encoding ?

@glynor
i prefer not to do hack... expecially due on quickcrapplayer bugs... , BUT go on advenced settings, click on last avs string and add: AssumeFPS(30000,1001) or AssumeFPS(24000,1001)

BHH

dlflannery
14th February 2007, 14:53
@dlflannery

:thanks: ! i modded the zune profiles, modifing the <v_peakbitrate> to 736000 for wmv8 and wmv7 encoder.

also changed the <v_bitrate> to 512, not 512000. in this way i will correct multiply by 1024 without break compatibility

also added two new zune profiles, both using wmv9 and for these profiles <v_peakbitrate> is 1500000

EDIT: dflannery, since you had a very good knowledge of Zune and profiles... what about buid new profiles ?
BHH

:confused: Did you understand the problem that no matter what rate you load in a profile, if you check the "Use This Profile" (perhaps you changed the v_keydist) the rate gets multiplied by 1024. If you don't check this, it does not get multiplied by 1024 ??

To see this, select WMV Zune_Quick_1_pass profile, go to the "Advanced Profile Editing" tab. Look at the v_bitrate value in the Command line. At first it may be 128000 or it may be 512000 (correct value). If you click Reload Profile it changes to 512000 (correct value). Then check "Use This Profile" and it jumps to 524288000. It seems that the updating of the command line value is not properly occuring.

You said you added new profiles. Are you inviting me to do that instead of you, or in addition, or what? :confused: (I would be happy to suggest profiles after I get un-confused!)


:confused: , was the original movie "played" while encoding ?
BHH
I never do anything else on the computer while it is encoding .... don't want to risk disturbing the encoding process ! Everything I did with movie.avs and movie_wmv.bat was AFTER the encoding stalled and I terminated the WME script command window. I was really just asking what factors determine that Direct Show must be used.

Sorry, I seem to be confused about everything you have said! :o

Chart
14th February 2007, 18:07
Looks promising, but I'm having a problem :(
When I try to encode big files, x264.exe just starts idling when about 10% is encoded. No errors or crashing, encoders cpu usage just goes from 100% -> 0% and stays there forever. Task manager says x264.exe is first using couple hundred MB:s of memory but when it starts idling it is taking 4 MB.

I first tried this program around the end of December, and since that I have tried at least 5 different versions of AutoMKV, and all have done the same. I have tried many source files and many versions of x264. I have tried with different audio codecs ja video containers, but always the same. x264 has been my codec of choice. Have also tried diffent profiles.

Strangely MKVmagic works live a charm, so I have been using it to backup many DVD:s. I have tried both programs with same versions of x264, and AutoMKV fails always. However I have used AutoMKV succesfully for small video files, lasting only few minutes. Somehow it doesn't like bigger files :eek:

No errors in log. Any ideas? :confused: