View Full Version : AVCHDCoder - Blu-ray, MKV, M2TS, etc to AVCHD encoder. From input to ISO. Easy to use
twazerty
6th May 2009, 21:44
I had the idea to make my own tool for converting mkv to avchd. The reason was simple: I didn't really like other software. In my opinion they were not complete. At that time I used MediaCoder and there was always something I forgot. Also had to use other software to make it complete. It was not my vision how a converter should look like. So I've build one my own. Now you are interested what I've build with my 1,5-2 years of skills.
Like I said I made a converter. To be more specific a all in one converter. It is written in Java. I know it isn't the most obvious you can do but at the time it was the only thing I've learned.
Pictures say more than words so some screens:
http://img38.imageshack.us/img38/6716/2selectstreams1.pnghttp://img156.imageshack.us/img156/7148/3output1.png
For more screenshots: tools.twanwintjes.nl
Here is also a list of key features:
* Support for different kind of media: MKV, M2TS, MTS, TS, MP4, Blu-ray and most WMVHD files
* Maximum of 32 items on 1 disc. (Mixed content)
* Customize your intro video.
* Search for movie information on the internet and be able to use backgrounds and covers.
* Basic menu support.
* Up to 32 subtitles streams. SRT/ASS/PGS Blu-ray support.
* Up to 3 audio streams. AC3, DTS, DTS-ES, DTS-HD HR, DTS-HD MA, LPCM, WMA9, WMA10 Pro, AAC, FLAC, MP2, MP3, Vorbis/OGG support.
* Chapter support
* Wide range of output sizes: DVD5, DVD9, BD25, BD50, USB 4GB and custom output size.
* Integration of AVCHDCalculator to calculate the bitrate very accurate. So you are sure the discs are not oversized or to much undersized. (Unique calculator, first in the world)
* .iso or folder output.
* Video downscaling.
* Audio conversion.
* Normal and High Quality subtitle conversion.
* Borders will automatically be added to the video if necessary. Aspect ratio will be kept at all time.
* No need to configure the x264 video encoder. There are 3 build in profiles that can't be edited.
* Native 64 bit encoding.
* Decoder Tester to check if all required decoders are working properly.
* Save and open projects (jobs).
I am very proud at my AVCHD bitrate calculator. I made some unique formulas to calculate the bitrate. I knew there was more after reading on forums to use 8% as overhead. Totally not right. Somewhere between 4 and 12% based on the input.
Warning:
If you have installed codec packs like K-Lite , CCCP , Vista Codec Packs or similar UNINSTALL THEM IMEDIATELLY!
You can download the latest version here:
AVCHDCoder 11.08.03 Setup.exe (80MB) (http://updates.twanwintjes.nl/click.php?id=30)
AVCHDCoder 11.08.03 Setup.exe (80MB) (Videohelp) (http://updates.twanwintjes.nl/click.php?id=32)
Log: Changelog (http://tools.twanwintjes.nl/index.php?page=changelog-2)
I am currently not capable to create everything. I think I need your help to make this app even better.
setarip_old
6th May 2009, 21:58
Hi!
Your program/GUI looks very interesting. A couple of questions, if I may:
1) Does the download include all of the tools you state are used, or are additional downloads and installations required?
2) Since, as far as I know, there's presently no way to incorporate a menu in an MKV, how does your program (apparently) create a menu?
3) How long does the conversion take with what system?
BTW - Your last screen capture indicates that you misspelled "Building" (omitted the "d") for "building menu"...
twazerty
6th May 2009, 22:08
Hi!
Your program/GUI looks very interesting. A couple of questions, if I may:
1) Does the download include all of the tools you state are used, or are additional downloads and installations required?
2) Since, as far as I know, there's presently no way to incorporate a menu in an MKV, how does your program (apparently) create a menu?
3) How long does the conversion take with what system?
BTW - Your last screen capture indicates that you misspelled "Building" (omitted the "d") for "building menu"...
1) The download includes everything except the 3 applications (Haali etc).
2) I made the menu files in advance. I make the structure and put the muxed m2ts inside the structure. A mkv or M2TS will be encoded. Then muxed with tsMuxer.
3)A 100 min 1080p movie on Highest quality:
AMD Phenom 9550 Quad core about 13 hours.
Intel Q6700 @ 3.2GHz about 6,5 Hours
Intel Core i7 920 about 5 hours
When selecting Good quality is max 40% on a Core i7. On some other systems a boost of 40% was also measured.
Didn't notice the misspelling in al those weeks :)
setarip_old
6th May 2009, 22:16
How many different players (standalone and software) have you tested your output on?
I ask, because if you read the many threads in the sevral sub-forums related to "BD-Rebuilder" and other High Definition output, you'll see that, regarding compressed output, there are MANY inconsistencies amongst players regarding what is or is not recognized for playback...
twazerty
6th May 2009, 22:20
Personally I only tested 1 player but some users confirmed the following players when using version 4.23.1:
LG BD300
Samsung BD-P1500 (Tested by myself)
Sony BDP-S350
Sony BDP-S500
Sony BDP-S550
Sony Playstation 3 - Menu only on PAL ps3 will be fixed in next version.
Nero Showtime 4
When you take a look at this thread: http://forum.doom9.org/showthread.php?t=146339
It should work on all players where is an X at the AVCHD column.
setarip_old
9th May 2009, 00:40
@twazerty
I tried out your program, using it overnight with a proven movie-only MKV of "What Doesn't Kill You".
The good and the bad:
Good - The visual quality of the compressed-to-DVD5 (by your program) is excellent!
Good - The speed of converting and compressing appears to be at least comparable to that of "BR-RB"
Bad - The program decided to bypass the muxing stage and, instead, "IMGBurn" generated a terminal error stating that it was unable to locate the "BDMV" folder (Because, as a consequence of not doing the muxing, your program had not created it).
Please advise.
(This testing was done on a machine running 64bit Vista Home Premium with 4Gb of RAM)
BTW - The lack of/use of the tabs is not intuitive...
Also, would you please add (Must be simple for you to do, via tsMuxeR options) the ability to chooseAVCHD or BluRay-compliant output?
twazerty
9th May 2009, 01:15
Totally forgot to add to post information.
Place the app in a folder where you don't need admin rights. Program Files etc will create such errors as far as i know. When moving the folder to Documents or a different folder. Delete the settings file. Didn't realize it was a fatal error placing the output folder location in the settings file because it wont be updated when you move AVCHDCoder.
If encoding passes aren't skipped due to installed codec packs and old version and only the muxing and ImgBurn fail the above text is the only thing I can think about.
Most people I spoke said the tabs are easier. In my next version I am going to combine 3 tabs to 1. Audio-Video and Subs in 1 tab. Als Disc and output will go into 1 tab. I think it will feel more intuitive. I am not satisfied with the current flow. (The result of lack of experience)
My new version is getting a complete face lift. It will be the second since my first release. Like I said above tabs will be joined together. The whole way to choose subs and audio will be more like in DVD Shrink. New logo's etc. Installer which places it in Program Files, creates short cuts etc. Temp and output will get another location. ASS support. More then 2 subtitles to chose instead of the limited 2 for now. Up to 8 items on 1 disc for both menu and no menu. Forced subtitles option.
I think all these changes will be good. Getting more and more experience which is good. App is public for over 3 months now.
setarip_old
9th May 2009, 01:41
The following is my text file:en
US
Delete Temp: Yes
Check On Updates: Yes
Add Menu To Disc: No
Dafault Audio Language: 2
By Default 720p: No
Dafault Subtitle Language: 2
By Default Iso Output: Yes
Dafault Save Folder: C:\VideoStuff\AVCHDCoderB4.231\AVCHDCoderBeta4.23.1\Output
The above is where I ORIGINALLY placed your program, etc. It has not been moved.
As you can see, it's in no way related to "Program Files".
Is there something in this file that strikes you as problematic?
Should I simply delete the "Settings.txt" file? (I don't think so)
What version(s) of Java do you have installed (32 and/or 64 bit)? Could this make a difference?
Again, would you please add (Must be simple for you to do, via tsMuxeR options) the ability to chooseAVCHD or BluRay-compliant output?
BTW - Is there a way to select "Folder" output, rather than ".ISO"?
setarip_old
9th May 2009, 01:59
This is the metafile that your program created (Presumably, for use by "tsMuxeR"). Perhaps there's somerthing in it that will provide a clue as to why the muxing was skipped:MUXOPT --no-pcr-on-video-pid --new-audio-pes --avchd --vbr --auto-chapters=5 --vbv-len=500
V_MPEG4/ISO/AVC, "C:\VideoStuff\AVCHDCoderB4.231\AVCHDCoderBeta4.23.1\Temp\What_Doesnt_Kill_You - item 1\What_Doesnt_Kill_You.264", insertSEI, contSPS
A_AC3, "C:\VideoStuff\AVCHDCoderB4.231\AVCHDCoderBeta4.23.1\Temp\What_Doesnt_Kill_You - item 1\What_Doesnt_Kill_You.ac3", lang=eng
S_HDMV/PGS, "C:\VideoStuff\AVCHDCoderB4.231\AVCHDCoderBeta4.23.1\Temp\What_Doesnt_Kill_You - item 1\input 1.sup", fps=23.976, lang=eng
S_HDMV/PGS, "C:\VideoStuff\AVCHDCoderB4.231\AVCHDCoderBeta4.23.1\Temp\What_Doesnt_Kill_You - item 1\input 2.sup", fps=23.976, lang=eng
The subtitles were not processed...
Please advise.
BTW - Perhaps you know - Other than by manually typing, how can you enter/ "Paste" metafile information into the "tsMuxeR GUI" "Metafile Information" window?
twazerty
9th May 2009, 08:20
Did a simple test by placing it at at the same location as you. Used a mkv with 2 external subs. Both srt. No problem occured.
Also tested a m2ts with 2 internal subs. No problem occured.
Also have vista 64 (Business) and 32 bit java.
Can you send me a sample of the videofile? 5 seconds or a minute or something.
Folder output will be added next version.
If you choose DVD5 or DVD9 AVCHD output will be used.
If you select BD25 Blu-ray output will be used.
turbojet
9th May 2009, 08:54
Thanks for the program, I haven't ran a full movie encode yet but will to test calculation (calculation was 4467 and 4475 MB for DVD5, plenty good) and all. I did however find some bugs and have some feature requests these are:
- bug: if no audio can't continue in wizard
- bug: dtshd in mkv unsupported sample (http://www.sendspace.com/file/klqrgt)
- bug: .264 muxed with tsmuxer has issues with MPC-HC and TMT2 while mkv does not.
* resize sup with bdsup2sub or homemade code or latest tsmuxer
- have a non wizard mode
- custom output size (already planned?)
* keep HD audio, PCM could use Pcm2Tsmu (http://forum.doom9.org/showthread.php?t=138417) (for BD25 at least, 1-2 GB free on BD25 should be no problem)
* option to keep AUXDATA/BDJO/CERTIFICATE/JAR/META folders, on by default, there are more players that need these then don't, with new tsmuxer a 'strict AVCHD' option to delete AUXDATA/BDJO/CERTIFICATE/JAR/META folders for the 1 maybe 2 players that still need this.
* process priority option
* option to force a subtitle stream
* x264 settings for advanced users: --ref 1-4 --bpyramid --psy-rd --deblock --vaq, and long (240/24) or short (24/1) gop
* get original chapters from mkv/mpls/bd and use as default
* convert chapters to x264 qp-file and use for accurate chapter stops
* get language from all streams
* mpls input (very helpful for seamless branching and keeping BD chapters)
* BD input selects largest playlist by default with an option to choose another
* browse window all supported extension types by default (I think a simple type of 'bug fix')
- ts input
- avs input
- silence eac3to sounds
- drag and drop
- external audio support
- if video is avchd compliant and video+audio fits size selected offer to not encode or encode just audio and just mux
* DTS encoding
- menu background option
- scene selection like menu
- time elapsed/FPS in queue window after encode
* Abort button
* Move job up/down
* kill only command windows avchdcoder calls instead of all when deleting all jobs (bug fix?)
* suspend/resums with a program like process (http://www.beyondlogic.org/consulting/processutil/processutil.htm)
- mutliple audio track support
* support more than 2 subtitles (32 seems to be max with current tsmuxer)
* compression check with --crf 18 on 3% of the clip using selectevery and use the results to judge quality instead of bitrate
- minimize to tray option that displays job#, first pass or second pass, fps, % complete and eta
- title in taskbar displays something like AC: %, fps, eta when encoding
* = higher priority
setarip_old
9th May 2009, 20:06
@twazerty
I thought I'd let you know that after installing (an updated version?) of the 64 bit Java and rebooting, I just successfully used your program on a 1Gb clip from the same .MKV of "What Doesn't Kill You"..
I'm now going to, once again, try it using the full .MKV of "What Doesn't Kill You"...
**EDIT** Perhaps I spoke too soon:
The successful clip conversion did NOT include the internal subs. I've just tried again, including the internal subs and obtained the same unsuccessful results as my original attempt using the full .MKV.
If, for some reason, the internal subsubs are not acceptable to "tsMuxeR", you should make a provision for either generating an error notification or an information notice stating that the subs are unacceptable and will be excluded - and either automatically eliminate the subs from further processing or take the user back to the screen that provides for input regarding subs, so that the user can select "None" and allow the process to continue...
setarip_old
10th May 2009, 05:12
UPDATE
Did a successful (faster option) conversion of the full MKV, by excluding the subtitles. The results were excellent (and fast) ;>}
(Apparently, the .MKVs created by "MakeMKV" do something to the subtitles that "tsMuxeR" cannot properly process)
twazerty
10th May 2009, 22:08
@turbojet
Thanx for a list of requested features. I will add some of them in the next version.
The suspend/resume application is very interesting. Do you know if there is a version that also works on vista and/or windows 7? Edit: Wow it works great at vista. Thanx for the tip.
But there are also some features which I don't add:
- have a non wizard mode
- avs input (Not 100% sure)
There are also some things I would like to add but I don't know how i can implement them:
- menu background option
- scene selection like menu
- minimize to tray option that displays job#, first pass or second pass, fps, % complete and eta
"- mutliple audio track support" is a feature I am going to implement for a small part. I have custom formulas to calculate the bitrate and those formulas only works for 1 audiofile. A formula is very presice. A second audio file requires a new formula. And the formules are different with different audio combinations. So if I have 5 formulas and a maximum of 2 audio tracks it requires 25 formulas. It will take 1 or 2 days to make 1 formula. It is also impossible to make formulas for VBR tracks like most DTS-HD MA tracks.
"- get language from streams" is already inside the app. But for some reason mediainfo doesn't give me the size if a m2ts is from an original BR. When muxed with tsMuxer mediainfo reads it. MKV languages are also read.
@setarip_old
I will take a look at MakeMKV.
Currently I am working on a new Audio-Video-Subtitles panel. Here is the current layout:
http://i43.tinypic.com/15anw6.jpg
There is still a lot to do to make this working. Maybe you have ideas to add to this tab. Currently I do have an idea to change the order of the tracks. I think that will fit in a tab at the bottom. The language selected in the options will be your preferred language and if found it will be the first track. Maybe you have some idea's?
setarip_old
11th May 2009, 01:06
The MKVs created by "MakeMKV" include/retain the chapter information. If I drag and drop such an MKV onto "tsMuxeR" (which is used by your GUI), this chapter information appears in the "Custom chapters" section.
It would be a nice touch if you'd add this capability to your GUI.
And again, regarding BluRay format - Since you've already got the capability to save in compliant BluRay format builtin for BD25s, why not simply offer it as a CHOICE (AVCHD or BluRay) for DVD5 and DVD9 output? Once again, this capability already exists in "tsMuxeR" (which is used by your GUI)...
twazerty
11th May 2009, 01:25
Copy chapter information from the source mkv files is something i already wanted. MKVextract can also extract that information so for me it is nothing more then open the txt and show it in gui. I think I will add it to the next version. Isn't that hard to do :cool:
You are absolutely right. Why not making the choice. My GUI is build/will be build so a dummy can use it without messing up some important settings. So I need to find a nice spot to change these settings. I think I will add some buttons to add AUXDATA/BDJO/CERTIFICATE/JAR/META. So you can disable 1 folder or more.
My new version will not use tsMuxer anymore for final muxing(Only for muxing the files not the complete structure). I will use my predefined index.bdmv en MovieObjects.bdmv to build the structure. These are avchd files but deank told me this ain't going to be a problem on most players. (AVCHD index.bdmv on BD25)
If I do want to use tsMuxer for making index.bdmv and MovieObjects.bdmv it can be done for only 1 specific output: No Menu, No forced subs and only 1 item. What do you think?
setarip_old
11th May 2009, 02:08
I think I will add some buttons to add AUXDATA/BDJO/CERTIFICATE/JAR/META. So you can disable 1 folder or more.I believe that would cause confusion for the casual user and would strongly suggest that you NOT do that. Such removals are (as I understand) related to specific standalone players. As such, knowledgable users can just as easily MANUALLY remove the offending folder(s) after your program has completed the project.
If I do want to use tsMuxer for making index.bdmv and MovieObjects.bdmv it can be done for only 1 specific output: No Menu, No forced subs and only 1 item. What do you think?This is beyond my knowledge. Most, if not all, I have to offer/request is from the perspective of a (very) old user, not a developer ;>}
A request (Important to me and others who were early adapters regarding HD-DVD) - Would you be able to add the ability to generate HD-DVD-compliant output as an option?
zoner
11th May 2009, 10:13
my impressions from a test i did:
i used some old tv cap's, i pushed inside files until the bar showed 3000 avg. bitrate.
i used the 2 pass higher quality, and i must say that i couldnt find almost any difference between source and the encode.
a HUGE advantage of your app is that it does all the calculation by itself, i just put the files i want and i dont have to worry about miscalculations,
a disadvantage would be the menu which, thanks to deank, is a bit old and not comfortable, especially when dealing with various shows or movies.
2 things that i fell has to be added are External audio and Subtitle Colors which i like yellow better than white. Also support of more fonts would be great as well.
No doubt that your general idea is really good as it combines some features that untill now we could only find in different apps. keep it up :)
turbojet
11th May 2009, 11:24
@turbojet
Thanx for a list of requested features. I will add some of them in the next version.
The suspend/resume application is very interesting. Do you know if there is a version that also works on vista and/or windows 7? Edit: Wow it works great at vista. Thanx for the tip.
But there are also some features which I don't add:
- have a non wizard mode
- avs input (Not 100% sure)
There are also some things I would like to add but I don't know how i can implement them:
- menu background option
- scene selection like menu
- minimize to tray option that displays job#, first pass or second pass, fps, % complete and eta
"- mutliple audio track support" is a feature I am going to implement for a small part. I have custom formulas to calculate the bitrate and those formulas only works for 1 audiofile. A formula is very presice. A second audio file requires a new formula. And the formules are different with different audio combinations. So if I have 5 formulas and a maximum of 2 audio tracks it requires 25 formulas. It will take 1 or 2 days to make 1 formula. It is also impossible to make formulas for VBR tracks like most DTS-HD MA tracks.
"- get language from streams" is already inside the app. But for some reason mediainfo doesn't give me the size if a m2ts is from an original BR. When muxed with tsMuxer mediainfo reads it. MKV languages are also read.
@setarip_old
I will take a look at MakeMKV.
Currently I am working on a new Audio-Video-Subtitles panel. Here is the current layout:
There is still a lot to do to make this working. Maybe you have ideas to add to this tab. Currently I do have an idea to change the order of the tracks. I think that will fit in a tab at the bottom. The language selected in the options will be your preferred language and if found it will be the first track. Maybe you have some idea's?
A have a suggestion. I really do want to make more formulas. But I'll need help with it. I will tell you what to do and you send me the results. When i get enough data from you I will tell how my formulas works. Actually is very easy but remember it is not the 100% solution for the m2ts overhead problem. My formulas do work and the maximum difference from the real value is maximum 22 Kbps and mostly about 4-10 Kbps difference from the real values entered in the encoder.
Even if you get half the features implemented I'd be impressed. The cosmetics like minimizing to tray is no problem if you can't, put on very low priority or something.
I marked what off my list I feel as higher priority.
Ya I can understand multi audio tracks would be a lot of work and probably not used by many. Maybe low priority on that one too?
With HD audio something you could do as a quick hack for now is lock it to BD25 only and give an enormous amount of overhead like 2-3 GB to be on the safe side. Even if the BD25 has 1 GB of space free from the output there's no reason to complain as it won't make any noticable difference but the HD audio will.
I like the new stream window, if you are going to be implementing some control of the encoder I'd suggest having an advanced video tab in the bottom part.
I believe that would cause confusion for the casual user and would strongly suggest that you NOT do that. Such removals are (as I understand) related to specific standalone players. As such, knowledgable users can just as easily MANUALLY remove the offending folder(s) after your program has completed the project.
This is beyond my knowledge. Most, if not all, I have to offer/request is from the perspective of a (very) old user, not a developer ;>}
A request (Important to me and others who were early adapters regarding HD-DVD) - Would you be able to add the ability to generate HD-DVD-compliant output as an option?
I'll refer to these folders as empty directories and the latest TSMuxer versions include these empty directories but I've also asked to get an option to delete them for the few who need it.
The empty directories are only needed for 1 maybe 2 Samsung BD players currently and in the past 2 weeks Samsung has released firmware to fix 2 of these and theirs a new firmware for that 1 in question out now too which may not care about empty directories. Eventually I think Samsung will have them all fixed there will be nonn. 3 Denons and 1 Phillips player known so far need the empty directories.
When it comes to latest software players PowerDVD can play empty directory output from DVD/HDD but only AC3/PCM audio. WinDVD has the same basic issue. With empty folders they play all audio. Arcsoft doesn't rely on empty directories or not.
twazerty
11th May 2009, 22:56
The folder problem will also be fixed.
Can somebody send me a m2ts or mkv with all types of audio that tsMuxer support?
AAC;
AC3 / E-AC3(DD+);
Dolby True HD (for streams with AC3 core only);
DTS/ DTS-HD;
LPCM
and also different kinds of DTS-HD (CBR and VBR) files and DTS-HD MA files. It will help me a lot.
turbojet
11th May 2009, 23:23
Will this (http://www.mediafire.com/download.php?2znwjytqune) be enough?
setarip_old
11th May 2009, 23:54
@twazerty
Just to let you know, I used your program to do a high quality conversion (to DVD9) of "Planet of the Apes (2001)" - this time using an .M2TS file.
Subtitles were accepted and retained and, despite keeping a 1.2Gb .DTS audiostream, the results (including some very "busy" high action scenes) were virtually indiscernible from the original BluRay;>}
Your program is most certainly worthy of your further developmental efforts - Congratulations!
I really would like to get your feedback regarding my request to add HD-DVD output as an option (It would make a large "silent" group of HD-DVD aficionados/owners of players very happy!)
twazerty
12th May 2009, 22:41
@turbojet
For now it is enough
@setarip_old
Thanx :D
I don't know much about HD-DVD and I don't think it is worth the time. I can't even test it on a stand-alone player. HD-DVD output will not be added. Maybe in the future, but fot now I say no.
setarip_old
13th May 2009, 01:01
HD-DVD output will not be added.Sorry to hear that. I guess there are a lot of very high quality output HD-DVD players that are destined to be orphans...
twazerty
13th May 2009, 09:47
Sorry to hear that. I guess there are a lot of very high quality output HD-DVD players that are destined to be orphans...
Unless you can tell me exactly how I make HD-DVD's. Then I can consider to add the functionality.
laserfan
13th May 2009, 13:57
Unless you can tell me exactly how I make HD-DVD's. Then I can consider to add the functionality.Apart from Ulead's DVD MovieFactory 6+ with HD Power Pack add-on, I only know of one other attempt at muxing HD DVDs, and that is the unfinished program on this page (at least it includes source):
http://www.hddvdstrikesback.com/
Maybe you can make some sense of it and fix/improve/build upon it....?
P.S. @setarip_old, our HD DVD players are already orphans! ;)
setarip_old
17th May 2009, 00:14
@twazerty
It would be beneficial if you could modify your program so that "IMGBUrn" doesn't pop onto the screen when the .ISO image file is being generated...
twazerty
17th May 2009, 00:22
@twazerty
It would be beneficial if you could modify your program so that "IMGBUrn" doesn't pop onto the screen when the .ISO image file is being generated...
I don't think it is possible to do that because ImgBurn pops up by itself after sending commands via the commandline. It would be nice if it is possible.
setarip_old
17th May 2009, 01:57
Additionally, please modify your program so that one can simply "Cut & Paste" a custom chapter list, rather than having to enter each time manually?
Better still, why not automate the process? Recent versions of "tsMuxeR" pick up the existing chapter information from MKVs
Ghitulescu
18th May 2009, 09:52
I use the following software:And the usual warning:
If you have installed codec packs like K-Lite , CCCP , Vista Codec Packs or similar UNINSTALL THEM IMEDIATELLY!
This is what I don't like at any software - incompatibilities.
HighDefPro
22nd May 2009, 05:41
So i am currently testing out this new program as it seems way easier to use then other GUI's. If I want to make things really alot easier then the current process this should work, correct?
- Rip blu-ray,
- Use Ts Muxer and Grab vc-1 stream, and audio I want- Mux them together.
- Have your program change the video stream and leave the audio the same
- when finished I should have new a video stream and be able now use the new .iso file to stream through my ps3, am I correct?
HighDefPro
22nd May 2009, 21:27
Update: Ok so I found out that you can't stream the .iso file that was created after I ran this process. I then mounted the .iso file using Virtual Clone Drive(Freeware from slysoft.com) I then re-ripped the file using anydvdhd and got a new movie file. This new file can now stream thru my ps3.!!!!!!!!!!!!!
None of the other vc-1 encoders have worked for me over the last year. This is the 1st one that has ever worked. After a year of trying to convert then stream vc-1 bluray files I can now stream them. Thanks so much for making this program!
twazerty
25th May 2009, 20:19
After a couple of weeks I am almost ready to release my next version. Some translation needs te be done, settings panel need te be fixed and some testing. There ain't that much new features. Those will be added after release. What is coming:
- Totally new Stream Tab. After entering a file you will be thrown to the Stream Tab. So in a couple of mouse clicks you added a disc in the queue. Saves lots of useless clicking.
- Pause/Resume button
- Priority changer
- First subtitle stream can be forced (For all items)
- Subtitle Preset Editor with color and font chooser
- Max 32 subitle streams. Each stream can be assigned with another preset.
- Order subtitles
- More subtitles of the same internal file can be added. Each stream can be assigned with another preset. Same for External files. Can be added more than once.
- Max 32 subtitle streams
- Some upgrades like tsMuxer, x264 etc.
- Delivery with an installer so it will be placed in Program Files. Also shortcuts etc.
Maybe I will add the resize function for PGS streams in this version. Not sure right now.
* kill only command windows avchdcoder calls instead of all when deleting all jobs (bug fix?)
This problem cannot be solved. Java loses information which process it launched. So I cannot know which cmd.exe to kill. I tell to kill cmd.exe so it kills all running cmd.exe's.
Does MeGui etc run on Windows 7 RC? Cannot get AVCHDCoder working to encode the movie.
setarip_old
25th May 2009, 20:54
@twazerty
Your thoughts please, regarding my previous post?:Additionally, please modify your program so that one can simply "Cut & Paste" a custom chapter list, rather than having to enter each time manually?
Better still, why not automate the process? Recent versions of "tsMuxeR" pick up the existing chapter information from MKVs?
twazerty
25th May 2009, 21:08
Additionally, please modify your program so that one can simply "Cut & Paste" a custom chapter list, rather than having to enter each time manually?
Better still, why not automate the process? Recent versions of "tsMuxeR" pick up the existing chapter information from MKVs?
Cut and past is working, those commands are handled by windows. Ctrl+C and Ctrl+V are working here.
Automate the process is nice and will be added. Didn't try it if it works. If it is easy to accomplish after some little research I will add it to this version.
setarip_old
25th May 2009, 21:53
Thank you - "Control-V" works, but right-clicking on highlighted chapter times does not bring up the Windows context menu ("Copy", "Paste", etc.)
twazerty
25th May 2009, 23:23
Thank you - "Control-V" works, but right-clicking on highlighted chapter times does not bring up the Windows context menu ("Copy", "Paste", etc.)
Thats right. I'll see wat I can do.
Edit:
Right Mouse Menu with Cut Copy Paste added.
Does MeGui etc run on Windows 7 RC?
Yes, it works just fine.
setarip_old
26th May 2009, 03:03
@twazertyRight Mouse Menu with Cut Copy Paste added.Thank you. I'm looking forward to the next release.
BTW - Is the rather slow initial load due to the use of Java, or something else?
twazerty
26th May 2009, 07:47
@twazertyThank you. I'm looking forward to the next release.
BTW - Is the rather slow initial load due to the use of Java, or something else?
I think it is a combination of java and a long boot process. Don't exactly know how long it will take to setLanguages, read settings and do a update check. But mostly because of java and its virtual machine. It is not a real problem the startup process is a little bit longer.
turbojet
26th May 2009, 22:59
After a couple of weeks I am almost ready to release my next version. Some translation needs te be done, settings panel need te be fixed and some testing. There ain't that much new features. Those will be added after release. What is coming:
- Totally new Stream Tab. After entering a file you will be thrown to the Stream Tab. So in a couple of mouse clicks you added a disc in the queue. Saves lots of useless clicking.
- Pause/Resume button
- Priority changer
- First subtitle stream can be forced (For all items)
- Subtitle Preset Editor with color and font chooser
- Max 32 subitle streams. Each stream can be assigned with another preset.
- Order subtitles
- More subtitles of the same internal file can be added. Each stream can be assigned with another preset. Same for External files. Can be added more than once.
- Max 32 subtitle streams
- Some upgrades like tsMuxer, x264 etc.
- Delivery with an installer so it will be placed in Program Files. Also shortcuts etc.
Maybe I will add the resize function for PGS streams in this version. Not sure right now.
Looks pretty impressive and the pause/resume will definitely set it apart from others. I will keep my mouth shut about process in the other frontend threads until AVCHDcoder has had it for at least a few weeks to gain attention. For the sup resize if you are planning on using TSMuxer to make sure it looks and place nearly identical to original sup you'll want to use this in the meta: bottom-offset=0,font-border=0
This problem cannot be solved. Java loses information which process it launched. So I cannot know which cmd.exe to kill. I tell to kill cmd.exe so it kills all running cmd.exe's.
Bummer, if you had an external script running to get launched PID's from AVCHDcoder would that work?
Does MeGui etc run on Windows 7 RC? Cannot get AVCHDCoder working to encode the movie.
BD-Rebuilder, MeGUI (except drag-n-drop) RipBot264, sx264 work in Win7 x64.
To get AVCHDcoder encoding in Windows 7 try the windows 7 bit in this (http://forum.doom9.org/showthread.php?t=146924) psst
Just wanted to report that I just did a test run on a bluray that I had lying around on my desktop, and the process completed just fine! However, when I attempted to play the resulting disk, the subtitles would not function. I am playing the m2ts using MPC HC 1125, and the subtitle are select correctly in the right click options. Can anyone confirm having issues in preserving subtitles?
turbojet
27th May 2009, 09:27
Just wanted to report that I just did a test run on a bluray that I had lying around on my desktop, and the process completed just fine! However, when I attempted to play the resulting disk, the subtitles would not function. I am playing the m2ts using MPC HC 1125, and the subtitle are select correctly in the right click options. Can anyone confirm having issues in preserving subtitles?
Works ok for me with windows 7, MPC-HC 1127, evr custom. Maybe you have a renderer set in MPC-HC that doesn't support subtitles or are resizing to 1280x720. In both cases the subs won't show.
Yeah, disregard my previous post. I am having troubles getting subs to display from the source even (which I should have checked before posting). I wonder what could be wrong.
twazerty
27th May 2009, 22:44
Yeah, disregard my previous post. I am having troubles getting subs to display from the source even (which I should have checked before posting). I wonder what could be wrong.
As far as I know players like MPC cannot play the PGS stream. Players such as Nero Showtime can only play the stream when the disc is played. So subs are not working when you play a m2ts with Nero Showtime. Same for PS3 and multimedia devices.
No, actually MPC HC can, but you have to use it's internal m2ts splitter, not Haali's.
drmih
2nd June 2009, 00:44
Just having a play and quite like it. For some reason I can't leave the DTS audio untouched - it greys it out and makes me choose one of the AC3 options.
Is there any way you could handle multiple input files as it would be nice to put several HD episodes on a disc with a menu and have them made to fit?
setarip_old
2nd June 2009, 07:54
@drmih
Hi!
Is there any way you could handle multiple input files
You really should read the PDF file that's included with the download...
If you want to add more videofiles to the disc click on 48.
drmih
2nd June 2009, 09:34
Indeed the old adage of RTFM. I did try and find it but eventually decided it wasn't there. I can only think that it was probably set to 'No Menu' on the first page which then locked everything else in and I didn't find it too easy to flick back to the very beginning using the tabs.
twazerty
2nd June 2009, 21:44
Indeed the old adage of RTFM. I did try and find it but eventually decided it wasn't there. I can only think that it was probably set to 'No Menu' on the first page which then locked everything else in and I didn't find it too easy to flick back to the very beginning using the tabs.
The New Version I am working on has major improvements. All those annoying and unlogical things are changed.
DTS problem:
Only DTS 1536 is accepted as Untouced audio. DTS ES (768Kbps) will be converted to AC3.
Edit: Folder output will be added. This time I am going for a major upgrade. New design etc.
drmih
3rd June 2009, 21:04
Okay so something has gone wrong. It has just spent 24 hours encoding three items to fit on a bd-25. The are three directories, each with various files but basically .264 and .dts which are about the correct size. However, at the end it quickly threw up imgburn and I have a blu-ray file structure of 4mb and an iso to match - it ignored the files it had created.
twazerty
3rd June 2009, 21:25
Okay so something has gone wrong. It has just spent 24 hours encoding three items to fit on a bd-25. The are three directories, each with various files but basically .264 and .dts which are about the correct size. However, at the end it quickly threw up imgburn and I have a blu-ray file structure of 4mb and an iso to match - it ignored the files it had created.
First time, never seen it before. 4MB is the size of the menu file. The step before creating the iso is the step where it went wrong. Where did you place avchdcoder?
What was your output location?
drmih
3rd June 2009, 21:38
It wasn't in the root it was under c:\bd. Interestingly it didn't change the dts audio to ac3 - there is the original demuxed audio and an identical one (size wise). I'm just muxing the files together to try and create a disc using avchd and am pretty sure they won't fit. I am just redoing the audio to ac3 using eac3to and heard a sound a I heard when your programme was running - like a klaxon. I only glimpsed the screen but there was a problem with the header or something. I guess that that happened when you did the audio which may be where the system broke down, although it did complete.
twazerty
3rd June 2009, 21:50
It wasn't in the root it was under c:\bd. Interestingly it didn't change the dts audio to ac3 - there is the original demuxed audio and an identical one (size wise). I'm just muxing the files together to try and create a disc using avchd and am pretty sure they won't fit. I am just redoing the audio to ac3 using eac3to and heard a sound a I heard when your programme was running - like a klaxon. I only glimpsed the screen but there was a problem with the header or something. I guess that that happened when you did the audio which may be where the system broke down, although it did complete.
Each item will be muxed to an avchd structure. Is the BDMV folder including the files located in each temp item?
drmih
3rd June 2009, 21:58
No, there are 4 directories under Temp (to make it obvious what I'm doing I have taken HDTV versions of the Lord of the Rings movies to put on one bd-r):
Lord of the Rings - Disc
Lord of the Rings - item 1
etc
etc
The 'Disc' has a 4 Mb blu ray file structure whereas the others contain the tracks but no muxing has taken place (I set the flag to not delete the temporary files). In addition there is a 4Mb ISO image in the Output directory.
setarip_old
3rd June 2009, 23:05
@drmih
You might find the answer in my posts #6, #12 and #13 in this thread...
twazerty
6th June 2009, 22:16
No extra features will be added for next release, needs some testing now and I need to finish the tutorial. Before I can release my new version I need some people to test the following iso on a ps3 and other hardware:
Link to iso file (Mediafire) (http://www.mediafire.com/?mmzy2agydm2)
It is an Image with menu. The previous version didn't work on a ps3. This one should work. I ask you to test it for me.
Edit: Specific testing on a NTSC PS3
spida_singh
6th June 2009, 23:05
Tested on a launch date 60gb PS3 UK PAL, played fine, with menu etc, but, seeking and skipping chapters cause playback to pause/stick, had to restart from beginning to get it playing again, going in and out of menu's worked ok during playback, keep up the good work :D
twazerty
6th June 2009, 23:29
Tested on a launch date 60gb PS3 UK PAL, played fine, with menu etc, but, seeking and skipping chapters cause playback to pause/stick, had to restart from beginning to get it playing again, going in and out of menu's worked ok during playback, keep up the good work :D
Seeking and skipping doesn't work because the er nothing to skip to. The subtitles are about 2 hours but the video isn't :) Only thing I need to know if it works on a NTSC PS3.
PS I am ready to release my new version. Installer is ready :) just need to know if it works on a NTSC PS3.
setarip_old
9th June 2009, 00:40
It would be wonderful if you would add the option to choose "normal" priority or (preferable) "idle" priority, which allows for far better multitasking...
Sorry, I don't own a pS3 (nor do my grandkids)
twazerty
9th June 2009, 14:50
It would be wonderful if you would add the option to choose "normal" priority or (preferable) "idle" priority, which allows for far better multitasking...
Sorry, I don't own a pS3 (nor do my grandkids)
I will release it today. Priority can be changed. Default priority is Low. I am not going to make any changes in the current version. All those things will be added/fixed in the next version.
twazerty
9th June 2009, 18:11
New version is released. Also made a installation guide. This guide can be found at tools.twanwintjes.nl. This is the changelog:
Beta v09.06.07
Changed - Joined Audio Tab, Video Tab and subtitles Tab into 1 totally new Tab
Changed - Joined Output Tab and Disc Tab into 1 Tab
Changed - Replaced Layout with "Nimbus Look And Feel"
Added - An installer which will place AVCHDCoder in Program Files and create shortcuts etc.
Added - Change cpu priority
Added - Pause/Resume button
Added - Force subtitles track #1
Upgraded - Up to 8 items on 1 disc for both Menu and No Menu
Fixed - NTSC wouldn't play disc with menu
Added - All supported files when choosing video file or subtitles file
Added - ASS subtitles support
Added - Polish to the list of languages
Added - Subtitles Preset Editor with Font and Color Chooser.
Added - Support for 32 subtitles streams
Added - Add an external subtitles file or internal subtitles stream more then once.
Added - Possible to give each stream another subtitles preset
Added - Change the order of the subtitles streams
Added - Drag and drop videofile and subtitles streams into the program.
Added - Cut-Past-Copy at Chapters settings
Added - PGS sup files are automaticly resized
Added - Folder choosers
Fixed - Some minor bugs
Updated - tsMuxeR to 1.10.6
Updated - ImgBurn to 2.4.4.0
Updated - mkvtoolnix
I'll download and report back any bugs I see with initial testing.
Edit: Just noticed, but one feature that would be nice would be to automatically import the chapters from a bluray. Should be easy enough to do with eac3to, as it automatically scans the bluray structure and will output a chapter file if you ask it to.
twazerty
9th June 2009, 19:05
I'll download and report back any bugs I see with initial testing.
Edit: Just noticed, but one feature that would be nice would be to automatically import the chapters from a bluray. Should be easy enough to do with eac3to, as it automatically scans the bluray structure and will output a chapter file if you ask it to.
Can you point me in the right direction. Searching but i cannot find how.
setarip_old
9th June 2009, 20:38
Request for automating custom chapter importing was already made way back in post #24:Additionally, please modify your program so that one can simply "Cut & Paste" a custom chapter list, rather than having to enter each time manually?
Better still, why not automate the process? Recent versions of "tsMuxeR" pick up the existing chapter information from MKVs.
twazerty
9th June 2009, 22:00
Request for automating custom chapter importing was already made way back in post #24:
tsMuxer cannot deliver me chapter information. tsMuxer can only give you the chapters in the tsMuxerGUI. I am not using that. Or does the command line version give me the chapter?
Adub
10th June 2009, 00:09
The chapters are listed by eac3to just like any other track. You simply select the track and tell eac3to to output them to a .txt file or similar.
setarip_old
10th June 2009, 00:35
@twazerty
According to the author of "tsMuxeR", since v.1.7.8:Ability to open Blu-ray playlist (MPLS) files added. Also, when MPLS file is opened, chapters list automatically imported.
Visor
10th June 2009, 09:36
Hi twazerty,
This app is looking better all the time, but could you please revisit your x264 encode profile and lower the keyint and keyint_min values? Right now you have them set for 250/25 which makes things incredibly sluggish when scanning forward/backward or jumping chapters. They should be set to 24/2 (this reflects the Blu-ray profiles on MeGUI) to provide a smoother scanning experience that's similar to actual Blu-ray discs.
Thanks,
Visor
turbojet
10th June 2009, 11:37
twazerty: Thanks for the new version I like the new look and streams window and the pause/resume. However after a little bit of testing I've found a few issues they are:
- set dts-core on select streams, press add, it doesn't go to output page
- if you have a dts-core title in job the job won't start
- output is very strange. Most compatible output is 1.10.6 default but having an option to remove AUXDATA/BDJO/CERTIFICATE/JAR/META would be helpful for the few players that can't play tsmuxer's default output.
- 720p sup files are positioned about 20 lines higher then the original, subs on top of pic may be cut off
- BD25 output uses --vbv-maxrate 24000 projects < ~2 hours will be undersized. BD allows 40 mbps video bitrate max and 48 mbps total.
And a few additions/changes I thought of:
- Menu editor, change selection names, remove intro video, etc.
- apply 'auto-set' on output page by default and remove the button, it's normal behavior in all apps that I've used
- moving force subtitle option to the right of the subtitles on select stream page or in subtitles page
- any use for adding internal subtitles? if not maybe merge order/add subtitles to subtitles page and move browse for external subtitles to subtitles page
- support keeping 192, 224, 256 kbps AC3 (overhead is already public knowledge)
- support encoding 2.0 to 192 kbps
- support interlaced input, if interlaced add x264 --interlaced
- support multiple languages on sub streams to keep in settings
- quality indicator would be a little more accurate if it was dependent on resolution but most accurate with a compression check
- no installer version
- how to use opens the pdf instead of telling to open from start menu
- path of titles already in the project on output page
- option to end playback after all titles are done playing (add break to end of BD commands)
- option to use 64-bit x264 using avs2yuv also have an auto option which is default, if x64 OS use 64 bit otherwise use 32 bit
also did you want me to delete the features that are now added from the list I wrote awhile back?
The chapters are listed by eac3to just like any other track. You simply select the track and tell eac3to to output them to a .txt file or similar.
To add to this chapters have always been track 1 in every BD I've seen. Maybe there is exceptions though. Maybe EAC3to could also get stream languages from BD.
Hi twazerty,
This app is looking better all the time, but could you please revisit your x264 encode profile and lower the keyint and keyint_min values? Right now you have them set for 250/25 which makes things incredibly sluggish when scanning forward/backward or jumping chapters. They should be set to 24/2 (this reflects the Blu-ray profiles on MeGUI) to provide a smoother scanning experience that's similar to actual Blu-ray discs.
Thanks,
Visor
I agree. While long GOP's have noticeable advantages in a few situations over short GOP's. It's disadvantages are noticeable on a lot of players. Plus short GOP's greatly increase the chance of hitting the chapter accurately but for this x264 --qp-file would make it 100% accurate. I think short GOP's should be default and long GOP's an option along with a few other x264 options like psy-trellis.
twazerty
10th June 2009, 16:02
FIXED - set dts-core on select streams, press add, it doesn't go to output page
FIXED - if you have a dts-core title in job the job won't start
FIXED (Forgot AUXDATA) - output is very strange. Most compatible output is 1.10.6 default but having an option to remove AUXDATA/BDJO/CERTIFICATE/JAR/META would be helpful for the few players that can't play tsmuxer's default output.
- 720p sup files are positioned about 20 lines higher then the original, subs on top of pic may be cut off
the resizing will be done while muxing. bottom-offset=0. Can't find the problem
- BD25 output uses --vbv-maxrate 24000 projects < ~2 hours will be undersized. BD allows 40 mbps video bitrate max and 48 mbps total.
When BD25 is selected max bitrate is 40000
And a few additions/changes I thought of:
- Menu editor, change selection names, remove intro video, etc.
Menu editor is not possible for me. Don't have the knowedge to build it.
- apply 'auto-set' on output page by default and remove the button, it's normal behavior in all apps that I've used
Let's think. Now the output file is based on the Disc Title when you hit the button. If I remove the button and you don't select a location manually I will automaticly choose default location after a question. Great idea.
- moving force subtitle option to the right of the subtitles on select stream page or in subtitles page
My current design doesn't allow me to do that. It is Force subs for each item or not aka for the whole disc. Maybe in the near future I will make some changes. No high priority for now
- any use for adding internal subtitles? if not maybe merge order/add subtitles to subtitles page and move browse for external subtitles to subtitles page
I use the feature myself a lot. Can't find a way to merge them whitout losing space for the order subtitles. No high priority now but I'll find a way to merge them.
- support keeping 192, 224, 256 kbps AC3 (overhead is already public knowledge)
I use my own formulas and those are not availible on the internet. It has no high priority but formulas are easy to make for me. Need your help to speed up the process. If you are interested in delivering me data i will add it to AVCHDCoder. (I'll tell you what and how to deliver)
- support encoding 2.0 to 192 kbps
2.0 is supported if 384, 448 or 640 kbps (same as above)
- support interlaced input, if interlaced add x264 --interlaced
What will output be if i do that. Progressive or interlaced?
- support multiple languages on sub streams to keep in settings
Needed to read it a couple of times before i understood it :) How many? Current is 1. maybe trough a seperate panel where you can select them you want to keep?
- quality indicator would be a little more accurate if it was dependent on resolution but most accurate with a compression check
With the first part: What do you mean?
- no installer version
Next version will also be released as exe only. (Complete install and exe only)
- how to use opens the pdf instead of telling to open from start menu
Great idea
- path of titles already in the project on output page
if i add previous idea this isn't neccesary
- option to end playback after all titles are done playing (add break to end of BD commands)
I thought I already added that. No option but by default
- option to use 64-bit x264 using avs2yuv also have an auto option which is default, if x64 OS use 64 bit otherwise use 32 bit
already planned to add this feature.
This are my settings:
[videobitrate] = calulated bitrate
[Maxbitrate] = 24000 for DVD5/9 and 40000 for BD25
Pass 1 Slow:
x264 --pass 1 --bitrate [videobitrate] --stats [stats file] --level 4.1 --keyint 240 --min-keyint 24 --bframes 3 --weightb --direct auto
--subme 2 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate [Maxbitrate] --me dia --threads auto --thread-input
--sar 1:1 --progress --no-ssim --output NUL [input avs file]
Pass 2 Slow:
x264 --pass 2 --bitrate [videobitrate] --stats [stats file] --level 4.1 --keyint 240 --min-keyint 24 --ref 3 --mixed-refs --no-fast-pskip
--bframes 3 --weightb --direct auto --subme 7 --trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000
--vbv-maxrate [Maxbitrate] --me umh --threads auto --thread-input --sar 1:1 --progress --no-ssim --output [output file] [input avs file]
Pass 1 Fast:
x264 --pass 1 --bitrate [videobitrate] --stats [stats file] --level 4.1 --bframes 3 --weightb --direct auto --subme 2 --partitions none
--ipratio 1.1 --pbratio 1.1 --vbv-bufsize 24000 --vbv-maxrate [Maxbitrate] --qcomp 0.5 --me dia --threads auto --thread-input --sar 1:1
--progress --no-psnr --no-ssim --output NUL [input avs file]
Pass 2 Fast:
x264 --pass 2 --bitrate [videobitrate] --stats [stats file] --level 4.1 --bframes 3 --weightb --direct auto --subme 5
--partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 24000 --vbv-maxrate [Maxbitrate] --qcomp 0.5
--threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output [output file] [input avs file]
Don't understand much about it. I ripped the fast profile from megui presets. slow profile is custom (Delivered by ps3avchd.net)
If you can fix them for me: :thanks:.
Visor
10th June 2009, 16:43
This are my settings: ...--keyint 240 --min-keyint 24...
Hi again twazerty, these are the 2 settings that you should adjust. For best results, (following XolocoTuxMaster's "SA-Blu-ray" profile incorporated into MeGui), these values should be --keyint 24 --min-keyint 2. Please note these should also be added to the fast profiles. See the following post for more details:
http://forum.doom9.org/showthread.php?p=1118082#post1118082
Thanks!
Visor
turbojet
10th June 2009, 18:05
FIXED - set dts-core on select streams, press add, it doesn't go to output page
FIXED - if you have a dts-core title in job the job won't start
FIXED (Forgot AUXDATA) - output is very strange. Most compatible output is 1.10.6 default but having an option to remove AUXDATA/BDJO/CERTIFICATE/JAR/META would be helpful for the few players that can't play tsmuxer's default output.
Thanks. 2 more bug reports:
- settings page: delete temp file always enabled on restart
- settings page: default output always set to iso on restart
- 720p sup files are positioned about 20 lines higher then the original, subs on top of pic may be cut off
the resizing will be done while muxing. bottom-offset=0. Can't find the problem
TSMuxer may resize during demuxing as well, how are you demuxing the sup files?
- moving force subtitle option to the right of the subtitles on select stream page or in subtitles page
My current design doesn't allow me to do that. It is Force subs for each item or not aka for the whole disc. Maybe in the near future I will make some changes. No high priority for now
Oh ok I understand, never mind my suggestion.
- any use for adding internal subtitles? if not maybe merge order/add subtitles to subtitles page and move browse for external subtitles to subtitles page
I use the feature myself a lot. Can't find a way to merge them whitout losing space for the order subtitles. No high priority now but I'll find a way to merge them.
What do you mean merge the subtitles?
From my limited testing loading internal subs only gives only the same options that are already in the select stream window.
- support keeping 192, 224, 256 kbps AC3 (overhead is already public knowledge)
I use my own formulas and those are not availible on the internet. It has no high priority but formulas are easy to make for me. Need your help to speed up the process. If you are interested in delivering me data i will add it to AVCHDCoder. (I'll tell you what and how to deliver)
See here (http://forum.doom9.org/showthread.php?p=1220277&highlight=458752#post1220277)
- support encoding 2.0 to 192 kbps
2.0 is supported if 384, 448 or 640 kbps (same as above)
After overheads are added 2.0 at even 384 kbps seems like overkill.
- support interlaced input, if interlaced add x264 --interlaced
What will output be if i do that. Progressive or interlaced?
Interlaced, if you don't add --interlaced the stream will appear as progressive, not only is this wrong but 30p is not in the BD/AVCHD standards while 30i frames per second/60i fields per seconds is.
- support multiple languages on sub streams to keep in settings
Needed to read it a couple of times before i understood it :) How many? Current is 1. maybe trough a seperate panel where you can select them you want to keep?
All possible, either select\deselect with shift/ctrl keys or check boxes
- quality indicator would be a little more accurate if it was dependent on resolution but most accurate with a compression check
With the first part: What do you mean?
1920x1080 and 1280x720 give the same 'quality message' and 4500 kbps is minimum recommended for both. While it's a complete shot in the dark they should appear quite differently. Using bits per pixel 4500 kbps 1080p = 2000 kbps 720p
- option to end playback after all titles are done playing (add break to end of BD commands)
I thought I already added that. No option but by default
Oh sorry, was looking at wrong output, you are correct. Probably really no need for an option
- option to use 64-bit x264 using avs2yuv also have an auto option which is default, if x64 OS use 64 bit otherwise use 32 bit
already planned to add this feature.
OK I can help with the auto setting if you need help with it.
This are my settings:
[videobitrate] = calulated bitrate
[Maxbitrate] = 24000 for DVD5/9 and 40000 for BD25
Pass 1 Slow:
x264 --pass 1 --bitrate [videobitrate] --stats [stats file] --level 4.1 --keyint 240 --min-keyint 24 --bframes 3 --weightb --direct auto
--subme 2 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate [Maxbitrate] --me dia --threads auto --thread-input
--sar 1:1 --progress --no-ssim --output NUL [input avs file]
Pass 2 Slow:
x264 --pass 2 --bitrate [videobitrate] --stats [stats file] --level 4.1 --keyint 240 --min-keyint 24 --ref 3 --mixed-refs --no-fast-pskip
--bframes 3 --weightb --direct auto --subme 7 --trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000
--vbv-maxrate [Maxbitrate] --me umh --threads auto --thread-input --sar 1:1 --progress --no-ssim --output [output file] [input avs file]
Pass 1 Fast:
x264 --pass 1 --bitrate [videobitrate] --stats [stats file] --level 4.1 --bframes 3 --weightb --direct auto --subme 2 --partitions none
--ipratio 1.1 --pbratio 1.1 --vbv-bufsize 24000 --vbv-maxrate [Maxbitrate] --qcomp 0.5 --me dia --threads auto --thread-input --sar 1:1
--progress --no-psnr --no-ssim --output NUL [input avs file]
Pass 2 Fast:
x264 --pass 2 --bitrate [videobitrate] --stats [stats file] --level 4.1 --bframes 3 --weightb --direct auto --subme 5
--partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 24000 --vbv-maxrate [Maxbitrate] --qcomp 0.5
--threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output [output file] [input avs file]
Don't understand much about it. I ripped the fast profile from megui presets. slow profile is custom (Delivered by ps3avchd.net)
If you can fix them for me: :thanks:.
While it's completely opinionated this is what I'd use:
Pass 1 Fast/Default: x264 --pass 1 --level 4.1 --keyint 24 --min-keyint 2 --bframes 3 --subme 2 --partitions none --me dia --threads auto --thread-input --progress --no-psnr --no-ssim
Pass 1 Slow: x264 --pass 1 --level 4.1 --keyint 24 --min-keyint 2 --bframes 3 --b-adapt 2 --subme 2 --partitions none --me dia --threads auto --thread-input --progress --no-psnr --no-ssim
Pass 2 Fast: x264 --pass 2 --level 4.1 --keyint 24 --min-keyint 2 --ref 2 --bframes 3 --weightb --direct auto --threads auto --thread-input --progress --no-psnr --no-ssim --output "output" "input"
Pass 2 Default: x264 --pass 2 --level 4.1 --keyint 24 --min-keyint 2 --ref 3 --bframes 3 --weightb --direct auto --subme 7--partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --progress --no-psnr --no-ssim --output "output" "input" --psy-rd 1.0:0.2
Pass 2 Slow: x264 --pass 2 --level 4.1 --keyint 24 --min-keyint 2 --ref 4 --bframes 3 --b-adapt 2 --weightb --direct auto --subme 9 --trellis 2 --partitions all --8x8dct --me umh --no-fast-pskip --no-dct-decimate --threads auto --thread-input --progress --no-psnr --no-ssim --output "output" "input" --psy-rd 1.0:0.2
If you want to stick with just 2 go with default and fast. The slow is fairly slow. One thing that might work better as an option like 'use psy-trellis for sharper output' then as default is --psy-rd 1.0:0.2 while I think it does a very good job of keeping the sharpness of the source some people don't care for it.
twazerty
10th June 2009, 18:42
- settings page: delete temp file always enabled on restart
- settings page: default output always set to iso on restart
Changed so many things al those tiny bugs appeard :P. Fixed.
TSMuxer may resize during demuxing as well, how are you demuxing the sup files?
MUXOPT --no-pcr-on-video-pid --new-audio-pes --demux --vbr --vbv-len=500
A_DTS, [sourcefile], track=[trackid]
S_HDMV/PGS, [sourcefile], fps=[source fps], track=[trackid]
What do you mean merge the subtitles?
From my limited testing loading internal subs only gives only the same options that are already in the select stream window.
Merging the tabs :)
The idea of adding internal subtitles is this:
Now you can add the same subtitle again only with a different preset. So you can choose between different settings. This is only usefull for srt and ass files.
See here (http://forum.doom9.org/showthread.php?p=1220277&highlight=458752#post1220277)
They are not correct and/or i can't get the correct bitrate out of it. My own formulas are much better. (Actually they are much easier than those in the topic.)
After overheads are added 2.0 at even 384 kbps seems like overkill.
To prevent problems I need to work with my formulas. I don't want to hack more stuff into it. Currect module allows me to add more formulas.
Interlaced, if you don't add --interlaced the stream will appear as progressive, not only is this wrong but 30p is not in the BD/AVCHD standards while 30i frames per second/60i fields per seconds is.
So both input and output wil be interlaced? What will happen if I add --interlaced on a progressive input?
1920x1080 and 1280x720 give the same 'quality message' and 4500 kbps is minimum recommended for both. While it's a complete shot in the dark they should appear quite differently. Using bits per pixel 4500 kbps 1080p = 2000 kbps 720p
In the past I already had this disscussion. Basicly:
Visible quality will remain the same for both resolutions at the same bitrate. Analysed frame by frame and both gave me similar quality. Sometimes the 720p was better and sometimes 1080p was better. That is why I use only 1 quality indicator because I am convinced 720p at 2000kbps is far worser then 1080p at 4500. (Tested on a high action movie: The Matrix) Don't want to start the discussion again.
OK I can help with the auto setting if you need help with it.
I'll ask for help if I can't get it to work. The topic on the forum provides me enough information for now.
While it's completely opinionated this is what I'd use:
Passes
If you want to stick with just 2 go with default and fast. The slow is fairly slow. One thing that might work better as an option like 'use psy-trellis for sharper output' then as default is --psy-rd 1.0:0.2 while I think it does a very good job of keeping the sharpness of the source some people don't care for it.
Don't actually now what I am going to do.
Edit: What do you think the bitrate is for this file:
DVD5
120 minute movie
AC3 448kbps
If you calculate the bitrate that is needed for the encoder. I'll do the same with my formulas. Remember: The bitrate for the h264 file. Keep in mind the unknown overhead of m2ts. This way we can see if I made a mistake calculating with the values in that thread.
turbojet
10th June 2009, 20:06
Changed so many things al those tiny bugs appeard :P. Fixed.
OK
MUXOPT --no-pcr-on-video-pid --new-audio-pes --demux --vbr --vbv-len=500
A_DTS, [sourcefile], track=[trackid]
S_HDMV/PGS, [sourcefile], fps=[source fps], track=[trackid]
I don't think that should affect it. I'll investigate further.
Merging the tabs :)
The idea of adding internal subtitles is this:
Now you can add the same subtitle again only with a different preset. So you can choose between different settings. This is only usefull for srt and ass files.
Oh ok that makes sense.
They are not correct and/or i can't get the correct bitrate out of it. My own formulas are much better. (Actually they are much easier than those in the topic.)
To prevent problems I need to work with my formulas. I don't want to hack more stuff into it. Currect module allows me to add more formulas.
I can't make much sense of them either but it's no surprise as math was one of my worst subjects.
So both input and output wil be interlaced? What will happen if I add --interlaced on a progressive input?
These are the times when --interlaced should be used as per standards:
framerate is 29.97
resolution is 720x480 framerate must be 29.97 fps (pulldown)
resolution is 720x576 framerate must be 25 fps
framerate is 25i
In case of confusion I'm using the framerate of how it's on BD as 29.97i / 25i instead of how it's displayed on a progressive TV at 60i / 25i after frame doubling.
In the past I already had this disscussion. Basicly:
Visible quality will remain the same for both resolutions at the same bitrate. Analysed frame by frame and both gave me similar quality. Sometimes the 720p was better and sometimes 1080p was better. That is why I use only 1 quality indicator because I am convinced 720p at 2000kbps is far worser then 1080p at 4500. (Tested on a high action movie: The Matrix) Don't want to start the discussion again.
Frankly compressibility should be the only quality factor that's ever used. Bitrate and bits per pixel are wild guesses.
Edit: What do you think the bitrate is for this file:
DVD5
120 minute movie
AC3 448kbps
If you calculate the bitrate that is needed for the encoder. I'll do the same with my formulas. Remember: The bitrate for the h264 file. Keep in mind the unknown overhead of m2ts. This way we can see if I made a mistake calculating with the values in that thread.
This is such a PITA without a free-range calculator that's accurate like gordian knot. I can't get you 448 AC3 at this time, but RipBot264 gives me:
120 minutes
192 AC3 = 4714 kbps
224 AC3 = 4715 kbps
256 AC3 = 4669 kbps
60 minutes
192 AC3 = 9716 kbps
224 AC3 = 9717 kbps
256 AC3 = 9671 kbps
It looks weird but I remember the dev saying it's actual and I haven't seen anyone report sizing issues with any of these bitrates although they might not be very well tested.
twazerty
10th June 2009, 22:36
I am working on 64bit via avs2yuv.exe but can't get it to work. Installed ffdshow64 bit. ffdshow will popup to ask if i want to use avs2yuv.exe but after that encoding will be skipped.
"C:\A\Tools\avs2yuv.exe" "C:\A\Temp\input.avs" -raw - | "C:\A\Tools\x264.exe" --pass 1 --bitrate 20000 --stats "C:\A\Temp\input.stats" --level 4.1 --keyint 240
--min-keyint 24 --bframes 3 --weightb --direct auto --subme 2 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate 24000 --me dia --threads auto
--thread-input --sar 1:1 --progress --no-ssim --output NUL -
"C:\A\Tools\avs2yuv.exe" "C:\A\Temp\input.avs" -raw - | "C:\A\Tools\x264.exe" --pass 2 --bitrate 20000 --stats "C:\A\Temp\input.stats" --level 4.1 --keyint 240
--min-keyint 24 --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --weightb --direct auto --subme 7 --trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1
--vbv-bufsize 9000 --vbv-maxrate 24000 --me umh --threads auto --thread-input --sar 1:1 --progress --no-ssim --output "C:\A\Output\output.264" -
turbojet
10th June 2009, 23:36
Input is still being decoded by 32 bit apps, but for avs2yuv you need to pass it some extra parameters, also pipebuf.exe can assist on setting a larger buffer for more speed.
An example using this tool (http://forum.doom9.org/showthread.php?t=144140).
Source: E:\test.avs
Output: E:\test.mkv
Params: --crf 26
Analayzing source file:
E:\test.avs: 1280x720, 2500000/104271 fps, 1275 frames
Resolution: 1280 x 720
Frame No. : 1275
Frame Rate: 2500000/104271
x264 0.66.1101M b69548a
built on Feb 5 2009, gcc: 4.4.0 20081231 (experimental)
Commandline for x264:
"F:\TOOLS\x264 x64 Launcher\pipebuf.exe" "F:\TOOLS\x264 x64 Launcher\avs2yuv.exe" E:\test.avs -raw - : "F:\TOOLS\x264 x64 Launcher\x264_x64.exe" --crf 26 --threads auto --progress --frames 1275 --fps 2500000/104271 --output E:\test.mkv - 1280x720 : 4
The weird --fps is needed for accurate 25 and 29.97 output. 23.976 won't be accurate (http://forum.doom9.org/showthread.php?t=147672) until x264 is fixed. Common --fps like 29.97, 29.97030, 29.97/10001 won't work.
setarip_old
13th June 2009, 18:30
@twazerty
I just downloaded and started to install AVCHDCoder v.09.06.07 - and McAfee tells me that the package includes "PrcViewer" as part of "Process.exe" in "AVCHDCoder090607beta\Tools\".
McAfee states that "McAfee has blocked a potentially unwanted program (PUP) on your computer. If you do not recognize it, we recommend that you remove the program."
Please advise, is this a "safe"/legitimate content that you've knowingly included in this package, or is there a reason for concern?
twazerty
13th June 2009, 18:47
@twazerty
I just downloaded and started to install AVCHDCoder v.09.06.07 - and McAfee tells me that the package includes "PrcViewer" as part of "Process.exe" in "AVCHDCoder090607beta\Tools\".
McAfee states that "McAfee has blocked a potentially unwanted program (PUP) on your computer. If you do not recognize it, we recommend that you remove the program."
Please advise, is this a "safe"/legitimate content that you've knowingly included in this package, or is there a reason for concern?
Did a check with AVG. No detections found. I don't think there is a reason for concern. What will happen if you manually check process.exe What does mcafee says?
Seems to be a normal warning. See this mcafee site:
http://vil.nai.com/vil/content/v_137331.htm
It will point to the url given in this thread.
setarip_old
13th June 2009, 19:02
Did a check with AVG. No detections found. I don't think there is a reason for concern.Thank you ;>}
setarip_old
15th June 2009, 05:34
What changes have been made in v.09.06.13?
setarip_old
16th June 2009, 02:50
@twazerty
I installed v.09.06.07, while also keeping v.04.23.1 installed on the same system. Does having both versions installed on the same system cause problems?
I ask because, since installing v.09.06.07, I've had completely unacceptable identical results regarding the two titles I've processed (as both MKV and M2Ts formats sourced from original, commercial BluRay discs) using both v.04.23.1 and v.09.06.07 - a total of 8 full conversions:
Although the original unprocessed rips play perfectly, all 8 "AVCHDCoder"-processed full movies exhibited sporadic but frequent video stuttering (especially during horizontal panning scenes), as well as total stoppage of motion, while audio continued.
I then took a 1 minute, 191,000Kb clip from one of the original rips, "National Treasure", that included (the same) horizontal panning and processed it using both versions of "AVCHDCoder" and then "BD_Rebuilder" (with the same settings). The results were as follows:
1) Both versions of "AVCHDCoder" exhibited the same stutter and stop behavior
2) The "BD_Rebuilder" version played perfectly
3) Each version of the "AVCHDCoder" conversions was 388,000 in size (Twice the size of the original, unprocessed clip)
4) The "BD-Rebuilder" conversion 119,000 Kb in size
Please keep in mind that I had no such problems when the only installed "AVCHDCoder" version I had was v.09.06.07, as well as "BD-Rebuilder"
Please advise.
**ADDITIONAL INFO - I uninstalled v.09.06.07 and then tried v.04.23.1 - Same unacceptable result.
twazerty
16th June 2009, 13:51
My app can't cause such problems (only the logics are inside AVCHDCoder). I totally depend on external applications. There can only be 2 things that can cause the problems: The x264 settings or ffdshow. What will happen if you choose the faster encoding profile?
If I did found stuttering I never released this app. I also can't find any problems. They all work perfectly. You can also try to update ffdshow. I know ffdshow can cause strange problems. (Like converting but generating very poor video files after updating ffdshow it was perfectly like it should be.)
More versions of AVCHDCoder can be installed side by side. When you only run 1 instance there can't be any problem.
AVCHDCoder always pushes the bitrate to the limit. That's why the file is twice the size.
twazerty
16th June 2009, 15:32
Today I added the formulas for:
AC3 192 Kbps
AC3 224 Kbps
AC3 256 Kbps
AC3 512 Kbps
AC3 576 Kbps
DTS-ES 768 Kbps
Am I missing some important bitrates?
Changed some things and now I can't test the DTS-HD 3072 Kbps version :) Does anyone has a sample for me?
I already have DTS-HD sample of VBR bitrates. Only needs the one with CBR 3072 Kbps also know as 3018 Kbps
setarip_old
17th June 2009, 22:31
@twazerty
Further testing on my part seems to indicate that the problem lies with concurrently running another program that uses either x264 or ffdshow.
I believe this could possibly be overcome by (As I've previously suggested) adding "Idle" as a performance option (As is the case with BD Rebuilder), as "Idle" makes for better "sharing".
Your thoughts, please?
twazerty
17th June 2009, 23:52
@twazerty
Further testing on my part seems to indicate that the problem lies with concurrently running another program that uses either x264 or ffdshow.
I believe this could possibly be overcome by (As I've previously suggested) adding "Idle" as a performance option (As is the case with BD Rebuilder), as "Idle" makes for better "sharing".
Your thoughts, please?
What do you mean with Idle? And what do you mean with "sharing"?
setarip_old
18th June 2009, 00:46
"Idle" is another option in addition to "Low", "Normal", "High", and "Highest" - and it appears to more properly deal with multitasking involving two programs (e.g. "AVCHDCoder" and "BD Rebuilder" [or a second iteration of "AVCHDCoder") that access the same underlying programs (e.g. "FFdshow" and/or "x264")...
(I believe there is discussion of this in the "BD Rebuilder" subforum here)
turbojet
18th June 2009, 21:00
twazerty: The DTS-HD input works ok now, thanks. I have found that TSMuxer has issues resizing some sups like these (http://www.mediafire.com/download.php?njmgtaij4xj) and the only current workaround I know of is to us BDSup2Sub. Also is there a chance of having a free-form AVCHD bitrate calculator either inside AVCHDcoder or a separate tool that allows:
video: typing a time to the second HH:MM:SS and open an avs, (m2)ts, mkv
audio: selecting bitrate from pulldown box and loading ac3, dts, wav files
subs: multiple selection of up to 32 subs
resolution: 1920x1080, 1280x720, 1440x1080, 720x480, 720x576
frames: shows number of video frames
bpp: shows bits per pixel by calculating: (Width * Height) / kbps = bpp
compressibility check: uses avs with 'SelectRangeEvery(frames / 30, 14)' serving to x264.exe --crf 18
results of the compressibility check in % like gordian knot
setatup_old: low = idle process priority if that's what you mean.
setarip_old
18th June 2009, 21:17
@turbojetsetatup_old: low = idle process priority if that's what you mean.I believe you are mistaken. "Idle" allows for "on-the-fly" adjustment of CPU usage, based on the usage of other programs running concurrently, whereas "Low" priority uses a fixed amount of CPU, regardless of other programs running concurrently...
(Check out "VirtualDub's" options, for example)
turbojet
18th June 2009, 21:36
You are referring to the non-standard process priorities like virtualdub uses?
Idle in virtualdub does not equal 'idle' process priority in task manager, process explorer, etc. The only way to accurately change the process priority of virtualdub while it's running is through the status window. I've never ran into any other apps that use non-standard process priorities.
twazerty
19th June 2009, 00:07
@turbojetI believe you are mistaken. "Idle" allows for "on-the-fly" adjustment of CPU usage, based on the usage of other programs running concurrently, whereas "Low" priority uses a fixed amount of CPU, regardless of other programs running concurrently...
(Check out "VirtualDub's" options, for example)
If you look at the priority list at your taskmanager you can only find the priority's you'll find in AVCHDCoder.
twazerty: The DTS-HD input works ok now, thanks. I have found that TSMuxer has issues resizing some sups like these and the only current workaround I know of is to us BDSup2Sub. Also is there a chance of having a free-form AVCHD bitrate calculator either inside AVCHDcoder or a separate tool that allows:
video: typing a time to the second HH:MM:SS and open an avs, (m2)ts, mkv
audio: selecting bitrate from pulldown box and loading ac3, dts, wav files
subs: multiple selection of up to 32 subs
resolution: 1920x1080, 1280x720, 1440x1080, 720x480, 720x576
frames: shows number of video frames
bpp: shows bits per pixel by calculating: (Width * Height) / kbps = bpp
compressibility check: uses avs with 'SelectRangeEvery(frames / 30, 14)' serving to x264.exe --crf 18
results of the compressibility check in % like gordian knot
setatup_old: low = idle process priority if that's what you mean.
I do have plans to continue with the development of AVCHD Bitrate Calculator (My first app with a short life). There are couple of reasons:
-Now I understand more about how overhead is working.
-Now I do have more formulas.
-I do have formulas for wav 5.1 and 7.1
Some information:
Bitrate is not based on resolution. High or low resolution will give you the same overhead. Bitrate cannot be calculate by telling how many subs you use. The calculator needs the size of the final sup files to calculate bitrate. SRT and number is useless.
Basicly it comes to this:
- Open mkv/m2ts or enter running time (HH:MM:SS or just in seconds)
- Choose bitrate from dropdown box
- Add sup files or enter total size or use fixed sizes of 25MB each
- Hit the calculate button
I don't know if I add Quality checks.
I've added another feature to AVCHDCoder:
Support for WMVHD files with the support of keeping all 6 channels !!
Only wmvhd with wma will be supported. wmvhd with ac3 or dts wont be supported.
Before you can convert wmv files you need to install dbpoweramp and the wma plugin because the conversion of audio is:
WMV --> WMA (asfbin.exe)
WMA --> Flac (CoreConverter.exe)
Flac --> AC3 (eac3to.exe)
turbojet
19th June 2009, 04:58
Some information:
Bitrate is not based on resolution. High or low resolution will give you the same overhead. Bitrate cannot be calculate by telling how many subs you use. The calculator needs the size of the final sup files to calculate bitrate. SRT and number is useless.
Speaking of srt would it be able to use Srt2BDSup or tsmuxer to convert to sup for srt input?
Basicly it comes to this:
- Open mkv/m2ts or enter running time (HH:MM:SS or just in seconds)
- Choose bitrate from dropdown box
- Add sup files or enter total size or use fixed sizes of 25MB each
- Hit the calculate button
It's a good start and I'm looking forward to it have you considered these?
- avs video input
- browse for audio input
- on the fly calculation instead of pressing calculate
I don't know if I add Quality checks.
The reason I mentioned these is because bits per pixel is a fairly simple calculation and tells you roughly what bitrate is needed for 1280x720 to get roughly the same crf (quality?) as 1920x1080 and vice versa. Compressibility check is by far most (only?) reliable calculation when trying to decide what target/resolution to use. While I can understand it's kind of complicated to add I hope you do consider it for it's something that's pretty important when dealing with DVD5/9 sizes and so far missing from the AVCHD gui's. Gordian knot some what works for x264 but I've found it unreliable for x264 calcutations.
One more thing is x264's output of 23.976 is changed this breaks some software (eac3to) and possibly 24p on some standalones (panasonic, samsung) to workaround this either add assumefps(24000,1001) to avs or use x264.exe --fps 24000/1001
setarip_old
19th June 2009, 09:51
@twazerty
See the following - and again, see VirtualDub:
http://foldingforum.org/viewtopic.php?f=47&t=5061&start=15+Idle+versus+low+++cpu+priority&cd=11&hl=en&ct=clnk&gl=us#p82178
twazerty
23rd June 2009, 19:39
Will continue within a couple of days. (School etc)
But I released AVCHDCalculator today. I dont know in which section I have to but it. Weblink to my website: http://tools.twanwintjes.nl/index.php?page=avchdcalc
Screenshot:
http://tools.twanwintjes.nl/uploads/images/AVCHDCalculator.jpg
twazerty
25th June 2009, 15:21
New version out. Changelog:
Beta v09.06.25
Fixed - Broken mds file
Fixed - META file didn't contain quotes which causes some files failing to extract
Fixed - Temp files won't be deleted correctly
Fixed - Skipping and jumping didn't work or didn't work smooth.
Added - WMVHD support (with WMA audio only, dbpoweramp and wma codec required. See manual for instructions)
Added - USB 4GB output
Added - BD-50 output
Added - Custom output size (250MB - 50GB)
Added - Support for DTS-ES 768kbps, AC3 192, 224, 256 and AC3 576 kbps
Updated - x264.exe to r1171
setarip_old
25th June 2009, 20:31
@twazerty
Very impressive update list - I look forward to checking out your latest update.
Have you fixed the awful looking NOT anti-aliased red text on the opening screen?
twazerty
25th June 2009, 20:58
@twazerty
Very impressive update list - I look forward to checking out your latest update.
Have you fixed the awful looking NOT anti-aliased red text on the opening screen?
You mean the splash screen? It looks ok to me:
http://i43.tinypic.com/w7gf4o.jpg
Forgot to add this to the changelog:
-Elapsed time is shown in the header of AVCHDCoder.
-After queue is executed a popup will show with the total elapsed time.
Turbojets remaining items, I've gave them a priority and added some of my own.
Priority 4: Must Have
- keep HD audio, PCM could use Pcm2Tsmu (for BD25 at least, 1-2 GB free on BD25 should be no problem)
- get original chapters from mkv/mpls/bd and use as default
Priority 3: Should Have
- ts input
- mts input
- Move job up/down
- Abort button
- kill only command windows avchdcoder calls instead of all when deleting all jobs (bug fix?)
- if video is avchd compliant and video+audio fits size selected offer to not encode or encode just audio and just mux
- x264 settings for advanced users: --ref 1-4 --bpyramid --psy-rd --deblock --vaq, and long (240/24) or short (24/1) gop
- output with encoding info and errors
- More advanced settings like choosing multiple preferred languages.
- Burn files one by one after queue is executed.
Priority 2: Could Have
- H264 input
- external audio support
- get language from all streams
- mutliple audio track support
- convert chapters to x264 qp-file and use for accurate chapter stops
- mpls input (very helpful for seamless branching and keeping BD chapters)
- BD input selects largest playlist by default with an option to choose another
- compression check with --crf 18 on 3% of the clip using selectevery and use the results to judge quality instead of bitrate
Prioriry 1: Would Have
- DTS encoding
- silence eac3to sounds
- have a non wizard mode
- option to keep AUXDATA/BDJO/CERTIFICATE/JAR/META folders, on by default, there are more players that need these then don't, with new tsmuxer a 'strict AVCHD' option to delete AUXDATA/BDJO/CERTIFICATE/JAR/META folders for the 1 maybe 2 players that still need this.
- minimize to tray option that displays job#, first pass or second pass, fps, % complete and eta
Will not be added:
- menu background option
- scene selection like menu
- avs input
setarip_old
26th June 2009, 01:17
No, I mean the "Video", "Internal Audio", and "Internal Subtitles" (As in the first screen capture in your initial post to this thread)...
twazerty
26th June 2009, 11:01
No, I mean the "Video", "Internal Audio", and "Internal Subtitles" (As in the first screen capture in your initial post to this thread)...
You're right. I am also not completely satisfied. I will replace them in the next release.
turbojet
26th June 2009, 13:21
Thanks for the new version and the calculator.
A few things to add to the avchdcoder list:
- use BDSup2Sub instead of TSMuxer (crashes on some subs) for resizing subs
- don't delete AUXDATA folder of output (6 HW and 2 SW players need it. only 2, but probably 0 now (samsung firmware updates) require it to be deleted) (http://forum.doom9.org/showthread.php?t=146339)
- if input fps = ~23.976 add this to avs: AssumeFPS(24000/1001) so the output is the same as input (eac3to and possibly 24p HW issues)
- add to end of the avs: ConvertToYV12() (x264 only accepts YV12 and some decoders use other colorspaces)
- possible issue with current directshowsource(fps=23.9759856527702) some decoders may not like the unusual framerate (23.976 is safe)
- custom size can't go below 1000 MB
- 1 MB = 1,000,000 bytes is technically correct but unusual outside of some HDDs/ISPs and other than CCE 2.7+ I've never seen it used in encoding
- also is there a reason for the comma in the custom size, I have a feeling this is why it can't go below 1000 MB
Also in the next version of the calc do you plan on adding custom size in MB? Adding custom time in HH:MM:SS format?
And what are the current sizes in MiB of the current coder/calc sizes?
twazerty
26th June 2009, 14:14
Thanks for the new version and the calculator.
A few things to add to the avchdcoder list:
- use BDSup2Sub instead of TSMuxer (crashes on some subs) for resizing subs
I can use BDSup2Sub directly without commandline but I can figure out how to resize.
- don't delete AUXDATA folder of output (6 HW and 2 SW players need it. only 2, but probably 0 now (samsung firmware updates) require it to be deleted) (http://forum.doom9.org/showthread.php?t=146339)
I have a Samsung BD-P1500 myself and lots of people do have this player. Haven't got any complaints it didn't work on other players. Only on some software players it doesn't work but thats no problem because I aim on Standalone players. I have 2 options for now. Pure AVCHD structure without JAR folders etc. or the way like I did it for now. Just no AUXDATA folder.
- if input fps = ~23.976 add this to avs: AssumeFPS(24000/1001) so the output is the same as input (eac3to and possibly 24p HW issues)
Okay I will fix this in next release.
- add to end of the avs: ConvertToYV12() (x264 only accepts YV12 and some decoders use other colorspaces)
Okay I will fix this too
- possible issue with current directshowsource(fps=23.9759856527702) some decoders may not like the unusual framerate (23.976 is safe)
Okay but will audio stay synchronized?
- custom size can't go below 1000 MB
Was a last minute change. Changelog should be 1000MB instead of 250MB.
- 1 MB = 1,000,000 bytes is technically correct but unusual outside of some HDDs/ISPs and other than CCE 2.7+ I've never seen it used in encoding
I think it is the clearest way to enter sizes. Entering the wrong size is almost not possible now. For example. USB sizes. Windows gives you the size in bytes. (At properties window)
- also is there a reason for the comma in the custom size, I have a feeling this is why it can't go below 1000 MB
At my system it is a dot. That is system dependant. In the USA you write 1 million dollars as: 1,000,000 but in europe yow write: 1.000.000. It depends on which version of windows you use.
Also in the next version of the calc do you plan on adding custom size in MB? Adding custom time in HH:MM:SS format?
And what are the current sizes in MiB of the current coder/calc sizes?
Custom and HH:MM:SS will be added. First version is to see if people like it.
Current sizes are:
DVD = 4700372992.0; (DVD+R because it is smaller then DVD-R)
DVDDL = 8543666176.0;
BD25 = 23283064365.0;
BD50 = 46566128730.0;
USB4 = 4000000000.0;
setarip_old
26th June 2009, 19:27
@twazerty
Perhaps you can enlighten me, as I must be doing something wrong.
I've now used your program two different times, both times set to "Save to folder" (No menu, single movie) - and both times the program generates a "Completed" message after the two encoding passes - without performing the required muxing (Although it creates an empty folder).
Please advise.
twazerty
26th June 2009, 20:07
@twazerty
Perhaps you can enlighten me, as I must be doing something wrong.
I've now used your program two different times, both times set to "Save to folder" (No menu, single movie) - and both times the program generates a "Completed" message after the two encoding passes - without performing the required muxing (Although it creates an empty folder).
Please advise.
Strange. It works perfectly here. (Empty folder will be created before actual conversion)
Converted a mkv and a m2ts for double check. I think something is going on with a filename. What is your source filename?
It took me hours to found out how to read mpls files. I am still not getting close but the following app does exactly what I need: http://forums.sagetv.com/forums/showthread.php?t=41722 It gives me the chapters from a mpls file. And I will use mediainfo to read chapters from mkv files.
setarip_old
26th June 2009, 20:51
The filename was "00000.m2ts"...
turbojet
26th June 2009, 21:40
A simple fix (http://forum.doom9.org/showthread.php?p=1298581#post1298581) for something on the list.
A few things to add to the avchdcoder list:
- use BDSup2Sub instead of TSMuxer (crashes on some subs) for resizing subs
I can use BDSup2Sub directly without commandline but I can figure out how to resize.
bdsup2sub.jar <input> <output> /res:720
input and output can have wildcards, output extension defines if it's .sup or .sub
- don't delete AUXDATA folder of output (6 HW and 2 SW players need it. only 2, but probably 0 now (samsung firmware updates) require it to be deleted)
I have a Samsung BD-P1500 myself and lots of people do have this player. Haven't got any complaints it didn't work on other players. Only on some software players it doesn't work but thats no problem because I aim on Standalone players. I have 2 options for now. Pure AVCHD structure without JAR folders etc. or the way like I did it for now. Just no AUXDATA folder.
Wouldn't you rather have it fixed before people complain?
I'll admit outside of by far the most popular software player (PowerDVD) the players aren't very common but it's a one-size fits many more (all?) output.
- if input fps = ~23.976 add this to avs: AssumeFPS(24000/1001) so the output is the same as input (eac3to and possibly 24p HW issues)
Okay I will fix this in next release.
- add to end of the avs: ConvertToYV12() (x264 only accepts YV12 and some decoders use other colorspaces)
Okay I will fix this too
- possible issue with current directshowsource(fps=23.9759856527702) some decoders may not like the unusual framerate (23.976 is safe)
Okay but will audio stay synchronized?
Ya technically directshowsource is changing the video framerate by default but no one will ever notice it, these ensure same input/output framerate.
- custom size can't go below 1000 MB
Was a last minute change. Changelog should be 1000MB instead of 250MB.
- 1 MB = 1,000,000 bytes is technically correct but unusual outside of some HDDs/ISPs and other than CCE 2.7+ I've never seen it used in encoding
I think it is the clearest way to enter sizes. Entering the wrong size is almost not possible now. For example. USB sizes. Windows gives you the size in bytes. (At properties window)
Are you planning on allowing below 1000 MB? It would help in some scenarios.
I can understand the USB limit, I'm coming from a different angle thinking half a DVD5 is 2240 MB, I guess I'll have to get used to 2348 MB
Current sizes are:
DVD = 4700372992.0; (DVD+R because it is smaller then DVD-R)
DVDDL = 8543666176.0;
BD25 = 23283064365.0;
BD50 = 46566128730.0;
USB4 = 4000000000.0;
Physical limit for DVD5/9 hopefully the calc is a little low to prevent oversizing. The BD25 (25025314816) and BD50 (50050629632) look a little short but is that to prevent oversizing?
twazerty
26th June 2009, 21:59
Physical limit for DVD5/9 hopefully the calc is a little low to prevent oversizing. The BD25 (25025314816) and BD50 (50050629632) look a little short but is that to prevent oversizing?
Sizes are in bytes. Don't have blu-ray myself. I told somebody to check with ImgBurn the disc size for BD25. 25025314816 came up so I used that value. For BD50 I doubled the value. It is not for oversizing because my formula can't be oversized. It is always correct. There is 1 oversizing correction of 14kbps. See wikipedia for sizes: wiki (http://en.wikipedia.org/wiki/Blu-ray_Disc#Technical_specifications) They are the same as my sizes.
Are you planning on allowing below 1000 MB? It would help in some scenarios.
I can understand the USB limit, I'm coming from a different angle thinking half a DVD5 is 2240 MB, I guess I'll have to get used to 2348 MB
Yes I change it. Needs some other changes otherwise you get strange results at bar in AVCHDCoder.
Wouldn't you rather have it fixed before people complain?
I'll admit outside of by far the most popular software player (PowerDVD) the players aren't very common but it's a one-size fits many more (all?) output.
I do get complaints when I "fix" it. As soon as the latest firmware for Samsung BD-P1500 allows BD on DVD then I fix it because there are many people that do have this player.
Just before you posted a reply I found a way to have Blu-Ray folder input. It was so obvious I couldn't find it. Just eac3to. I know eac3to is a powerful machine but this powerful: WOW.
turbojet
27th June 2009, 04:26
I do get complaints when I "fix" it. As soon as the latest firmware for Samsung BD-P1500 allows BD on DVD then I fix it because there are many people that do have this player.
Some one or a few people confirmed on this forum or avs that the latest 2.4 firmware plays with AUXDATA
< BD-P1500 Firmware Ver 2.4 > (http://www.samsung.com/us/support/download/supportDownDetail.do?group=audiovideo&type=blu_ray&subtype=blu_raydiscplayers&model_nm=BD-P1500&language=&cate_type=all&mType=FM&dType=D&vType=&cttID=1954170&prd_ia_cd=03020100&disp_nm=BD-P1500&model_cd=&menu=download&menu2=detail)
Date: Apr.16, 2009
This Firmware update provides the following benefits:
1. Improves playback compatibility of some movie titles.
Have you tried it?
Samsung BD-2500 is also confirmed working with AUXDATA with
< BD-P2500 Firmware Ver 2.5 > (http://www.samsung.com/us/support/download/supportDownDetail.do?group=audiovideo&type=blu_ray&subtype=blu_raydiscplayers&model_nm=BD-P2500&language=&cate_type=all&mType=FM&dType=D&vType=&cttID=2043504&prd_ia_cd=03020100&disp_nm=BD-P2500&model_cd=&menu=download&menu2=detail)
Date: Apr. 22, 2009
This Firmware update provides the following benefits:
1. Improves playback compatibility of some movie titles
That leaves 2 samsung players that have 2 untested firmwares:
< BD-P1600 Firmware Ver 1.03 > (http://www.samsung.com/us/support/download/supportDownDetail.do?group=audiovideo&type=blu_ray&subtype=blu_raydiscplayers&model_nm=BD-P1600&language=&cate_type=all&mType=FM&dType=D&vType=&cttID=2333837&prd_ia_cd=03020100&disp_nm=BD-P1600&model_cd=&menu=download&menu2=detail)
Date: JUNE. 23. 2009
This Firmware update provides the following benefits:
1. Improves playback compatibility of some movie titles
< BD-P2500 Firmware Ver 2.5 > (http://www.samsung.com/us/support/download/supportDownDetail.do?group=audiovideo&type=blu_ray&subtype=blu_raydiscplayers&model_nm=BD-P2550&language=&cate_type=all&mType=FM&dType=D&vType=&cttID=2043526&prd_ia_cd=03020100&disp_nm=BD-P2550&model_cd=&menu=download&menu2=detail)
Date: Apr. 22, 2009
This Firmware update provides the following benefits:
1. Improves playback compatibility of some movie titles.
Samsung 3600 and 4600 I haven't heard reports of but they also have recent firmwares with the same note:
1. Improves playback compatibility of some movie titles
rendez2k
27th June 2009, 09:39
I think I'm missing something here. I've tried two different MKV files and both have failed. The whole video encoding step is getting missed out each time. Any ideas? Is there a log file somewhere?
Edit: Just seen the installation guide on the website so running through those basic checks now.
twazerty
27th June 2009, 14:57
Some one or a few people confirmed on this forum or avs that the latest 2.4 firmware plays with AUXDATA
< BD-P1500 Firmware Ver 2.4 > (http://www.samsung.com/us/support/download/supportDownDetail.do?group=audiovideo&type=blu_ray&subtype=blu_raydiscplayers&model_nm=BD-P1500&language=&cate_type=all&mType=FM&dType=D&vType=&cttID=1954170&prd_ia_cd=03020100&disp_nm=BD-P1500&model_cd=&menu=download&menu2=detail)
I read a post it didn't work but I give it a shot and it works. Needs some more testen. If tests complete I will "fix" it. I am also working on Blu-ray input and I am running on a problem. When I ask eac3to for playlist information it doesn't give me all playlists but when I ask information of a playlist directly I can get information of all playlists. What should I do?
Also another problem. When I have seamless branching discs can I demux it with tsMuxer so I have a 1 correct file?
Edit: Some more questions:
- if input fps = ~23.976 add this to avs: AssumeFPS(24000/1001)
check.
But what if input is 25fps? or 29.976? or 50fps? or 59.9?
And if I add AssumeFPS can I change this:
DirectShowsource("[sourcefile]",fps="[sourcefps]",audio=false)
to
DirectShowsource("[sourcefile]",audio=false)
??
setarip_old
27th June 2009, 17:34
The problem I described to you in Post #102 here is certainly the result of folder/filename protocol in AVCHDCoder.
In the "Settings", I set the default output folder to "E:\Test.
I then go through the steps of "Input", "Streams", and "Output".
In "Output", I select the "Auto" radiobutton for filename - and the program generates (without the quotes) "E:\Test/" instead of "E:\Test\"...
twazerty
27th June 2009, 18:00
The problem I described to you in Post #102 here is certainly the result of folder/filename protocol in AVCHDCoder.
In the "Settings", I set the default output folder to "E:\Test.
I then go through the steps of "Input", "Streams", and "Output".
In "Output", I select the "Auto" radiobutton for filename - and the program generates (without the quotes) "E:\Test/" instead of "E:\Test\"...
Very annoying. My installer gives forward slashes, windows works with both and what java does is unknown :P anyway I ran through my programm and replaced everything with backslashes. Hopefully I missed nothing.
setarip_old
27th June 2009, 18:19
Glad to hear I wasn't doing anything wrong and, instead, was able to help you track down a bug ;>}
You say:And I will use mediainfo to read chapters from mkv files.And again, I would ask you - You're already using "tsMuxeR" with your GUI and "tsMuxeR" already automatically extracts the chapter information from MKVs, so why don't you use "tsMuxeR" to retrieve the MKV chapter information?
twazerty
27th June 2009, 18:57
Glad to hear I wasn't doing anything wrong and, instead, was able to help you track down a bug ;>}
You say:And again, I would ask you - You're already using "tsMuxeR" with your GUI and "tsMuxeR" already automatically extracts the chapter information from MKVs, so why don't you use "tsMuxeR" to retrieve the MKV chapter information?
Never knew tsMuxeR can read that information via commandline. Again I am working with my eyes closed :)
Edit:
Now I use mediainfo for extracting info out from:
wmvhd, mkv and m2ts.
Is it safe to use tsMuxeR to extract stream info from mkv? or is it better to use mediainfo for that?
I mean the stream information itself instead of chapters.
setarip_old
27th June 2009, 19:16
@twazertyNever knew tsMuxeR can read that information via commandline. Again I am working with my eyes closedNow you've gone and hurt my feelings (Just kidding).
See my posts #24 and #65 in this thread about chapters.
For information available from "tsMuxeR" commandline see:
http://forum.doom9.org/showthread.php?t=142559
turbojet
27th June 2009, 23:00
I read a post it didn't work but I give it a shot and it works. Needs some more testen. If tests complete I will "fix" it. I am also working on Blu-ray input and I am running on a problem. When I ask eac3to for playlist information it doesn't give me all playlists but when I ask information of a playlist directly I can get information of all playlists. What should I do?
I've noticed that too but it has always given enough playlists to do the job in the few times I've used it. Is that the case with your tests? If so, if more then one playlist is detected the user could be given a selection to choose one from.
Also another problem. When I have seamless branching discs can I demux it with tsMuxer so I have a 1 correct file?
It can be done very unconventionally like BD-Rebuilder does it, but conventionally (just demux by mpls) has given me bad results each time. Manually I just use eac3to and it's worked for me every time. But it takes a lot longer to demux every thing then tsmuxer so I only use it for seamless branching.
Edit: Some more questions:
- if input fps = ~23.976 add this to avs: AssumeFPS(24000/1001)
check.
But what if input is 25fps? or 29.976? or 50fps? or 59.9?
25, 29.97, 50, 59.94 come out of directshowsource with the original framerate if fps= is used so it's not an issue.
Also I gave you the wrong avisynth function it should be AssumeFPS(24000,1001)
And if I add AssumeFPS can I change this:
DirectShowsource("[sourcefile]",fps="[sourcefps]",audio=false)
to
DirectShowsource("[sourcefile]",audio=false)
??
I can't say for sure but I do notice that directshowsource misidentifies the fps of some streams if fps isn't used. I'd keep it in there just to be safe.
twazerty
28th June 2009, 15:53
Now languages will be read from m2ts files,
chapters will be entered in gui for mkv and m2ts files. I use both mediainfo and tsMuxer for proper detections of streams. I only use tsMuxer for languages and chapters.
Now I am working on Seamless branching discs. I ran into some trouble. Eac3to doesn't allow me to demux to a folder I want. It demuxes them in the root of eac3to which is impossible since AVCHDCoder is in Program Files without admin rights. Only option is to use tsMuxer for demuxing.
TsMuxer gives me more flexability and it will be much easier to implement. Also there is only 1 implementation needed. Saves me lots of time.
turbojet
28th June 2009, 17:00
Sounds great.
That's a strange issue are you trying both individual demuxing (eac3to 1) 1:C:\chapters.txt 2:C:\video.264 3:C:\audio.ac3) and demux to mkv (eac3to 1) C:\video_audio.mkv) ?
Recently there has been some reports of BD-Rebuilder having a skip in the audio on 2 seamless branching videos, might be related to tsmuxer trickery.
Also some updates, additions I thought of:
- change pause/resume button to pause when running, resume when paused
- change start button to stop when running
- group start/stop and pause/resume buttons
- group delete job and delete all buttons
- either change to mkv x264 output or use x264 --aud with .264 output (requires nal_hrd x264) (iirc there's some problems with seeking and lack of --aud with m2ts muxed from 264 files on certain players)
- use AssumeFPS(30000,1001) with Directshowsource(fps=29.97) and 60000,1001 with fps=59.94, the fps difference is so small eac3to and dgavcindex don't detect it but large enough to mess up ivtc
- show x264 FPS in progress bar
- use a few shades lighter orange in progress bar so the text is more legible
- x264 advanced options or override file (that reads only --b-adapt (change both passes) --deblock --subme --me --partitions --vaq --psy-rd --trellis --b-pyramid(?) --ref 1-4 only)
- individual update exe and tools system (upload exe\tools to update site for example megui)
- on loading input demux a little bit of the subs (10 seconds?) with tsmuxer and tag signifigantly smaller ones (forced)
- add more stream languages
- alphabetize stream languages but have a common section at the top like tsmuxer does (concerning USA\CA: zho is a lot more common then chi for chinese, fra is a lot more common then fre for french)
- identify tff/bff interlacing with mediainfo and adjust x264 accordingly (requires x264_nal_hrd x264, rarely needed)
- add ivtc video option for 29.97 fps that uses tfm().tdecimate() or telecide().decimate() and removes x264 --tff/--bff, result is 23.976 (rarely needed)
- add ivtc video option for 25 fps that uses tfm().tdecimate(25) or telecide().decimate(25) and removes x264 --tff/--bff if applicable, result is 24.00 fps (rarely needed)
- identify pulldown (mediainfo?) and use tsmuxer delpulldown (rarely needed)
twazerty
28th June 2009, 18:35
Please keep in mind AVCHDCoder points to users without much knowledge. Technical video options will be added but has no high priority. Technical improvements will be done and also GUI improvements will be done. I'll do some more research. Also opening Blu-ray folders work now.
- show x264 FPS in progress bar
- use a few shades lighter orange in progress bar so the text is more legible
I think x264 fps in progressbar is a nice feature. Recently I switched to another java Look and Feel and it doesn't allow me to change color of the bar. The text color can be changed. I am running into some other problems with the Queue tab and I have plans of rebuilding the queue tab. Maybe I leave the appearance roughly the same but it is also possible I build a totally different Queue. This is what I have in my mind since a couple of weeks:
http://i39.tinypic.com/5kn8d4.jpg
I think I go for a version without tabs. When you click on a item the information will shop up.
turbojet
28th June 2009, 19:41
Please keep in mind AVCHDCoder points to users without much knowledge. Technical video options will be added but has no high priority. Technical improvements will be done and also GUI improvements will be done. I'll do some more research. Also opening Blu-ray folders work now.
I see, once the advanced options (actually lack of psy-trellis is the only thing I'm really concerned about) are added, framerates are fixed and BDSup2sub is used this will probably be the app I use first when encoding AVCHD. I like the simplicity yet the power of it.
I think x264 fps in progressbar is a nice feature. Recently I switched to another java Look and Feel and it doesn't allow me to change color of the bar. The text color can be changed. I am running into some other problems with the Queue tab and I have plans of rebuilding the queue tab. Maybe I leave the appearance roughly the same but it is also possible I build a totally different Queue. This is what I have in my mind since a couple of weeks:
http://i39.tinypic.com/5kn8d4.jpg
I think I go for a version without tabs. When you click on a item the information will shop up.
That looks like nice is there a porgress bar color that makes the reading more legible?
twazerty
28th June 2009, 20:05
I see, once the advanced options (actually lack of psy-trellis is the only thing I'm really concerned about) are added, framerates are fixed and BDSup2sub is used this will probably be the app I use first when encoding AVCHD. I like the simplicity yet the power of it.
That looks like nice is there a porgress bar color that makes the reading more legible?
Nibus look and feel doesn't allow me changing the colors. Only the text inside a progressbar can be changed.
setarip_old
28th June 2009, 20:47
@twazertyI use both mediainfo and tsMuxer for proper detections of streams. I only use tsMuxer for languages and chapters.
Now I am working on Seamless branching discs... Only option is to use tsMuxer for demuxing.
TsMuxer gives me more flexability and it will be much easier to implement. Also there is only 1 implementation needed. Saves me lots of time.Glad to see you now understand the flexibility and value of "tsMuxeR" for use in so many aspects of your GUI ;>}
twazerty
28th June 2009, 21:23
@twazertyGlad to see you now understand the flexibility and value of "tsMuxeR" for use in so many aspects of your GUI ;>}
:)
This will be my final design of my new Queue Tab unless you guys have some great idea's:
http://i39.tinypic.com/2w688it.jpg
setarip_old
29th June 2009, 01:45
Looks fine to me ;>}
What does the "67%" (To the right of "CPU Priority:Low") represent? Did you omit a label for it?
juGGaKNot
29th June 2009, 15:13
* Borders will be added automatically.
* Iso will created for you so it is ready to burn.
What apps do you use for this and what cmd line ?
autocrop i guess and for the iso ?
cheers.
twazerty
29th June 2009, 15:48
What apps do you use for this and what cmd line ?
autocrop i guess and for the iso ?
cheers.
No I have created my own bordersmodule. I use mediainfo to retrieve video width and video height. Then I add borders until I get the right resolution of 1920x1080 or 1280x720. The bordermodule gives me the addBorders function for avisynth.
When conversion is done, ImgBurn will pop and the iso will be created.
juGGaKNot
29th June 2009, 19:47
No I have created my own bordersmodule. I use mediainfo to retrieve video width and video height. Then I add borders until I get the right resolution of 1920x1080 or 1280x720. The bordermodule gives me the addBorders function for avisynth.
When conversion is done, ImgBurn will pop and the iso will be created.
Hmm i could do this with ffmpeg and a simple formula, can you release the bordersmodule ?
K so imgburn for iso, is this cli ? or "pop up" as in run ?
twazerty
29th June 2009, 20:13
Hmm i could do this with ffmpeg and a simple formula, can you release the bordersmodule ?
K so imgburn for iso, is this cli ? or "pop up" as in run ?
It pops up when running. It will be launched via cli. The border module isn't much more then basic math. Resolutions like 1916x816 are also accepted and borders will be added to all 4 sides. Here is the code for the addborders:
public String getBorders(String xIn, String yIn){
int xI = Integer.parseInt(xIn);
int yI = Integer.parseInt(yIn);
int xBorderTotaal;
int yBorderTotaal;
int xLeft = 0;
int xRight = 0;
int yTop = 0;
int yBottom = 0;
String addBorders;
if(xI == 720 && (yI == 576 || yI == 480)){
}
//720p specs
else if(xI > 720 && xI <=1280){
//totaal aantal pixels bijvoegen
xBorderTotaal = 1280-xI;
yBorderTotaal = 720-yI;
//aantal pixels aan alle kanten verdelen
xLeft = (int) (xBorderTotaal / 2);
xRight = (int) (xBorderTotaal / 2);
yTop = (int) (yBorderTotaal / 2);
yBottom = (int) (yBorderTotaal / 2);
//aantal aanpassen aan juiste afmetingen
if((xLeft + xI + xRight) != 1280){
if((xLeft + xI + xRight) > 1280){
xRight--;
}else{
xRight++;
}
}
//aantal aanpassen aan juiste afmetingen
if((yTop + yI + yBottom) != 720){
if((yTop + yI + yBottom) > 720){
yTop--;
}else{
yBottom++;
}
}
}
//1080p specs
else if(xI > 1280 && xI <= 1920){
xBorderTotaal = 1920-xI;
yBorderTotaal = 1080-yI;
xLeft = (int) (xBorderTotaal / 2);
xRight = (int) (xBorderTotaal / 2);
yTop = (int) (yBorderTotaal / 2);
yBottom = (int) (yBorderTotaal / 2);
if((xLeft + xI + xRight) != 1920){
if((xLeft + xI + xRight) > 1920){
xRight--;
}else{
xRight++;
}
}
if((yTop + yI + yBottom) != 1080){
if((yTop + yI + yBottom) > 1080){
yTop--;
}else{
yBottom++;
}
}
}
addBorders = "addborders(" + xLeft + "," + yTop + "," + xRight + "," + yBottom + ")";
return addBorders;
}
Also resolutions like 1919x1079 are accepted.
If you want I can make a cli java app where you can enter a videofile and the addBorders will come out.
setarip_old
29th June 2009, 23:04
@twazerty
Again, regarding your pending final design, what does the "67%" (To the right of "CPU Priority:Low") represent? Did you omit a label for it?
Atak_Snajpera
29th June 2009, 23:07
My very limited inteligence tells me that 67% means total progress. However it should be 72% (434/600). Mystery :)
setarip_old
29th June 2009, 23:28
@Atak_Snajpera
Hi!
Or it could be an indicator of the remaining percentage of the current pass - But why speculate?
I'd just as soon wait for a definitive response from the author, "twazerty"...
twazerty
30th June 2009, 00:40
The images you saw were not operational. it were only sketches :)
The 67% bar supposed to be the progress of the queue. And the other bar near the disc information supposed to be the progress for the disc. But I think there were to many progress bars and tweaked the design a little bit. This is the result:
http://i39.tinypic.com/2dvn70l.jpg
As you see each item in the queue gets a status: (Completed) when 1 disc is 100% complete, (Converting) indicates it is converted at the moment. At Details Selected disc you now see which item is currently converted.
When a disc conversion is completed the selected item in the queue list will change and the information will be loaded below.
The current version is almost 100% working. Added a Abort functionality (Can the word "Stop" also be used?) and the pause/resume button works more natural. Jobs can be moved up or down. The whole set up works more natural now and information will be refreshed every 500 milliseconds. This looks fast but is very slow actually. Also this new design is very easy to change. My old version was a disaster if you look at the code (:P) also my old design didn't refresh the information like it should.
setarip_old
30th June 2009, 01:20
@twazerty
1) I concur with removing that "disc progress" bar for the sake of clarity.
2) Although "Stop", "Terminate", and "Abort" are fairly synonymous, I believe "Abort" most clearly indicates the finality and loss of previous data...
BTW - The word is "AUTOMATICALLY", not "AUTOMATICLY" ;>}
twazerty
30th June 2009, 02:41
@twazerty
1) I concur with removing that "disc progress" bar for the sake of clarity.
2) Although "Stop", "Terminate", and "Abort" are fairly synonymous, I believe "Abort" most clearly indicates the finmality and loss of previous data...
BTW - The word is "AUTOMATICALLY", not "AUTOMATICLY" ;>}
Seriously need to install the english spell checker(With dutch I ain't going to get far :)). Just kidding. I need to put it in Miscrosoft Word. Then I found the stupid misspellings because AUTOMATICALLY is a word I always write wrong.
setarip_old
30th June 2009, 04:12
If you want to write it right, don't automatically wrongly write automaticly, right? ;>}
twazerty
1st July 2009, 16:39
If you want to write it right, don't automatically wrongly write automaticly, right? ;>}
:p
I am working on the interlaced feature now but I have the feeling the interlaced video will be treated as progressive as input and interlaced as output. The source is a interlaced video.
--pass 1 --bitrate 24000 --stats [stats] --level 4.1 --keyint 24 --min-keyint 2 --bframes 3 --weightb --direct auto --subme 2
--partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate 24000 --me dia --threads auto --thread-input
--sar 1:1 --progress --no-ssim --interlaced --output NUL [avs input]
What is wrong with the above?
Also tried the following but resulted in a progressive output:
--pass 1 --interlaced --bitrate 24000 --stats [stats] --level 4.1 --keyint 24 --min-keyint 2 --bframes 3 --weightb --direct auto --subme 2
--partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate 24000 --me dia --threads auto --thread-input
--sar 1:1 --progress --no-ssim --output NUL [avs input]
When I place --interlaced after [stats] first pass fails????
twazerty
2nd July 2009, 12:13
I think I fixed the problem but another problem occured. ffdshow wont show up with the following avisynth script:
DirectShowsource("C:\Users\Twan\Documents\AVCHDCoder\Temp\SBD1 - item 1\joined.264",fps=23.976,audio=false)
AssumeFPS(24000,1001)
ConvertToYV12()
When I extract a mpls for a seamless branching disc I get a 264 stream. But ffdshow is not starting. What to do?
Edit: Now it starts encoding but it took 4 minutes to start. And after seconds of encoding it stops. :(
twazerty
5th July 2009, 00:00
New version has lots of improvements. I will fix what I find and some features are not added for 100% yet. This is the changelog for upcoming version:
Fixed - Language was not shown for all m2ts files
Fixed - back/forward slash problem ( / and \ )
Fixed - When output resolution is 1280x720 and subtitles source was srt or ass the subsettings were incorrect
Fixed - When output is 720p and subtitles are srt or ass the subtitles have the 1080p sizes.
Fixed - Better audio detection
Fixed - Inconsistent videocodec names (VC-1 and WVC1 for example)
Fixed - Missing AUXDATA folder (All Samsung Players need latest firmware now !!!)
Fixed - Bitrate indication bar was not working properly.(Incorrect bitrate)
Fixed - When deleting last item from disc the bitrate was not calculated again.
Fixed - Resize function was inside avs file when it was not neccecary
Fixed - Conversion crashes when no fps was found in source. (will now be set to 23.976 if no fps was found)
Upgraded - New Queue tab.
Added - Blu-ray folder input (Playlist detection via eac3to). Seamless Branching Discs are supported too.
Added - Donate button to the about screen
Added - Move items up or down
Added - Right mouse menu to queue. (Move Up/Down, Delete temp files and remove option)
Added - Chapters will be taken from source file and they will be shown at chapters tab
Added - AssumeFPS(24000,1001) if fps = 23.976, AssumeFPS(30000,1001) if fps = 29.97, AssumeFPS(60000,1001) if fps = 59.94
Added - ConvertToYV12()
Added - Progressive/interlaced indication
Added - WMA9 support
Added - Interlaced support (No conversion to progressive video yet)
Added - dut and nld points to Dutch, fra and fre points to French, ger and deu points to German for Language detection
Added - added languages to the language selection: Bulgarian, Czech, Danisch, Greek, Hungarian, Croatian, Romanian, Slovanian
Added - Shortcut to Open file. (Ctrl+O or File --> Open file...)
Added - Shortcut to Open folder. (Ctrl+I or File --> Open folder...)
Added - Shortcut to default output folder (Ctrl+U or Options --> Open default output folder)
Added - Log functionality
setarip_old
5th July 2009, 22:30
Fixed - back/forward slash problem ( / and \ )
Added - Chapters will be taken from source file and they will be shown at chapters tabThank you for acting on these suggested fixes/changes ;>}
I'm looking forward to this new release!
turbojet
8th July 2009, 05:57
Impressive changelog, do you plan on displaying x264 fps in the queue window?
Also have you looked at fixing 720p sub resizing by using BDSup2Sub since tsmuxer can't resize some streams currently?
Other things I'd be really interested in seeing are the dts encoding (requires surcode and just eac3to <audio input> --768) and the psy-trellis x264 option (--psy-rd 1.0:0-1.5)
Edit: also I don't know if you noticed but latest mediainfo can parse bluray and give languages and chapter info, it's considerably quicker then eac3to for this.
twazerty
8th July 2009, 18:21
Impressive changelog, do you plan on displaying x264 fps in the queue window?
Also have you looked at fixing 720p sub resizing by using BDSup2Sub since tsmuxer can't resize some streams currently?
Other things I'd be really interested in seeing are the dts encoding (requires surcode and just eac3to <audio input> --768) and the psy-trellis x264 option (--psy-rd 1.0:0-1.5)
Edit: also I don't know if you noticed but latest mediainfo can parse bluray and give languages and chapter info, it's considerably quicker then eac3to for this.
On the moment I finished blu-ray reading via eac3to a new MediaInfo came out with mpls support. But I am not satisfied with the blu-ray support. Not as flexible as eac3to readings. I haven't added BDSup2Sup yet. I don't see why dts encoding is a nice addition. Maybe I'll add it later because it is not that important? Or maybe you have a good example when it is useful. "--psy-rd 1.0:0-1.5" where in the x264 commandline code should it be added? I noticed when it has an incorrect order it doesn't work. I think I will add fps in queue tab somewhere.
turbojet
8th July 2009, 18:56
On the moment I finished blu-ray reading via eac3to a new MediaInfo came out with mpls support. But I am not satisfied with the blu-ray support. Not as flexible as eac3to readings.
OK, I haven't had a chance to play with it much but wanted to make you aware of it if you weren't already.
I haven't added BDSup2Sup yet.
OK this would help a lot, bringing my personal success rate of resizing 720p subs from about 75% to 100%
I don't see why dts encoding is a nice addition. Maybe I'll add it later because it is not that important?
Reduces audio by about 750 kbps to use for video while still keeping DTS which I can tell a very noticeable difference from AC3 on certain soundtracks.
I left out the output in the eac3to line. this works: eac3to "<input>" "<output>" -768
Also a quick check of these registry keys signify if DTS encoding is possible or not, could be useful for disabling\enabling DTS encoding:
x86: HKEY_LOCAL_MACHINE\SOFTWARE\Minnetonka Audio Software\SurCode DVD DTS
x64: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Minnetonka Audio Software\SurCode DVD DTS
Or maybe you have a good example when it is useful. "--psy-rd 1.0:0-1.5" where in the x264 commandline code should it be added? I noticed when it has an incorrect order it doesn't work. I think I will add fps in queue tab somewhere.
Should work anywhere in the command line but '0-1.5' is a range in this case, not an exact parameter. A gui option would be nice, however the ability to use an override file that adds parameters to the x264 line for advanced users works just as well and gives more flexibility. You can double up x264 parameters and the last one gets used.
EDIT: Does the last post in this thread (http://forums.sun.com/thread.jspa?threadID=352783&start=15&tstart=0) help get the PID for killing only processes AVCHDcoder launches?
EDIT2: I ran into the same issue (http://forum.doom9.org/showthread.php?p=1300414#post1300414) setarip_old ran into and I think I've narrowed it down to the number of subs kept. When keeping 1 sub tsmuxer muxes to temp directory but using 0, 2, 3, 4 subs everything works fine. Could you take a look into this?
Also had what I consider a little bit of an undersize with using 3 subs (1 forced), it ended up as 4451 MB. With 1 sub it ended up as 4468 MB, with 0 subs it ended up 4475 MB. I did a little testing of subs overhead and on 3 different movies ranging from 1.5-3 hours the overhead range was 20-35% of the sub sizes (40 MB of subs = 8-14 MB overhead). As more subs were added the percentage decreased, I tried up to 4 subs. What are you using for subs overhead?
twazerty
10th July 2009, 15:40
EDIT2: I ran into the same issue (http://forum.doom9.org/showthread.php?p=1300414#post1300414) setarip_old ran into and I think I've narrowed it down to the number of subs kept. When keeping 1 sub tsmuxer muxes to temp directory but using 0, 2, 3, 4 subs everything works fine. Could you take a look into this?
Added a m2ts and selected 1 sup stream. The result: 100% succes. Folder is written in destination folder with the right files. The temp folder contains everything it should contain. Muxing of an item is ALWAYS performed in temp directory. After that a new folder will be created in destination folder and the muxed files of the items will be moved to the destination. Works like a charm here.
Also had what I consider a little bit of an undersize with using 3 subs (1 forced), it ended up as 4451 MB. With 1 sub it ended up as 4468 MB, with 0 subs it ended up 4475 MB. I did a little testing of subs overhead and on 3 different movies ranging from 1.5-3 hours the overhead range was 20-35% of the sub sizes (40 MB of subs = 8-14 MB overhead). As more subs were added the percentage decreased, I tried up to 4 subs. What are you using for subs overhead?
When I started testing in the past I found 35%. (At the time only 1 subtitles was possible). Did you test with the same movie and settings? Else your values are not valid. I'll add the solution when I know if your values are correct. I think it won't be added to next release. This change can cause lots of problems calculating bitrate if I don't do it right.
BobZhome
11th July 2009, 22:52
I feel foolish asking this, but for some reason the output tab is not selectable. I tried loading in a few different MKV files, but none of them will let me select the output tab. Where am I going wrong?
:helpful:
twazerty
12th July 2009, 01:25
I feel foolish asking this, but for some reason the output tab is not selectable. I tried loading in a few different MKV files, but none of them will let me select the output tab. Where am I going wrong?
:helpful:
You need to hit the add button to add the item to the disc :)
twazerty
12th July 2009, 17:02
A simple fix (http://forum.doom9.org/showthread.php?p=1298581#post1298581) for something on the list.
bdsup2sub.jar <input> <output> /res:720
input and output can have wildcards, output extension defines if it's .sup or .sub
Added BDSup2Sub for testing but it is hard to use. BDSup2Sub gives me zero response if conversion is completed. BDSub2Sub messes with the framerate. (Can be fixed by adding the fps function to the commandline) And because it is java it is very unreliable via commandline. Mostly you need to add javaw -jar or java -jar but that doesn't work for me. But on some systems this doesn't work: cmd: BDSub2Sup.jar input output /res:720
But on my system this doesn't work: cmd: java -jar BDSub2Sup.jar input output /res:720
I think I have a solution to catch when conversion is completed but the other problems remain. The fps function works little different the mediainfo/tsMuxer so need to convert those.
Edit: Ran into another problem today. I was testing and noticed that the converted video played to slow. Length and audio are ok but playback is to slow and everything is out of sync immediately. Very large gap. Input: 1080i 29.970 fps and the converted video: 1080i 29.970 fps. I think the this is the problem: AssumeFPS(30000,1001) but I need to test some more.
Seems to be a specific problem with the movie.
turbojet
13th July 2009, 06:32
Added a m2ts and selected 1 sup stream. The result: 100% succes. Folder is written in destination folder with the right files. The temp folder contains everything it should contain. Muxing of an item is ALWAYS performed in temp directory. After that a new folder will be created in destination folder and the muxed files of the items will be moved to the destination. Works like a charm here.
I repeated the issue 3 times but I rebooted and it worked ok with 1 sub and the same source, strange.
When I started testing in the past I found 35%. (At the time only 1 subtitles was possible). Did you test with the same movie and settings? Else your values are not valid. I'll add the solution when I know if your values are correct. I think it won't be added to next release. This change can cause lots of problems calculating bitrate if I don't do it right.
The same source was one of the 3 sources I tested but it could use more testing. Thinking it was something about using a certain file size for each sub I ran it again without the forced sub and it was also 4451 MB. While I don't think 30 MB is a substantial undersize when aiming for 4480 MB, if you had 10 subs and undersizing 24 MB each, that's quite substantial.
Added BDSup2Sub for testing but it is hard to use. BDSup2Sub gives me zero response if conversion is completed. BDSub2Sub messes with the framerate. (Can be fixed by adding the fps function to the commandline) And because it is java it is very unreliable via commandline. Mostly you need to add javaw -jar or java -jar but that doesn't work for me. But on some systems this doesn't work: cmd: BDSub2Sup.jar input output /res:720
But on my system this doesn't work: cmd: java -jar BDSub2Sup.jar input output /res:720
I think I have a solution to catch when conversion is completed but the other problems remain. The fps function works little different the mediainfo/tsMuxer so need to convert those.
I haven't had a problem using the full path to java.exe which you should be able to get from querying HKLM\SOFTWARE\Classes\jarfile\shell\open\command and instead of javaw.exe use java.exe
Edit: Ran into another problem today. I was testing and noticed that the converted video played to slow. Length and audio are ok but playback is to slow and everything is out of sync immediately. Very large gap. Input: 1080i 29.970 fps and the converted video: 1080i 29.970 fps. I think the this is the problem: AssumeFPS(30000,1001) but I need to test some more.
Seems to be a specific problem with the movie.
Have you tried removing pulldown when demuxing with tsmuxer or eac3to?
twazerty
13th July 2009, 10:54
Have you tried removing pulldown when demuxing with tsmuxer or eac3to?
How to remove pulldown with tsMuxer?
Tested with somebody else and he said it also didn't work with BD-Rebuilder. Same problem. The next problem is worser. Most WMVHD files get terrible out of sync (not all). At the end 10 minutes or so. Almost the same problem as with the interlaced problem.
Input: WMVHD with WMA Pro 10 @ 29.970 fps 1920x1080. (3 Hour movie)
Output: H264 with AC3 448 kbps @ 29.970 fps 1920x1080p
AVCHDCoder converts the wma to ac3. When I play the AC3 and the source file it is in sync. So audio is 100% ok. When conversion is done I get a file that is not ok. Fps and resolution are ok. The length of the video is also 3 hours. It looks like everything is ok but it gets out of sync immediately. Very strange because both files have the same length. But there is another thing that is strange. The output h264 is too small. Something is wrong with x264 and/or avisynth.
This is what I do:
19:08:57 Creating AVS file: DirectShowsource("input.WMV",fps=29.970,audio=false)
19:08:57 Creating AVS file: AssumeFPS(30000,1001)
19:08:57 Creating AVS file: ConvertToYV12()
19:08:57 Creating AVS file: addborders(0,140,0,140)
and then my usual x264 commands. This problem is almost the same as the other. So I think to problem is not the source file.
Edit: Noticed something. The muxed video repeats it self at the end. I saw the same video 3 times in 2 minutes time.
Looks like the converted video is too short because it play's faster then the source. But it is not too short at the same time.
Atak_Snajpera
13th July 2009, 18:13
Try this
DirectShowsource("F:\Films WMVHD\The.Da.Vinci.Code.1080p.NLsubs.MrBlueEyes.WMV",audio=false)
AssumeFPS(24000,1001)
or
DirectShowsource("F:\Films WMVHD\The.Da.Vinci.Code.1080p.NLsubs.MrBlueEyes.WMV",convertfps=true,audio=false)
AssumeFPS(24000,1001)
setarip_old
13th July 2009, 18:39
@twazertyHow to remove pulldown with tsMuxer?
Once again, from the link I previously gave you to the translated documentation for "tsMuxeR" here:
http://forum.doom9.org/showpost.php?p=1209880&postcount=1
delPulldown - For video streams. Deletes pulldown flags of the track. Attention! When using delPulldown usually a new value fps is required, different from values in the stream. For example, if the stream has fps=29.97, after setting delPulldown you have to input fps=23.976.
twazerty
15th July 2009, 23:46
Try this
DirectShowsource("input.WMV",audio=false)
AssumeFPS(24000,1001)
or
DirectShowsource("input.WMV",convertfps=true,audio=false)
AssumeFPS(24000,1001)
Didn't solve the problem :(
@setarip_old
Try to make a fix tomorrow. Need to try it.
Another question. I am looking for a commandline application to convert 2 and 6 ch AAC to FLAC or AC3. Found different tools but I don't know what they do (faac, faad and enc_aacplus).
I have another solution: dbPoweramp can do what I want but I prefer another application because after 30 day trial you need a licenced copy of dbPoweramp in order to use the commandline (What AVCHDCoder uses)
Atak_Snajpera
15th July 2009, 23:56
The.Da.Vinci.Code.1080p.NLsubs.MrBlueEyes.WMV
could you upload 50mb - 100mb sample to www.mediafire.com. I would like to check this file.
Guest
16th July 2009, 00:41
It's warez. You can't discuss it.
turbojet
16th July 2009, 03:33
Another question. I am looking for a commandline application to convert 2 and 6 ch AAC to FLAC or AC3. Found different tools but I don't know what they do (faac, faad and enc_aacplus).
I have another solution: dbPoweramp can do what I want but I prefer another application because after 30 day trial you need a licenced copy of dbPoweramp in order to use the commandline (What AVCHDCoder uses)
faad (http://www.rarewares.org/aac-decoders.php) -o "<output.wav>" "<input.aac>"
aften (http://www.videohelp.com/tools/Aften) -b <bitrate> "<input.wav>" "<output.ac3>" or eac3to
twazerty
16th July 2009, 23:21
faad (http://www.rarewares.org/aac-decoders.php) -o "<output.wav>" "<input.aac>"
aften (http://www.videohelp.com/tools/Aften) -b <bitrate> "<input.wav>" "<output.ac3>" or eac3to
Ok I will try that later. First I am fixing the different files that can be entered. The AVCHD/Blu-ray specs are not clear enough. For now all possible framerates kan be entered but they are not all valid. I made a list of framerates that are common for HD:
23.976 fps
24.000 fps
25.000 fps
29.970 fps
30.000 fps
50.000 fps
59.940 fps
60.000 fps
so we have the following possibility's:
720p 23.976 fps V
720p 24.000 fps
720p 25.000 fps
720p 29.970 fps
720p 30.000 fps
720p 50.000 fps
720p 59.940 fps
720p 60.000 fps
1080p 23.976 fps V
1080p 24.000 fps
1080p 25.000 fps
1080p 29.970 fps
1080p 30.000 fps
1080p 50.000 fps
1080p 59.940 fps
1080p 60.000 fps
1080i 23.976 fps
1080i 24.000 fps
1080i 25.000 fps
1080i 29.970 fps
1080i 30.000 fps
1080i 50.000 fps
1080i 59.940 fps
1080i 60.000 fps
and as far as I know 720i is not supported. I added a "V" if I know it is officially supported and "X" if not. I am also making 3 discs with all framerates. Still testing but the following worked on my Samsung BD-P1500:
720p 23.976 fps
720p 25.000 fps
720p 29.970 fps
720p 50.000 fps
720p 59.940 fps
All formats that are invalid will be converted to 23.976 or something else that is valid.
setarip_old
17th July 2009, 00:07
@twazerty
Are you now able to use "tsMuxeR", as I suggested, to remove pulldowns?
twazerty
17th July 2009, 00:36
@twazerty
Are you now able to use "tsMuxeR", as I suggested, to remove pulldowns?
Not tested it yet. Today I was fixing the wmvhd problem and for that I have a possible solution. With the remove of pulldown the fps will change from 29.970 to 23.976? If yes how does it work for all the other interlaced files? (23.976, 59.940 etc)
Maybe the solution for wmvhd also work for interlaced m2ts files just need to test it. I'll do that tomorrow.
Edit: Couldn't wait and did a first test. I noticed that a new fps is needed when remove pulldown is activated. (I use tsMuxer to check if pulldown is applied on source file) Is it safe to assume the fps is 23.976 after pulldown for 29.976 is removed? And what is most likely the fps when source is 59.94 and pulldown is applied? And for the other fps (24 etc)?
Or is there a procedure to determine what the fps needs to be after removing pulldown?
turbojet
17th July 2009, 03:30
According to the AVCHD standards (http://www.avchd-info.org/format/index.html) these are the (only?) allowed resolutions, framerates:
1080p 23.976
1080i 25.00
1080i 29.97
720p 23.976
720p 50.00
720p 60.00
480i 25.00
480i 29.97
50i = 50 fields per second / 2 fields per frame = 25 frames per second
60i = 60 fields per second / 2 fields per frame = 29.97 frames per second
Blu-ray standards are closed but I have yet to see a blu-ray use anything but these resoutions/framerates.
interlaced can use 23.976 -> 29.97 pulldown although it's not very common
interlaced does not necessarily mean combing, it just means interlaced flag (MBPAFF), just like many PAL DVD's.
ivtc from 29.97 -> 23.976 can be useful in many cases, but mostly in extras so far
ivtc from 25 -> 23.976 can be useful in a few cases with a movie
ivtc from 29.97 -> 25 I haven't heard of needing yet in blu-ray but I wouldn't doubt that it will be useful once the small distribution plants release blu-ray (pal filmed movies on ntsc regions)
setarip_old
17th July 2009, 03:49
@twazertyI noticed that a new fps is needed when remove pulldown is activatedIn my earlier post I quoted the following regarding pulldowns and "tsMuxeR":Attention! When using delPulldown usually a new value fps is required, different from values in the stream. For example, if the stream has fps=29.97, after setting delPulldown you have to input fps=23.976.To see acceptable changes of fps upon deleting pulldowns, load a file into the "tsMuxeR" GUI, highlight the videostream and put a check next to "Change fps" under "General track options" - Then click on the dropdown arrow to the right...
twazerty
17th July 2009, 14:10
@twazertyIn my earlier post I quoted the following regarding pulldowns and "tsMuxeR":To see acceptable changes of fps upon deleting pulldowns, load a file into the "tsMuxeR" GUI, highlight the videostream and put a check next to "Change fps" under "General track options" - Then click on the dropdown arrow to the right...
I see. Did a test with my 1080i 29.97 pulldown movie. After removing pulldown i get: 1080i 23.976 movie. But the audio is out of sync. tsMuxer gave these warnings:
Warning! Source stream contain irregular pulldown marks. Mistiming between original fps and fps/1.25(without pulldown) exceed 100ms.
Warning! Source stream contain irregular pulldown marks. Mistiming between original fps and fps/1.25(without pulldown) exceed 200ms.
Warning! Source stream contain irregular pulldown marks. Mistiming between original fps and fps/1.25(without pulldown) exceed 400ms.
Warning! Source stream contain irregular pulldown marks. Mistiming between original fps and fps/1.25(without pulldown) exceed 800ms.
Warning! Source stream contain irregular pulldown marks. Mistiming between original fps and fps/1.25(without pulldown) exceed 1601ms.
Tried different fps output but all gave these warnings.
setarip_old
17th July 2009, 18:50
After removing pulldown i get: 1080i 23.976 movie.Did you then (as required) enter "fps=23.976"?
Have you tried using the format "24/1001" instead of "23.976"?
twazerty
17th July 2009, 20:07
Did you then (as required) enter "fps=23.976"?
Have you tried using the format "24/1001" instead of "23.976"?
For testing I use the GUI of tsMuxer. Checked Remove pulldown and checked Change fps. In the dropdown I have chosen 24000/1001. The result is an out of sync audio. I think it's about a couple of seconds.
twazerty
18th July 2009, 00:32
Lets forget all problems for a while. The next is the most important and without your help it's going to take weeks before I can release my next version. I am trying the whole day but I can't find out what to do. I need avisynth script to change the fps. Programming is easy for me but avisynth is very difficult.
To be 100% blu-ray compatible every framerate should be converted to 23.976 if resolution is 1080p. So we have the following possibility's:
60.00 --> 23.976
59.94 --> 23.976
50.00 --> 23.976
30.00 --> 23.976
29.97 --> 23.976
25.00 --> 23.976
This script did work for 2 different 29.97 wmv movies:
DirectShowsource("input.wmv",convertfps=true,audio=false).ConvertToYV12()
Loadplugin("C:\TIVTC\TIVTC.dll")
TDecimate()
Both were converted to 23.976. But it didn't work for a m2ts 29.97 file. Output was 23.9761 and playback was choppy. The wmv playback is smooth. And the above script didn't work for other framerates. It saves me days maybe week if somebody will help me with all needed avisynth scripts.
The following script worked perfectly for m2ts 29.97 to 23.976 and for m2ts 25 to 23.976:
DirectShowsource("input.m2ts",fps=25.000,audio=false) //fps=29.970 for the 29.97 to 23.976
ConvertFPS(23.976)
ConvertToYV12()
setarip_old
18th July 2009, 01:15
Here's an example of a successful conversion of an .M2TS file (The original 1080i at 29.970 fps was converted to 23.976fps using "tsMuxeR"):
DirectshowSource("E:\_HDTESTS-ALL\WILLYWONKA_BR\BDMV\STREAM\00000.m2ts", fps=23.976, framecount=143492, audio=false)
twazerty
18th July 2009, 01:30
Here's an example of a successful conversion of an .M2TS file (The original 1080i at 29.970 fps was converted to 23.976fps using "tsMuxeR"):
DirectshowSource("E:\_HDTESTS-ALL\WILLYWONKA_BR\BDMV\STREAM\00000.m2ts", fps=23.976, framecount=143492, audio=false)
what is the purpose of framecount? Will it prevent out of sync problems? And should framecount be calculated or what?
According to the AVCHD standards (http://www.avchd-info.org/format/index.html) these are the (only?) allowed resolutions, framerates:
1080p 23.976
1080i 25.00
1080i 29.97
720p 23.976
720p 50.00
720p 60.00
480i 25.00
480i 29.97
50i = 50 fields per second / 2 fields per frame = 25 frames per second
60i = 60 fields per second / 2 fields per frame = 29.97 frames per second
Blu-ray standards are closed but I have yet to see a blu-ray use anything but these resoutions/framerates.
Is 1080i @ 59.94fps allowed or not and is 1080i @ 50fps allowed or not?
I think you mean 720p 59.94? Because all material I have is 59.94 and not 60
And what about 720p 29.97 and 720p 25fps?
turbojet
18th July 2009, 07:34
Is 1080i @ 59.94fps allowed or not and is 1080i @ 50fps allowed or not?
Not allowed according to the AVCHD standard and I don't think they play
I think you mean 720p 59.94? Because all material I have is 59.94 and not 60
Yup you are right 59.940060.
And what about 720p 29.97 and 720p 25fps?
Not allowed according to the AVCHD standard but I think they do play along with 720i 29.97 and 720i 25
The avisynth scripts could be something like this:
23.976 to 1080p/720p: Directshowsource("",fps=23.976,audio=false).AssumeFPS(24000,1001).ConvertToYV12()
25 to 1080i: Directshowsource("",fps=25,audio=false).ConvertToYV12() #x264 --interlaced
25 to 720p: Directshowsource("",fps=25,audio=false).ConvertToYV12().Tdeint(mode=1,full=false) #required?
25 IVTC to 23.976 1080p/720p (option): Directshowsource("",fps=25,audio=false).ConvertToYV12().TFM().TDecimate(25).AssumeFPS(24000,1001) #eac3to -changeto24.975 (needs testing)
29.97 to 1080i: Directshowsource("",fps=29.97,audio=false).AssumeFPS(30000,1001).ConvertToYV12() #x264 --interlaced
29.97 to 720p: Directshowsource("",fps=29.97,audio=false).AssumeFPS(30000,1001).ConvertToYV12().TDeint(mode=1) #required?
29.97 IVTC to 23.976 1080p/720p (option): Directshowsource("",fps=29.97,audio=false).AssumeFPS(30000,1001).ConvertToYV12().TFM().TDecimate()
29.97 IVTC to 25 fps 1080i (option): Directshowsource("",fps=29.97,audio=false).AssumeFPS(30000,1001).ConvertToYV12().TDeint(mode=1,full=false).RePAL().AssumeFPS(25) #x264 --interlaced eac3to -changeto30.03 (needs testing)
29.97 to 50 fps 720p (option): Directshowsource("",fps=29.97,audio=false).AssumeFPS(30000,1001).ConvertToYV12().TDeint(mode=1,full=false).RePAL().AssumeFPS(25).Tdeint(mode=1) #x264 --interlaced eac3to -changeto30.03 (needs testing)
50 to 1080i: Directshowsource("",fps=50,audio=false).ConvertToYV12().AssumeTFF().SelectEven().TDecimate() #x264 --interlaced
50p to 720p: Directshowsource("",fps=50,audio=false).ConvertToYV12()
50i to 720p: Directshowsource("",fps=50,audio=false).ConvertToYV12().TFM()
59.94 to 1080i: Directshowsource("",fps=59.94,audio=false).AssumeFPS(60000,1001)ConvertToYV12().AssumeTFF().SelectEven() x264 --interlaced
59.94p to 720p: Directshowsource("",fps=59.94,audio=false).AssumeFPS(60000,1001)ConvertToYV12()
59.94i to 720p: Directshowsource("",fps=59.94,audio=false).AssumeFPS(60000,1001)ConvertToYV12().TDeint()
Common situations are in bold
mediainfo Scan type can determine 50i, 50p, 59.94i, 59.94p
avisynth plugins needed:TIVTC.dll, TDeint.dll, RePAL.dll
tivtc.dll's TFM.TDecimate could be replaced with decomb.dll's Telecide.Decimate. I've noticed tivtc handles a broader range of clips but decomb.dll handles some better then tivtc and vise versa.
TDeint could be replaced with other kernel deinterlacers like leakkerneldeint.dll or yadif.dll+avisynth_c.dll.
SmartDecimate.dll may be a better option in some cases. It would remove the need to use eac3to --changeto thus allowing untouched audio. But it doesn't compare to repal's quality when doing 29.97 -> 25 conversions.
TDeint(mode=1,full=false) is pretty good for frame doubling but may not be as good as some of these (http://forum.doom9.org/showthread.php?t=130332)
I wouldn't trust ConvertToFPS or (T)Decimate without a field matcher, since all they do is remove every fifth frame or whatever you set.
twazerty
18th July 2009, 11:50
Currently this is the way:
input: interlaced - output: interlaced
input: progressive - output: progressive.
For now no progressive --> interlaced possibility's (And also no interlaced --> progressive)
When input fps equals fps output is always the same script. That script I already have and it works perfectly.
So you only gave 1 useable script??
29.97p to 23.976p (1080p/720p): Directshowsource("",fps=29.97,audio=false).AssumeFPS(30000,1001).ConvertToYV12().TFM().TDecimate()
I compared it with ConvertFPS(23.976)
And I am not happy with the result of your script because it stutters and ConvertFPS(23.976) is much smoother. I prefer smoother video. Maybe I can add a field matcher to ConvertFPS to make it more reliable?
These I already have in use:
Directshowsource("",fps=59.94,audio=false).AssumeFPS(60000,1001).ConvertToYV12()
etc
turbojet
18th July 2009, 16:17
A field matcher probably wouldn't do any good and possibly harm in front of ConvertFPS. To work correcly, TFM communicates with TDecimate. Telecide communicates with Decimate.
I was wrong with ConvertFPS deleting every fifth frame, it's ChangeFPS that does it. ConvertFPS works by blending fields which if run on a hard telecine source 2 of 5 frames will have motion blur.
What it sounds like is the source you are working with shouldn't be ivtc'd to 23.976 and your eyes prefer motion blur over deleted frames. If you provide a link to a short sample someone can see what's going on.
twazerty
18th July 2009, 17:11
A field matcher probably wouldn't do any good and possibly harm in front of ConvertFPS. To work correcly, TFM communicates with TDecimate. Telecide communicates with Decimate.
I was wrong with ConvertFPS deleting every fifth frame, it's ChangeFPS that does it. ConvertFPS works by blending fields which if run on a hard telecine source 2 of 5 frames will have motion blur.
What it sounds like is the source you are working with shouldn't be ivtc'd to 23.976 and your eyes prefer motion blur over deleted frames. If you provide a link to a short sample someone can see what's going on.
I need solutions that work with every input file. With MediaInfo I can't detect if it is telecine or normal file? Only Progressive/Interlaced scantype. But if I can detect telecine files I can use those methods you described. I found info on a website and for lower fps (<=30fps) they use ConvertFPS and for higher values (>=50fps) they use ChangeFPS for conversions to 23.976.
twazerty
19th July 2009, 19:51
With my alpha versions I encountered undersizing problems. Does anyone have undersizing problems for DVD9? If the output is 7,92GB + then there is no undersizing problem. But if they become somewhere around 7,60-7,90GB you have the undersizing problem. I am trying to track down the problem but is very hard to find.
I suspect x264/ AssumeFPS in Avisynth. Still testing.
setarip_old
19th July 2009, 21:38
@twazertyBut if they become somewhere around 7,60-7,90GB you have the undersizing problem.I'd suggest that you're too much of a perfectionist on this one. 7.6GB is about 95% disc usage - and yields perfectly acceptable results...
twazerty
19th July 2009, 21:58
@twazertyI'd suggest that you're too much of a perfectionist on this one. 7.6GB is about 95% disc usage - and yields perfectly acceptable results...
Previous versions always were 7.92-7.94 GB. Also changed the Blu-ray disc size to the correct size and there is 1GB undersizing. I expect for DVD5 a undersizing of 70 to 150MB. I can't live with this undersizing. The formulas I have achieve a 99.3%+ disc usage.
setarip_old
20th July 2009, 02:06
The formulas I have achieve a 99.3%+ disc usageImpressive though that may be, doing so runs the risk of poor outer edge reading/playback ability regarding either lower quality media or lower quality/poorer condition playback units...
twazerty
20th July 2009, 13:44
Impressive though that may be, doing so runs the risk of poor outer edge reading/playback ability regarding either lower quality media or lower quality/poorer condition playback units...
the assumeFPS option is not the problem. Trying to find what is wrong. I am running into a problem with x264. The last 5-6 builds of x264 doesn't accept this commandline:
x264.exe --pass 1 --bitrate 7891 --stats "d:\file.stats" --level 4.1 --keyint 24 --min-keyint 2 --bframes 3 --weightb --direct auto --subme 2 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 24000 --vbv-maxrate 24000 --qcomp 0.5 --me dia --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output NUL "d:\input.avs"
I get this error:
unknown option -- progress
When I remove --progress I get:
unknown option -- no-psnr
Very strange. Don't know why it doesn't work. With r1170 it is still working. But on later builds I get x264 errors.
laserfan
20th July 2009, 14:21
You need to study-up on the new defaults maybe. At least --no-psnr and --no-ssim are now defaults, and thus these options no longer exist (iirc, I haven't tried the new version yet).
twazerty
20th July 2009, 16:21
You need to study-up on the new defaults maybe. At least --no-psnr and --no-ssim are now defaults, and thus these options no longer exist (iirc, I haven't tried the new version yet).
You're correct. After removing --progress --no-psnr --no-ssim it works.
turbojet
21st July 2009, 20:12
I need solutions that work with every input file. With MediaInfo I can't detect if it is telecine or normal file? Only Progressive/Interlaced scantype. But if I can detect telecine files I can use those methods you described. I found info on a website and for lower fps (<=30fps) they use ConvertFPS and for higher values (>=50fps) they use ChangeFPS for conversions to 23.976.
No mediainfo can't tell if it needs ivtc or not. AutoGK and MeGUI have complex algorithm that tries to determine if it needs it or not, but they aren't always correct. Best is an option for the more advanced users. Depeding on the situation changefps and convertfps work ok but not when it comes to ivtc, see this hard telecined trailer: tivtc vs changefps vs convertfps (http://www.mediafire.com/download.php?mjwwwmjklzv)
With my alpha versions I encountered undersizing problems. Does anyone have undersizing problems for DVD9? If the output is 7,92GB + then there is no undersizing problem. But if they become somewhere around 7,60-7,90GB you have the undersizing problem. I am trying to track down the problem but is very hard to find.
I suspect x264/ AssumeFPS in Avisynth. Still testing.
On a few tests x264 1184 comes within 5 kbps of what I put for bitrate.
twazerty
21st July 2009, 20:37
No mediainfo can't tell if it needs ivtc or not. AutoGK and MeGUI have complex algorithm that tries to determine if it needs it or not, but they aren't always correct. Best is an option for the more advanced users. Depeding on the situation changefps and convertfps work ok but not when it comes to ivtc, see this hard telecined trailer: tivtc vs changefps vs convertfps (http://www.mediafire.com/download.php?mjwwwmjklzv)
On a few tests x264 1184 comes within 5 kbps of what I put for bitrate.
I am tracking the x264 problem. Takes some days before I know the problem. After that I am going to determine which x264 revisions are causing the problem. An advanced option. Great idea.
I am informed that the latest version of BDRebuilder also creates undersized discs. (20.8 instead op 23.3GB)
turbojet
21st July 2009, 21:41
I am tracking the x264 problem. Takes some days before I know the problem. After that I am going to determine which x264 revisions are causing the problem. An advanced option. Great idea.
Are you checking the resulting m2ts with mediainfo to see what the actual average bitrate is and what was passed to x264?
If they are really close it's not an x264 issue but an AVCHDcoder issue.
I am informed that the latest version of BDRebuilder also creates undersized discs. (20.8 instead op 23.3GB)
Pretty common, I've never seen BD-Rebuilder come within 100 MB of the target size. Plus x264 --bitrate 25000 max with BD25 target size set means anything less than ~2 hours is going to be significantly undersized.
Have you given any more thoughts on using an override file or adding some advanced x264 settings (--psy-rd most importantly) to the gui, dts encoding, and BDSup2Sub? I'm still waiting for these before using AVCHDcoder outside of testing. It'll be nice when I can since RipBot264 takes ~30 minutes and ~30 more mouse clicks to setup an encode while AVCHDcoder takes maybe 2 minutes.
Also considering the app is java have you considered making it multi-platform by using things like mencoder instead of avisynth+x264 on linux/mac?
twazerty
21st July 2009, 21:57
Are you checking the resulting m2ts with mediainfo to see what the actual average bitrate is and what was passed to x264?
If they are really close it's not an x264 issue but an AVCHDcoder issue.
Pretty common, I've never seen BD-Rebuilder come within 100 MB of the target size. Plus x264 --bitrate 25000 max with BD25 target size set means anything less than ~2 hours is going to be significantly undersized.
Have you given any more thoughts on using an override file or adding some advanced x264 settings (--psy-rd most importantly) to the gui, dts encoding, and BDSup2Sub? I'm still waiting for these before using AVCHDcoder outside of testing. It'll be nice when I can since RipBot264 takes ~30 minutes and ~30 more mouse clicks to setup an encode while AVCHDcoder takes maybe 2 minutes.
Also considering the app is java have you considered making it multi-platform by using things like mencoder instead of avisynth+x264 on linux/mac?
No I am compairing the raw h264 files sizes. In the old x264 the files are correct but in later versions of x264 the files are far to small.
I have some alpha testers and one of them always uses BDRebuilder with Custom output. For him the Custom output alsways worked! and now he has undersizing problems.
Now I am testing without AVCHDCoder. I am testing with x264 via commandline. I test the situation it was in old versions in AVCHDCoder and I make the same changes step by step until I find the problem. After that I am going to track down since which version the error occurs. I tested some things and now I am making avisynth changes 1 by 1. The x264 commandline settings are not the problem. I suspect avisynth settings. Currently I am compairing:
DirectShowsource("input.mkv",fps=23.9759856527702,audio=false)
addborders(0,0,0,0)
LanczosResize(1920,1080) #Lanczos(Sharp)
with:
DirectShowsource("input.mkv",fps=23.976,audio=false)
addborders(0,0,0,0)
LanczosResize(1920,1080) #Lanczos(Sharp)
if output is to small I tracked down the problem. If output is ok I will test:
DirectShowsource("input.mkv",fps=23.976,audio=false)
assumeFPS(24000,1001)
addborders(0,0,0,0)
LanczosResize(1920,1080) #Lanczos(Sharp)
and so on until I found the problem.
I don't have plans to make it multi platform. And if I make it multi platform it will be Linux only because I don't have a Mac and I don't like a Mac.
Not everything I have written is multi-platform compatible. There are things that are Windows only.
I like your requests but they won't be added to next version. First I release it. Wait some days to release a fast fix if necessary and then I add more features.
Atak_Snajpera
22nd July 2009, 06:57
Yesterday I encoded Blu-ray Son of Rambow to 720p AVCHD in ripbot264 with latest x264 r1184
F:\>"C:\Users\Dawidos\Documents\Delphi_Projects\RipBot264\tools\x264\x264_x86.exe" "F:\temp\RipBot264temp\job5\job5.avs" --pass 2 --bitrate 5537 --stats "F:\temp\RipBot264temp\job5\job5.stats" --fps 24000/1001 --min-keyint 24 --keyint 240 --sar 1:1 --level 4.0 --aud --nal-hrd --vbv-bufsize 25000 --vbv-maxrate 25000 --filter 0,0 --ref 3 --bframes 3 --b-adapt 1 --direct auto --subme 7 --aq-mode 1 --trellis 1 --partitions all --me umh --output "F:\temp\RipBot264temp\video.264"
avis [info]: 1280x720 @ 23.98 fps (137425 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 Slow_mod4_stack
x264 [info]: profile High, level 4.0
x264 [info]: slice I:1155 Avg QP:14.77 size:105379
x264 [info]: slice P:53161 Avg QP:17.86 size: 45203
x264 [info]: slice B:83109 Avg QP:19.31 size: 17349
x264 [info]: consecutive B-frames: 6.8% 29.9% 16.9% 46.3%
x264 [info]: mb I I16..4: 22.7% 59.2% 18.2%
x264 [info]: mb P I16..4: 0.9% 9.4% 1.6% P16..4: 26.7% 18.7% 13.9% 0.7% 0.9% skip:27.2%
x264 [info]: mb B I16..4: 0.1% 1.0% 0.2% B16..8: 35.1% 2.5% 4.5% direct: 7.5% skip:49.1% L0:38.3% L1:42.9% BI:18.8%
x264 [info]: 8x8 transform intra:76.1% inter:51.2%
x264 [info]: direct mvs spatial:85.5% temporal:14.5%
x264 [info]: coded y,uvDC,uvAC intra:87.7% 87.2% 66.6% inter:33.5% 33.9% 6.4%
x264 [info]: ref P L0 67.7% 18.4% 14.0%
x264 [info]: ref B L0 79.7% 20.3%
x264 [info]: kb/s:5536.3
encoded 137425 frames, 17.89 fps, 5536.44 kb/s
As you can see final bitrate was almost perfect and final size was almost perfect as well. 4475 MB (target 4480MB)
twazerty
22nd July 2009, 11:29
Yesterday I encoded Blu-ray Son of Rambow to 720p AVCHD in ripbot264 with latest x264 r1184
As you can see final bitrate was almost perfect and final size was almost perfect as well. 4475 MB (target 4480MB)
Yes I know it works ok but see this:
AVCHDCoder 3.08 (100% sure it works perfect):
DVD9 with DTS. Output: 7.94GB
This perfect bitrate is achieved with my formulas. Over the months the formula hasn't changed. I changed the x264 version and the avisynth script. In my latests internal alpha versions this is the output: 7.77GB. The bitrate is calculated properly. The way a movie is encoded is still the same. Only another avisynth script and another revision of x264.
Somebody I know always uses Custom output with BDRebuilder. He always gets an output of 23GB+ but suddenly he gets a file of 20GB. That is with revision r1173. From r1170+ I get undersizing problems.
Just need to check a couple of things like using r1140 in my latest alpha version. I expect the output will be correct.
Atak_Snajpera
22nd July 2009, 22:27
You must check logs. That's all.
twazerty
23rd July 2009, 00:41
You must check logs. That's all.
That is what I am doing right now :)
I also noticed this:
Mediainfo says: bitrate is 6762 but the actual file was to small when you calculate the filesize.(5.98GB instead of 6.07GB)
I think I found the problem but I am not sure for now. I post it when I am sure. It is this avisynth script:
DirectShowsource("input.mkv",fps=23.976,audio=false)
AssumeFPS(24000,1001)
ConvertToYV12()
addborders(0,0,0,0)
LanczosResize(1920,1080) #Lanczos(Sharp)
vs:
DirectShowsource("input.mkv",fps=23.976,audio=false).AssumeFPS(24000,1001).ConvertToYV12().addborders(0,0,0,0)
I post the logs when I am ready. 6.07GB is the output of the first script and 5.98GB is the output of the second script. (I am checking it now. I post the log when it is actually the problem)
twazerty
23rd July 2009, 02:41
Got the log from x264. This script causes the undersizing problem:
DirectShowsource("F:\input.mkv",fps=23.976,audio=false).AssumeFPS(24000,1001).ConvertToYV12().addborders(0,0,0,0)
Pass 1:
"x264.exe" --pass 1 --bitrate 6762 --stats "F:\input.stats" --level 4.1 --keyint 24 --min-keyint 2 --bframes 3 --weightb --direct auto --subme 2 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate 24000 --me dia --threads auto --thread-input --sar 1:1 --output NUL "F:\input.avs"
avis [info]: 1920x1080 @ 23.98 fps (185013 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile Main, level 4.1
x264 [info]: slice I:10027 Avg QP:17.43 size: 80465
x264 [info]: slice P:87175 Avg QP:19.87 size: 44263
x264 [info]: slice B:87811 Avg QP:21.22 size: 20026
x264 [info]: consecutive B-frames: 18.5% 40.7% 9.5% 31.3%
x264 [info]: mb I I16..4: 68.8% 0.0% 31.2%
x264 [info]: mb P I16..4: 33.2% 0.0% 0.0% P16..4: 35.0% 0.0% 0.0% 0.0% 0.0% skip:31.8%
x264 [info]: mb B I16..4: 6.5% 0.0% 0.0% B16..8: 25.7% 0.0% 0.0% direct:15.2% skip:52.7% L0:36.4% L1:48.3% BI:15.3%
x264 [info]: final ratefactor: 23.30
x264 [info]: direct mvs spatial:97.6% temporal:2.4%
x264 [info]: coded y,uvDC,uvAC intra:56.7% 61.8% 21.9% inter:14.1% 18.3% 0.5%
x264 [info]: kb/s:6659.8
encoded 185013 frames, 38.18 fps, 6660.96 kb/s
Pass 2:
"x264.exe" --bitrate 6762 --stats "F:\input.stats" --level 4.1 --keyint 24 --min-keyint 2 --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --weightb --direct auto --subme 7 --trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate 24000 --me umh --threads auto --thread-input --sar 1:1 --output "F:\output.264" "F:\input.avs"
avis [info]: 1920x1080 @ 23.98 fps (185013 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.1
x264 [info]: slice I:9930 Avg QP:18.32 size: 75692
x264 [info]: slice P:86099 Avg QP:21.02 size: 45398
x264 [info]: slice B:88984 Avg QP:22.44 size: 19853
x264 [info]: consecutive B-frames: 17.5% 41.1% 9.4% 31.9%
x264 [info]: mb I I16..4: 28.0% 63.8% 8.2%
x264 [info]: mb P I16..4: 2.7% 13.3% 0.5% P16..4: 39.1% 8.6% 6.9% 0.0% 0.0% skip:29.0%
x264 [info]: mb B I16..4: 0.2% 1.8% 0.1% B16..8: 39.0% 0.6% 1.0% direct: 3.5% skip:53.8% L0:40.2% L1:56.0% BI: 3.8%
x264 [info]: final ratefactor: 24.29
x264 [info]: 8x8 transform intra:74.6% inter:81.1%
x264 [info]: direct mvs spatial:99.7% temporal:0.3%
x264 [info]: coded y,uvDC,uvAC intra:63.9% 68.3% 32.2% inter:19.6% 25.7% 1.1%
x264 [info]: ref P L0 71.1% 18.5% 10.4%
x264 [info]: ref B L0 84.4% 15.6%
x264 [info]: kb/s:6663.1
encoded 185013 frames, 12.75 fps, 6664.15 kb/s
Mediainfo:
File size : 5.99 GiB
Bit rate : 6 762 Kbps
And this avisynth script creates a correct output file:
DirectShowsource("F:\input.mkv",fps=23.976,audio=false)
AssumeFPS(24000,1001)
ConvertToYV12()
addborders(0,0,0,0)
LanczosResize(1920,1080) #Lanczos(Sharp)
Pass 1:
"x264.exe" --pass 1 --bitrate 6762 --stats "F:\input.stats" --level 4.1 --keyint 24 --min-keyint 2 --bframes 3 --weightb --direct auto --subme 2 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 24000 --vbv-maxrate 24000 --qcomp 0.5 --me dia --threads auto --thread-input --sar 1:1 --output NUL "F:\input.avs"
avis [info]: 1920x1080 @ 23.98 fps (185013 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile Main, level 4.1
x264 [info]: slice I:10027 Avg QP:17.42 size: 80804
x264 [info]: slice P:87175 Avg QP:19.85 size: 44426
x264 [info]: slice B:87811 Avg QP:21.26 size: 19863
x264 [info]: consecutive B-frames: 18.5% 40.7% 9.5% 31.3%
x264 [info]: mb I I16..4: 68.8% 0.0% 31.2%
x264 [info]: mb P I16..4: 33.3% 0.0% 0.0% P16..4: 35.0% 0.0% 0.0% 0.0% 0.0% skip:31.8%
x264 [info]: mb B I16..4: 6.5% 0.0% 0.0% B16..8: 25.5% 0.0% 0.0% direct:15.1% skip:52.9% L0:36.4% L1:48.4% BI:15.2%
x264 [info]: final ratefactor: 23.36
x264 [info]: direct mvs spatial:97.7% temporal:2.3%
x264 [info]: coded y,uvDC,uvAC intra:57.0% 61.8% 22.4% inter:14.1% 18.3% 0.5%
x264 [info]: kb/s:6663.3
encoded 185013 frames, 37.70 fps, 6664.41 kb/s
Pass 2:
"x264.exe" --pass 2 --bitrate 6762 --stats "F:\input.stats" --level 4.1 --keyint 24 --min-keyint 2 --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --weightb --direct auto --subme 7 --trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate 24000 --me umh --threads auto --thread-input --sar 1:1 --output "F:\output.h264" "F:\input.avs"
avis [info]: 1920x1080 @ 23.98 fps (185013 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.1
x264 [info]: slice I:10027 Avg QP:18.11 size: 76472
x264 [info]: slice P:87175 Avg QP:21.11 size: 42148
x264 [info]: slice B:87811 Avg QP:21.53 size: 23699
x264 [info]: consecutive B-frames: 18.5% 40.7% 9.5% 31.3%
x264 [info]: mb I I16..4: 28.0% 63.7% 8.3%
x264 [info]: mb P I16..4: 2.8% 11.6% 0.5% P16..4: 40.0% 8.8% 7.2% 0.0% 0.0% skip:29.1%
x264 [info]: mb B I16..4: 0.2% 1.9% 0.1% B16..8: 40.4% 0.8% 1.4% direct: 4.2% skip:50.9% L0:41.0% L1:54.0% BI: 5.0%
x264 [info]: 8x8 transform intra:73.0% inter:80.0%
x264 [info]: direct mvs spatial:88.0% temporal:12.0%
x264 [info]: coded y,uvDC,uvAC intra:62.0% 66.8% 29.1% inter:21.4% 27.8% 1.0%
x264 [info]: ref P L0 71.0% 18.5% 10.5%
x264 [info]: ref B L0 83.7% 16.3%
x264 [info]: kb/s:6761.6
encoded 185013 frames, 14.02 fps, 6762.65 kb/s
Mediainfo:
File size : 6.07 GiB
Bit rate : 6 762 Kbps
This happens with r1184 of x264. Next I'll test to see if older version also have this problem.
turbojet
23rd July 2009, 05:16
Both avs outputs are exact as long as the resolution is 1920x1080, which it is in this case.
I/P/B frame count are different between passes on the first encode. My guesses are either a different stats file got in the way in the first encode or --vbv-bufsize 9000 disagreed with --qcomp 0.5 --qpstep 4 and it wanted to use more than 9000 kbps between one frame and another at times but couldn't. --vbv-bufsize 24000 in the first pass of the second encode allowed --qcomp 0.5 --qpstep to act normal.
Is there some reason you are changing --qcomp --vbv-bufsize between passes?
Also the command line can be cleaned up a lot with the latest x264 versions, these are comparable to the latest AVCHDcoder lines:
"x264.exe" --pass 1 --bitrate 6762 --output NUL "F:\input.avs" --stats "F:\input.stats" --level 4.1 --keyint 24 --min-keyint 2 --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 24000 --vbv-maxrate 24000
"x264.exe" --pass 2 --bitrate 6762 --output "F:\output.264" "F:\input.avs" --stats "F:\input.stats" --level 4.1 --keyint 24 --min-keyint 2 --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 24000 --vbv-maxrate 24000 --me umh
twazerty
23rd July 2009, 10:57
By accident I used the wrong first pass where the output is ok.
I'll redo the second one with exactly the same settings as the first which is incorrect.
I'll redo both test because I also saw another mistake.
twazerty
28th July 2009, 18:13
Somehow I forgot --pass 2 in the commandline. Sometimes the output was oversized. Sometimes it was correct and mostly it was undersized. But it is fixed now and that is why I released the new version of AVCHDCoder yesterday.
Beta v09.07.26
***Settings are lost. Reconfigure them in settings Tab***
Fixed - Language was not shown for all m2ts files
Fixed - back/forward slash problem ( / and \ )
Fixed - When output is 720p and subtitles are srt or ass the subtitles have the 1080p sizes.
Fixed - Better audio detection
Fixed - Inconsistent videocodec names (VC-1 and WVC1 for example)
Fixed - Missing AUXDATA folder (All Samsung Players need latest firmware now !!!)
Fixed - Bitrate indication bar was not working properly.(Incorrect bitrate)
Fixed - When deleting last item from disc the bitrate was not calculated again.
Fixed - Resize function was inside avs file when it was not neccecary
Fixed - Conversion crashes when no fps was found in source. (will now be set to 23.976 if no fps was found)
Fixed - Chapter problem
Fixed - DTS-ES problem
Fixed - Incorrect BD25 and BD50 sizes caused undersizing. Now BD25 is set to 24.7GB and BD50 to 49.4GB
Upgraded - New Queue tab.
Upgraded - Error detection.
Added - Log function. (For now it will not be saved on harddrive, only in AVCHDCoder itself)
Added - Italian language
Added - Blu-ray folder input (Playlist detection via eac3to). Seamless Branching Discs are supported too.
Added - Framerate conversion.
Added - Donate button to the about screen
Added - Move items up or down
Added - Right mouse menu to queue. (Move Up/Down, Delete temp files and remove option)
Added - Chapters will be taken from source file and they will be shown at chapters tab
Added - AssumeFPS(24000,1001) if fps = 23.976, AssumeFPS(30000,1001) if fps = 29.97, AssumeFPS(60000,1001) if fps = 59.94
Added - ConvertToYV12()
Added - More stream information (Progressive/interlaced indication, number of channels, duration)
Added - WMA9 support
Added - Interlaced support (No conversion to progressive video yet)
Added - dut and nld points to Dutch, fra and fre points to French, ger and deu points to German for Language detection
Added - added languages to the language selection: Bulgarian, Czech, Danisch, Greek, Hungarian, Croatian, Romanian, Slovanian
Added - Shortcut to Open file. (Ctrl+O or File --> Open file...)
Added - Shortcut to Open folder. (Ctrl+Shift+O or File --> Open folder...)
Added - Shortcut to default output folder (Ctrl+U or Options --> Open default output folder)
Added - See bitrate before you added the item to the disc.
Added - Use DTSHD. Added formula. (Experimental)
Changed - Moved CPU priority to Options menu
Updated - x264.exe tot r1184
setarip_old
28th July 2009, 18:17
@twazertythat is why I released the new version of AVCHDCoder yesterday.
Beta v09.07.26I believe you've forgotten to update the link (In your first post to this thread) for this version...
twazerty
28th July 2009, 18:22
@twazertyI believe you've forgotten to update the link (In your first post to this thread) for this version...
Wasn't finished yet :)
setarip_old
28th July 2009, 18:33
Added - Blu-ray folder input (Playlist detection via eac3to). Seamless Branching Discs are supported too.Does this mean AVCHDCoder can now compress a full BluRay disc to a fully functional (menu, extras, etc.) DVD9 or DVD5?
twazerty
28th July 2009, 18:55
Does this mean AVCHDCoder can now compress a full BluRay disc to a fully functional (menu, extras, etc.) DVD9 or DVD5?
No. As you can see you select a playlist. It is almost the same as the movie only option in BDRebuilder. The selected playlist will be converted to DVD9/DVD5 or something else. The playlist can contain multiple files. They will be joined and converted.
setarip_old
28th July 2009, 19:28
Thanks for clarifying ;>}
BTW - Thanks for fixing the "/" versus "\"
wakebrder
29th July 2009, 19:33
Added - Use DTSHD. Added formula. (Experimental)
Does this mean you be able to keep DTS-HD / True-HD on a DVD9 in the future? :)
twazerty
29th July 2009, 20:50
Does this mean you be able to keep DTS-HD / True-HD on a DVD9 in the future? :)
TrueHD not yet. DTS-HD 3018 kbps, DTS and DTS-ES were already supported. Now all DTS formats can be used directly.
I had a problem because DTS-HD MA is VBR. My formulas only work for CBR formats. (AC3, DTS etc) So I create on the fly a new formula based on 2 other formulas. Now I hope it will work correctly. You can use it but I cannot guarantee the if it won't oversize.
wakebrder
30th July 2009, 13:35
TrueHD not yet. DTS-HD 3018 kbps, DTS and DTS-ES were already supported. Now all DTS formats can be used directly.
I had a problem because DTS-HD MA is VBR. My formulas only work for CBR formats. (AC3, DTS etc) So I create on the fly a new formula based on 2 other formulas. Now I hope it will work correctly. You can use it but I cannot guarantee the if it won't oversize.
Atak had this same issue when trying to implement HD audio into Ripbot. So it now has the option to convert HD audio to FLAC.
Thank you for your efforts. I will give it a try.:thanks:
twazerty
30th July 2009, 23:44
Atak had this same issue when trying to implement HD audio into Ripbot. So it now has the option to convert HD audio to FLAC.
Thank you for your efforts. I will give it a try.:thanks:
I never had issues on implementing HD audio. It was very easy actually. I added it couple of months ago but didn't had a solution for the overhead. I can use a fixed overhead but I don't like that.
wakebrder
31st July 2009, 12:36
I never had issues on implementing HD audio. It was very easy actually. I added it couple of months ago but didn't had a solution for the overhead. I can use a fixed overhead but I don't like that.
I was referring to the bitrate issue. Difficult to predict output size when dealing with VBR.
Keep up the good work, hopefully True-HD will follow.
twazerty
1st August 2009, 01:15
True-HD will follow. Maybe next release or maybe not :)
Looks like there are no big bugs introduced in the new version so I am ready to add new features and improve features.
I think the next thing on the list will be:
-BDSup2Sup implementation.
-MP4 input
-Second audio track. (Not all formats just a couple of them: DTS/DTS, DTS/DTS-ES, DTS/AC3 640, DTS/AC3 448, DTS-ES/DTS-ES, DTS-ES/AC3 640, DTS-ES/AC3 448, AC3 640/AC3 640, AC3 640/AC3 448, AC3 448/AC3 448)
turbojet
1st August 2009, 08:49
Thanks for the new build, BD input is working great for me so far 3 things I've noticed with it:
- AssumeFPS isn't added to avs scripts
- default ISO or file output setting is missing, I found it useful in earlier versions
- no FPS display, intended?
twazerty
1st August 2009, 10:33
Thanks for the new build, BD input is working great for me so far 3 things I've noticed with it:
- AssumeFPS isn't added to avs scripts
- default ISO or file output setting is missing, I found it useful in earlier versions
- no FPS display, intended?
Your correct. AssumeFPS isn't added when input is Blu-ray folder. For m2ts, mkv and wmv assumeFPS is added.
Default iso or output is still there: Settings-->Output-->Default output type
FPS display when encoding is not added yet.
wakebrder
1st August 2009, 16:25
True-HD will follow. Maybe next release or maybe not :)
Looks like there are no big bugs introduced in the new version so I am ready to add new features and improve features.
I think the next thing on the list will be:
-BDSup2Sup implementation.
-MP4 input
-Second audio track. (Not all formats just a couple of them: DTS/DTS, DTS/DTS-ES, DTS/AC3 640, DTS/AC3 448, DTS-ES/DTS-ES, DTS-ES/AC3 640, DTS-ES/AC3 448, AC3 640/AC3 640, AC3 640/AC3 448, AC3 448/AC3 448)
Just finished up an encode using DTS-MA with DVD-9 set as the target size. Came out at 7.56 GB. I can live with this!!
Great job!!:thanks:
twazerty
1st August 2009, 18:03
Just finished up an encode using DTS-MA with DVD-9 set as the target size. Came out at 7.56 GB. I can live with this!!
Great job!!:thanks:
I tested it as well and was little undersized as well. I added an extra safety barrier but I think it is not necessary. If I remove it the output size will be about 30MB-120MB larger.
wakebrder
1st August 2009, 18:26
I tested it as well and was little undersized as well. I added an extra safety barrier but I think it is not necessary. If I remove it the output size will be about 30MB-120MB larger.
Better a little under than over.:)
Can't wait for True-HD.:D
:thanks:
twazerty
1st August 2009, 23:07
Finally managed to add 64 bit encoding via bipebuf and avs2yuv. For now you have to activate it manually in the settings.
Edit: Spoke too soon. It's about twice as slow and first pass crashes at 80% on several video's.
twazerty
2nd August 2009, 15:05
I need help with the selection of new x264 profiles.
Since x264 is changed it is time to use new profiles. This time I am adding a third speed. Slow/Fast/Very Fast
But the selection of profiles is hard to choose. I noticed that x264 has build in presets. Maybe we can use those and change them a little bit to get them right for blu-ray?
My suggestion for the Slow preset:
x264.exe --pass 1 --preset medium --bitrate <bitrate> --level 4.1 --stats "movie.stats" --keyint 24 --min-keyint 2 --vbv-bufsize 24000 --vbv-maxrate 24000 --output NUL "movie.avs"
x264.exe --pass 2 --preset slow --bitrate <bitrate> --level 4.1 --stats "movie.stats" --keyint 24 --min-keyint 2 --vbv-bufsize 24000 --vbv-maxrate 24000 --output "output.mkv" "movie.avs"
turbojet
3rd August 2009, 06:18
My suggestions
slow (slow but helps in high compression situations):
--pass 1 --vbv-bufsize 24000 --vbv-maxrate 24000 --bitrate <bitrate> --level 4.1 --stats "movie.stats" --keyint 24 --min-keyint 2 --ipratio 1.1 --pbratio 1.1 --b-adapt 2
--pass 2 --vbv-bufsize 24000 --vbv-maxrate 24000 --bitrate <bitrate> --level 4.1 --stats "movie.stats" --keyint 24 --min-keyint 2 --subme 9 --me umh --ref 4 --direct auto --b-adapt 2 --trellis 2 --psy-rd 1.0:0.25 --partitions all --ipratio 1.1 --pbratio 1.1
normal (good for typical DVD5/9):
--pass 1 --vbv-bufsize 24000 --vbv-maxrate 24000 --bitrate <bitrate> --level 4.1 --stats "movie.stats" --keyint 24 --min-keyint 2 --ipratio 1.1 --pbratio 1.1
--pass 2 --vbv-bufsize 24000 --vbv-maxrate 24000 --bitrate <bitrate> --level 4.1 --stats "movie.stats" --keyint 24 --min-keyint 2 --me umh --direct auto --psy-rd 1.0:0.25 --ipratio 1.1 --pbratio 1.1
fast (good for BD25 output, fast but efficiency is still considered):
--pass 1 --vbv-bufsize 24000 --vbv-maxrate 24000 --bitrate <bitrate> --level 4.1 --stats "movie.stats" --keyint 24 --min-keyint 2 --ipratio 1.1 --pbratio 1.1
--pass 2 --vbv-bufsize 24000 --vbv-maxrate 24000 --bitrate <bitrate> --level 4.1 --stats "movie.stats" --keyint 24 --min-keyint 2 --preset fast --direct auto --ipratio 1.1 --pbratio 1.1
x264 slow/slower/placebo presets won't work with 1920x1080 because --ref 5+
twazerty
6th August 2009, 00:12
Thanx turbojet. I implemented them into AVCHDCoder.
There are some problems. --direct-auto doesn't work for Slow and Medium. Add had to remove it or else encoding doesn't work.
I did some testing and this are the results on a Core i7 920:
59 second sample
-----------Slow--Medium--Fast
Pass 1:----44----44-------44 seconds
Pass 2:----493---176------90 seconds
Total:-----537---220------134 seconds
The slow settings are very slow. No big deal. That is for hardcore users :P. The fast and Medium are to slow. It would be nice if Medium and Fast could be about 20% faster. Else people complain it is slower then usual. when I remove --psy-rd 1.0:0.25 at Medium it doesn't speed up.
Also some other questions. Since the very first release of AVCHDCoder there is a bitrate problem. To be more specific: The max bitrate can get to high. AVCHD can stutter on players because the bitrate is too High.
This is pass 1 of the new Medium profile:
x264.exe --pass 1 --vbv-bufsize <maxBitrate> --vbv-maxrate <maxBitrate> --bitrate <bitrate> --level 4.1 --stats "movie.stats" --keyint 24 --min-keyint 2 --ipratio 1.1 --pbratio 1.1 --sar 1:1 --output NUL "input.avs"
Where:
<bitrate> is the calculated bitrate
<maxBitrate> can be: 18000 for AVCHD on DVD, 40000 for Blu-ray and 24000 for AVCHD at Stick or Custom output size.
Is this correct: --vbv-bufsize <maxBitrate> --vbv-maxrate <maxBitrate> ???
And what does the max bitrate exactly mean (Accordingly to the AVCHD specs). This:
videobitrate+audiobitrate+subtitlesbitrate
or:
videobitrate+audiobitrate+subtitlesbitrate+overhead
Support for second audio stream is almost ready. Only the graphical stuff needs to be fixed.
BTW: I have plans to make AVCHDCalculator cross platform. It is not too hard because it is a small program and that way I can learn something of Mac OS. I think I am going to make another application to generate hundreds of formulas so eventually AVCHDCalculator and AVCHDCoder support more then 2 audiotypes with lots of combinations.
Edit: I am doing a more realistic test right now at it seems the Medium speed is quite fast.
turbojet
6th August 2009, 05:53
x264 normal I posted is identical to the current AVCHDcoder output except for for enabling psy-trellis with --psy-rd 1.0:0.25 which is a minimal slowdown (>1% in my tests) while keeping details that are otherwise lost. Also --sar 1:1 is default so it's not really needed in x264 command line.
If --preset fast isn't as fast as you'd like maybe test out --preset veryfast it's about 50% faster but lesser quality. Also --psy-rd 1.0:0.25 can be used with --preset fast since --trellis 1, it won't have any effect with --trellis 0 which is what veryfast uses. Another option to speed up 'fast' is using --preset fast --trellis 0 the speedup won't be as much as veryfast would be but also the quality weren't be affected as much.
Your guess is as good as mine on --vbv-maxrate --vbv-bufsize and AVCHD standards. I've never seen much documentation on either. I haven't noticed and issues on a panasonic BD30 or PS3 with 24000/24000 and RipBot264 has been using it for awhile with no reports that I could see. But that also doesn't include video muxed with HD audio. My suggestion is if you can reproduce the stutter it try 18000/18000. If it still skips try lowering the bufsize to something like 9000 or so. If it still happens try using (18000 - <audio bitrate>) for maxrate/bufsize.
Oh and with slow and normal commands I posted it should be --direct auto instead of --direct-auto. I edited it.
twazerty
6th August 2009, 14:24
I added --sar because it is necessary for SD video's.
Now I tested with a 88 minute movie. This are the results:
------------Slow--Medium--Fast
Pass 1:-----53----53-------53 minutes
Pass 2:-----293---126------62 minutes
Total:------346---179------115 minutes
Total:------6-----3---------2 hours
The medium speed is about 30% faster as my previous Slow settings. Now it takes 3 hours instead of 4,5. The gap between Medium and Slow is Huge. It would be nice if we have a setting between Slow and Medium so people can choose better.
Now I am testing 64 bit encoding again. When second pass starts I get a strange error:
2nd pass has more frames than 1st pass (125593 vs 125592)
This is pass 1:
"pipebuf.exe" "avs2yuv.exe" "Fast DVD5 64bit.avs" -raw - : "x264.exe" --pass 1 --vbv-bufsize 24000 --vbv-maxrate 24000 --bitrate 5123 --level 4.1 --stats "movie.stats" --keyint 24 --min-keyint 2 --ipratio 1.1 --pbratio 1.1 --sar 1:1 --output NUL --frames 125593 - 1920x1080 : 4
and this is pass 2:
"pipebuf.exe" "avs2yuv.exe" "Fast DVD5 64bit.avs" -raw - : "x264.exe" --pass 2 --vbv-bufsize 24000 --vbv-maxrate 24000 --bitrate 5123 --level 4.1 --stats "movie.stats" --keyint 24 --min-keyint 2 --preset fast --direct auto --ipratio 1.1 --pbratio 1.1 --sar 1:1 --output "Fast DVD5 64bit.264" --frames 125593 - 1920x1080 : 4
The number of frames is requested from mediainfo:
Frame count : 125593
Is there a solution to bypass this problem?
In the next release --psy-rd 1.0:0.25 will be tweakable.
wakebrder
6th August 2009, 14:34
Tried another encode using DTS-MA with DVD-9 set as the target size. Came out around 11 GB. (not so good)
Maybe some more tweaking on the leaving DTS-MA untouched?
Thanks for your hard work!
twazerty
6th August 2009, 15:22
Tried another encode using DTS-MA with DVD-9 set as the target size. Came out around 11 GB. (not so good)
Maybe some more tweaking on the leaving DTS-MA untouched?
Thanks for your hard work!
What bitrate does mediaInfo give for the audio?
What is the filesize of the dts-hd ma file?
What is the duration of the audio? (HH:MM:SS)
And what bitrate is calculated?
Maybe I can find out what is going wrong.
Edit:
Just created a small app that generates formulas for me. Tomorrow morning I have 55 formulas. (110 times muxing)
To create formulas for 3 audiostreams in all combinations is impossible. It will take 10-thousands of muxings. For triple audio I limit it to a couple of formats. When I limit it to 5 formats I still need 1050 formulas. That are 2100 muxes. Approximately 1050*25GB = 25TB of muxing data. Even if I use smaller files it is still 13TB of muxing :)
But I think I only support 4 formats for triple audio. Still 350 formulas.
Forget the above :D
turbojet
7th August 2009, 01:11
With the slow settings I missed --b-adapt 2 in the first pass, I corrected it in the original post, the first pass will be very slow now but the second pass shouldn't be much slower than normal.
The time difference should be just about nothing between normal that I posted and old AVCHDcoder, are you sure you aren't using --preset medium? It uses --me hex which a considerable effieciency drop over --me umh but it does speed things up a bit. None of the presets are suitable for high quality AVCHD\BD output. The defaults (medium) is sub-par quality and slow is beyond the specs.
There isn't much you can do between normal and slow to improve quality with just a little speed decrease. --b-adapt 2 is what's slowing things way down and bringing a quality boost. --subme 9 --partitions all --me esa is about all you can do.
instead of --frames for avs2yuv try --fps 24000/1001
What I meant by --sar 1:1 being default is if you leave it out it gives a bit-for-bit identical file to if you have it in the command line, just streamlines things a bit.
wakebrder
7th August 2009, 03:39
What bitrate does mediaInfo give for the audio?
What is the filesize of the dts-hd ma file?
What is the duration of the audio? (HH:MM:SS)
And what bitrate is calculated?
Maybe I can find out what is going wrong.
Edit:
Just created a small app that generates formulas for me. Tomorrow morning I have 55 formulas. (110 times muxing)
To create formulas for 3 audiostreams in all combinations is impossible. It will take 10-thousands of muxings. For triple audio I limit it to a couple of formats. When I limit it to 5 formats I still need 1050 formulas. That are 2100 muxes. Approximately 1050*25GB = 25TB of muxing data. Even if I use smaller files it is still 13TB of muxing :)
But I think I only support 4 formats for triple audio. Still 350 formulas.
Just deleted to free up HDD space. :scared: I'll save logs & info next time.
wakebrder
7th August 2009, 17:14
Just finished a different clip. Also came out to exactly 11 GB. I had delete temp file after encode checked.:scared:
Is there any way to copy/paste log text from your program?
Or would the log file be in another location besides the temp folder?
twazerty
7th August 2009, 17:27
Just finished a different clip. Also came out to exactly 11 GB. I had delete temp file after encode checked.:scared:
Is there any way to copy/paste log text from your program?
Or would the log file be in another location besides the temp folder?
Ctrl+C to Copy and Ctrl+V to past it here. (Next version get Right Mouse Menu and savings to harddrive)
But without the rest of the information it is useless for this type of problem :)
Never thought file size could be useful so I add it in the next version too :D
BTW if you start conversion a second time with the same settings you can get the file sizes. When encoding starts just pause. Get the information I requested and then you can abort the process.
wakebrder
7th August 2009, 19:08
Ctrl+C to Copy and Ctrl+V to past it here. (Next version get Right Mouse Menu and savings to harddrive)
But without the rest of the information it is useless for this type of problem :)
Never thought file size could be useful so I add it in the next version too :D
BTW if you start conversion a second time with the same settings you can get the file sizes. When encoding starts just pause. Get the information I requested and then you can abort the process.
Here you go:
Edit:
DELETE
twazerty
7th August 2009, 19:24
In this case the Log isn't very useful :o
Bitrate is calculated just before encoding starts. It will also appear in AVCHDCoder and in Log. You stopped too soon;)
Wait when pass 1 is started, then hit pauze (Not abort!) and then fill in these values:
What bitrate does mediaInfo or tsMuxer give for the audio?
What is the filesize of the dts-hd ma file?
What is the duration of the audio? (HH:MM:SS): 02:14:40
And what bitrate is calculated?
For now it is the only way I can track down the problem. In my next release the above values will also be added to the Log.
wakebrder
7th August 2009, 20:52
In this case the Log isn't very useful :o
Bitrate is calculated just before encoding starts. It will also appear in AVCHDCoder and in Log. You stopped too soon;)
Wait when pass 1 is started, then hit pauze (Not abort!) and then fill in these values:
What bitrate does mediaInfo or tsMuxer give for the audio?
What is the filesize of the dts-hd ma file?
What is the duration of the audio? (HH:MM:SS): 02:14:40
And what bitrate is calculated?
For now it is the only way I can track down the problem. In my next release the above values will also be added to the Log.
Sorry. One more time:
13:47:06 --------Adding item---------
13:47:06 Source information: D:\Blu-ray\SB\BDMV
13:47:06 Source information: Video: 4113,H264,02:14:40,23.976,1920,1080,p
13:47:06 Source information: Audio: 4352,VBR
13:47:06 Source information: Audio: 4353,320
13:47:06 Source information: Audio: 4354,1536
13:47:06 Source information: Audio: 4355,192
13:47:06 Source information: Subs : 4608,PGS
13:47:06 Source information: Subs : 4609,PGS
13:47:06 Source information: Subs : 4610,PGS
13:47:06 Source information: Subs : 4611,PGS
13:47:06 Source information: Subs : 4612,PGS
13:47:06 Source information: Subs : 4613,PGS
13:47:06 Source information: Subs : 4614,PGS
13:47:06 Source information: Subs : 4615,PGS
13:47:06 Source information: Subs : 4616,PGS
13:47:06 Source information: Subs : 4617,PGS
13:47:06 Source information: Subs : 4618,PGS
13:47:06 Source information: Subs : 4619,PGS
13:47:06 Source information: Subs : 4620,PGS
13:47:06 Source information: Subs : 4621,PGS
13:47:06 Source information: Subs : 4622,PGS
13:47:06 Source information: Subs : 4623,PGS
13:47:06 Source information: Subs : 4624,PGS
13:47:06 Source information: Subs : 4625,PGS
13:47:06 Source information: Subs : 4626,PGS
13:47:06 Source information: Subs : 4627,PGS
13:47:06 Source information: Subs : 4628,PGS
13:47:06 Source information: Subs : 4629,PGS
13:47:06 Source information: Subs : 4630,PGS
13:47:06 Selected: Video: 4113,H264,23.976,1920,1080,p
13:47:06 Selected: Audio: 4352,VBR
13:47:06 Selected: Subs: 4612,PGS
13:47:06 Selected: Subs: 4614,PGS
13:47:06 Selected: Subs: 4615,PGS
13:47:06 Selected: Subs: 4616,PGS
13:47:06 Selected: Subs: 4619,PGS
13:47:06 Selected: Subs: 4625,PGS
13:47:06 Selected: Subs: 4627,PGS
13:47:06 Selected: Subs: 4630,PGS
13:47:06 --------Item added---------
13:47:28 --------Conversion started---------
13:47:29 Creating META file: MUXOPT --no-pcr-on-video-pid --new-audio-pes --demux --vbr --vbv-len=500
13:47:29 Creating META file: A_DTS, "D:\Blu-ray\SB\BDMV\STREAM\00613.m2ts", track=4352, mplsFile=00001
13:47:29 Creating META file: S_HDMV/PGS, "D:\Blu-ray\SB\BDMV\STREAM\00613.m2ts", fps=23.976, track=4612, mplsFile=00001
13:47:29 Creating META file: S_HDMV/PGS, "D:\Blu-ray\SB\BDMV\STREAM\00613.m2ts", fps=23.976, track=4614, mplsFile=00001
13:47:29 Creating META file: S_HDMV/PGS, "D:\Blu-ray\SB\BDMV\STREAM\00613.m2ts", fps=23.976, track=4615, mplsFile=00001
13:47:29 Creating META file: S_HDMV/PGS, "D:\Blu-ray\SB\BDMV\STREAM\00613.m2ts", fps=23.976, track=4616, mplsFile=00001
13:47:29 Creating META file: S_HDMV/PGS, "D:\Blu-ray\SB\BDMV\STREAM\00613.m2ts", fps=23.976, track=4619, mplsFile=00001
13:47:29 Creating META file: S_HDMV/PGS, "D:\Blu-ray\SB\BDMV\STREAM\00613.m2ts", fps=23.976, track=4625, mplsFile=00001
13:47:29 Creating META file: S_HDMV/PGS, "D:\Blu-ray\SB\BDMV\STREAM\00613.m2ts", fps=23.976, track=4627, mplsFile=00001
13:47:29 Creating META file: S_HDMV/PGS, "D:\Blu-ray\SB\BDMV\STREAM\00613.m2ts", fps=23.976, track=4630, mplsFile=00001
13:47:29 Demuxing playlist with TsMuxer: "C:\Program Files\AVCHDCoder\Tools\tsMuxeR_1.10.6\tsMuxeR.exe" "C:\Documents and Settings\Administrator\My Documents\AVCHDCoder\Temp\SB - item 1\SB2.META" "C:\Documents and Settings\Administrator\My Documents\AVCHDCoder\Temp\SB - item 1\"
14:08:22 Calculated bitrate: 7171
14:08:22 Total Subtitles size: 2.63190825E8
14:08:22 Creating AVS file: DirectShowsource("D:\Blu-ray\SB\BDMV\STREAM\00613.m2ts",fps=23.976,audio=false).ConvertToYV12().addborders(0,0,0,0)
14:08:22 Encoding Pass 1: "C:\Program Files\AVCHDCoder\Tools\X264\32bit\x264.exe" --pass 1 --bitrate 7171 --stats "C:\Documents and Settings\Administrator\My Documents\AVCHDCoder\Temp\SB - item 1\SB.stats" --level 4.1 --keyint 24 --min-keyint 2 --bframes 3 --weightb --direct auto --subme 2 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate 24000 --me dia --threads auto --thread-input --sar 1:1 --output NUL "C:\Documents and Settings\Administrator\My Documents\AVCHDCoder\Temp\SB - item 1\SB.avs"
twazerty
7th August 2009, 21:42
I See what is going wrong. The first time you tried when conversion succeeded you used a DTS-HD HR audiofile. While I was testing I also used DTS-HD HR 5.1 file. But now you tried a DTS-HD MA 7.1. When a audiofile is DTS-HD MA tsMuxer and MediaInfo doesn't give bitrate. I have to calculate it myself. This will be fixed in next version.
Why does it go wrong:
Now the bitrate will not be subtracted from the total bitrate and you will get a oversized disc.
Edit: Currently I am creating 286 formulas for triple audio.
For double audio I have 66 formulas
For triple audio I have 286 formulas
For single audio I have 15 formulas
Still to come:
39 for double audio
274 for triple audio
Then I have formulas for the following audio formats in every combination with a max of 3 files:
AC3: 192, 224, 256, 320, 384, 448, 512, 576, 640
DTS-ES, DTS, DTS HR 3018
Wav 5.1 and 7.1
If I want to have formulas for every audiotype with 4 files I need your help because that are 2380 formulas. :D Takes two weeks of non stop muxing:) and roughly 64TB of muxing data :D
wakebrder
8th August 2009, 01:15
I See what is going wrong. The first time you tried when conversion succeeded you used a DTS-HD HR audiofile. While I was testing I also used DTS-HD HR 5.1 file. But now you tried a DTS-HD MA 7.1. When a audiofile is DTS-HD MA tsMuxer and MediaInfo doesn't give bitrate. I have to calculate it myself. This will be fixed in next version.
Why does it go wrong:
Now the bitrate will not be subtracted from the total bitrate and you will get a oversized disc.
Edit: Currently I am creating 286 formulas for triple audio.
For double audio I have 66 formulas
For triple audio I have 286 formulas
For single audio I have 15 formulas
Still to come:
39 for double audio
274 for triple audio
Then I have formulas for the following audio formats in every combination with a max of 3 files:
AC3: 192, 224, 256, 320, 384, 448, 512, 576, 640
DTS-ES, DTS, DTS HR 3018
Wav 5.1 and 7.1
If I want to have formulas for every audiotype with 4 files I need your help because that are 2380 formulas. :D Takes two weeks of non stop muxing:) and roughly 64TB of muxing data :D
So, you need more log files from DTS-MA & True-HD?
I could help you with that.
FWIW, I'm only interested in keeping 1 audio track. Others might want multiple audio tracks. Is this your goal?
twazerty
8th August 2009, 01:46
So, you need more log files from DTS-MA & True-HD?
I could help you with that.
FWIW, I'm only interested in keeping 1 audio track. Others might want multiple audio tracks. Is this your goal?
Multiple audio is my goal :) I hate fixed overhead percentage. :D
You can help me with DTS-HD MA and True-HD after I released my next version. I already have my hands full with other stuff like x264 encode profiles and multiple audio. Also some fixes needs to be done.
twazerty
12th August 2009, 00:17
I am making a CLI app for calculating bitrate. It will be Cross platform (Linux, Mac OS and Windows). I have zero experience with CLI designing but I think a made a good User interface. Here are some examples:
All parameters with 1 audio stream:
ACLICalculator.exe --duration 6000 --output DVD+R-DL --subtitles-size 22575371 --audio-size 336000000 --audio-types 448
All parameters with 3 audio streams and custom output size:
ACLICalculator.exe --duration 6000 --output 14000000000 --subtitles-size 22575371 --audio-size 1803750000 --audio-types 1536+448+448
No subtitles size parameter if you have no subtitles:
ACLICalculator.exe --duration 6000 --output DVD-R --audio-size 2263500000 --audio-types 1536+1536
No audio size parameter. The audiosize is calculated. So it is not bit perfect but you'll never notice.
ACLICalculator.exe --duration 6000 --output BD25 --subtitles-size 22575371 --audio-types 1536+1536
Supported --audio-types values: 192, 224, 256, 320, 384, 448, 512, 576, 640, 768, 1536, 3018, 4806, 6144
With a maximum of 3 audiotypes. 3018, 4806 and 6144 can only be used without other audiotypes
Suported --output values: DVD+R, DVD-R, DVD+R-DL, DVD-R-DL, BD25, BD50, USB1.0, USB2.0, USB4.0, USB8.0, USB16.0, <custom>
<custom> may contain a value between 1000000 and 50000000000 bytes (1MB and 50GB, 0.95MiB and 46.57 GiB)
BTW the result is something like this:
5122
and maybe a Warning for audiosize.
Feedback please.
ACLICalculator stands for: AVCHD Command Line Interface Calculator
Edit:
For Windows I will release a exe file and for Mac OS and Linux a jar file that can be used like this:
java -jar /Users/tw/Desktop/ACLICalculator.jar --duration 6000 --output DVD+R-DL --subtitles-size 22575371 --audio-size 336000000 --audio-types 448
turbojet
12th August 2009, 20:42
While command line is nice for linux without a desktop environment I hope you can implement these things into the gui which does work for me in windows and linux but it isn't very accurate. Can't you add command line syntax to the current gui like BDSup2Sub has done?
twazerty
12th August 2009, 21:02
While command line is nice for linux without a desktop environment I hope you can implement these things into the gui which does work for me in windows and linux but it isn't very accurate. Can't you add command line syntax to the current gui like BDSup2Sub has done?
This module will be integrated in AVCHDCalculator and AVCHDCoder. AVCHDCalculator is currently windows only but that one will go cross platform too.
The main goal is that other encoders can also use this module. Maybe RipBot264 or Gotsend can integrate it.
What exactly do you mean with this:
Can't you add command line syntax to the current gui like BDSup2Sub has done?s
nosnoop
17th August 2009, 20:58
Thank you very much for an excellent program. Much easier to use than doing it manually using MeGUI. And I am very impressed with the accuracy of the bitrate.
Something to consider for your next version:
- default input folder settings
- current USB output settings is not too useful. It would be better if it can split into multiple 4GB m2ts files after selecting your desired file size; with optional 8.3 filename format for PS3.
- FPS display in progress bar as previously requested
twazerty
17th August 2009, 22:38
Thank you very much for an excellent program. Much easier to use than doing it manually using MeGUI. And I am very impressed with the accuracy of the bitrate.
Something to consider for your next version:
- default input folder settings
- current USB output settings is not too useful. It would be better if it can split into multiple 4GB m2ts files after selecting your desired file size; with optional 8.3 filename format for PS3.
- FPS display in progress bar as previously requested
Thank you for your interest :)
Default input folder will be changed to "Computer" aka "My Computer" and not far deep into Document. But a default openen folder that can be changed is a nice feature. It think I am going to add it.
FPS will be added. (Said it couple of times but now for real :P)
Splitting files is hard to do in my current design. For 4GB output there is no problem. I have premade menu files so I am not very flexible. But maybe I can do the following as a "Solution":
Splitting files is only possible with 1 item and without menu. That is the easiest way to achieve splitting. And some other time I go for more advanced splitting(multiple items and menu) bacause it takes some time. Currently fixing and adding more important things :)
Betsy25
18th August 2009, 00:00
When I open an .mkv file, the program doesn't find any audio.
General
Complete name : O:\Other DVD\Borat\borat.x264.mkv
Format : Matroska
File size : 733 MiB
Duration : 1h 20mn
Overall bit rate : 1 275 Kbps
Encoded date : UTC 2008-04-14 21:09:31
Writing application : mkvmerge v2.2.0 ('Turn It On Again') built on Mar 4 2008 12:58:26
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Container profile=Unknown@5.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 20mn
Nominal bit rate : 1 108 Kbps
Width : 720 pixels
Height : 458 pixels
Display aspect ratio : 16/9
Original display aspect ratio : 1.572
Frame rate : 25.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.134
Writing library : x264 core 59 r818M d4b7d2b
Encoding settings : cabac=1 / ref=5 / deblock=1:-2:-1 / analyse=0x3:0x113 / me=umh / subme=6 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=16 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=1108 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.00
Language : English
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : Yes
Format settings, PS : No
Codec ID : A_AAC
Duration : 1h 20mn
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 16 bits
Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
twazerty
18th August 2009, 15:57
AAC isn't supported yet. It will be detected but not shown. Only formats that will be shown:
AC3
DTS
DTS-HD
True-HD
and LPCM and AAC will be added later.
Krawhitham
23rd August 2009, 14:46
I am making a CLI app for calculating bitrate. It will be Cross platform (Linux, Mac OS and Windows). I have zero experience with CLI designing but I think a made a good User interface. Here are some examples:
All parameters with 1 audio stream:
ACLICalculator.exe --duration 6000 --output DVD+R-DL --subtitles-size 22575371 --audio-size 336000000 --audio-types 448
All parameters with 3 audio streams and custom output size:
ACLICalculator.exe --duration 6000 --output 14000000000 --subtitles-size 22575371 --audio-size 1803750000 --audio-types 1536+448+448
No subtitles size parameter if you have no subtitles:
ACLICalculator.exe --duration 6000 --output DVD-R --audio-size 2263500000 --audio-types 1536+1536
No audio size parameter. The audiosize is calculated. So it is not bit perfect but you'll never notice.
ACLICalculator.exe --duration 6000 --output BD25 --subtitles-size 22575371 --audio-types 1536+1536
Supported --audio-types values: 192, 224, 256, 320, 384, 448, 512, 576, 640, 768, 1536, 3018, 4806, 6144
With a maximum of 3 audiotypes. 3018, 4806 and 6144 can only be used without other audiotypes
Suported --output values: DVD+R, DVD-R, DVD+R-DL, DVD-R-DL, BD25, BD50, USB1.0, USB2.0, USB4.0, USB8.0, USB16.0, <custom>
<custom> may contain a value between 1000000 and 50000000000 bytes (1MB and 50GB, 0.95MiB and 46.57 GiB)
BTW the result is something like this:
5122
and maybe a Warning for audiosize.
Feedback please.
ACLICalculator stands for: AVCHD Command Line Interface Calculator
Edit:
For Windows I will release a exe file and for Mac OS and Linux a jar file that can be used like this:
java -jar /Users/tw/Desktop/ACLICalculator.jar --duration 6000 --output DVD+R-DL --subtitles-size 22575371 --audio-size 336000000 --audio-types 448
Please release this
twazerty
29th August 2009, 01:31
Please release this
Just some tweaks and it will be ready. What are the features of the upgraded AVCHDCalculator:
-CLI
-triple audio with AC3 192,224,256,320,384,448,512,576,640, DTS 768,1536,3045, LPCM 4608. LCPM 6144 not yet. For now only as single audio type. And a custom for dts-hd ma. Throw any bitrate you want with a max of triple audio.
-Also max bitrate will be used. So audio+subs+video is max 18Mbit, 24 Mbit or 40Mbit. You can set this at the commandline. Don't need to set it in the GUI.
-Hundreds of formulas. Currently 578 formulas.
-Couple of tests gave me a disc fill of 99.8% and up. (DTS-HD MA is not this accurate)
-Improved calculation when added subtitles. If you throw 1 or 32 subtitles. It doesn't matter. It gave you almost full discs.
-Support for Mac OS X and linux. (GUI and CLI)
No subtitles:
Useage : calc.exe <duration> <output target> <max bitrate> <audio types>
Example: calc.exe --duration 5625 --output DVD+R-DL --max-bitrate 18000 --audio-types 448
With subtitles:
Useage : calc.exe <duration> <output target> <max bitrate> <total subtitles size> <audio types>
Example: calc.exe --duration 5625 --output DVD+R-DL --max-bitrate 18000 --subtitles-size 12000000 --audio-types 448+1536+768
No subtitles with more accurate audioSize:
Useage : calc.exe <duration> <output target> <max bitrate> <total audio size> <audio types>
Example: calc.exe --duration 5625 --output DVD+R-DL --max-bitrate 18000 --audio-size 571189248 --audio-types 448+448
With subtitles with more accurate audioSize:
Useage : calc.exe <duration> <output target> <max bitrate> <total subtitles size> <total audio size> <audio types>
Example: calc.exe --duration 5099 --output DVD+R-DL --max-bitrate 18000 --subtitles-size 12000000 --audio-size 285594624 --audio-types 448
--output values: DVD+R, DVD-R, DVD+R-DL, DVD-R-DL, BD25, BD50, USB1.0, USB2.0, USB4.0, USB8.0, USB16.0, <custom>
<custom> may contain a value between 1000000 and 50000000000 bytes
--max-bitrate explanation: Max bitrate = videobitrate+audiobitrate+subtitlesbitrate.
For DVD and DVD DL you should use 18000, For Blu-ray discs you should 40000, For other media: 24000
--audio-types values: 192, 224, 256, 320, 384, 448, 512, 576, 640, 768, 1536, 3072, 4608, 6144, <custom>
<custom> is reserved for dts-hd ma. You may enter any value.
Maximum 3 audiotypes are supported. 6144 can only be used without other audiotypes!
Some examples:
--audio-types 6144
--audio-types 3072+4608
--audio-types 640+7045
--audio-types 6000+4521+448
Just need to do some final tweaks. When I am ready I release it. I think that will be today. And ofcourse this powerful calculator is added to AVCHDCoder. That needs some final tweaks to and it will be ready to release.
shon3i
30th August 2009, 16:59
@twazerty, thanks, finaly we have real Blu-Ray calculator :) btw did you plan to implement *.avs support? for calculating video duration. Aslo what about True-HD support?
twazerty
30th August 2009, 20:43
Didn't do any research yet. My next step is to find out what comes close to true-hd overhead. And implement those value's inside the GUI.
But my first feeling says you can enter the bitrate for True-hd at the custom value. Custom now is only for dts-hd but I think True-hd also works fine. Remember that is CLI only now.
AVCHDCalculator 1.1 for Mac OS X and Linux.zip (http://www.mediafire.com/file/ojaimii5kim/AVCHDCalculator 1.1 for Mac OS X and Linux.zip)
AVCHDCalculator 1.1 for Windows.zip (http://www.mediafire.com/file/m0wjgxozeew/AVCHDCalculator 1.1 for Windows.zip)
Warbucks81
3rd September 2009, 16:54
A small suggestion for the Windows GUI version. You should include other output sizes such as DVD5+DVD9 or DVD9+DVD9. Many people will use multiple discs depending on the target bitrate they are looking for.
Warbucks81
3rd September 2009, 17:02
I'm getting the following error when using the CLI version. The output size is a DVD+R DL and DVD+R combined. Looks as though you may be missing some zeros on the limit.
AVCHDCalculatorCLI.exe --duration 7020 --output 13248364544 --max-bitrate 18000 --audio-types 1536
Error: Output size not valid. Should be between 1000000 and 50000000 bytes
12747
twazerty
4th September 2009, 08:41
I'm getting the following error when using the CLI version. The output size is a DVD+R DL and DVD+R combined. Looks as though you may be missing some zeros on the limit.
Yes i am missing some zero's. My mistake :). I'll fix this today. And the 2 disc option for the GUI is a great idea. But there is a small problem. The bitrate will be calculated very accurately. And as far as I tried, tsMuxer doesn't split very accurate??? In that case your the second part of the split doesn't fit on the disc. What do you think I should do? Maybe a option to choose how much undersizing you want? (In percentages or maybe MB's)
Warbucks81
11th September 2009, 16:20
Yes i am missing some zero's. My mistake :). I'll fix this today. And the 2 disc option for the GUI is a great idea. But there is a small problem. The bitrate will be calculated very accurately. And as far as I tried, tsMuxer doesn't split very accurate??? In that case your the second part of the split doesn't fit on the disc. What do you think I should do? Maybe a option to choose how much undersizing you want? (In percentages or maybe MB's)
An option to choose under sizing would probably work. Have you had a chance to fix the issue I mentioned and add the other output target sizes?
twazerty
11th September 2009, 21:03
An option to choose under sizing would probably work. Have you had a chance to fix the issue I mentioned and add the other output target sizes?
2 Disc support is added to the GUI. Undersizing option still needs to be added. (Easy) Was very busy with AVCHDCoder. 2 days ago the latest version was released:
v09.09.09:
http://www.mediafire.com/?gm0jdoumqlz
more info on my website
Now I am very busy on installing Windows 7.
Warbucks81
11th September 2009, 21:38
2 Disc support is added to the GUI. Undersizing option still needs to be added. (Easy) Was very busy with AVCHDCoder. 2 days ago the latest version was released:
v09.09.09:
http://www.mediafire.com/?gm0jdoumqlz
more info on my website
Now I am very busy on installing Windows 7.
What about the standalone tool AVCHDCalculator? Was this updated to reflect those changes?
twazerty
11th September 2009, 22:08
What about the standalone tool AVCHDCalculator? Was this updated to reflect those changes?
AVCHDCalculator isn't released yet. V1.1 is the latest version available. If you do want AVCHDCalculator with the 2 disc option use the jar that is delivered with AVCHDCoder 09.09.09. If I added the undersizing option to AVCHDCalculator then I release it officially.
The CLI custom output size bug didn't/doesn't affect AVCHDCoder but only the CLI version.
Edit: AVCHDCoder uses AVCHDCalculator directly. 100% integration. When I remove AVCHDCalculator I cannot build/create an exe file AVCHDCoder ;)
nosnoop
15th September 2009, 07:37
v09.09.09:
Got an error with this version.
The previous version ran fine with my system (Windows 7 x64).
v09.09.09 with errors during video conversion (fast):
01:49:53 Encoding Pass 1: "C:\Program Files (x86)\AVCHDCoder\Tools\X264\32bit\x264.exe" --pass 1 --vbv-bufsize 18000 --vbv-maxrate 18000 --bitrate 6844 --level 4.1 --stats "H:\Workspace\Temp\Video - item 1\Video.stats" --keyint 24 --min-keyint 2 --ipratio 1.1 --pbratio 1.1 --sar 1:1 --output NUL "H:\Workspace\Temp\Video - item 1\Video.avs"
01:50:14 Converting video pass 1: Errorcode: 0x0401,Error occured when converting video
v09.07.26, no errors.
02:08:35 Encoding Pass 1: "C:\Program Files (x86)\AVCHDCoder\Tools\X264\32bit\x264.exe" --pass 1 --bitrate 6809 --stats "H:\Workspace\Temp/Video - item 1\Video.stats" --level 4.1 --keyint 24 --min-keyint 2 --bframes 3 --weightb --direct auto --subme 2 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 24000 --vbv-maxrate 24000 --qcomp 0.5 --me dia --threads auto --thread-input --sar 1:1 --output NUL "H:\Workspace\Temp/Video - item 1\Video.avs"
twazerty
15th September 2009, 10:12
Got an error with this version.
The previous version ran fine with my system (Windows 7 x64).
v09.09.09 with errors during video conversion (fast):
v09.07.26, no errors.
I will do some testing. I have windows 7 64 bit too and didn't notice any problems yet. Did you use windows 7 directshow tweaker to set ffdshow as default decoder?
Strange thing is that the one that doesn't fail actually is bugged (\Temp/Video - item 1\Video.stats) notice the / that should be \ :)
You could also try to update ffdshow and x264. ffdshow that comes with AVCHDCoder is tested on my system. You'll hear more tonight. What type was your input? (MKV M2TS etc.)
MaXiMuS
16th September 2009, 19:17
Originally Posted by twazerty View Post
2 Disc support is added to the GUI. Undersizing option still needs to be added. (Easy) Was very busy with AVCHDCoder. 2 days ago the latest version was released:
v09.09.09:
http://www.mediafire.com/?gm0jdoumqlz
more info on my website
2 Disc support is added to the GUI. but i can not find it .
http://img17.imageshack.us/img17/224/ripsplit.jpg
??
twazerty
16th September 2009, 19:19
2 disc support is for AVCHDCalculator :) So you can calculate bitrate if you want to use 2 discs. AVCHDCoder doesn't support multiple discs. Maybe in the future.
MaXiMuS
16th September 2009, 19:35
2 disc support is for AVCHDCalculator :) So you can calculate bitrate if you want to use 2 discs. AVCHDCoder doesn't support multiple discs. Maybe in the future.
:thanks:
thank you for your quick reply.
and i hope that future is very close :) (i really dislike using DVD9 for my backups, 2xDVD5or 3xDVD5 is great) but no rush i love using your AVCHDCoder as is.
twazerty
16th September 2009, 19:58
:thanks:
thank you for your quick reply.
and i hope that future is very close :) (i really dislike using DVD9 for my backups, 2xDVD5or 3xDVD5 is great) but no rush i love using your AVCHDCoder as is.
I am thinking on how to add the disc disc option. The technical solution isn't he problem. Example:
You add 1 item to a disc. Now it is logical to choose multiple discs.
But we go 1 step further.
You add 2 episodes of a TV series. Now it is not logical to choose multiple discs because you can make 2 discs. Each containing 1 episode.
For multiple episodes it is not logical to chose for 2 discs because the last thing you want is to switch discs within an episode or worser. The middle disc contains 2 splitted episode. (4 episodes on 3 discs for example)
My solution to the problem:
Multiple disc only for single item.
And what if you choose to add a menu. Should the second disc contain a menu or not if you choose to add a menu. AVCHDCoder needs to be easy in use so difficult this will not be added.
If you can help me to choose what to do...
MaXiMuS
16th September 2009, 20:15
My solution to the problem:
Multiple disc only for single item.
agree 100%
until someone have a better idea :)
turbojet
17th September 2009, 23:46
Thanks for the psy-rd settings and the fix fps fix with BD input, now just waiting on BDSup2Sub for full functionality.
When splitting beware of the TSMuxer splitting, it produces buggy, unplayable streams. The only way I've found is to split mkv with mkvmerge then input each mkv into tsmuxer.
twazerty
18th September 2009, 07:18
Thanks for the psy-rd settings and the fix fps fix with BD input, now just waiting on BDSup2Sub for full functionality.
When splitting beware of the TSMuxer splitting, it produces buggy, unplayable streams. The only way I've found is to split mkv with mkvmerge then input each mkv into tsmuxer.
Ok thanx for the information.
When I use mkvmerge for merging to mkv I do have to add a something to AVCHDCalculator that was already planned. 2 disc output will be added. What output sizes do you want to see?
DVD5+DVD5
DVD5+DVD9
and
DVD9+DVD9
??
Because I have to find a way to add them to AVCHDCoder without making a difficult selecting system.
Edit: BDSup2Sub is annoying. I still need to find a way to check when BDSup2Sub is completed with conversion. Because it isn't cli it is harder to use (You can startup via commandline but no feedback via command line)
setarip_old
18th September 2009, 07:54
@turbojetWhen splitting beware of the TSMuxer splitting, it produces buggy, unplayable streams.I have never had any such problem using "tsMuxeR" with either .MKV or .M2TS files (I don't know if it makes any difference, but I always increase the buffer from 500 to 14,425)
twazerty
19th September 2009, 13:41
@turbojetI have never had any such problem using "tsMuxeR" with either .MKV or .M2TS files (I don't know if it makes any difference, but I always increase the buffer from to 14,425)
In the past I noticed tsMuxer splitting is not accurate. Need some testing to see what solution I need to build.
I have added a trayIcon in the Systemtray. You can exit AVCHDCoder, hide and show AVCHDCoder.
What information do you want to see in the systemtray? And what options?
astraub
19th September 2009, 22:39
Hi,
I found that only the first (engl- DTS-HD) language selection actually generated a demuxxed audio track. When selecting any of the other (DTS) tracks simply no track extraction was started. I guess something is really wrong here ... (used the 09.09.09 version).
Greetings
astraub
twazerty
19th September 2009, 23:21
Hi,
I found that only the first (engl- DTS-HD) language selection actually generated a demuxxed audio track. When selecting any of the other (DTS) tracks simply no track extraction was started. I guess something is really wrong here ... (used the 09.09.09 version).
Greetings
astraub
Mmh strange. Did the source contain 3 times dts-hd? And did you select 3 times Untouched?
I am testing now with 3 audiostreams. 2 DTS and 1 DTS-HD. But everything works fine here.
astraub
20th September 2009, 08:09
Maybe the problem stems from the fact that the main movie contains 4 parts. Audio consists of 1 DTS-HD track and two DTS tracks. AVCHD builds the correct new m2ts track out the the four parts. When selecting any of the DTS tracks and switching them to do not touch, generated no extracted audio track - which of course generated a problem later in the process, when the audio track was missing .... Only selection of the DTS-HD track actually generated an extracted audio track (this was not switched to do not touch). I will send some more details on that later, but the process already failed at the very start, as no Tsmuxer commands for the audio are being generated in the case of the DTS tracks.
turbojet
23rd September 2009, 05:51
What information do you want to see in the systemtray? And what options?
I'd like to see this info:
Percentage done
FPS
ETA
Options on right click:
Pause\Resume
Stop (or Abort)
MaXiMuS
24th September 2009, 06:28
Ok thanx for the information.
When I use mkvmerge for merging to mkv I do have to add a something to AVCHDCalculator that was already planned. 2 disc output will be added. What output sizes do you want to see?
DVD5+DVD5
DVD5+DVD9
and
DVD9+DVD9
??
DVD5+DVD5
DVD5+DVD5+DVD5
DVD5+DVD9
and
DVD9+DVD9
Denner
24th September 2009, 08:29
Thanks for a great program, it is starting to mature and developing is coming along nicely :thanks:
Regarding different split sizes, I would like to see, because they are the sizes I use when a movie will not fit on a DVD9:
DVD9+DVD5 and DVD9+DVD9
Another thing I would love to see is HD audio "pass trough", because when encoding "short" movies I would love to keep the HD audio.
I am normally down converting the CORE track of TrueHD using this eac3to command line:
c3to.exe input.thd+ac3 output.thd+ac3 -down2 -192
What it does is that it down converts the core audio to 2 channel at 192kb/s and that saves some space and leaves more space for the video bitrate :)
Would that be possible to do for TrueHD audio, if you were to support HD audio output in future versions of AVCHDCoder ?
twazerty
24th September 2009, 09:13
Thanks for your requested output sizes. Don't know when I am going to add the feature to AVCHDCoder.
@Denner
HD audio formates are supported in a limited way. Only the DTS formats are supported now with and without pass-through. True-HD is partially supported. Only the core can be extracted now. Pass-through of True-HD not yet. Maybe LPCM support will be supported in the next version.
I will consider the option to convert to 2 audio channels. My goal is to support more Audio types. These will be added to the next version:
FLAC, AAC and maybe Vorbis/OGG and LPCM.
Denner
24th September 2009, 09:43
@twazerty
Sorry if I did not make my self totally understandable, but I am not down converting the TrueHD audio to 2 channels only, I am down converting it and remuxing it in to the TrueHD audio stream again, so that the core audio of the TrueHD track is only 2 channel at 192kb/s ( not the normal 5.1 channel at 640kb/s ) that way I "shrink" the TrueHD audio's total filesize, but still keep the HD audio intact :)
Does that make sense to you to maybe add that option for trueHD audio in the future ?
twazerty
24th September 2009, 10:07
@twazerty
Sorry if I did not make my self totally understandable, but I am not down converting the TrueHD audio to 2 channels only, I am down converting it and remuxing it in to the TrueHD audio stream again, so that the core audio of the TrueHD track is only 2 channel at 192kb/s ( not the normal 5.1 channel at 640kb/s ) that way I "shrink" the TrueHD audio's total filesize, but still keep the HD audio intact :)
Does that make sense to you to maybe add that option for trueHD audio in the future ?
I get it. But I don't understand this completely:
eac3to.exe input.thd+ac3 output.thd+ac3 -down2 -192
Example: F:\sourseTrueHDfile.ac3 (True HD file. tsMuxer delivers me this)
What should the commandline be?
twazerty
25th September 2009, 23:14
Released a new version.
v09.09.25
***WARNING***
I packed AVCHDCoder with a new installer. Please uninstall old version to prevent double listing in the Control Panels Programs list. And to be 100% safe: move the files in the default output folder to another location. (Only for default location: C:/Users/<your name>/Documents/AVCHDCoder/Output)
***END WARNING***
Fixed - AVCHDCoder cannot be pinned to taskbar.
Fixed/Updated - Wrong version of Win7DSFilterTweaker, VC-1 streams cannot be decoded: errorcode 0x0401. With version 1.6 of the DirectShow Tweaker VC-1 streams are working again on windows 7.
Added - Trayicon. (For now only with the possibility to Show/Hide and Exit AVCHDCoder. No process information yet)
Added - 64bit version of AVCHDCoder. exe only. Java JRE1.6 64bit required. You need to manually create a shortcut to the 64 bit exe.
Added - new Audio input formats. FLAC and AAC. Both formats will be converted to AC3
Added - when input audio is 2 channel the AC3 bitrate will be 192kbit. For 6 channel AC3 384/448/640 kbit
Added - Vorbis audio detection. Cannot be used for audioconversion yet. Planned for next release
Updated - x264.exe to r1271
Updated - ffdshow to rev3083 (Manual Install)
Updated - Win7DSFilterTweaker to v1.6 (Manual Install)
Haven't added everything. This is an important update for Windows 7 users and that is why I released it sooner then expected. Donwload link can be find on the first page or on tools.twanwintjes.nl (http://tools.twanwintjes.nl/index.php?page=avchdcoder). Website is also updated.
Visor
27th September 2009, 18:36
Hi Twazerty,
Just a couple of things:
1) In the Settings tab, when I select the root of a drive for either the 'Default Output Folder' or 'Temp' folder, it adds a second backslash. For example, if I choose my G: drive, it shows as 'G:\\'. Thus, when I click the 'Auto Select' button in the Output screen, it will insert 'G:\\<Movie Title>' as the saved file name. My temporary workaround is to select the output folder manually. This bug didn't exist in versions previous to 09.09.09.
2) Certain settings should always be remembered after closing and reopening the app. Examples are:
Encoder Speed
Force Subtitles Track #1
Output Settings (Folder/ISO)
Thanks!
Visor
twazerty
27th September 2009, 20:39
Hi Twazerty,
Just a couple of things:
1) In the Settings tab, when I select the root of a drive for either the 'Default Output Folder' or 'Temp' folder, it adds a second backslash. For example, if I choose my G: drive, it shows as 'G:\\'. Thus, when I click the 'Auto Select' button in the Output screen, it will insert 'G:\\<Movie Title>' as the saved file name. My temporary workaround is to select the output folder manually. This bug didn't exist in versions previous to 09.09.09.
2) Certain settings should always be remembered after closing and reopening the app. Examples are:
Encoder Speed
Force Subtitles Track #1
Output Settings (Folder/ISO)
Thanks!
Visor
" Output Settings (Folder/ISO)" is already configurable in the settings. The other 2 will be added to the settings.
I will see if I can fix the bug with the root drive.
Thanx
Visor
28th September 2009, 15:33
Hi again Twazerty, thanks for getting back to me so quickly. :)
I found one more thing this morning; the Play/Pause button display is backwards. i.e. While encoding, the button should have the Pause symbol displayed to pause the encode (i.e. '||'). While the encode is paused, it should display the Play symbol to resume encoding (i.e. '|>'). This would reflect the functionality of iTunes & iPhone. ;)
Thanks again,
Visor
twazerty
28th September 2009, 15:43
Hi again Twazerty, thanks for getting back to me so quickly. :)
I found one more thing this morning; the Play/Pause button display is backwards. i.e. While encoding, the button should have the Pause symbol displayed to pause the encode (i.e. '||'). While the encode is paused, it should display the Play symbol to resume encoding (i.e. '|>'). This would reflect the functionality of iTunes & iPhone. ;)
Thanks again,
Visor
Both ways is something to say for.
Current way is similar while playing a dvd in your recorder. So While converting it is in "Play/resume" status and whil je hit the button it jumps to "pause" state and icon. It isn't a normal button but a toggle button. And well the other version is already known :) I like my way. I find the opposite (your idea) very confusing. Current way is more like a direct indication. And for better understanding I added tooltip information :) This problem is very annoying :p both ways are wrong. :)
Visor
28th September 2009, 18:52
Current way is similar while playing a dvd in your recorder.
Well... not exactly. When I play movies on my DVD player at home, I hit the 'Pause / ||' button on the remote to pause the movie, and then the 'Play / |>' button on the remote to resume.
Also, when watching movies on a PC using WinDVD or PowerDVD, the toggle button is set up the same way as iTunes / iPhones.
I could've sworn that you had it the other way around in versions previous to 09.09.09. The main reason I mentioned it was because I couldn't find the button recently and assumed that you removed it. (In reality, I think you just made it smaller :p). The reason why I find your way confusing is because the button is telling me I have the option to "play" when it is already playing. I was looking for the button to pause the encode. ;)
I think that if the big companies like Apple, Corel (WinDVD), Cyberlink (PowerDVD) have set up their toggle buttons this way, it's probably best to follow that standard, as many people are used to it. ;)
My 2 cents,
Visor
twazerty
28th September 2009, 19:48
Well... not exactly. When I play movies on my DVD player at home, I hit the 'Pause / ||' button on the remote to pause the movie, and then the 'Play / |>' button on the remote to resume.
Also, when watching movies on a PC using WinDVD or PowerDVD, the toggle button is set up the same way as iTunes / iPhones.
I could've sworn that you had it the other way around in versions previous to 09.09.09. The main reason I mentioned it was because I couldn't find the button recently and assumed that you removed it. (In reality, I think you just made it smaller :p). The reason why I find your way confusing is because the button is telling me I have the option to "play" when it is already playing. I was looking for the button to pause the encode. ;)
I think that if the big companies like Apple, Corel (WinDVD), Cyberlink (PowerDVD) have set up their toggle buttons this way, it's probably best to follow that standard, as many people are used to it. ;)
My 2 cents,
Visor
On a VCR when you hit the pause butten a pause icon apears on the tv. (AVCHDCoder also shows a pause icon when paused.) Makes more sence to me.
You are right. In some previous version it was switched. Also the button was seperated from the status. I can switch them, no problem. But consider this:
When you are playing a movie and you ask for information it will tell you it is playing. A play icon makes more sence. Everybody mixed up these things. My idea was: When you pressed the button it stays pressed. And the indication is paused.
But after some thinking the best way is to switch them.
A better way will be to create a pause/resume button and a messagebox. Hit OK to resume. Or very large text in the statusbar.
Visor
28th September 2009, 20:22
I understand where you're coming from. The issue lies with trying to combine a button label with a displayed status.
I like your idea of having a message box along with a generic 'pause/resume' button. The message box can display something like "Video Encoding is Running" (in green text) and "Video Encoding is Paused" (in red text).
Visor
29th September 2009, 16:07
Hi again Twazerty, (are you tired of me yet? LOL...)
Last night, I checked the setting for "Output Settings (Folder/ISO)", and it was set to folder. Despite this, the program itself still defaults to iso, even after re-saving the settings and restarting the app.
Thanks,
Visor
twazerty
29th September 2009, 20:19
Hi again Twazerty, (are you tired of me yet? LOL...)
Last night, I checked the setting for "Output Settings (Folder/ISO)", and it was set to folder. Despite this, the program itself still defaults to iso, even after re-saving the settings and restarting the app.
Thanks,
Visor
:p
Did some testing and the setting itself is saved correctly.But the setting isn't applied to the Output panel. Thanx for finding this bug.
Edit: Also fixed the D:\\ problem
Visor
30th September 2009, 16:55
Did some testing and the setting itself is saved correctly, but the setting isn't applied to the Output panel.
Yes, sorry, I should've clarified. :)
Thanx for finding this bug. Also fixed the D:\\ problem
You're welcome, and thanks for fixing the \\ problem! :D
Found another bug (albeit I'm getting nitpicky here): In the Output panel, the bar used to change colour depending on how high the bit rate was (i.e. red for low, yellow for medium, green for high). However, it appears that the bar is always red now.
Thanks,
Visor
twazerty
30th September 2009, 20:36
Yes, sorry, I should've clarified. :)
You're welcome, and thanks for fixing the \\ problem! :D
Found another bug (albeit I'm getting nitpicky here): In the Output panel, the bar used to change colour depending on how high the bit rate was (i.e. red for low, yellow for medium, green for high). However, it appears that the bar is always red now.
Thanks,
Visor
It is not really a bug. The Theme I use doesn't allow me to change color. It is always Orange. When I choose to use the System Theme I can change the color of a progressbar. But I like the new Theme more :) To achieve the same effect like a colored bar I added the small icon with a couple of bars. (Graph style)
twazerty
2nd October 2009, 21:42
Released v09.10.02 today. Not many fixes and new features. Here is the changelog:
v09.10.02
Fixed - Iso/Folder default selection setting doesn't work
Fixed - Wrong encoding settings in Queue panel
Fixed - No Splash screen
Fixed - interlaced encoding doesn't work (got broke in v09.09.09)
Fixed - Setting the path to the root of a harddrive caused a double \
Added - Vorbis/OGG audio support (Experimental)
Added - Check system configuration. Test if H264/VC1/MPEG2 will be converted to H264.
Updated - Win7DSFilterTweaker to v1.8 (Manual Install)
@Visor,
Haven't added all your requests yet.
Visor
4th October 2009, 03:41
Looks good so far, thanks Twazerty!
twazerty
12th October 2009, 19:35
I am getting more and more reports that are related with Panasonic blu-ray players. FF, REW, Next and previous doesn't work. It doesn't work on at least the following 2 players:
Panasonic BD60
Panasonic DMR-BW850
This is the commandline for the encode:
x264.exe --pass 1 --vbv-bufsize 18000 --vbv-maxrate 18000 --bitrate 8000 --level 4.1 --stats [Statsfile] --keyint 24 --min-keyint 2 --ipratio 1.1 --pbratio 1.1 --sar 1:1 --output NUL [input.avs]
x264.exe --pass 2 --vbv-bufsize 18000 --vbv-maxrate 18000 --bitrate 8000 --level 4.1 --stats [Statsfile] --keyint 24 --min-keyint 2 --me umh --direct auto --psy-rd 1:0.25 --ipratio 1.1 --pbratio 1.1 --sar 1:1 --output [output.h264] [input.avs]
Also problems with the other 2 x264 commandlines. But first this one.
Using x264.exe r1271 and tsMuxeR_1.10.6 in avchd mode. (I only use the playlist and clipinfo. The rest of the structure will be replaced with my own structure.)
Can somebody help me to solve this problem?
twazerty
13th October 2009, 07:27
Same problems on the Panasonic BD80K
Atak_Snajpera
13th October 2009, 12:00
Where is --aud switch???
twazerty
13th October 2009, 12:13
Where is --aud switch???
--aud switch???
You mean the --new-audio-pes option in tsMuxer?
Edit: I see x264 has a --aud switch. Could that be the problem?
Atak_Snajpera
13th October 2009, 12:20
I had similar problem. Long time ago I accidently removed this switch in older version of ripbot264 and people were starting complaining than FF,RW does not work or works very slow.
twazerty
13th October 2009, 12:26
I had similar problem. Long time ago I accidently removed this switch in older version of ripbot264 and people were starting complaining than FF,RW does not work or works very slow.
Ok. In the passed I fixed the same problem by lowering "--keyint 240 --min-keyint 24" to "--keyint 24 --min-keyint 2"
I will try this x264 switch and report it back to my users with this problem to see if the problem is fixed.
twazerty
13th October 2009, 17:03
When I add --aud. The video becomes unplayable in Media Player Classic.
Added the --aud just before the --output option. And added it in both passes
What is going wrong?
turbojet
14th October 2009, 10:24
I don't know what's wrong and it works for me in MPC-HC but without --aud it's slower to seek. I have seen some oddities with TSMuxer handling .264 files in the past with async and seeking. I've since switched to mkv x264 output to feed to tsmuxer and haven't had a problem since except for appending many mkv's which seems to be fixed now.
--aud may be the ticket but if it doesn't fix the issue here's a few other things that might:
- x264 --nal-hrd (need a custom build)
- fps=23.976 (or another framerate) in the meta file
- level=4.1 in the meta file
- remove insertSEI and/or contSPS from the meta
- output as mkv (--aud has no effect)
From the little experience I have with a Panasonic BD30 they seem to be very picky players.
twazerty
14th October 2009, 10:38
Need to recheck my MPC-HC. Stange that it works for you. Anyway I send a user with a Panasonic a sample with the --aud option. And it seems to work. I now let them test an alpha version of AVCHDCoder with the fix.
turbojet
15th October 2009, 20:29
Good to hear --aud worked out.
Concerning the mcafee issue with process.exe setarip_old reported, there's 5 other av's that don't like it either, (http://www.virustotal.com/analisis/5aaf73ef89f0efab963abb170bc9b7cd7d4d5bd7a691cd83137b4cc39cd120de-1255618451)
A solution is PsSuspend (http://technet.microsoft.com/en-us/sysinternals/bb897540.aspx) which does the same basic thing and tests clean. (http://www.virustotal.com/analisis/e47fade3db7bd4b30e8e7f7372694d2f3764d56d069e2a65e9e4f147396f26ca-1255595931)
rendez2k
21st November 2009, 11:36
Quick question - does AVCHDCoder re-encode MKVs which are 100% AVCHD compliant?
twazerty
21st November 2009, 12:56
Quick question - does AVCHDCoder re-encode MKVs which are 100% AVCHD compliant?
Yes, everything will be re-encoded. There is no way to bypass this. The problem is dat I cannot detect if a file is 100% AVCHD compliant. To prevent uncompliant discs AVCHDCoder re-encodes everything. But if it is already compliant: Use tsMuxer to create a AVCHD.
@turbojet, the solution did not work. It should be something else.
Still working on a new version of AVCHDCoder. Now with some fixes and new features. Here is the current list:
Fixed - When fps was spoofed the output went out of sync
Fixed - Expected bitrate for 2 channel audio (192Kbit), DTS calculation was used.
Added - Audio delay will be copied to output. (Now it goes out of sync because the delay is not copied)
Added - MP2 and MP3 input audioformat.
Added - A ffdshow Settings panel where you can change the preferred decoders. Also the Subtitles option in ffdshow can be disabled with it.
Added - Subtitles that are in the same directory as your source video will be added automatically to AVCHDCoder.
More to come.
rendez2k
21st November 2009, 12:59
Yes, everything will be re-encoded. There is no way to bypass this. The problem is dat I cannot detect if a file is 100% AVCHD compliant. To prevent uncompliant discs AVCHDCoder re-encodes everything. But if it is already compliant: Use tsMuxer to create a AVCHD.
@turbojet, the solution did not work. It should be something else.
Still working on a new version of AVCHDCoder. Now with some fixes and new features. Here is the current list:
Fixed - When fps was spoofed the output went out of sync
Fixed - Expected bitrate for 2 channel audio (192Kbit), DTS calculation was used.
Added - Audio delay will be copied to output. (Now it goes out of sync because the delay is not copied)
Added - MP2 and MP3 input audioformat.
Added - A ffdshow Settings panel where you can change the preferred decoders. Also the Subtitles option in ffdshow can be disabled with it.
Added - Subtitles that are in the same directory as your source video will be added automatically to AVCHDCoder.
More to come.
OK twazerty, thanks for the answer! I know the author of multiAVCHD has some way to detect if the vids are compliant so I don't know if he could help you?
Also, I assume its not yet possible to change the menu layout or even background image?
Many thanks!
twazerty
21st November 2009, 13:09
OK twazerty, thanks for the answer! I know the author of multiAVCHD has some way to detect if the vids are compliant so I don't know if he could help you?
Also, I assume its not yet possible to change the menu layout or even background image?
Many thanks!
Help is always welcome. If you can find out how to do it, then maybe I will add it to AVCHDCoder. But it has no high priority for now.
I don't think there ever will be added a editor to create menu's. It is very hard for me to find out how it works. But if dean creates a cli for his multiAVCHD then custom menu's will be added to AVCHDCoder. For now you have to do it with the default. In the near future it will be possible to create your own intro movie. The new AVCHDCoder also comes with a new menu and new intro. These are much better then the current menu and intro. Also the limit of the number of items goes up. For 8 to 16 items. And 1 release further I will go from 16 to 32 items on 1 disc.
rendez2k
21st November 2009, 13:22
Help is always welcome. If you can find out how to do it, then maybe I will add it to AVCHDCoder. But it has no high priority for now.
I don't think there ever will be added a editor to create menu's. It is very hard for me to find out how it works. But if dean creates a cli for his multiAVCHD then custom menu's will be added to AVCHDCoder. For now you have to do it with the default. In the near future it will be possible to create your own intro movie. The new AVCHDCoder also comes with a new menu and new intro. These are much better then the current menu and intro. Also the limit of the number of items goes up. For 8 to 16 items. And 1 release further I will go from 16 to 32 items on 1 disc.
Very much looking forward to the new version! If I find anything out I shall report back...
turbojet
24th November 2009, 09:28
Yes, everything will be re-encoded. There is no way to bypass this. The problem is dat I cannot detect if a file is 100% AVCHD compliant. To prevent uncompliant discs AVCHDCoder re-encodes everything. But if it is already compliant: Use tsMuxer to create a AVCHD.
its compliant if
if 1920x1080 --ref <5
if 1440x1080 --ref <5
if 1280x720 --ref <7
if 720x576 --ref <13(?)
if 720x480 --ref <13(?)
else encode
@turbojet, the solution did not work. It should be something else.
Which solution?
twazerty
24th November 2009, 17:58
its compliant if
if 1920x1080 --ref <5
if 1440x1080 --ref <5
if 1280x720 --ref <7
if 720x576 --ref <13(?)
if 720x480 --ref <13(?)
else encode
Which solution?
Adding the --aud option to x264 so it could work on panasonic players (No Fast Forward/rewind and skip forward/backwards. If you know something else that could work: Please let me know :)
Adub
25th November 2009, 20:24
Will AVCHDCoder keep the menu of a Bluray input if I select the "no menu" option on output? Or is it even possible to keep the bluray menus yet?
twazerty
25th November 2009, 22:28
Menu's won't be copied. If you want to make a full backup use BDRebuilder. I don't know if I ever will add an option to make a full backup. Maybe maybe not.
Sysmic Wave
25th November 2009, 23:07
Hey, love the app.
I'm trying to convert The Dark Knight (VC-1) and i'm still getting the 0x0401 error.
I'm using Windows 7 x64 and version 09.10.02
I've converted MPEG2 and AVC perfectly before.
Cheers
twazerty
25th November 2009, 23:42
Hey, love the app.
I'm trying to convert The Dark Knight (VC-1) and i'm still getting the 0x0401 error.
I'm using Windows 7 x64 and version 09.10.02
I've converted MPEG2 and AVC perfectly before.
Cheers
Perform the System Configuration Check. I expect that VC1 decoding doesn't work.
Edit: I bought myself a Panasonic Blu-ray player(DMB-BD60) (Local discount this week) to test the discs. Actually all Panasonic owners are right. I am not be able to Fast forward/rewind and skip. Pause/resume does work.
@turbojet, I will try all the things you mentioned:
--aud may be the ticket but if it doesn't fix the issue here's a few other things that might:
- x264 --nal-hrd (need a custom build)
- fps=23.976 (or another framerate) in the meta file
- level=4.1 in the meta file
- remove insertSEI and/or contSPS from the meta
- output as mkv (--aud has no effect)
I am going to retest the --aud setting myself. --nal-hrd wont be a solution because of the special build. I will try the rest. You will hear the result asap.
Sysmic Wave
26th November 2009, 01:30
Cheers,
Ran the test and everything failed. So I uninstalled all my codecs and reinstalled them all including the x64 ones.
Now, as you predicted, only the VC-1 test fails.
Is this likely to be fixed in the future?
Thanks again
turbojet
26th November 2009, 02:53
Adding the --aud option to x264 so it could work on panasonic players (No Fast Forward/rewind and skip forward/backwards. If you know something else that could work: Please let me know :)
Have you tried using mkv x264 output?
Hey, love the app.
I'm trying to convert The Dark Knight (VC-1) and i'm still getting the 0x0401 error.
I'm using Windows 7 x64 and version 09.10.02
I've converted MPEG2 and AVC perfectly before.
Cheers
It's probably because Windows 7 doesn't allow directshow access to it's VC-1 decoder. To fix you can Download this (http://www.mediafire.com/?hwktztiyijt) and run win7_vc1.bat.
twazerty
26th November 2009, 08:16
Cheers,
Ran the test and everything failed. So I uninstalled all my codecs and reinstalled them all including the x64 ones.
Now, as you predicted, only the VC-1 test fails.
Is this likely to be fixed in the future?
Thanks again
Just open ffdshow videodecoder configuration and select wmv9 at the VC1 decoding. After that open the windows 7 filter tweaker. Now you are be able to select ffdshow for VC1 decoding. Also select ffshow for MPEG2 and H264. 64 bit codecs/ffshow is useless because AVCHDCoder doesn't use 64 bit encoding. (Will be one of my next steps to add this)
In the next release of AVCHDCoder you are be able to change the decoders in AVCHDCoder itself.
deank
26th November 2009, 13:34
its compliant if
if 1920x1080 --ref <5
if 1440x1080 --ref <5
if 1280x720 --ref <7
if 720x576 --ref <13(?)
if 720x480 --ref <13(?)
1920x1080p/i --ref <5
1440x1080p/i --ref <5
1280x720p --ref <7
720x576i --ref <7 (and <6 for level 3.0)
720x480i --ref <7
@turbojet, I will try all the things you mentioned:
--aud may be the ticket but if it doesn't fix the issue here's a few other things that might:
- x264 --nal-hrd (need a custom build)
- fps=23.976 (or another framerate) in the meta file
- level=4.1 in the meta file
- remove insertSEI and/or contSPS from the meta
- output as mkv (--aud has no effect)
I am going to retest the --aud setting myself. --nal-hrd wont be a solution because of the special build. I will try the rest. You will hear the result asap.
Using x264 to create --aud --nal-hrd is the BEST option and not to let tsMuxeR do the work, because it is not possible to create proper NAL units when muxing. I strongly suggest that you use HRD/Interlace patched x264 build. Otherwise you cannot create 720x480/720x576 compliant output (it must be interlaced).
ContSPS must be present in the meta - it is required by blu-ray specs.
Best way to go is to use level 4.0 (with no slices) and not level 4.1, which REQUIRES 4 slices.
Dean
Sysmic Wave
27th November 2009, 10:16
Cheers guys,
All the tests now pass and I've started encoding again this morning.
I'll let you know how I get on but i'm fairly confident.
twazerty
2nd December 2009, 20:02
Bought myseld a panasonic blu-ray player and all problems are gone after my fixes. Thanx for the suggestions :)
Where can I find the HRD/Interlace patched x264 build?
Adub
2nd December 2009, 21:08
Menu's won't be copied. If you want to make a full backup use BDRebuilder. I don't know if I ever will add an option to make a full backup. Maybe maybe not.
Sorry that it took me so long to respond.
Thanks for clearing that up. Movie-only it is.
turbojet
3rd December 2009, 19:39
Where can I find the HRD/Interlace patched x264 build?
Jeeb (http://x264.fushizen.eu/) or techouse (http://x264mirror.tk/) builds.
I'd suggest using 1352 since there is some bug reports from 1353/1354. Also if you use 1320+ you'll want to use x264 --weightp 0 to avoid video corruption in some standalones and coreavc, and you also won't lose 10-15% speed.
twazerty
5th December 2009, 17:40
Jeeb (http://x264.fushizen.eu/) or techouse (http://x264mirror.tk/) builds.
I'd suggest using 1352 since there is some bug reports from 1353/1354. Also if you use 1320+ you'll want to use x264 --weightp 0 to avoid video corruption in some standalones and coreavc, and you also won't lose 10-15% speed.
Thanx,
Added Jeeb's r1352 build and added --weightp 0 --nal-hrd but after interlaced encoding the result isn't a "real?" interlaced video. Mediainfo is still saying:
Scan type : MBAFF
Same result with the build from the other link
deank
7th December 2009, 16:59
Take a look at this thread (http://forum.doom9.org/showthread.php?t=120317). MBAFF is the better way to compress in interlaced (macro-block based) format.
Dean
twazerty
13th December 2009, 22:04
Hi all
Very busy lately. Released the new version 1 week ago. This is the changelog:
Changelog:
v09.12.06
Fixed - Panasonic playback issues
Fixed - Some playback issues
Fixed - When fps was spoofed the output went out of sync
Fixed - Audio delay will be copied to output. (Now it doesn't go out of sync because the delay will be copied)
Fixed - Expected bitrate for 2 channel audio (192Kbit), DTS calculation was used.
Fixed - Chapters bug
Fixed - Some BDMV folder issues
Fixed - Some Output Panel issues
Added - "--nal-hrd" option to the X264 command line to provide better Blu-ray compatibility
Added - Brand new intro
Added - A brand new Intro Editor
Added - Brand new menu's
Added - MP2 and MP3 input audioformat.
Added - XVID/DIVX as input codec.
Added - Option in the menu to delete all temp files.
Added - A ffdshow Settings panel where you can change the preferred decoders. Also the Subtitles option in ffdshow can be disabled with it.
Added - Hebrew translation (Except settings) Needs some more fixing. Thanx to Omer Maayan.
Added - Deinterlacing (1920x1080i --> 1920x1080p & 1920x1080i --> 1280x720p)
Changed - Settings will now be stored in the Registry instead of a txt file.
Updated - Almost all settings are translated now
Updated - x264 to r1352 (Switched to Jeeb's build: http://x264.fushizen.eu/)
Updated - ffdshow to rev3136 (Manual Install)
Updated - Win7DSFilterTweaker to v2.2 (Manual Install)
Download: AVCHDCoder 09.12.06 (http://www.mediafire.com/?nemnqrzu1kk)
New bugs:
- WMV problems. (Broken in v09.12.06)
- ASS/SSA subtitles are not centered on the output subtitles. (All releases)
- Italian translation doesn't fit in AVCHDCoder. (Broken in v09.12.06) Download the fix and unzip it to your harddrive. Replace the jar file with the one in C:\Program Files (x86)\AVCHDCoder. Fix
- 24fps video get's out of sync (Broken in v09.12.06)
- When audio delay is negative the output gets out of sync
Because of these bugs I will release a new version very soon. The new version will get a High Quality Subtitle converter and some out of sync problems will be fixed.
high-5
16th December 2009, 22:35
Thanks for your program. Just did a high quality encoding of 2 mkv movies to BD-R 25 without any problems :-)
Will there be support for .ts-files?
What i personally do not like is the menu, i feel it is oversized. Would be great to have a simpler one. Is there any guide how to replace the standard design or adding an own one?
A little spelling mistake is under Setting>Item: german (ger) is called "Deutsch", not "Deutch" ;-)
Keep up the great work
twazerty
16th December 2009, 22:46
Thanks for your program. Just did a high quality encoding of 2 mkv movies to BD-R 25 without any problems :-)
Will there be support for .ts-files?
What i personally do not like is the menu, i feel it is oversized. Would be great to have a simpler one. Is there any guide how to replace the standard design or adding an own one?
A little spelling mistake is under Setting>Item: german (ger) is called "Deutsch", not "Deutch" ;-)
Keep up the great work
Spelling mistake will be corrected :). I can create a guide on how to replace the menu. But for now you won't save space with it. Actually the total menu including the intro takes about 29 MB. (1 to 8 items). In the future I will make it possible to replace/add your own menu. For now you have to do it with the default. In the future I will also add the option to create an intro but no menu. Now you get them both or nothing. After my next version I will start with the guide. Now I am redesigning a large part of the source code to fix some fundamental problems.
How processes are started and managed is a mess right now. Also subtitle conversion will be multithreaded. This is usefull for my avs2bdnxml implementation for High Quality subtitles. And with a little luck I can drop process.exe.
desperation
22nd January 2010, 09:31
Hi,pals.
I've encounted with a strange problem,that I can,t resolve.Just for experimental reason I uninstalled AVCHDCoder 09.12.06 and
now unable to install it back.Windows installer sending a message:"The feature you are trying to use is on a CD-ROM or other removable disc that is not available." My pevious good installation was the same Setup.exe file (106MB) that I've got from
Twan's site (thou he says that installation file is .msi (102MB) I couldn't find it anywhere).When I tryed to install 09.10.02 there was another message: " A more recent version of AVCHDCoder is already installed on this computer." No changes in my PC was
made before that,and I have also installed Handbrake,MeGUI,MKVmerge GUI,tsMuxer as standalone apps.I've tryed to uninstall all
of them and cleaned up my PC from all players and codecs,but to no avail.One possibility remains-data saved in registry,but Idon't know where to look.I need advice badly, 'cose imho AVCHDCoder is the best in simplicity and picture quality for today.
twazerty
22nd January 2010, 09:59
It is an exe of 102 MB (fixed the extension on my website). A 106MB setup file doesn't exist in my version history. This is my filezise (currently working at Ubuntu):
102.0 MB (106930496 bytes). 102/106 MB depending on what number you look.
How did you uninstall AVCHDCoder? I'll try to find out where AVCHDCoder stores it's version information.
Next release is planned for Februari 1st, then AVCHDCoder is public for 1 year.
desperation
22nd January 2010, 10:36
Thanks for quick reply,twazerty.
Concerning filesize number(106960kb) - on Rapishare, it's written on dld page,also 106 930 496 k says my Total Commander.
Uninstallation of AVCHDCoder was made by Advanced uninstaller PRO 9.6.After that I manually deleeted some remainig files
from "Documents and settings/user/Local setting... and so on.
If new release planned in a week I'll wait,but will it cure the problem ? May be it's possible to reassemble setup.exe into msi.?
twazerty
22nd January 2010, 12:16
New release will allow you to install it again because the version of the installer is higher. You can only install versions with an higher version number. I assume AVCHDCoder isn't listed in "Programs" in Control Panel anymore? If it is listed you can perform a "repair" or "remove".
.msi doesn't allow me to use high compression for the installation files (and still have 1 installation file). It saves me about 100-200 MB if I don't use msi. The exe gets smaller.
stax76
22nd January 2010, 13:05
@twazerty
I would like to take a look at your applications, the installer is really big, why? Will it make a lot system changes? Java applications often don't integrate well into Windows, where will the settings be saved on a windows system? I've very good experience with same Java applications like ProjectX for instance but I've also bad experience with Java applications causing various problems on Windows so please forgive me asking all this.
twazerty
22nd January 2010, 14:35
The installer and installation is big because all menu pages are also installed. The menu's are not created like the way multiAVCHD does. The menu's take about 500MB diskspace. When I am able to encode my own menu's the installer gets smaller. Custom intro's are already possible.
AVCHDCoder settings are saved in the registry. You are right, Java apps don't integrate that well. That is why I created a Registry app in C#. AVCHDCoder saves it's data via the C# bridge to the registry. (Commandline)
I also have trouble with processes that are launched. (Character problems)
stax76
22nd January 2010, 15:42
In the past settings where saved in the registry but since it's loaded in memory and most backup applications don't support backing up registry keys settings are saved in the app data dir now. Small portable applications often use the startup directly. The easiest way to get the app data dir in Java is probably expanding the environment variable %appdata%. Java should support serialization since it supports reflection, serialization is usually the easiest solution to persist settings.
twazerty
22nd January 2010, 16:24
not all settings are saved in the registry. The subtitles presets are located in: C:\Users\<username>\AVCHDCoder\Application Settings
In the passed I also placed the settings file there but it cost me too much time to add new values. (Backwards compatibility, parsing and writing etc) I switched to the registry because it is very flexible. In a couple of minutes a added multiple new settings. (including GUI changes etc)
stax76
22nd January 2010, 16:46
In .NET when using binary serialization all you have to do is adding a new property.
<Serializable()>
Public Class Settings
Property Language As String = "VB.NET"
Property Active As Boolean = True
Property Count As Integer = 5
Property Strings As String() = {"aaa", "bbb", "ccc"}
Property Complex As Dictionary(Of Dictionary(Of String, Integer),
Dictionary(Of String, Integer))
<OnDeserialized()>
Sub Update(ByVal context As StreamingContext)
If Language Is Nothing Then
Language = "VB.NET"
End If
End Sub
End Class
deank
22nd January 2010, 17:40
.msi doesn't allow me to use high compression for the installation files (and still have 1 installation file). It saves me about 100-200 MB if I don't use msi. The exe gets smaller.
You can use Nullsoft Scriptable Install System (NSIS). It is free and has good compression.
I'm using 2.45 for more than 6 months with multiAVCHD setup and got rid of the microsoft installer.
Dean
twazerty
22nd January 2010, 18:17
You can use Nullsoft Scriptable Install System (NSIS). It is free and has good compression.
I'm using 2.45 for more than 6 months with multiAVCHD setup and got rid of the microsoft installer.
Dean
No option for me. Now I use a licenced Java version of Advanced Installer. It allows me to create a correct exe file for my .jar file. This means I can create a 64 and 32 bit exe and it allows me to give it a 256x256 pixel icon as iconimage. I tried different jar exe wrappers and Advanced Installer was the only one I find that could do that. Also easy registry support was a thing that I needed. NSIS was not wat I was looking for.
twazerty
1st February 2010, 21:42
Hi all,
today I released my next version of AVCHDCoder. You can download it here: AVCHDCoder 10.02.01 (http://www.mediafire.com/?0mqzlmgom3t)
This is the changelog:
v10.02.01
Possible introduction of a major issue. CoreAVC will let AVCHDCoder hang (Not responing) when CoreAVC is registered and in use as decoder. Un-Register and use ffdshow to fix the problem. CoreAVC's authors will be contacted by me.
Fixed - AC3 to AC3 or True-HD Core to AC3 conversion failed.
Fixed - WMV bug - introduced in 09.12.06
Fixed - 1440x1080 with an AR of 16:9: Borders were added. Now it will be resized to 1920x1080.
Fixed - 24fps movie went out of sync - introduced in 09.12.06
Fixed - ASS/SSA subs as source were not displaying correctly.
Fixed - Multiple cosmetic fixes in Queue
Fixed - Some 4:3 SD sources where stretched. Now Aspect Ratio will be kept.
Fixed - No message if there are unsupported characters in the path. (Allowed: a-z, A-Z, 0-9, &, . and whitespace) Posible future fix: Allowing other characters like é, ä etc. Problem lies in the batch scripts in combination with Encoding problems. But now a nice error will pop up.
Fixed - Sources with a negative audio delay went out of sync. Now black frames will be inserted. (Doesn't work for all sources with this problem)
Fixed - "strange" resolutions where not converted correctly
Added - High Quality Subtitles conversion (avs2bdnxml + avisynth + vsfilter + bdsup2sub). Normal Quality Subtitle Conversion with tsMuxer is still possible.
Added - LPCM support: LPCM to AC3 (M2TS, TS and Blu-ray only and LPCM cannot be kept yet)
Added - In the introeditor you can now: Keep aspect ratio, Zoom, Stretch an image.
Added - In the introeditor you can now add an image as overlay on top on the introvideo. Select between 12.5, 25, 37.5 and 50% visibility
Added - Default subtitles preset can be set.
Added - Default encoding speed can be set.
Added - You now can select the number of Threads that will be used for subtitle conversion (Only applies to ASS/SSA and SRT to PGS conversions)
Added - Move an item up or down after you added the item to the disc.
Added - Limitation of number of characters in Title. (UDF volume label limit)
Added - You can now launch usefull applications via AVCHDCoder.
Added - You can now see how much time an item in the Queue took.
Added - 64bit encoding. It is not tested well for now and should only be used for testing. Only x264 is in 64 bit.
Changed - Preview button now gives you a full scale preview of the introimage. (Just 1 frame)
Changed - Replaced the Remove All button with an Add button.
Changed - Settings and Log are moved to the menu's. The main screen will now only contains Input, Select Streams, Output and Queue
Changed - AVCHDCoder now works partially on Process Id's. Example: Pauze while encoding only pauses x264.exe that AVCHDCoder started.
Changed - PGS sup conversion is now done with BDSup2Sub
Updated - ffdshow to rev3222 (Manual Install)
Updated - Win7DSFilterTweaker to v2.6 (Manual Install)
Updated - ssatosrt to R3
Updated - BDSup2Sub to 4.0.0
desperation
2nd February 2010, 15:11
Thanks for new version of AVCHDCoder.Unfortunately,I couldn't install it for for the same old reason - getting warning from Windows installer,but now it's of a different kind :"The older version of AVCHDCoder cannot be removed.Contact your technical support group."I did't mention in my previous post that in "Add or remove programms" it's still present (just a name) and after deleting appears again next time when you open the list.In registry I know only one path to get rid of an application in such cases:HKEY_LOCAL_MACHINE >SOFTWARE > Microsoft > Windows > Current version > Uninstall , but there's not a sign of AVCHDCoder.Is it necessary to reinstall OS to clean up remnants of older version or may be it can work as thinstall portable?
twazerty
2nd February 2010, 17:04
I'll upload a non installer version on my webserver. I'll send you the link via PM. I'll give extra instructions on what to do.
desperation
12th February 2010, 11:53
Thanx for non-installer,but after some consideration I didn't use it, because my OS already have most of it 's components and I could get things worse making short cuts. I'm not much of an expert, so excuse me. Luckily,I found an app that cleaned up PC from non-erasable remnants of old version.It's called "Your uninstaller! PRO" and here is the site for those who might get the same problem: http://www.ursoftware.com .My fist trial after installation AVCHDCoder 10.02.01 was VC-1,1920x1080i concert of Ken Hensley with 25.000 fps and signs of interlacing on movings objects(combing),though "Media info" determines it as progressive.Output resolution I chose as 1920x1080p (maybe it was wrong,but it's present in options whithout some kind of restriction) and chapter points as in default box every 5 minutes( pushed the button "validate").After conversion, quality for most of the picture is great, but on the moving objects appeared square blocks,frame rate became 23.976 fps,there is no chapters at all and audio is totally out of sync.I couldn't manage to correct audio-video compatibility in MKVmerge through all possible options.So what can be done in this situation?
twazerty
13th February 2010, 01:48
The reason it becomes 23.976 is because 1080p@25fps is an invalid format. When you encode at 1080i 25fps is possible. So can you try 1080i output? I have no clue why the output is out of sync. Can you send me a sample? (Make sure the sample has the same problem)
When you throw the file into tsMuxer I think it will tell you that it is interlaced. Not sure.
pistacho
26th February 2010, 21:11
Suggestion for next release:
- New 64 bit ?pure? mode: Last versions of x264 can handle directly video input from mkv, mt2s, etc. without need avisynt/ffdshow for all.
Example of x264 command lines for does this:
First pass
"C:\UTIL\x264\64bit\x264.1462kGIT.core2.x86_64.exe" --pass 1 --vbv-bufsize 30000 --vbv-maxrate 40000 --bitrate 4398 --level "4.1"
--stats "E:\temp\temp.stats" --index "E:\temp\temp.index" --keyint 24 --min-keyint 2 --ipratio 1.1 --pbratio 1.1 --fps 23.976
--weightp 0 --nal-hrd "vbr" --aud --output NUL "F:\Torrents\OCEANS_ELEVEN\BDMV\STREAM\00054.m2ts"
Second pass
"C:\UTIL\x264\64bit\x264.1462kGIT.core2.x86_64.exe" --pass 2 --vbv-bufsize 30000 --vbv-maxrate 40000 --bitrate 4398 --level "4.1"
--stats "E:\temp\temp.stats" --index "E:\temp\temp.index" --keyint 24 --min-keyint 2 --ipratio 1.1 --pbratio 1.1 --fps 23.976
--weightp 0 --nal-hrd "vbr" --aud --output "E:\temp\output.mkv" "F:\Torrents\OCEANS_ELEVEN\BDMV\STREAM\00054.m2ts"
Note: --nal-hrd ==> --nal-hrd "vbr"
added --index (for store ffms temporal index)
More info here:
http://forum.doom9.org/showthread.php?t=151733
Compiled x264 with ffms support here:
http://komisar.gin.by/
Thanks for this great software!
:thanks:
________
Suzuki A95 (http://www.cyclechaos.com/wiki/Suzuki_A95)
________
TTR90 (http://www.cyclechaos.com/wiki/Yamaha_TTR90)
twazerty
27th February 2010, 15:20
But this way you can only encode a movie that already has the right resolution? Resizing and adding borders is impossible??
pistacho
27th February 2010, 18:50
It is not possible for now ... (ffms input still in development) but the gain in speed, quality and simplicity is important :eek:. You could put as an optional method or choose it automatically when not required change resolution (source is in 1080p for example)
________
Yamaha XV1600A (http://www.cyclechaos.com/wiki/Yamaha_XV1600A)
________
Yamaha XV1100 (http://www.cyclechaos.com/wiki/Yamaha_XV1100)
turbojet
2nd March 2010, 19:38
Thanks for the BDSup2Sub finally a gui that does BD to AVCHD in just a few clicks with good sizes and full sub support. But I'm still looking for the same gui characteristics that outputs DVD/mkv/mp4/xvid and inputs DVD.
I noticed systernals LUA popped up the first time an encode was started and the first time pause/resume button was hit. It's not a big deal but maybe there's a way to hide that LUA?
Also have you thought about what features you were planning on adding next?
I can help with compression check process and calculating, calculate mkv overhead, autocrop usage, mux mkv, calculate dvd overhead (within 5 MB usually), author dvd with dvdauthor. integrating dgnvtools, calculate xvid overhead/encoding. But I can't put it into code outside of batch.
Have you thought anymore about reverting pause/resume so it's less confusing? Pressing pause button to pause for instance.
ffmms x264 input would be nice and gets rid of splitter/decoder dependency, also pointing to x264_x64.exe via avisynth64 when resizing with an x64 OS would be nice.
twazerty
2nd March 2010, 22:33
I don't really know what my next steps will be. In my development version I already added improvements:
I have rewritten parts of AVCHDCoder so I am be able do make better use of my modules. Technically I can build new small tools around AVCHDCoder. For example an easy HQ subs converter.
I am working on a module so you can grab an image from a movie and use it as background video for the intro. Will be done with avisynth script.
MP4 input support. But no High Quality Subs because I do the demuxing with tsMuxer. Also srt only.
There are still some small things that are causing problems. Minor improvements will be done. (Like the pause button, finally :p)
I have some ideas myself:
-Subtitles preview when you are making a subtitles preset.
-Remux mode, Encode mode, remux/encode mode. Remux mode: Remux at all time. (Only pops up when streams are valid) Encode mode: Encode all streams at any time (Current in AVCHDCoder). Remux/Encode mode: First try a remux. If it doesn't fit to your destination switch to encode mode.
Advantages: Still all features of AVCHDCoder like adding subs (HQ for example), removing audio, encoding audio, forcing subs, adding menu's/intro's etc. Can save time if it all fits.
I don't know if I will add this. Sideeffect is that I need to push it in the output panel and people still need to understand what it does. Technically it is possible and not very hard to implement.
Sysinternals shouldn't be popping up. I'll look into it.
I'll try some things with ffmms x264 input. Sounds nice. Can be used if your source size is correct and don't want to resize the video. But I am still decoder dependant for encoding the intro and subtitles conversion on HQ.
Couple of weeks ago I was frustrated by the fact I couldn't find an app that could create mp4 files with specific settings. Like cropping and adding borders at the same time while maintaining aspect ratio and target resolution. Fully automatically ofcourse. Also was frustrated that there was no good DVD creator with the same power as AVCHDCoder :mad:
So I am considering to make a DVD version of AVCHDCoder. But I don't have enough knowledge to do it. I mean the technical stuff like MPEG2 encoding, muxing to VOB, demuxing DVD, building menu's/intro's etc. (CLI offcourse)
What would be very nice: If I can fully integrate it into AVCHDCoder. So there is almost no difference in the user interface. I don't know if I can do that in an easy way. But if you can help me with everything I need that would be very nice !
If everything I need can be done then I will make a DVD version with the same easy functions as AVCHDCoder. Lots of input file types can be reused. (MKV input etc) Only DVD input/output has to be added.
Can I communicate with you another way like MSN?
desperation
4th March 2010, 23:25
Hi,Twazerty.
Couldn't refrain myself from saying that adding DVD authoring fuction to AVCCoder would be only unnecessary complication to this great simple app. Besides,the main reason for using AVCCoder is to get HD content as an output but not VOB's as in obsolete DVDs.
twazerty
5th March 2010, 01:07
Hi,Twazerty.
Couldn't refrain myself from saying that adding DVD authoring fuction to AVCCoder would be only unnecessary complication to this great simple app. Besides,the main reason for using AVCCoder is to get HD content as an output but not VOB's as in obsolete DVDs.
If I'll ever start with the project it will be a different application but it will work almost exactly the same way.
AVCHDCoder for AVCHD/Blu-Ray output.
DVDCoder for DVD output
But if there will ever come a DVDCoder? Maybe or maybe not :cool:
turbojet
9th March 2010, 23:28
My thought about dvd output is to be able to encode BD's to play on DVD players currently it's a lot of manual work. Am I so strange to have both BD and DVD players in my house, does that make me obsolete? DVD had 92% market share in the USA last week...
DVD output would require 3 binaries (hcenc, dgavcpulldown, dvdauthor) which is less than 4 MB, a gui switch which calls 3 command lines and a different overhead calculation. I don't understand how this complicates things. OTOH mkv/mp4/xvid output would require 1 exe each, 1 command line each and simple overhead calculation. A new gui needs many lines of code and would provide less functionality.
DVD input is a little trickier, there's an exe in autoGK named vstrip_ifo.exe that gets runtimes and streams of each vts. If the selected stream is the only pgc in the vts, create d2v/demux audio with dgindex, demux chapters/subs with pgcdemux. If there's more than one pgc in the vts demux audio/video/chapters/subs with pgcdemux then create d2v with dgindex. Pass d2v through avs to encoder.
I don't have MSN or any other IM program and I'm not around much these days and often when europe is sleeping so I don't think it would be of much help.
twazerty
10th March 2010, 00:00
My thought about dvd output is to be able to encode BD's to play on DVD players currently it's a lot of manual work. Am I so strange to have both BD and DVD players in my house, does that make me obsolete? DVD had 92% market share in the USA last week...
DVD output would require 3 binaries (hcenc, dgavcpulldown, dvdauthor) which is less than 4 MB, a gui switch which calls 3 command lines and a different overhead calculation. I don't understand how this complicates things. OTOH mkv/mp4/xvid output would require 1 exe each, 1 command line each and simple overhead calculation. A new gui needs many lines of code and would provide less functionality.
DVD input is a little trickier, there's an exe in autoGK named vstrip_ifo.exe that gets runtimes and streams of each vts. If the selected stream is the only pgc in the vts, create d2v/demux audio with dgindex, demux chapters/subs with pgcdemux. If there's more than one pgc in the vts demux audio/video/chapters/subs with pgcdemux then create d2v with dgindex. Pass d2v through avs to encoder.
I don't have MSN or any other IM program and I'm not around much these days and often when europe is sleeping so I don't think it would be of much help.
Thanx for this info. First I am going to do some testing with those applications. If everything goes without much trouble and if it can do what I need then I'll see what exactly my next steps are.
I can easily re-use the current code. With some handy programming I can create 2 applications that is actually 1 application. Then I have the best of both worlds. I have a DVD application and AVCHDCoder is still easy to use. The very very last thing I want is an application that has multiple kinds of output. I believe the power of AVCHDCoder will be lost if I add multiple types of output. If there will be a DVD version it will be another app. (For me it is 1 but the user thinks it are 2 apps.)
deank
10th March 2010, 00:06
Twan, just keep up the good work with AVCHD. There is no need to go back and waste time to create application for something that there are tons of other applications to do (and do it good).
twazerty
10th March 2010, 00:16
Twan, just keep up the good work with AVCHD. There is no need to go back and waste time to create application for something that there are tons of other applications to do (and do it good).
Before I make a decision I am going to think about it a long time. (At least a month I think) I don't want to waste time if it isn't worth it :)
For myself I still have to find the DVD maker that fits to me :)
turbojet
10th March 2010, 02:17
What application inputs BD and outputs DVD/mkv/mp4/xvid with the size you set with chapters/subs with a few clicks?
RipBot264 is the closest I can think of but it takes 20+ minutes to setup because of the demux, many mouse clicks and only suites mkv/mp4. There's many mkv/mp4 gui's but only BluRip supports BD input which has no bitrate calculator.
What program inputs a DVD and outputs AVCHD/mkv/mp4?
multiavchd outputs 1:1 AVCHD but lacks a true bitrate calculator.
Knot
10th March 2010, 20:45
Hi!
To work with PS3 I need to burn in DVD-R or DVD+R? Or is the same?
Thanks
twazerty
10th March 2010, 21:27
Hi!
To work with PS3 I need to burn in DVD-R or DVD+R? Or is the same?
Thanks
It is the same.
Adub
11th March 2010, 05:31
@turbojet
Do you want DVD output or AVCHD output? Because frankly your little quote:
What application inputs BD and outputs DVD/mkv/mp4/xvid with the size you set with chapters/subs with a few clicks?
mixes up some formats, sort of.
Frankly, I think that if an application outputs MPEG2 DVD's, it would be a bad feature creep to support mkv/mp4 files, as there are already a large number of programs that support BD to MKV/MP4.
I think that if you want to output to DVD, you would use 1 program, and then if you wanted to output to mkv, you would use another.
If you want a guide that will allow you to convert a Bluray to a DVD using 1 program, try this one: http://adubvideo.net/how-to/convert-bluray-dvd-avstodvd
I have used method linked to in that guide several times and it always produced excellent output.
pistacho
11th March 2010, 11:47
Hello, then put the command line I use to re-encode Blu-Ray with the latest versions of x264 (r1462 +). You might want to take some parameters to include in future versions of your software:
C:\UTIL\x264\64bit\x264.1471kGIT.core2.x86_64.exe --pass 1 --tune "film" --level "4.1" --nal-hrd "vbr" --vbv-bufsize 30000 --vbv-maxrate 40000
--bitrate 4754 --stats "E:\temp\temp.stats" --index "E:\temp\temp.index" --fps 24000/1001 --keyint 24 --min-keyint 2 --ipratio 1.1 --b-pyramid "none"
--weightp 0 --slices 4 --aud --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --output NUL "F:\Input"
C:\UTIL\x264\64bit\x264.1471kGIT.core2.x86_64.exe --pass 2 --tune "film" --level "4.1" --nal-hrd "vbr" --vbv-bufsize 30000 --vbv-maxrate 40000
--bitrate 4754 --stats "E:\temp\temp.stats" --index "E:\temp\temp.index" --fps 24000/1001 --keyint 24 --min-keyint 2 --ipratio 1.1 --b-pyramid "none"
--weightp 0 --slices 4 --aud --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --output "E:\temp\output.mkv" "F:\Input"
Notes:
--tune ?film? --> Sets other options automatically (deblock=1:-1:-1 / psy_rd=1.00:0.15 / chroma_qp_offset=-3)
--pbratio 1.1 --> removed due optimum value its calculated automatically with mbtree option on (default)
--b-pyramid "none" --> this option is now on by default but it is safer to disable it (PS3 compatibility, etc.).
--slices 4 --> better compatibility with Blu-Ray specifications
--colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --> Specifies the characteristics of the color space typically used in Blu-Ray
--vbv-bufsize 30000 --vbv-maxrate 40000 --> They are the maximum values of the Blu-Ray specifications so there should be no problems with any compatible hardware but rarely come to achieve these values with lower bitrates used in DVD5/DVD9
In the next release updates the x264 executable (version r1352 become obsolete) :)
:thanks:
________
vapir oxygen (http://oxygenvaporizer.com)
________
Kawasaki ZR750F (http://www.cyclechaos.com/wiki/Kawasaki_ZR750F)
turbojet
12th March 2010, 00:32
Adub I'm familiar with AVStoDVD and have used it but it doesn't support seamless branching BD's, subtitles, and chapters. I mentioned these drawbacks and offered ways to fix them awhile back in the avstodvd thread.
Considering some of the tools are common in input/output I don't see the point of using different gui's for each output. Also dealing with 1 organized source should be simpler then dealing with a bunch of sources. One big problem with multiple gui's is queuing which is almost impossible unless you can schedule tasks, queuing different outputs in the same gui by changing one option is simple and can be set and forget if all you want is one type of output.
Knot
12th March 2010, 15:40
Why the AVCHDCoder don't permit to use ''Back_to_the_Future_1985'' (underscore) ? It shows a error that letter is not allowed. The BD Players don't read underscore letter? In DVD Players I can use underscore.
twazerty
12th March 2010, 16:04
Why the AVCHDCoder don't permit to use ''Back_to_the_Future_1985'' (underscore) ? It shows a error that letter is not allowed. The BD Players don't read underscore letter? In DVD Players I can use underscore.
There are lots of problems with a lot of characters (not only AVCHDCoder). I already tested some characters. I will test and add Underscores to the next version. For now just remove the underscores.
Knot
12th March 2010, 16:47
There are lots of problems with a lot of characters (not only AVCHDCoder). I already tested some characters. I will test and add Underscores to the next version. For now just remove the underscores.
Yes, I used ''.'' (Back.to.Future). Usually I only use letters, numbers and the underscores in DVD Files, and the underscores doesn't cause any problems. I also think it will not cause problems in BD-Files.
Thanks for the replay!
twazerty
12th March 2010, 16:50
Yes, I used ''.'' (Back.to.Future). Usually I only use letters, numbers and the underscores in DVD Files, and the underscores doesn't cause any problems. I also think it will not cause problems in BD-Files.
Thanks for the replay!
The problem is not blu-ray but the tools to convert files. Many tools fail on most characters.
TRONDROM
18th March 2010, 12:58
I want to thank you, twazerty, for a pretty awesome program. I've used it four times and have to say I'm really impressed with the quality of the final product. I've made two BD5s, one BD9, one BD25 and they've come out mint each time. I'm a long-time user of Ripbot, but finding the time of encoding is taking too long, 19 hours encoding Sherlock Holmes 1080 BD9 on quadcore at my custom, max settings is a little ridiculous. I believe your all-in-one converter does a comparable job at your built-in settings compared to Ripbot and the encoding time is cut in half. I love that I can add a custom menu if I want, tweak a few things if I want. The ease of use is the best thing to say about this program. I'll be pointing people to this program for now on as I'm sold on it as my number one BD5/BD9/BD25 encoding program. Thanks for your hard work, brother.
Atak_Snajpera
18th March 2010, 14:04
I'm a long-time user of Ripbot, but finding the time of encoding is taking too long, 19 hours encoding Sherlock Holmes 1080 BD9 on quadcore at my custom, max settings is a little ridiculous.
And who told you to CHANGE default settings!?! If you set everything at max encoding MUST be SLOWER! Alot slower! Some people are a little ridiculous.
TRONDROM
18th March 2010, 16:50
no worries, Atak, I still love and use Ripbot....perhaps you're right and it's time to give up on custom settings and just use the default settings. I didn't mean to slam you in any way. That was not my intent, and if you took it that way, I apologize, man. You're a God among men. Peace.
deank
18th March 2010, 19:36
What program inputs a DVD and outputs AVCHD/mkv/mp4?
multiAVCHD does (output DVD to Blu-ray, AVCHD, SD_VIDEO, DVD).
About DVD to AVCHD... When I posted about it I was thinking about files -> DVD and that's why I said there are a lot of programs to do it.
Blu-ray/AVCHD/files to DVD is now available in multiAVCHD build 737 anyway.
Knot
18th March 2010, 22:38
My suggestion to AVCHDCoder:
-Save projects and import projects.
I like very much AVCHDCoder. It's very simple and outputs good quality.
multiAVCHD have many, many, many, many options, and I think it is very confuse...
Edit: Anyone have a LG BD350 Player? Is it good to play AVCHD?
twazerty
18th March 2010, 23:44
My suggestion to AVCHDCoder:
-Save projects and import projects.
I like very much AVCHDCoder. It's very simple and outputs good quality.
multiAVCHD have many, many, many, many options, and I think it is very confuse...
Edit: Anyone have a LG BD350 Player? Is it good to play AVCHD?
This will defenitely be one of my next steps. The technical design of AVCHDCoder needs to be fixed first. Already done a lot of stuff but still not everything.
To our programmers: What is the best way to import/export a project? with serialization of my model? What is the best tactical aproach: Each "Job" it's own file or the entire queue into 1 file?
Knot
19th March 2010, 02:48
On most programs each job it's own file, because you can create 10 jobs but then you only want to convert the job 3 and the job 5 (for example), so you just import job 3 and job 5, don't need to import a file with all jobs.
You can adopt the ConvertXtoDVD system.
It saves each job as one file in folder ''jobs'' (example). Then you can import job 1, or job 2, or job 3, etc, and convert the respective job.
But you can move the jobs 1, 5, 6 (example) to folder ''jobs_to_convert'' and with a batch tool (can be integrated in your program or a little external application) you click on batch_tool.exe and the jobs in folder ''jobs_to_convert'' will be all converted (first job 1, then job 5, then job 6...)
It's only a suggestion! :D
(Sorry my English)
twazerty
19th March 2010, 20:04
I am now be able to import and export the complete queue. I will test this function and if it works correctly I will add this as a feature for the next version.
Now I am thinking on how exactly it should work. First I think I will add the option to save the whole queue into 1 file. And open the whole queue.
Maybe I add an option to skip items.
twazerty
26th March 2010, 01:14
I've chosen for each job an own file. I am going to make an autosave function so the queue will be saved automatically. Manually saving it elsewhere is a feature that needs some more thinking :)
Next release will contain a new feature. You can search for a movie and extract it's information for use in the introeditor like:
Getting the poster
Getting the backdrop: great as background
Genres
Countries
etc
All movie information comes from www.themoviedb.org
this is a preview of the Search movie in combination with the introeditor:
http://img20.imageshack.us/img20/9141/samplef.png
turbojet
26th March 2010, 20:08
Looks nice, I personally would only use it for multiple title disc's though. I don't see a point in using a menu for one title unless there is chapter/audio/sub menus.
Any news on DVD input/output or compression checking?
An example of compression checking. Run --crf 20 encode with filters/resizers selected an add "SelectRangeEvery(framecount/5,14)" to the avs script to process 5% of the movie. Use resulting bitrate compared to bitrate selected. So if bitrate was 10000 kbps at crf20, 4000 kbps would be 40%. Resolution has to be considered shifting between 1080p and 720p should be about twice the difference. Suggest 40-60% which puts it in the crf 22-24 range.
Also I notice the current 64 bit implementation is slower then the 32 bit. You could solve this by using avisynth64 instead. What you have to do is check %PROCESSOR_ARCHITECTURE% (windows variable) for AMD64 and if it finds it check registry for HKLM\SOFTWARE\AviSynth if found use 64 bit dll\exe.
If there is no resizing or filtering you can send it directly to x264.exe but remember to use --fps <24000/1001 for example> or you'll get vfr output and --ffindex <path to .ffindex> or it does an unnecessary index on the second pass. You can do this for x64 too as long as AMD64 cpu arch is found.
Aviysnth64 users need this beta of haali media splitter (http://www.mediafire.com/?yy5nimzdwed) otherwise they won't be able to split VC-1 (latest release) or won't have a 64 bit splitter. There's no real easy way to check the version other than to calculate crc or check the file modified date for Feb 1, 2009.
They'll also need 64 bit decoders like ffdshow64 (http://sourceforge.net/projects/ffdshow-tryout/files/SVN%20builds%20by%20clsid/64-bit%20builds/ffdshow_rev3326_20100319_clsid_x64.exe/download). You can check/control this by checking for AMD64 in %PROCESSOR_ARCHITECTURE% and registry for HKLM\SOFTWARE\GNU\ffdshow64.
Compared to 32 bit avisynth, 32 bit direct to exe can expect about a 5% speed increase, avisynth64 about 10% increase, 64 bit direct to exe about 15% increase.
Adub
27th March 2010, 00:40
Hmm... I have seen the "intro" mentioned several times before. Is this like a trailer that runs before the movie starts, or is it an actual menu? I ask because multiAVCHD has a similar feature and I'm curious as to what exactly it is.
twazerty
27th March 2010, 01:14
Hmm... I have seen the "intro" mentioned several times before. Is this like a trailer that runs before the movie starts, or is it an actual menu? I ask because multiAVCHD has a similar feature and I'm curious as to what exactly it is.
The intro, well it is an intro (otherwise I called it an menu editor or disc editor). This is the flow when you play the disc:
First the Intro, then you see a basic Menu, then click on a number to play that item aka Play movie
Because I can't create menu's (they are prerendered, for every item a number) I've build a nice Introeditor so you can show some information. I can create an intro video. And I render the graphics with java to create a png file. And with avisynth I place that png on top of the video with transparency which creates the cool effect.
multiAVCHD can create real custom menu's. AVCHDCoder can't. There are 2 chances to ever bring custom menu's to AVCHDCoder:
-When tsMuxer supports pgs muxing/demuxing.
-When multiAVCHD goes commandline.
twazerty
27th March 2010, 19:07
I posted a sample of an intro on youtube:
http://www.youtube.com/watch?v=8VPYPAHu_0U
Adub
27th March 2010, 20:37
Ah! Okay, I get it now! Thanks for your concise answer twazerty!
twazerty
28th March 2010, 15:37
Ah! Okay, I get it now! Thanks for your concise answer twazerty!
Youre welcome :)
@turbojet,
far to busy with other stuff like school etc. For now I set the DVD idea in the freezer. Your other information is very usefull. I am going to test 64 bit because 64bit encoding with bepipe etc is only 5% faster (like you said), not worth the time.
About the compression check. What is the advantage of using that? Is it usefull for most people? What should be the reason of adding it? I like to give it a try but I don't understand how it works. I understand only the first part (Run --crf 20 encode with filters/resizers selected an add "SelectRangeEvery(framecount/5,14)" to the avs script to process 5% of the movie.)
Is it save to use this version of x264: http://x264.fushizen.eu/ r1510?
Still a lot of work to do on the new version. Will be released as soon as it is ready. Hopefully not too long :p
setarip_old
28th March 2010, 19:40
@twazerty
You know, all of these recent diverging embellishments (and proposed additional ones) make me long for the first time you posted here at Doom9 about your intended "KISS" converter, and my first responses to you...
turbojet
29th March 2010, 04:58
The compression check example I gave simply picks out a 14 frame sample every so often to cover 5% of the movie to encode. Which isn't perfect but generally really good to decide how compressible the source is. It makes the quality indicator much more relevant, it's one of the main basis in AutoGK, has been in gordianknot since I can remember but the only x264 gui that has it currently is staxrip which I can't use without breaking my codecs/splitters.
Knot
29th March 2010, 15:48
Hi
I use the ffdshow included in AVCHDCoder to view movies with WMP, and load subtitles. When I go to convert a movie in AVCHDCoder, I have do disable the subtitle function in ffdshow. If I don't disable it, the final movie has 2 subtitles...
This is a little boring, because sometimes I forget to disable the subtitles before make a conversion...
Can you make a solution to ''fix'' this?
twazerty
29th March 2010, 18:00
Hi
I use the ffdshow included in AVCHDCoder to view movies with WMP, and load subtitles. When I go to convert a movie in AVCHDCoder, I have do disable the subtitle function in ffdshow. If I don't disable it, the final movie has 2 subtitles...
This is a little boring, because sometimes I forget to disable the subtitles before make a conversion...
Can you make a solution to ''fix'' this?
My intention is not to mess with peoples configuration or force a configuration. (ffdshow + decoders) But I have no direct control over the settings. When you disable it and going to convert something, then you start wmp to watch a movie, the result is that halfway through the conversion the subs suddenly appear. However it is possible to change some standard settings in AVCHDCoder only to make it easier to change something. I don't really like it when an applications automatically changes settings and configurations. (Broke too many things in my history and still does)
But I do see this as a problem. And I do have a solution: add 1 setting where you can allow AVCHDCoder to make changes automatically when they are set wrong. If you want to control it yourself you can also that. I think that is the best solution.
Knot
30th March 2010, 14:01
When you disable it and going to convert something, then you start wmp to watch a movie, the result is that halfway through the conversion the subs suddenly appear.
This doesn't happen...
Because when you go to watch a movie it opens a "new" ffdshow, and doesn't the change the configuration in ffdshow+avchdcoder.
But when avchdcoder change from 1st pass to 2nd pass it will open a new ffdshow, and the new has subs activated.
Examples:
ffdshow subtitles off
Run AVCHDCoder
Don't change anything
Result OK
ffdshow subtitles on
Run AVCHDCoder
Don't change anything
Result 2 subtitles.
ffdshow off
Run AVCHDCoder
Activate ffdshow subs (in a movie with WMP) during 1st pass
Result 2 subtitles (during the 2nd pass it will put subtitles)
ffdshow off
Run AVCHDCoder
Activate ffdshow subs (in a movie with WMP) during 2nd pass
Result OK
Of course if you activate or disable subtitles directly in ffdshow used in that moment by AVCHDCoder, the subs suddenly appear ou desappear.
Knot
31st March 2010, 12:07
Hi one simple question...
I have a movie with internal portuguese subtitles in SSA format, but the subtitle isn't in UTF8, with words like ''não'' (no), ''caça'' (hunt) it shows a strange characters in WMP. If I convert with AVCHDCoder, the subtitles tool will fix this, or I have to use external subtitles?
TRONDROM
1st May 2010, 03:33
Next release will contain a new feature. You can search for a movie and extract it's information for use in the introeditor like:
Getting the poster
Getting the backdrop: great as background
Genres
Countries
etc
All movie information comes from www.themoviedb.org
this is a preview of the Search movie in combination with the introeditor:
Any news when the new version of AVCHDCoder will be out with this feature?
twazerty
2nd May 2010, 00:53
Currently I am fixing the last bugs and polishing some features. I'll hope I can release the next version before May 9th. This is the current changelog:
Added - Search for movie information on www.themoviedb.org and extract it's information
for use in the introeditor: Basic information like Genre and Countries but also backdrops and posters.
Added - Use an introsound in the intro movie (Feature for people which left/leave a donation aka donation required)
Added - Use a different menu style. Other styles are delivered as seperate download packs.
Currently 1 alternative menu available. (Without my website url) (Feature for people which left/leave a donation aka donation required)
Added - Change visibility for the background video from 0-100%. (Feature for people which left/leave a
donation aka donation required else you are only be able to select a visibility from 0-50%)
Added - Add more streams of the same subtitles stream for external subs. (Previously this was only possible for internal subtitles)
Added - Native 64 bit encoding. 64 bit Operating System required. Installation is explained in the Installation Guide.
Added - Test if your 64 bit decoders are working properly. (Decoder Tester)
Added - Serial number support. Had to add it for people which left/leave a donation.
Added - MP4 support, Internal subtitles not supported (yet)
Added - Better workflow when adding subtitles multiple times.
Added - Wrong file extension detection (and fixing). When your file has a wrong extension it was possible that
errors occured or you were not be able to here any audio in the result.
Added - Saving and opening AVCHDCoder project files. (.acp) Double clicking on an acp file and it will be added to the queue.
Added - Save a job to a custom location.
Fixed - tsMuxer values: ger --> deu, fre --> fra, rum --> rom
Fixed - default High Quality checkbox in Settings didn't work. HQ/NQ converting itself did work, just the settings.
Fixed - Some more chapter problems
Fixed - Specific bug: When all jobs are done and you hit Start again then AVCHDCoder was going wild. A restart of AVCHDCoder was required.
Fixed - After aborting a job (or a job has failed) and then starting it again caused the converting audio progress bar to spin.
Fixed/Changed - Pause/Resume images on butten inverted.
Changed - "Test System Configuration" renamed to "Decoder Tester".
I've also build another feature: A video cropper. But I won't add this feature to the next version. I'll save it for another release. :cool:
The compression check example I gave simply picks out a 14 frame sample every so often to cover 5% of the movie to encode. Which isn't perfect but generally really good to decide how compressible the source is. It makes the quality indicator much more relevant, it's one of the main basis in AutoGK, has been in gordianknot since I can remember but the only x264 gui that has it currently is staxrip which I can't use without breaking my codecs/splitters.
Just to mention that HDConvertToX (http://forum.doom9.org/showthread.php?p=1259735#post1259735) supports a compression check as well.
twazerty
2nd May 2010, 17:56
Can somebody deliver me a mkv file with internal PGS sup stream? Cannot mux one myself and connot find a sample.
turbojet
3rd May 2010, 10:10
sup.mkv (http://www.mediafire.com/download.php?of2memnyrnm)
twazerty
4th May 2010, 22:15
sup.mkv (http://www.mediafire.com/download.php?of2memnyrnm)
Thanx
heliocentric
8th May 2010, 14:51
new version of this program tomorrow?
thanks :)
twazerty
8th May 2010, 20:35
new version of this program tomorrow?
thanks :)
I think I need to delay it a couple of days. Some manuals need to be made and upgraded. Also some last features need to be fixed and tested. Also little bit busy with school :rolleyes:
Can anyone tell be which version of x264 is the safest to use? http://x264.fushizen.eu/ r1510 ???
I need both 32 and 64 bit versions.
Mary H
9th May 2010, 03:07
I just found your app today, and it seems to have exactly the features I need. 1. Ability to import cropped MKV, have top/bottom borders added automatically; and 2. ability to adjust subtitle appearance and position. However, I'm having a problem, and searching this thread and the Help file don't seem to solve it.
I've tried 2 different MKV files, which I had made earlier with Ripbot264. Both are 2.35:1 aspect ratio, 1280x534 resolution, progressive, according to MediaInfo. The borders were cropped off when they were created. I follow your very nice, very clear directions, adding a SRT subtitle also. The resulting AVCHD structure, when played in TotalMedia Theater 3, Zoomplayer, or MPC-HC, plays the video as if it's 4:3 AR, squeezed into the center of the widescreen TV with borders on all 4 sides. MediaInfo confirms this, showing the new video as 4:3 AR, with a resolution of 1280 x 954! I must be missing a setting somewhere that will result in a normal 16:9 1280x720 AVCHD structure with black borders at top and bottom.
Source MediaInfo:
Width : 1 280 pixels
Height : 534 pixels
Display aspect ratio : 2.35:1
Output Mediainfo:
Width : 1 280 pixels
Height : 954 pixels
Display aspect ratio : 4:3
twazerty
9th May 2010, 14:50
That definitely shouldn't be the output. I have a sample video here which is 1280x544 and the output is correct when I convert it with version 10.02.01:
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1mn 4s
Bit rate : 4 281 Kbps
Width : 1 280 pixels
Height : 544 pixels
Display aspect ratio : 2.35:1
Frame rate : 23.976 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.256
Stream size : 32.9 MiB (72%)
Language : English
and the output:
Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Duration : 1mn 4s
Bit rate : 15.4 Mbps
Nominal bit rate : 16.5 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.695
Stream size : 118 MiB (87%)
Writing library : x264 core 79 r1352M d487de4
can you send me a sample so I can test it out?
twazerty
10th May 2010, 22:48
Created the installer today. Needs some more testing to make sure everything works correct. Release will be very very soon now.
I've choosen for x264 r1583 from www.x264.nl
twazerty
11th May 2010, 23:02
Finally after a long time I released my next version of AVCHDCoder.
Download: Download links (http://tools.twanwintjes.nl/index.php?page=avchdcoder#Downloads)
Changelog
v10.05.11
Added - Search for movie information on www.themoviedb.org and extract it's information for use in the introeditor: Basic information like Genre and Countries but also backdrops and posters.
Added - Use an introsound in the intro movie (Feature for people which left/leave a donation aka donation required)
Added - Use a different menu style. Other styles are delivered as seperate download packs. Currently 1 alternative menu available. (Without my website url) (Feature for people which left/leave a donation aka donation required)
Added - Change visibility for the background video from 0-100%. (Feature for people which left/leave a donation aka donation required else you are only be able to select a visibility from 0-50%)
Added - Add more streams of the same subtitles stream for external subs. (Previously this was only possible for internal subtitles)
Added - Native 64 bit encoding. 64 bit Operating System required. Installation is explained in the Installation Guide.
Added - Test if your 64 bit decoders are working properly. (Decoder Tester)
Added - Serial number support. Had to add it for people which left/leave a donation.
Added - MP4 support, Internal subtitles not supported (yet)
Added - Better workflow when adding subtitles multiple times.
Added - .ts and .mts support.
Added - Wrong file extension detection (and fixing). When your file has a wrong extension it was possible that errors occured or you were not be able to hear any audio in the result.
Added - Saving and opening AVCHDCoder project files. (.acp) Double clicking on an acp file and it will be added to the queue.
Added - Save a job to a custom location.
Fixed - tsMuxer values: ger --> deu, fre --> fra, rum --> rom
Fixed - default High Quality checkbox in Settings didn't work. HQ/NQ converting itself did work, just the settings.
Fixed - Some more chapter problems (There are still some problems with it but just hit Reset Chapters if you get an error)
Fixed - Specific bug: When all jobs are done and you hit Start again then AVCHDCoder was going wild. A restart of AVCHDCoder was required.
Fixed/Changed - Pause/Resume images on butten inverted.
Changed - "Test System Configuration" renamed to "Decoder Tester".
Updated - Dutch, German and Italian translations.
Updated - x264 to r1583 (x264.nl)
Updated - ffdshow to r3426
Updated - ImgBurn to 2.5.1.0
victorshade
13th May 2010, 15:41
Twazerty..I sent you an email regarding the difference in CPU priority settings. Can someone break it down for me. I currently use normal but im tempted to use high priority. I am running 4gb ram Quadcore 8400 not overclocked and when rendering I do not use the computer.
twazerty
13th May 2010, 19:18
Twazerty..I sent you an email regarding the difference in CPU priority settings. Can someone break it down for me. I currently use normal but im tempted to use high priority. I am running 4gb ram Quadcore 8400 not overclocked and when rendering I do not use the computer.
The only difference is that windows gives the encoding more cpu cycles. How much faster it will be: I don't know. Maybe 2 seconds maybe 5 minutes. Can somebody tell more about this? I don't really have experience in the x264 encoder in combination with different process priority's in windows.
TRONDROM
14th May 2010, 15:26
Awesome, love the new version. The search for movie information is just simply beautiful. I'm going to donate to get the extra features, the extra menus. I love this program. Great work.
TRONDROM
17th May 2010, 20:16
Noob question, I have installed the new version, following the installation guide for 64bit encoding, the 64bit Decoder Tests all passed. I have clicked 64bit mode in options. Will this automatically now encode in 64bit? The reason I ask is, I see in Program Files x86 in the AVCHDCoder file AVCHDCoder 64bit icon and I see the regular AVCHDCoder icon. When I click AVCHDCoder 64bit icon it gives me an error stating failed to load Java VM Library. So I truly don't know if I'm actually encoding in 64bit or not now. I'm confused as to whether this AVCHDCoder 64bit icon should be on my desktop and I should be running that, or if AVCHDCoder icon on my desktop now is encoding in 64bit. Why is that 64bit icon in the AVCHDCoder files in Program Files x86 if it doesn't work? I'm confused.
twazerty
17th May 2010, 22:20
It looks strange:
The normal 32 bit AVCHDCoder can launch 32 and 64 bit encoding. And the 64 bits AVCHDCoder can also launch 32 and 64 bit encoding. But if you do want to run the 64 bit GUI of AVCHDCoder you need to install the 64 bit Java Runtime Environment. But there is no need to. I think this need to be made clear in my manuals.
TRONDROM
17th May 2010, 22:33
It looks strange:
The normal 32 bit AVCHDCoder can launch 32 and 64 bit encoding. And the 64 bits AVCHDCoder can also launch 32 and 64 bit encoding. But if you do want to run the 64 bit GUI of AVCHDCoder you need to install the 64 bit Java Runtime Environment. But there is no need to. I think this need to be made clear in my manuals.
Thanks, twazerty, for your quick response. Just glad I was doing it right and it's encoding in 64bit. :thanks:
rendez2k
19th May 2010, 08:21
Quick quality question: I've tested a few 1280 MKVs that are a little over DVD-R size. However, when imported I only get a medium quality indication. I assume that means the original was also medium quality? Is the frame size taken into account with the quality indicator?
twazerty
19th May 2010, 16:12
Quick quality question: I've tested a few 1280 MKVs that are a little over DVD-R size. However, when imported I only get a medium quality indication. I assume that means the original was also medium quality? Is the frame size taken into account with the quality indicator?
The quality indication only tells you something about the bitrate. A very high bitrate will preserve as much quality as possible aka Good quality. For now the bitrate indication is based only on bitrate. Resolution will not be used in the calculations.
rendez2k
19th May 2010, 16:13
So, my 5gb MKV won't loose that much by fitting to DVD-R? And I assume a re-encode is always done even if it will fit on a DVD-R by say removing audio?
twazerty
19th May 2010, 17:08
So, my 5gb MKV won't loose that much by fitting to DVD-R? And I assume a re-encode is always done even if it will fit on a DVD-R by say removing audio?
5GB mkv doesn't say much. Yes current version always will re-encode the video. In the next version or 1 version after it will be possible to bypass the encoding part.
TRONDROM
20th May 2010, 20:04
Does anybody know how much difference psy-rd strength makes and psy-trellis strength make in the advance part of AVCHDCoder? I understand that psy-rd is used for sharpening the video, possibly sharpening some grain or adding grain. I just don't know about these features. The default setting for psy-rd is 1.0, but I've heard that I can get a better video quality with 1.3, but that encoding will take longer. I'm just not sure if it's going to make that much of a difference in the final outcome. Anybody have any experience with this?
twazerty
22nd May 2010, 23:26
I released a new version. This fast release was necessary to fix some important problems:
v10.05.21
Added - After adding a disc to the queue a project file will be saved. If you reboot your pc or something else happens you can easily open the saved project file.
Fixed - Borders were added if source was 1440x1080 16:9
Fixed - Audio and or subtitles errors if source was .m2ts/.mts/.ts or .mp4
Fixed - If source has subs and or audio with a negative delay and you were converting in 64 bit mode you did get a encoding error. For now it will switch to 32 bit encoding so it doesn't fail.
Fixed - Entering serialnumbers didn't always work correctly.
Fixed - Double clicking on a .acp file (AVCHDCoder Project File) while AVCHDCoder wasn't running yet resulted that the .acp file wasn't added to the queue.
Fixed - It was possible to add the same acp file multiple times to AVCHDCoder. Now this is impossible. (Old .acp files can still be added multiple times if you don't resave the queue)
Download link: AVCHDCoder 10.05.21 Setup.exe (http://www.mediafire.com/?zwokt4nykwm)
TRONDROM
23rd May 2010, 00:09
Does anybody know how much difference psy-rd strength makes and psy-trellis strength make in the advance part of AVCHDCoder? I understand that psy-rd is used for sharpening the video, possibly sharpening some grain or adding grain. I just don't know about these features. The default setting for psy-rd is 1.0, but I've heard that I can get a better video quality with 1.3, but that encoding will take longer. I'm just not sure if it's going to make that much of a difference in the final outcome. Anybody have any experience with this?
Another noob question besides the one above, how to access the profiles for encoding, what folder are they kept in? I looked in the AVCHDCoder folder and I didn't see a profiles folder.
twazerty
23rd May 2010, 00:18
Another noob question besides the one above, how to access the profiles for encoding, what folder are they kept in? I looked in the AVCHDCoder folder and I didn't see a profiles folder.
The profiles are hardcoded into AVCHDCoder. Currently it is not possible to change the profiles.
TRONDROM
23rd May 2010, 00:29
The profiles are hardcoded into AVCHDCoder. Currently it is not possible to change the profiles.
Thanks....didn't think I was that noobish.....:thanks:
twazerty
12th June 2010, 22:48
Because AVCHDCoder is written in java I can easily run the gui of AVCHDCoder on Mac OS X. I just need to replace some parts to get things actually work on the system like replacing windows tools for mac os x tools. So I started the search for the following tools for Mac OS X:
- eac3to (Not available but ffmpeg looks like a good alternative for converting dts, wav, flac, ogg, aac to ac3)
- Mediainfo (Available and is already working in AVCHDCoder)
- mkvtoolnix (Available, not tested)
- tsmuxer (Available, not tested)
- x264
So the videoencoder is the problem. This are the minimal requirements:
- option for adding borders
- free
- commandline interface
- blu-ray compatible h264 streams
- (Framerate conversion, no speedup!)
- (Interlaced support)
I really want to make a version for Mac OS X and if I found a encoder that I can use I will definitely continue with a Mac OS X version. Although multiple options will be disabled because there are no mac alternatives like: Blu-ray input, HQ subtitles conversion and I don't know :).
Can somebody help me with the encoder problem?
Edit: Maybe ffmpeg as h264 encoder? and how to use it?
EnderEOC
18th June 2010, 22:41
Hi. Really nice software but i have an issue with it.
I want to convert some mkv files i have that are encoded in VC-1 to AVC because my home theater can only play AVC.
The problem is that even when i select the sound "untouched", there's only 2 channels in the output file (the input file is 6 channels).
Anything i'm doing wrong ?
I'm also having trouble to convert audio from AAC to AC3 on some other mkv. I just get the error message "an error occured while converting audio"
And what would happen if the input file size is 5000MB and i select 8000MB for the target size ? There wouldn't be any gain to have a bigger file than the input one, can i just put a greater value than the original or do i actually have to specify the same value as input ? I just want to convert VC-1 to AVC and AAC to AC3, not shrink the files.
Thx
twazerty
19th June 2010, 12:07
Hi. Really nice software but i have an issue with it.
I want to convert some mkv files i have that are encoded in VC-1 to AVC because my home theater can only play AVC.
The problem is that even when i select the sound "untouched", there's only 2 channels in the output file (the input file is 6 channels).
Anything i'm doing wrong ?
The number of audio channels cannot change. How many audio channels are there in the source according to AVCHDCoder?
I'm also having trouble to convert audio from AAC to AC3 on some other mkv. I just get the error message "an error occured while converting audio"
I am aware of some problems with AAC to AC3. When I tested this feature I didn't find any problems. I did get 1 report with this problem. The problem is that Faad.exe is bugged. I need to remove the fail mechanism for aac to get it to work. AVCHDCoder says it failed but in fact it didn't fail. I fix this problem in the next release.
And what would happen if the input file size is 5000MB and i select 8000MB for the target size ? There wouldn't be any gain to have a bigger file than the input one, can i just put a greater value than the original or do i actually have to specify the same value as input ? I just want to convert VC-1 to AVC and AAC to AC3, not shrink the files.
Thx
Since your input is VC-1 the video always needs to be encoded again. First of all: you lose quality no matter what you do. A higher output size has advantages. This way you preserve the most quality from the source. Whether you see it or not is up to you. Remember the following (need to write it somewhere on my website): When you enter a size manually you will break AVCHD compatibility for DVD. AVCHD on DVD has a max bitrate of 18Mbit. Entering a custom size will set a max bitrate of 24Mbit!
EnderEOC
19th June 2010, 13:23
The number of audio channels cannot change. How many audio channels are there in the source according to AVCHDCoder?
Audio info : English (6cv, AC3 640kbps)
When i open the output file with media info, it does says 6ch.
But when i play the file with my bluray player (which supports mkv as well, it's the LG HB965TZ home theater), there's only 2ch.
I don't have that issue with mkv files that are already in AVC and AC3 audio.
I tried the m2ts with PS3 media server to a ps3, and the 6ch works fine...
I thought it would be nero media home (i use that to stream mkv to my bluray player) that might not support AC3 audio, but since it works fine with a mkv i didn't try to convert myself...
About the file size, if i set the output size to the same as the original size, will there be a quality loss ?
How much more would i have to put to get the maximum quality ?
I don't burn the files, i stream them so i don't need to resize the files.
Thx
twazerty
24th June 2010, 23:29
Audio info : English (6cv, AC3 640kbps)
When i open the output file with media info, it does says 6ch.
But when i play the file with my bluray player (which supports mkv as well, it's the LG HB965TZ home theater), there's only 2ch.
I don't have that issue with mkv files that are already in AVC and AC3 audio.
I tried the m2ts with PS3 media server to a ps3, and the 6ch works fine...
I thought it would be nero media home (i use that to stream mkv to my bluray player) that might not support AC3 audio, but since it works fine with a mkv i didn't try to convert myself...
About the file size, if i set the output size to the same as the original size, will there be a quality loss ?
How much more would i have to put to get the maximum quality ?
I don't burn the files, i stream them so i don't need to resize the files.
Thx
There will always be quality loss. You can't get around it. Maximum quality is uncompressed. If your are satisfied with the result then there is no reason to higher the size. That is totally up to you.
About the ac3 problem: I can't help with that because your ps3 plays it fine. You can try to reencode the audio with AVCHDCoder. Maybe that helps.
EnderEOC
25th June 2010, 15:38
Thx for the info. I'll try to reencode the audio.
While waiting for the next release to be able to convert AAC, could you tell me what tools do i need to do that myself for now ?
I have an anime mkv with AAC audio, i tried mkvextract then convert AAC to AC3, then mkvmerge to put it all back together. but my home theater still crashes when i open the file (it does that when the audio is AAC, it's not supported).
twazerty
25th June 2010, 18:45
Thx for the info. I'll try to reencode the audio.
While waiting for the next release to be able to convert AAC, could you tell me what tools do i need to do that myself for now ?
I have an anime mkv with AAC audio, i tried mkvextract then convert AAC to AC3, then mkvmerge to put it all back together. but my home theater still crashes when i open the file (it does that when the audio is AAC, it's not supported).
AVCHDCoder goes from aac to wav. And from wav to ac3.
Step 1:
faad.exe -o "temp.wav" "input.aac"
Step 2:
eac3to.exe "temp.wav" "output.ac3" -448
Step 3:
Mux the ac3 with your video into a mkv or m2ts container.
All tools can be found in the tools folder of AVCHDCoder. Both are commandline.
EnderEOC
25th June 2010, 20:39
Thx. I tried that then mkvmerge to make the final mkv with ac3 audio instead of aac.
My home theater must be picky because it won't play it correctly :/
I found a way to convert my files but it takes more steps :(
Thank you anyway for the time you took to help me. I still don't get why my player won't accept the files made with AVCHDCoder but works fine with the same file made from another program....
twazerty
25th June 2010, 21:11
Thx. I tried that then mkvmerge to make the final mkv with ac3 audio instead of aac.
My home theater must be picky because it won't play it correctly :/
I found a way to convert my files but it takes more steps :(
Thank you anyway for the time you took to help me. I still don't get why my player won't accept the files made with AVCHDCoder but works fine with the same file made from another program....
AVCHDCoder generates ac3 files always with eac3to. So I suggest you contact them.
What happens if you demux the m2ts that AVCHDCoder created and mux them to mkv with mkvmerge?
EnderEOC
25th June 2010, 21:37
AVCHDCoder generates ac3 files always with eac3to. So I suggest you contact them.
What happens if you demux the m2ts that AVCHDCoder created and mux them to mkv with mkvmerge?
It seems that mkvmerge is the problem.
Or the options used.
The files that are made by mkvmerge aren't working (on my player that is, works fine with MPC).
But when i convert the file with Automen (another GUI found here), it works fine, even though mkvmerge is used in the process.
The only "issue" i have with automen is i can't use attached font with the subtitles.
I'm trying to find out what options i need to use for mkvmerge to work.
This is really weird because the result is the same when i check the files with mediainfo, video AVC, audio MP3. But the one that comes from mkvmerge GUI doesn't work...
twazerty
26th June 2010, 21:52
I upgraded the select streams tab. This is the result:
http://i48.tinypic.com/2w6w7td.jpg
But that is not all. I am also working on external audio streams. As you see in the screenshot: external audio is added. This new feature will be made available in the next version of AVCHDCoder. This is the current changelog, but more will be done:
Added - Second menu pack (For registered users only)
Fixed - Frame doubling caused the output to run too fast. (This is used in camcorders)
Fixed - Unknown subtitles streams are visible in the Streams tab. Selecting them will result in an error.
Fixed - If source duration is too long and you selected LPCM audio it will result in an error.
Fixed - If your source is Blu-ray and you selected a playlist that contains multiple items (SBD) the duration in the Streams tab is wrong.
Possible fix - Sometimes the disc created is a little bit too big. (about 5MB) X264 causes the problem.
Upgraded - Select Streams tab: translation, audio delay is now shown and a small of the appearance.
heliocentric
2nd July 2010, 22:22
hi, great program!
how do i hardcode subtitles with it?
thanks
twazerty
2nd July 2010, 23:29
hi, great program!
how do i hardcode subtitles with it?
thanks
Not... but this is on my list as possible new feature.
If you want to do it now you need to do it with ffdshow.
twazerty
11th July 2010, 23:13
Currently I am updating my outdated profiles. But I am not a x264 expert when it comes to compliant blu-ray/avchd streams. Looked a little bit at the settings on this page: http://sites.google.com/site/x264bluray/home
I need 3 profiles: a fast, medium and slow profile. I came up with these settings for x264 r1666:
Pass 1 is for all three speeds the same. Only second pass is different.
Fast speed (Medium Quality):
Pass 1: "x264.exe" --pass 1 --bitrate <bitrate> --weightp 0 --bframes 3 --nal-hrd vbr --vbv-maxrate 18000 --vbv-bufsize 13500 --level 4.1 --keyint 24 --b-pyramid strict --slices 4 --aud --open-gop bluray --stats "statsFile.stats" --ipratio 1.1 --pbratio 1.1 --fps 24000/1001 --force-cfr --sar 1:1 --direct auto --output NUL "input.avs"
Pass 2: "x264.exe" --preset fast --pass 2 --bitrate <bitrate> --weightp 0 --bframes 3 --nal-hrd vbr --vbv-maxrate 18000 --vbv-bufsize 13500 --level 4.1 --keyint 24 --b-pyramid strict --slices 4 --aud --open-gop bluray --stats "statsFile.stats" --ipratio 1.1 --pbratio 1.1 --fps 24000/1001 --force-cfr --sar 1:1 --direct auto --output "output.264" "input.avs"
Medium speed (High Quality):
Pass 1: "x264.exe" --pass 1 --bitrate <bitrate> --weightp 0 --bframes 3 --nal-hrd vbr --vbv-maxrate 18000 --vbv-bufsize 13500 --level 4.1 --keyint 24 --b-pyramid strict --slices 4 --aud --open-gop bluray --stats "statsFile.stats" --ipratio 1.1 --pbratio 1.1 --fps 24000/1001 --force-cfr --sar 1:1 --direct auto --output NUL "input.avs"
Pass 2: "x264.exe" --pass 2 --bitrate <bitrate> --weightp 0 --bframes 3 --nal-hrd vbr --vbv-maxrate 18000 --vbv-bufsize 13500 --level 4.1 --keyint 24 --b-pyramid strict --slices 4 --aud --open-gop bluray --stats "statsFile.stats" --ipratio 1.1 --pbratio 1.1 --fps 24000/1001 --force-cfr --sar 1:1 --me umh --direct auto --psy-rd 1.0:0.25 --output "output.264" "input.avs"
Slow speed (Highest Quality):
Pass 1: "x264.exe" --pass 1 --bitrate <bitrate> --weightp 0 --bframes 3 --nal-hrd vbr --vbv-maxrate 18000 --vbv-bufsize 13500 --level 4.1 --keyint 24 --b-pyramid strict --slices 4 --aud --open-gop bluray --stats "statsFile.stats" --ipratio 1.1 --pbratio 1.1 --fps 24000/1001 --force-cfr --sar 1:1 --direct auto --output NUL "input.avs"
Pass 2: "x264.exe" --pass 2 --bitrate <bitrate> --weightp 0 --bframes 3 --nal-hrd vbr --vbv-maxrate 18000 --vbv-bufsize 13500 --level 4.1 --keyint 24 --b-pyramid strict --slices 4 --aud --open-gop bluray --stats "statsFile.stats" --ipratio 1.1 --pbratio 1.1 --fps 24000/1001 --force-cfr --sar 1:1 --subme 9 --me umh --ref 4 --direct auto --b-adapt 2 --trellis 2 --psy-rd 1.0:0.25 --partitions all --output "output.264" "input.avs"
Are these profiles AVCHD and blu-ray compliant? if not: what changes do I need to make to get compliancy. Compaired with my old profiles these profiles are about 10%-15% faster. So there is some room to make changes in quality without longer encoding times compaired to previous versions.
I also need to know if the following is good:
AVCHD(18Mbit): --vbv-maxrate 18000 --vbv-bufsize 13500
AVCHD(24Mbit): --vbv-maxrate 24000 --vbv-bufsize 18000
Blu-ray: --vbv-maxrate 40000 --vbv-bufsize 30000
or is it better when --vbv-maxrate and --vbv-bufsize values are the same?
And if the following keyint values are ok:
Framerate: --keyint
23.976: 24
24: 24
25: 25
29.97: 30
30: 30
50: 50
59.94: 60
60: 60
twazerty
8th August 2010, 22:52
Today I released a new version of AVCHDCoder. A lot of work has been done and here are the most important points:
- New encoding profiles.
- Video remux mode.
- More control over the output resolution and framerate ('Avanced' option)
and of course other fixes and improvements. The full Changelog can be viewed after installation or online at http://tools.twanwintjes.nl. You can download the new version by clicking on the following link: AVCHDCoder 10.08.08 setup.exe (http://www.mediafire.com/?wk1tj19vdccao0e)
I hope you will enjoy the new version.
v10.08.08
Updated - Encoding profiles updated, they were outdated and now they are more Blu-ray/AVCHD compliant. Also reduces encoding time with 5-15% on all profiles/speeds.
Added - Video remux mode. Only available in some cases.
Added - Second menu pack (For registered users only)
Added - An 'Advanced' option when you choose the output resolution in the 'select streams' tab. You can choose output resolution/framerate and avisynth behaviour for the selection.
Added - Import and Export the settings (currently not the Subtitles presets)
Fixed - When you add a whitespace at the end of a title in the output tab will result in errors while converting.
Fixed - Frame doubling caused the output to run too fast. (This is used in camcorders)
Fixed - Unknown subtitles streams are visible in the Streams tab. Selecting them will result in an error.
Fixed - If source duration is too long and you selected LPCM audio it will result in an error.
Fixed - If your source is Blu-ray and you selected a playlist that contains multiple items (SBD) the duration in the Streams tab is wrong.
Possible fix - Sometimes the disc created is a little bit too big. (about 5MB) X264 causes the problem.
Upgraded - Select Streams tab: translation, audio delay is now added and a small change in appearance.
Upgraded - You can now select by default more streams. Previous version only 1 default stream could be selected.
Changed - HQ subtitles conversion is now in full frame mode. (Takes more time but is more reliable)
Changed - Settings will now be saved in a file instead of the windows registry. This upgrade will not lose any settings. The settings from the registry will be converted.
Changed - Settings are now split into 3 new settings windows: Settings, Preset editor and ffdshow.
Changed - Behaviour of the 'Search movie' panel is changed.
Changed - Behaviour of the Settings panel is changed.
Changed - The help section for selecting the number of threads is changed. It wasn't clear for people on how to use it.
Updated - x264.exe to r1683
Updated - ffdshow x86 to r3517 and x64 to r3507
rendez2k
8th August 2010, 23:08
Good work! I assume "Added - Video remux mode. Only available in some cases." means if an MKV is AVCHD compatible (frame size etc) then it won't be re-encoded?
Edit: Can't get it to load any MKVs (error reading file). Any ideas? All required codecs/software installed as far as I know. Windows 7 x64.
twazerty
8th August 2010, 23:33
Good work! I assume "Added - Video remux mode. Only available in some cases." means if an MKV is AVCHD compatible (frame size etc) then it won't be re-encoded?
Edit: Can't get it to load any MKVs (error reading file). Any ideas? All required codecs/software installed as far as I know. Windows 7 x64.
Current installer is corrupt. I am reuploading it now. Then you can open files again.
About the remux mode:
Currently there are no checks to see if the stream is compliant. This new mode will pop up if:
resolution in combination with the framerate are blu-ray compliant. So 1080p60 --> No remux mode, 720p50 --> remux mode. This mode can be selected under Encoder speed.
Remux mode appears in the following cases:
1920x1080p23.976 or 1920x1080p24
1920x1080i25 or 1920x1080i29.976
1280x720p23.976 or 1280x720p24 or 1280x720p50 or 1280x720p59.94
720x576i25
720x480i29.97
The remux mode will copy the source video stream to the output without any conversions. You can still change audio or add subtitles. When you activate this mode you will see an information window.
I think I fixed the problem: new version of AVCHDCoder (http://www.mediafire.com/?wk1tj19vdccao0e)
heliocentric
30th August 2010, 19:36
can you burn in subs with this program yet? :)
twazerty
30th August 2010, 22:15
can you burn in subs with this program yet? :)
:rolleyes: not yet. I will see what I can do for the next release. Maybe I'll add forced (hardcoded) subs. At least for the next release a couple of options are added:
AVI support (first beta testing)
Cropper for SD meterial. So you can cut off the black borders.
heliocentric
31st August 2010, 14:43
:rolleyes: not yet. I will see what I can do for the next release. Maybe I'll add forced (hardcoded) subs. At least for the next release a couple of options are added:
AVI support (first beta testing)
Cropper for SD meterial. So you can cut off the black borders.
Thanks your efforts are appreciated
zecleaner
2nd September 2010, 21:37
Thanks for the tool. :)
I would like to know how big the quality difference is between the "High Quality" and "Highest Quality" settings. Under which circumstances would you say it matters, resp. doesn't matter which of the two you choose?
Thanks in advance. :)
twazerty
3rd September 2010, 19:02
Thanks for the tool. :)
I would like to know how big the quality difference is between the "High Quality" and "Highest Quality" settings. Under which circumstances would you say it matters, resp. doesn't matter which of the two you choose?
Thanks in advance. :)
The visible difference in quality gets bigger the lower the bitrate is. I would say: 1080p at a bitrate of 4500 or lower. And 1080i at 5000 or lower. But for specific sources the highest quality is advised. I only needed it when I was converting 1080i soccer (sports) recordings because even on 6000 kbps the quality was bad. In most cases the highest quality is overkill. This is my opinion and if you think higest quality must be used at all times that's up to you.
zecleaner
3rd September 2010, 23:29
The visible difference in quality gets bigger the lower the bitrate is. I would say: 1080p at a bitrate of 4500 or lower. And 1080i at 5000 or lower. But for specific sources the highest quality is advised. I only needed it when I was converting 1080i soccer (sports) recordings because even on 6000 kbps the quality was bad. In most cases the highest quality is overkill. This is my opinion and if you think higest quality must be used at all times that's up to you.
But you would say in most cases the "High Quality" default setting is enough? I usually use 720P sources.
twazerty
4th September 2010, 14:42
But you would say in most cases the "High Quality" default setting is enough? I usually use 720P sources.
High Quality for 720p is in most cases enough. But if the bitrate gets lower than 3500 or something then I think the visible difference in quality get noticeable.
stinman
6th September 2010, 19:04
I am trying your tool for the first time,Thanks for your contribution!
I am doing a encode now on "slow" Highest Quality.Other tools use subme 7,trellis 1,badapt 1,...etc for there "default" setting.What do you use for your "default setting" subme x,trellis x,etc... I did see your post from july 11,does not give these settings.Your slow "highest quality" looks more like x264 preset "very slow".which is way over kill and to long in my opinion.I started one last night and 2nd pass is running 18hrs on a Phenom II BE OC 965 3.8ghz on the slow "highest Quality" setting.When I use x264 cli and preset slow with the same bluray specs that you list from july 11,it takes me about 7.5hrs.Hope you can answer this for me,Thanks
stinman
twazerty
7th September 2010, 00:24
I am trying your tool for the first time,Thanks for your contribution!
I am doing a encode now on "slow" Highest Quality.Other tools use subme 7,trellis 1,badapt 1,...etc for there "default" setting.What do you use for your "default setting" subme x,trellis x,etc... I did see your post from july 11,does not give these settings.Your slow "highest quality" looks more like x264 preset "very slow".which is way over kill and to long in my opinion.I started one last night and 2nd pass is running 18hrs on a Phenom II BE OC 965 3.8ghz on the slow "highest Quality" setting.When I use x264 cli and preset slow with the same bluray specs that you list from july 11,it takes me about 7.5hrs.Hope you can answer this for me,Thanks
stinman
I am no x264 expert and don't know that much. So I can't explain why something happens. Anyway this are the presets that are delivered since 10.08.08:
First pass for all speeds:
--pass 1 --bitrate 7500 --weightp 0 --bframes 3 --nal-hrd vbr --vbv-maxrate 18000 --vbv-bufsize 18000 --level 4.1 --keyint 24 --b-pyramid strict --slices 4 --aud --open-gop bluray --stats "statsFile.stats" --fps 24000/1001 --force-cfr --sar 1:1 --direct auto
Fast second pass:
--preset veryfast --pass 2 --bitrate 7500 --weightp 0 --bframes 3 --nal-hrd vbr --vbv-maxrate 18000 --vbv-bufsize 18000 --level 4.1 --keyint 24 --b-pyramid strict --slices 4 --aud --open-gop bluray --stats "statsFile.stats" --fps 24000/1001 --force-cfr --sar 1:1 --direct auto
Medium second pass:
--pass 2 --bitrate 7500 --weightp 0 --bframes 3 --nal-hrd vbr --vbv-maxrate 18000 --vbv-bufsize 18000 --level 4.1 --keyint 24 --b-pyramid strict --slices 4 --aud --open-gop bluray --stats "statsFile.stats" --fps 24000/1001 --force-cfr --sar 1:1 --me umh --direct auto --psy-rd 1:0.25
Slow second pass:
--pass 2 --bitrate 7500 --weightp 0 --bframes 3 --nal-hrd vbr --vbv-maxrate 18000 --vbv-bufsize 18000 --level 4.1 --keyint 24 --b-pyramid strict --slices 4 --aud --open-gop bluray --stats "statsFile.stats" --fps 24000/1001 --force-cfr --sar 1:1 --subme 9 --me umh --ref 4 --direct auto --b-adapt 2 --trellis 2 --psy-rd 1:0.25 --partitions all
All settings can also be found in the Log.
stinman
7th September 2010, 05:59
I am no x264 expert and don't know that much. So I can't explain why something happens. Anyway this are the presets that are delivered since 10.08.08:
First pass for all speeds:
--pass 1 --bitrate 7500 --weightp 0 --bframes 3 --nal-hrd vbr --vbv-maxrate 18000 --vbv-bufsize 18000 --level 4.1 --keyint 24 --b-pyramid strict --slices 4 --aud --open-gop bluray --stats "statsFile.stats" --fps 24000/1001 --force-cfr --sar 1:1 --direct auto
Fast second pass:
--preset veryfast --pass 2 --bitrate 7500 --weightp 0 --bframes 3 --nal-hrd vbr --vbv-maxrate 18000 --vbv-bufsize 18000 --level 4.1 --keyint 24 --b-pyramid strict --slices 4 --aud --open-gop bluray --stats "statsFile.stats" --fps 24000/1001 --force-cfr --sar 1:1 --direct auto
Medium second pass:
--pass 2 --bitrate 7500 --weightp 0 --bframes 3 --nal-hrd vbr --vbv-maxrate 18000 --vbv-bufsize 18000 --level 4.1 --keyint 24 --b-pyramid strict --slices 4 --aud --open-gop bluray --stats "statsFile.stats" --fps 24000/1001 --force-cfr --sar 1:1 --me umh --direct auto --psy-rd 1:0.25
Slow second pass:
--pass 2 --bitrate 7500 --weightp 0 --bframes 3 --nal-hrd vbr --vbv-maxrate 18000 --vbv-bufsize 18000 --level 4.1 --keyint 24 --b-pyramid strict --slices 4 --aud --open-gop bluray --stats "statsFile.stats" --fps 24000/1001 --force-cfr --sar 1:1 --subme 9 --me umh --ref 4 --direct auto --b-adapt 2 --trellis 2 --psy-rd 1:0.25 --partitions all
All settings can also be found in the Log.
I know they can be found in the log,it's just that on the slow second pass you are using something like x264 preset very slow,the one before placebo and you list the subme 9,what trellis setting it's using, but not for the medium second pass.I could just use it and read the log,but I don't want to waist the time and then be unhappy with problems in dark scenes on a 55' HDTV.I'll find me a small clip somewhere to try first.The encode I started last night is still going,23hrs later,at 89% as long as it took it should be perfect :)
stinman
twazerty
12th September 2010, 23:09
I released AVCHDCoder 10.09.12 today. There are some annoying bugs fixed and there are some new features. But there is more. This is also my first version that I am hosting myself. I rented a server for downloads. This way you don't need to download a new version yourself. You will notified when a new version is available and you can download it directly without starting up your browser. Before downloading you can also see what is fixed etc. I hope you like it. I already claimed www.avchdcoder.com and www.avchdcoder.nl and will be filled with AVCHDCoder information soon.
Downloadlinks:
AVCHDCoder 10.09.12 (http://updates.twanwintjes.nl/click.php?id=12)
AVCHDCoder 10.09.12 (Videohelp) (http://updates.twanwintjes.nl/click.php?id=13)
v10.09.12
Fixed - Multiple bugs in the Movie Search screen. Searching movies works a lot better now.
Fixed - 1080p25 was visible at the Advanced Tab by accident. It is now removed because it is an invalid format.
Fixed - Broken subtitles if: Source is a Seamlessly Branched Blu-ray Disc and you added a srt or ass with HQ Subs enabled.
Fixed - In some cases a pgs subtitles slowly goes out of sync.
Fixed - Sometimes BDSup2Sub creates bad output. This only applies if the PGS sup file was from a Blu-ray disc. AVCHDCoder converted them unnecessary. The result was that the output duration extended with a couple hours. This problem is still there if you resize a BluRay to 720p, only in a small number of cases. (Earth, 9th Company)
Added - A brand new Update mechanism. It's the Advanced Installers update feature. Now you can automatically download new updates.
Added - I rented a new virtual server to serve new updates.
Added - You can now save the log to a file. Open up the Log panel under Tools to save a log file.
Added - A videocropper for Standard Definition material.
Added - beta AVI support.
Updated - Calculating the addBorders method for SD metarial is improved.
Updated - ImgBurn to 2.5.2.0
twazerty
13th September 2010, 12:06
Fixed a stupid bug.
Fixed - Converting srt/ssa on Normal Quality failed. Now it is fixed and you can convert them again.
Downloadlink:
AVCHDCoder 10.09.13 (http://updates.twanwintjes.nl/click.php?id=14)
AVCHDCoder 10.09.13 (videohelp) (http://updates.twanwintjes.nl/click.php?id=15)
subair37
16th September 2010, 09:28
Can you help me with this software i am downloading and installing this software, i am doing a 720p upscale with dts audio , if i do Megui to do the 720p upscale and with mkv merge to mux the audio but i am getting delays when i do tsmuxer to convert to m2ts ,with your software can i add menus and subtitles and get rid of the audio delay .Can you please help me with this .....................One more problem try to install this software in my laptop a window pop up saying cannote install in JRE versions smaller than 1.6 .What is this mean please help me to install this software first, My Laptop is Windows 7 64 bit it is Dual core Pentium 4GB RAM. it is a new laptop.Please help..........
Also with ac3 audio after m2ts file size is gone over 4.3GB it is 4.8 now with the help of this can i get it in to a 4.3GB dvd-R disc.
rotund
17th September 2010, 01:05
Hello.
When I try to use Remux mode it fails every time unfortunately. I know the files are compliant because I usually just use TSMuxer to convert 3 720p .mkv tv episodes into one AVCHD DVD5 disk to watch on my bluray player.
I would really love to use your program to do this instead as it allows me to make a menu but if I can't get remux mode to work it's not worth it as it takes so long to reencode and it's not necessary. (the program works fine if I reencode the video so there isn't a problem with my install)
What happens exactly is I create the disk as normal and select Remux mode for all 3 video files. Then i add the disk to queue and press start.
The extracting progress bar moves to 100% and as soon as that happens I get a popup saying:
Errorcode: 0x0501
An error occured while muxing item.
Do you have any idea what the issue is?
I love your program by the way. It would be the ultimate if I can fix this issue!!
I get the same issue regardless of whether or not I use x86 or x64 mode (both modes work just fine if I reencode, but I only want to remux and create a menu)
Edit:
I forgot my system is:
Windows 7 (64-Bit)
Intel Q9650 3.0ghz Quad-Core @ 4.05ghz
8gb DDR31600
Nvidia Geforce GTX 280
Crappy 300gb sata hard disk
subair37
19th September 2010, 15:24
Hi Friend
Please help me with this when i try to install and configure this .
http://i54.tinypic.com/2py97j6.jpg
Can you please help me where i am gone wrong with this VC1 failed ,how can i resolve this.Please help............
http://i53.tinypic.com/17v1wg.jpg
This is when i put an 4.3GB mkv file muxed with dts audio using mkv merge and put it to convert to m2ts so that i can play in my blueray player.But i am getting this error.Please help..........................
NexGen76
22nd September 2010, 03:26
I'm getting this error when i try to install AVCHD Coder 10.09.14 Setup exe. I'm using Windows 7
AVCHD Coder can not be Installed on system with JRE version smaller than 1.6
Thxs
Atak_Snajpera
22nd September 2010, 09:58
AVCHD Coder can not be Installed on system with JRE version smaller than 1.6
www.java.com
subair37
22nd September 2010, 11:41
hi
I have susceessfully converted my 4.3GB mkv file with dts audio to blueray , but the problem is in my 50 inch Pioneer Plasma tv i am only getting a box sized picture in the middle of the screen , how can i adjust picture aspect ratio with these software , Where is the sett8ings on this software Please help.................
zecleaner
1st October 2010, 23:11
The video re-mux mode, when is it selectable? I was able to select it with one mkv file, but wasn't with any other. Thanks. :)
DJ-1
4th October 2010, 08:57
Hi, I tried this program out Last night, seemed to work ok... does it have any CUDA support ?, or any plan to put it in ?..
Cheers.
Also I tried the decoder test and it fails on 32bit vc1 and passes other 2, what do I need for the vc1 to work, also all 3 fail when running a 64bit tests
my Info:
Pc running Q6600 CPU
CUDA capable Graphics card
Windows 7 Home Premium 64bit
4GB Ram
parioch
4th October 2010, 09:52
Hi, I tried this program out Last night, seemed to work ok... does it have any CUDA support ?, or any plan to put it in ?..
Cheers.
Also I tried the decoder test and it fails on 32bit vc1 and passes other 2, what do I need for the vc1 to work, also all 3 fail when running a 64bit test...?
Follow the installation guides. Remark: there are particular things has to make if you are on Windows 7
DJ-1
4th October 2010, 13:01
Follow the installation guides. Remark: there are particular things has to make if you are on Windows 7
Ok, what about CUDA ?
NexGen76
5th October 2010, 17:40
Getting error when i load my MKV source.....There seem to be a error in your chapter list....How do i fix this ?Thxs
twazerty
6th October 2010, 23:48
Getting error when i load my MKV source.....There seem to be a error in your chapter list....How do i fix this ?Thxs
Was a little bit busy lately.
Sometimes you get this error and it is easy to fix mostly. In the streams tab go to the chapter tab. And hit "Reset Chapters", now the information is loaded again and the error should disappear.
@subair37, there are no aspect ratio settings. Check your ffdshow settings. Looks like they are messed up.
@zecleaner, The remux mode only appears if the source has the right resolution and framerate. (1280x720 23.976 for example) And 1920x816 isn't compatible so remux is not available
@DJ-1, when x264 goes CUDA I'll add support but I don't think it's going to happen.
dracore
7th October 2010, 21:34
im having a strange problem .. help if you can!
i load a bdmv folder into avchdcoder and i can go through all steps fine, untill i get to the final part and it will not let me add the film to the final queue to be encoded .. i have used the prog aover 200 times without any problems but now all i get is this problem
thanks
nosnoop
23rd October 2010, 09:04
When I try to use Remux mode it fails every time unfortunately.
Errorcode: 0x0501
An error occured while muxing item.
I also got the same error.
And in my case, I found out where the problem was. Somehow in remux mode, after the extraction, the xxxx.264 file is missing in the temp folder! So there is no video file to mux!
twazerty
26th October 2010, 22:23
I also got the same error.
And in my case, I found out where the problem was. Somehow in remux mode, after the extraction, the xxxx.264 file is missing in the temp folder! So there is no video file to mux!
Correct. Only fails if your source is MKV. M2ts and Blu-ray are working fine. Will be fixed in next release. Little bit busy now so no time for AVCHDCoder :(
Wildfire
7th November 2010, 11:09
Anyone else having problems that after encoding (not remuxing!) there's no output in the output folder? I wanted to encode a MKV to an AVCHD ISO, yet whet AVCHDCoder was done there was nothing in the output folder.
Yes, I have installed AVCHDCoder as per the instructions, taking special care for all the Windows 7 and 64-bit steps.
-- Edit: I now see where things go wrong. In the log, I can see that the last command is the actual creation of the ISO itself. However, due to the pipeline symbol in the /SRC switch, Windows Server 2008 R2 (on which I performed the encode) assumes anything behind it is basically a new command sequence. Of course, "C:\TEMP\Knight and Day - disc\CERTIFICATE" isn't a valid command and so it aborts. Leaving me with no ISO.
I'll build it manually now using ImgBurn, but I suggest you look into looking the /SRCLIST switch or something like that to prevent this.
The command line AVCHDCoder tried to use:
"C:\Program Files (x86)\AVCHDCoder\Tools\ImgBurn\ImgBurn.exe" /MODE BUILD /BUILDMODE IMAGEFILE /SRC "C:\TEMP\Knight and Day - disc\BDMV"|"C:\TEMP\Knight and Day - disc\CERTIFICATE" /DEST F:\Encoded movies\knight.iso /FILESYSTEM "UDF" /UDFREVISION "2.50" /VOLUMELABEL "Knight and Day" /START /NOIMAGEDETAILS /CLOSE
twazerty
8th January 2011, 15:38
Hi everybody. It has been a while ago since my last update but today a new version is available. This one is a small but relative important update. You can download the latest version via AVCHDCoder. Go to Help --> Check for updates. New users can download the latest version by any of the following mirrors:
AVCHDCoder 11.01.07 Setup.exe (124MB) - Brand new mirror from www.avchdcoder.com (http://updates.twanwintjes.nl/click.php?id=18)
AVCHDCoder 11.01.07 Setup.exe (124MB) (MediaFire) (http://www.mediafire.com/?6t932aav5gg170o)
This is the changelog:
v11.01.07
Added - Support for LPCM13824Kbps, LPCM6912Kbps, LPCM2304Kbps, LPCM1536Kbps and DTS-HD HR 2073Kbps
Added - Untouched for all LPCM and True-HD streams.
Added - Around 500 new formulas, AVCHDCoder now supports over 2000 audio combinations.
Fixed - If you search for a movie with the "Search Movie" feature and the title contains a $ sign then AVCHDCoder freezes after hitting the "Use selected movie" button
Fixed - Converting WMV with dbPoweramp R14 resulted in an error. R13 worked fine.
Fixed - MKV remux mode resulted in an error.
Updated - ImgBurn to 2.5.4.0
Wildfire
19th January 2011, 23:00
Thanks for the new version, but it would seem there's still a problem with the intro editor.
As far as I've been able to determine, the cause is likely some corrupt cover art image which either freezes AVCHDCoder for quite some time, or just locks it up completely.
This happens when the corrupt or problematic cover art is the first one available. If it's second (or later) in line of the available cover art, the freezing/locking issue will occur when you're trying to preview that specific cover art.
I know you're very busy, so whenever you've got some spare time which you're able to devote to this issue (and, obviously, also willing to do so) I'd appreciate it very much.
TIA!
mbc0
12th March 2011, 14:13
Hi,
I am just trying out this program for the following reasons, can you please offer any advice towards this?
I am looking to encode my m2ts files ripped directly from Blu-Ray Disks with a constant quality (The quality I am aiming for is that of the ones you can download from the internet by a guy called NPW & other various people) They seem to get absolutely perfect 720p quality on my 50" Plasma of around an average 90 min movie to around 2.5GB. when I select that kind of filesize in your program I get warned that the quality is too low & it is encouraging me to select a file size of around 8GB or more! If you can offer any advice or at least tell me if this is possible I would really appreciate it....
Many Thanks
Big Vern
12th March 2011, 15:05
Used it yesterday for the first time. This is what I have been looking for, to put a few HD films on a blu-ray disc with a simple menu, nothing too fancy!
A couple of things though. Is it possible to change the menu to suit my needs? I saw a button to change the background image, on the intro screen, but although I set it to the image I wanted, it would not change! I could only change that small cover image in the bottom left-hand side.
Also, I made a blu-ray disc with 3 films on & menu, and set it to output as an image file. I mounted the image file in slysofts virtual drive. When I tried to load it into WinDVD, it said "incompatible media"???
mbc0
14th March 2011, 18:28
Hi,
I am just trying out this program for the following reasons, can you please offer any advice towards this?
I am looking to encode my m2ts files ripped directly from Blu-Ray Disks with a constant quality (The quality I am aiming for is that of the ones you can download from the internet by a guy called NPW & other various people) They seem to get absolutely perfect 720p quality on my 50" Plasma of around an average 90 min movie to around 2.5GB. when I select that kind of filesize in your program I get warned that the quality is too low & it is encouraging me to select a file size of around 8GB or more! If you can offer any advice or at least tell me if this is possible I would really appreciate it....
Many Thanks
twazerty
8th May 2011, 19:41
Hi,
Finally I found the time to continue with the development of AVCHDCoder. Some of the problems mentioned in this topic are also fixed. This is the changelog for version 11.05.07:
v11.05.07
Added - Remux mode for VC-1 and MPEG2 stream. H264 was already possible
Added - LPCM to DTS encoding for M2TS and BDMV mode. Surcode DVD DTS is required (Commercial software) and a registrered version of AVCHDCoder is required.
Added - Add your own items to the Tools list. You can add files and folders to the list. A registrered version of AVCHDCoder is required.
Fixed/Changed - Seamless Branched Blu-ray discs caused sync problems or errors while demuxing. I replaced tsMuxer with Eac3to for demuxing.
Fixed - Force subtitles track #1 can now be disabled in the settings (finally)
Fixed - On Windows Server editions no iso was created with ImgBurn because of a pipe | problem. Changed it to SRCLIST and now it should be fixed.
Changed - Settings file upgraded to another version (all current settings are lost).
Changed - AVCHDCoder Project Files (Saved jobs) changed to another version. Previous saved Project Files are not compatible with the new system.
Changed - Audioconversion with eac3to will now show the actual progress (percentage) instead of a looping progress bar.
Changed - Some other minor cosmetic changes
Updated - ImgBurn to 2.5.5.0
Updated - x264.exe 32 bit and 64 bit to r1947
Updated - ffdshow x86 and x64 to rev3760
Updated - eac3to to 3.24
Downloads:
AVCHDCoder 11.05.07 Setup.exe (124MB) (http://updates.twanwintjes.nl/click.php?id=21)
AVCHDCoder 11.05.07 Setup.exe (124MB) (Videohelp) (http://updates.twanwintjes.nl/click.php?id=23)
Wildfire
8th May 2011, 21:39
Thanks for the new update. I'm very glad with AVCHDCoder: I can easily encode MKV and Blu-ray to AVCHD at high quality. Thanks for all your efforts!
---
While I'm here I might as well ask a question: the program states it support TS as source, however I assume this is with several limitations. I tried a TS from my HDTV recorder (Humax iHDR-5050C) but AVCHDCoder only pops up an error that it cannot read the file ("Error reading file."). Probably due to the way the HDTV recorder stores its stuff in the TS file?
twazerty
9th May 2011, 18:41
While I'm here I might as well ask a question: the program states it support TS as source, however I assume this is with several limitations. I tried a TS from my HDTV recorder (Humax iHDR-5050C) but AVCHDCoder only pops up an error that it cannot read the file ("Error reading file."). Probably due to the way the HDTV recorder stores its stuff in the TS file?
Yes, .ts files are supported in a limited way. If the source is OK the conversion works but many recorders create a file with strange audio delays. I also own the Humax recorder and it is very hard to get the file right. I get many sync problems if I demux the file or convert it with other applications. There is 1 application (forgot the name) that can regenerate a cleaner file from Humax iHDR-5050C source files. But even then it is tricky to get a perfect conversion.
Edit: It also depends what channel you record with the humax. Each channel is saved in slightly different format so for each channel another approach is needed. (Stupid cable company)
Wildfire
17th May 2011, 23:38
Just donated this week, love the program. However, besides the .TS issue as stated above, I've never been able to have AVCHDCoder make an ISO. Somehow it just refuses to do so. I have to manually start IMGBurn to build an ISO using the BDMV and STREAM folders from the TEMP folder. Anyone else with this issue?
Wildfire
3rd July 2011, 10:10
^ bumping the topic ^
Twazerty: two issues - AVCHDCoder still doesn't make ISO's on my Windows Server 2008 R2 system. Not really a big problem, I just do it with ImgBurn afterwards. As not many people will be using a server OS, I can understand if this issue doesn't get fixed. Other issue can be fixed, I'd like to be able to have an intro but no menu. AVCHDCoder only lets you choose between a menu and an intro, and no menu and no intro. In a future version of AVCHDCoder would you please include an option to only have an intro and no menu?
-- Edit: I have had contact with twazerty through e-mail. The 'intro but no menu'-option will probably be included in a future version of AVCHDCoder.
Update: concerning the IMGBurn / Windows Server 2008 R2 issue, I saw in the logs that the destination-switch does not use quotation marks:
/DEST D:\AVCHDCoder films\movie\movie.iso
Should that not be:
/DEST "D:\AVCHDCoder films\movie\movie.iso"
twazerty
6th July 2011, 23:48
^ bumping the topic ^
Twazerty: two issues - AVCHDCoder still doesn't make ISO's on my Windows Server 2008 R2 system. Not really a big problem, I just do it with ImgBurn afterwards. As not many people will be using a server OS, I can understand if this issue doesn't get fixed. Other issue can be fixed, I'd like to be able to have an intro but no menu. AVCHDCoder only lets you choose between a menu and an intro, and no menu and no intro. In a future version of AVCHDCoder would you please include an option to only have an intro and no menu?
-- Edit: I have had contact with twazerty through e-mail. The 'intro but no menu'-option will probably be included in a future version of AVCHDCoder.
Update: concerning the IMGBurn / Windows Server 2008 R2 issue, I saw in the logs that the destination-switch does not use quotation marks:
/DEST D:\AVCHDCoder films\movie\movie.iso
Should that not be:
/DEST "D:\AVCHDCoder films\movie\movie.iso"
Looks like that could be the solution. I didn't notice it. On normal windows it just runs fine without the quotes. But it is better if they are there. Can you test something out for me?
Open cmd and past the imgburn command (can be found in the log) so you get this:
- WinKey + R (Run)
- cmd
- complete command WITH and WITHOUT quotes. If it fails without quotes and passes with quotes then we found it.
Wildfire
7th July 2011, 09:03
Looks like that could be the solution. I didn't notice it. On normal windows it just runs fine without the quotes. But it is better if they are there. Can you test something out for me?
Open cmd and past the imgburn command (can be found in the log) so you get this:
- WinKey + R (Run)
- cmd
- complete command WITH and WITHOUT quotes. If it fails without quotes and passes with quotes then we found it.
As I ran an encode tonight, I could test it right away... and I have now discovered what went wrong.
I tried not using the /CLOSE switch, so I could actually see what error ImgBurn encountered. Turns out it had nothing to do with the quotation marks! The problem was that I had my own copy of ImgBurn on the system, which I had configured to use WNASPI32.DLL as ASPI-interface. It then uses that file if present in its own folder. Apparently, those settings are saved in the registry or some default location - your ImgBurn copy used those settings too. As your copy of ImgBurn did not have the WNASPI32.DLL file in its folder, it didn't work -- it had no access to the ASPI interface.
After copying WNASPI32.DLL to your ImgBurn's folder, it worked just fine -- without the quotation marks for the /DEST switch. However, to be on the safe side I'd recommend using them anyway. I tested it with and without quotation marks and both ways worked fine.
As for the ASPI-interface: the copy of ImgBurn used by AVCHDCoder apparently uses settings from an user-installed ImgBurn. Would it not be better to check if ImgBurn is installed on the user's system already and then using that copy of ImgBurn? At least that way you'd prevent the kind of error I encountered.
-- Edit: ImgBurn's default setting is to use Microsoft's SPTI. As that is present in Windows itself, ImgBurn will work regardless of location on your system. However, if you configure for Nero's WNASPI32.DLL the file needs to be present in the folder of ImgBurn itself. I don't know if the same applies to the ASAPI, ElbyCDIO or Patin-Couffin ASPI interfaces.
Wildfire
9th July 2011, 10:43
Small kick for another question: I just saw that BDtoAVCHD has added 3D support so you can create 3D AVCHD or MKV's (side-by-side). Will AVCHDCoder add support for this feature too?
twazerty
9th July 2011, 18:24
Small kick for another question: I just saw that BDtoAVCHD has added 3D support so you can create 3D AVCHD or MKV's (side-by-side). Will AVCHDCoder add support for this feature too?
Currently not but you can expect it in the next release. Blu-ray MVC to AVCHD SBS. Currently testing and investigating everything. Don't know about the Blu-ray subs yet (if they can be used or not)
Wildfire
9th July 2011, 19:53
Currently not but you can expect it in the next release. Blu-ray MVC to AVCHD SBS. Currently testing and investigating everything. Don't know about the Blu-ray subs yet (if they can be used or not)
No problem, it's not as if I want this feature implemented yesterday :)
When it is introduced, I've got a few 3D Blu-rays here that I could try to convert. I hope it'll work just as well as with normal Blu-rays :)
rjn092550
19th July 2011, 03:30
AVCHDcoder was exactly what I was looking for. 99% of my BluRay movies have been backed-up on my server. For some reason, get an error when trying to shrink 'Star Trek' and 'Kingdon of Heaven', and 'Quantum of Solace' won't process correctly (video freezes, audio ok on playback). Has anyone else reported problems when trying to process these movies? I use AnyDVD to rip disc to ISO, mount ISO and access BDMV folder from there. Run under Windows 7 64 w/icore 7 Dell.
Wildfire
19th July 2011, 08:13
AVCHDcoder was exactly what I was looking for. 99% of my BluRay movies have been backed-up on my server. For some reason, get an error when trying to shrink 'Star Trek' and 'Kingdon of Heaven', and 'Quantum of Solace' won't process correctly (video freezes, audio ok on playback). Has anyone else reported problems when trying to process these movies? I use AnyDVD to rip disc to ISO, mount ISO and access BDMV folder from there. Run under Windows 7 64 w/icore 7 Dell.
I own the UK retail release of Star Trek (with Dutch subtitles). I have no problems with this movie. I also use AnyDVD, however I do not rip to ISO but have AnyDVD HD rip the file structure to hard drive.
Pulp Catalyst
2nd August 2011, 00:59
can this program output to MKV file (movie only) as i don't actually want a BD Structure disk?
Wildfire
2nd August 2011, 06:52
can this program output to MKV file (movie only) as i don't actually want a BD Structure disk?
No, it can't. If you want to output to MKV, you could take a look at BDtoAVCHD which does have the option to output to MKV.
Pulp Catalyst
2nd August 2011, 16:02
unfortunately BDtoAVCHD in MKV mode only supports CRF (1 pass) so can't do target filesize option,
Handbrake & BDRebuilder corrupts a certain point in transformers
i did post error in handbrake forum my post is at the bottom
https://forum.handbrake.fr/viewtopic.php?f=11&t=21690
transformers source is ok checked, about 4 frames corrupts always in the same place when converting?
thanks for the reply, is there a program that can convert a BD structure to a MKV file without re-compressing?
setarip_old
2nd August 2011, 17:53
is there a program that can convert a BD structure to a MKV file without re-compressing?MakeMKV...
Pulp Catalyst
2nd August 2011, 20:52
tried that but said something about trial activated, i was hoping for a more open source option, and not commercial product.
twazerty
5th August 2011, 22:14
I released a new version.
You can download AVCHDCoder 11.08.03 here:
AVCHDCoder 11.08.03 Setup.exe (80MB) (http://updates.twanwintjes.nl/click.php?id=30)
AVCHDCoder 11.08.03 Setup.exe (80MB) (Videohelp) (http://updates.twanwintjes.nl/click.php?id=32)
Log: Changelog (http://tools.twanwintjes.nl/index.php?page=changelog-2)
Wildfire
5th August 2011, 23:02
Yeah, I received your e-mail about it last Thursday. Thanks for implementing the "intro but no menu"-option, I really appreciate it as I never use a menu :)
unrox
18th August 2011, 13:59
I tried to make a copy of Breaking Bad. The only thing that was copied was the interviews. Is there a setting for copying disk with serperate movies, this was 4 segements.T.I.A.
twazerty
2nd September 2011, 23:53
Currently I am investigating the possibility to bring AVCHDCoder to linux (and later on to Mac OS X). Because I can't use Avisynth and because there is no eac3to for linux I need to figure out how the job can be done. Eac3to runs via wine OK. It looks like I can bring most features to a linux version but the following is not possible:
High Quality subtitles (because avisynth is used). If somebody knows how let me know.
Before I am going to update AVCHDCoder so it is compatible with linux I need to know if it will be used. First I focus on Ubuntu but other distro's should also work. So I opened a poll on my website: http://tools.twanwintjes.nl/
If there are enough people interested I will start with the development.
rendez2k
9th October 2011, 18:52
Quick question - its a while since I've used AVCHDCoder and the last time I used it (and one reason why I stopped) is that it always encoded the video, even if it was AVCHD complaint. Is that still the case with the latest version?
Wildfire
15th October 2011, 09:15
I wanted to convert a MKV to AVCHDCoder, however when I've selected the MKV a window pops ups saying that TSMuxer has crashed. As this is even before you actually start doing encoding, there's no log to tell what's the cause... :(
(FYI: I've already encoded many MKV's and Blu-rays to AVCHD so the program usually works just fine)
I'm using the latest version of AVCHDCoder, v11.08.03.
Wildfire
18th November 2011, 09:46
I'm going to contact the author by e-mail too, as he apparently does not frequent the forum often.
Lately, I have noticed some AVCHD ISO's do not show subtitles according to MediaInfo. They are, however, present.
I cannot find where, but I read somewhere that apparently when MediaInfo does not show subtitles, there are some stand-alone players which also do not show subtitles.
I'm wondering if this is purely an AVCHDCoder issue, or if the problem lays somewhere else.
setarip_old
19th November 2011, 02:55
@Wildfire
Hi! when I've selected the MKV a window pops ups saying that TSMuxer has crashed.
1) What are the audio, video and (if any) subpic stream formats of the .MKV file that you created?
2) Does the .MKV play properly on your system?
Wildfire
19th November 2011, 10:57
@Wildfire
Hi!
1) What are the audio, video and (if any) subpic stream formats of the .MKV file that you created?
2) Does the .MKV play properly on your system?
As it's been a month since I posted the question, I've already deleted the MKV. Don't even know anymore which movie it was... I only know that I watched it without problems.
Wildfire
21st December 2011, 10:22
@Wildfire
Hi!
1) What are the audio, video and (if any) subpic stream formats of the .MKV file that you created?
2) Does the .MKV play properly on your system?
You mean the MKV which was the source for my AVCHD encode?
Well, I now have two MKV's which I have converted with AVCHDCoder (v11.12.17) and both resulting AVCHD discs do not have subtitles according to MediaInfo v0.7.52. However, when I play them using PowerDVD or on my PS3, subtitles work just fine. And according to MediaInfo, the MKV themselves do have subtitles.
And yes, the files themselves also play just fine.
MediaInfo from one of the MKV files:
General
Unique ID : 188806842818115690746004399590825398274 (0x8E0AE00EFFAC26AAA97E2F4E87F61002)
Complete name : movie.mkv
Format : Matroska
Format version : Version 2
File size : 8.13 GiB
Duration : 1h 46mn
Overall bit rate : 10.9 Mbps
Movie name : movie
Encoded date : UTC 2011-12-19 06:47:29
Writing application : mkvmerge v3.3.0 ('Language') built on Mar 24 2010 14:59:24
Writing library : libebml v0.8.0 + libmatroska v0.9.0
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 46mn
Bit rate : 8 784 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.177
Stream size : 6.37 GiB (78%)
Title : movie
Writing library : x264 core 120 r2120 0c7dab9
Encoding settings : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=8784 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : No
Forced : No
Audio #1
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 1h 46mn
Bit rate mode : Constant
Bit rate : 1 510 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossy
Delay relative to video : 11ms
Stream size : 1.12 GiB (14%)
Title : DTS
Language : English
Default : Yes
Forced : No
Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 1h 46mn
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 487 MiB (6%)
Title : AC3
Language : English
Default : No
Forced : No
Text #1
ID : 4
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : SUBTITLES
Language : Dutch
Default : Yes
Forced : No
Text #2
ID : 5
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : SUBTITLES
Language : English
Default : No
Forced : No
Menu
00:00:00.000 : en:00:00:00.000
00:04:33.356 : en:00:04:33.356
00:07:26.780 : en:00:07:26.780
00:11:08.960 : en:00:11:08.960
00:14:20.818 : en:00:14:20.818
00:16:01.043 : en:00:16:01.043
00:17:44.814 : en:00:17:44.814
00:20:15.464 : en:00:20:15.464
00:22:23.634 : en:00:22:23.634
00:24:11.909 : en:00:24:11.909
00:26:55.781 : en:00:26:55.781
00:30:31.997 : en:00:30:31.997
00:34:17.097 : en:00:34:17.097
00:36:35.026 : en:00:36:35.026
00:38:40.735 : en:00:38:40.735
00:41:28.236 : en:00:41:28.236
00:42:51.068 : en:00:42:51.068
00:46:55.146 : en:00:46:55.146
00:49:49.403 : en:00:49:49.403
00:52:00.951 : en:00:52:00.951
00:53:57.609 : en:00:53:57.609
00:57:30.364 : en:00:57:30.364
01:00:54.234 : en:01:00:54.234
01:03:22.716 : en:01:03:22.716
01:07:42.392 : en:01:07:42.392
01:10:21.259 : en:01:10:21.259
01:12:34.225 : en:01:12:34.225
01:15:35.322 : en:01:15:35.322
01:18:10.227 : en:01:18:10.227
01:22:34.032 : en:01:22:34.032
01:25:23.410 : en:01:25:23.410
01:31:28.358 : en:01:31:28.358
01:34:35.295 : en:01:34:35.295
01:36:10.556 : en:01:36:10.556
01:41:28.332 : en:01:41:28.332
Wildfire
21st December 2011, 10:23
(whoops... was supposed to be an edit to my previous post, sorry)
energy30
22nd December 2011, 08:46
i have mkv and mp4 files with HE-AAC audio, AVCHDCoder wont recognise HE-AAC only LC-AAC any ideas ?
Chudz
4th January 2012, 19:11
I have a problem with ACHDCoder latest version. It encodes fine but when I add subtitle files it gets to 100% on the Converting Subtitles step and doesn't go any further. There are no error message or anything what could I do to fix this?
djmasturbeat
31st January 2012, 04:28
@twan-
i see you commented in the avs2bdnxml, so i am curious if this tool is implemented in AVCHDCoder.
I don't see it listed in the tools that it uses, but avs2bdnxml is ideal to include as it is the only free subtitle tool to output subs in BD spec (it doesn't overflow the 4 MB buffer). I see other tools in your list including a commonly-used subtitle tool that does overflow the buffer (which will create flickering) because they make separate epochs for continuous-time/overlapping subs, and the epochs are too close together.
since we are already required avisynth, I hope it shouldn't be a problem other than not being able to use it in x64 rebuilds since I don't think there is a 64 bit compile of avs2bdnxml. [maybe for x64 bit builds there could still be the option to use avs2bdnxml by having that done in x86 in its own thread?... or whatever. I am by no means a programmer.]
I personally would use your tool but forfeit using x64 altogether if it was the only way to include avs2bdnxml.
so anyway, it gives me hope to start seeing a viable GUI solution for avs2bdnxml if you choose to include it.
or can you tell me how to use avs2bdnxml if it is already implemented?
thanks
borst_one
3rd February 2012, 11:42
Hey,
I'm trying to transcode holiday videos for a friend. Whilst I was very happy to find your tool which offered all the option I was looking for (reencoding as AVCHD compliant dvd-9), I only get it done to transcode with the 32bit version of x264. That leads to a cpu usage of just 30% on my AMD PhenomII sixcore. A forum user recommended I should try RipBot. That tool works fine with the 64bit version of x264 and due to that, I'm able to encode the video media with roundabout 32 fps in contrast to ~10 fps with AVCHDCoder.
Since your tool offers me the option to activate 64bit encoding in the settings, I wonder why x264.exe is just launched as 32bit version when the encoding starts. I even tried to overwrite the 32bit version with the 64bit version. That solution led to an general error message. The decoder tester which you added to the tool says everything works fine...
A user in another forum wrote the following:
Because the author(s) didn't include the 64bit pipe . If the author(s) use avisynth in the back end, you need some other programs to pipe it to 64bit x264 .
So here I am, first of all wondering what the 64bit encoding option in the settings is for and secondly to ask nicely if anyone could provide me with a little help.
Oh and I would like to know if it is possible to encode files just with 1 pass and not a two pass method!
Cheers,
borst_one
mingus
24th February 2012, 08:57
@Wildfire
Hi!
1) What are the audio, video and (if any) subpic stream formats of the .MKV file that you created?
2) Does the .MKV play properly on your system?
Same thing.
They play fine, but I get the TSMuxer has crashed on some files.
Wildfire
24th February 2012, 10:32
Same thing.
They play fine, but I get the TSMuxer has crashed on some files.
Which reminds me that I never got an answer from anyone, unfortunately enough. If you're reading this, Twazerty, any idea what the issue is?
The TSMuxer thing is actually not quite that important to me, as it only happened once. More important is the subtitles-issue: even though subtitles are present, quite a lot of encodes play without subtitles on several mediaplayers. Playing them on my PC, however, clearly shows subtitles are present.
Problem can easily be verified by using MediaInfo: every AVCHD which suffers from this problem shows up in MediaInfo as having no subtitles.
Selur
2nd March 2012, 08:45
Integration of AVCHDCalculator to calculate the bitrate very accurate. So you are sure the discs are not oversized or to much undersized. (Unique calculator, first in the world)
if it's not a state secret for you: What formula do you use to calculate the AudioOverhead of trueHD audio streams?
J-Man
3rd March 2012, 03:52
I just downloaded AVCHDCoder and can't get past the first step. I'm attempting to open a Blu-Ray, so I've clicked on the "BDMV Mode" button on the input tab. Then I selected the BDMV folder from my disk, and it recognized the stream and put that information into the "Playlist to convert" field. But (1) There's nothing in the field above it (where I believe the location of the folder should be shown), and (2) when I click on "SET", nothing happens. I can't get to the next step, which should be "Select Streams."
Wildfire
17th April 2012, 09:08
I'm using AVCHDCoder v11.12.27 and I just came across a problem: when converting a movie x264.exe crashed, apparently just when starting the 2nd pass encode. The error message is displayed below (in Dutch, as it's a Dutch OS and the author himself is Dutch so it's not a problem):
Probleemhandtekening:
Gebeurtenisnaam van probleem: APPCRASH
Naam van de toepassing: x264.exe
Versie van toepassing: 0.0.0.0
Tijdstempel van toepassing: 4ee1abfc
Naam van foutmodule: splitter.x64.ax
Versie van foutmodule: 1.9.63.13
Tijdstempel van foutmodule: 49857a1b
Uitzonderingscode: c0000005
Uitzonderingsmarge: 00000000000243d6
Versie van besturingssysteem: 6.1.7601.2.1.0.274.10
Landinstelling-id: 1043
Aanvullende informatie 1: ccf0
Aanvullende informatie 2: ccf0ca16279005ca03f853d4c24b25d2
Aanvullende informatie 3: 707a
Aanvullende informatie 4: 707a915b98aaca9aea7dc5fa6439518d
Any idea what went wrong? (you could PM me for more info)
-- Edit: I've updated the 32- and 64-bit x264 EXE's via www.x264.nl; let's see if that will work. Of course I have kept the original EXE's in backup :)
Wildfire
23rd April 2012, 08:17
Just to let you know, with the new x264 EXE's the encode went just fine.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.