View Full Version : multiAVCHD - author Blu-ray/AVCHD (Blu-ray players, camcoders, Viera TV) + (HD) DVD
G_M_C
8th January 2009, 15:18
Yes, next compliant resolution. ~528p will become 576p
height<480 = 480p
480<height<576 = 576p
576<height<720p = 720p
720<height<1080 = 1080p
Nothing can be done for the annoying green bar, yet, but this way subtitles are shown and saps play it better.
----
Later I will rework the way *TS files are imported, because now it seems to have problems with audio out-of-sync or not importing properly at all. Everything is fine with MKV so far.
why not adjust the resolution according to the width?
if width=1280 -> height=720
if width=1920 -> height=1080
Judging by width seem the better option to me;
For instance; A clip with resoution 1280 x 544 is actually a clip that was 720p, but was cropped to 2,35:1 aspect ratio.
In this case you know that the original hight must have been 720, simply because of the width. So adding borders ((720 -/- 544)/2) for top + bottom is best. Same thing can go for 1080p (width beeing 1920).
Exception is the 1440x1080 4:3 (anamorphic or not). And speaking of that resolution; I grabbed a cap from a BBC HD transmission, wich is 1440x1080p anamorphic, and simply muxed the sream in tsMuxeR to BD structure. And my BD30 plays it fine @ 1920 x 1080p, without reencoding :)
deank
8th January 2009, 15:28
Okay... I changed it in build 134.
G_M_C
8th January 2009, 15:37
Okay... I changed it in build 134.
Thx, but i'd like to warn you in advance about complaints you can get. When the original was badly cropped and, even worse, badly resized ... just adding borders wont help. I forsee some complaints of movies not beeing correct AR ;)
In that case, and when you are at the point that you want to add re-encoding funtions to your app; People should write their own resize/AVISynth command script to correct the problem. And therin lies a feature request for the future, but only when you are able to support stuff like this and come around to it, so no hurry; I'd would like to see an abillity to review and/or correct the AVISynth script before executing the reencode or whatever.
Forrest
8th January 2009, 15:39
Unfortunately a clip 1280x532 is not played on PS3 as 720p, but there are subtitles that are not seen in build 132-133
deank
8th January 2009, 15:39
You probably misunderstood the point of using this option.
It doesn't resize nor change m2ts/video streams in anyway. It just fixes CLIP and MPLS files with correct values, because tsMuxers leaves [HEIGHT] blank if input MKV is not with compliant height.
Please, read my post again. (http://forum.doom9.org/showpost.php?p=1234112&postcount=216)
G_M_C
8th January 2009, 15:43
You probably misunderstood the point of using this option.
It doesn't resize nor change m2ts/video streams in anyway. It just fixes CLIP and MPLS files with correct values, because tsMuxers leaves [HEIGHT] blank if input MKV is not with compliant height.
Ahhh, sorry for the interuption then. I'll reask the question when and if re-encoding eventually comes into play ;) But my idea about using the width to determine the correct hight still stands.
And another thing; Does setting that hight even matter to non-PS3 SAP's ? I'd like to try that with my BD30 than, but i have the feeling it wont work ... since the BD30 seems to behave in a non-standard way.
deank
8th January 2009, 15:47
Ahhh, sorry for the interuption then. I'll reask the question when and if re-encoding eventually comes into play ;) But my idea about using the width to determine the correct hight still stands.
It is no problem to add reencoding with x264 and avisynth. I just want to keep away from re-encoding. :)
And another thing; Does setting that hight even matter to non-PS3 SAP's ? I'd like to try that with my BD30 than, but i have the feeling it wont work ... since the BD30 seems to behave in a non-standard way.
In fact patching with correct value was suggested by Samsung BD player user, not talking about PS3 at all. But it seems that it fixes subtitles in PS3 :)
... SamSung BD-P1400 and Earlier Sony models ...
asherungar
8th January 2009, 15:54
what about the green bar in PS3...
come on...we can do it!!
deank
8th January 2009, 16:17
Okay... Yes, we can.
I just made it on Playstation3.
I decided to fill the primary video buffer with 1 second black video 1920x1080p (about 24KB) before each title, so when next title starts the bottom is not green but black, so no green bars. :)
robshot
8th January 2009, 16:26
Okay... Yes, we can.
I just made it on Playstation3.
I decided to fill the primary video buffer with a 1 second black video 1920x1080p (about 24KB), so when next title starts the bottom is not green but black, so no green bars. :)
How did you do that? :) Care to explain it step by step? Are those green bars located both on top and bottom? or just bottom (double sized black bar)?
deank
8th January 2009, 16:30
I will add it in next release.
I just created AVCHD folder with 1 m2ts file of blank video. If it is played before each not-compliant title it will fill the bottom with black so next title will have no artifacts.
Yes, the video is not centered, but aligned at the top. Just the annoying green bar is not there.
I don't know if it will work for SAPs.
robshot
8th January 2009, 16:38
I will add it in next release.
I just created AVCHD folder with 1 m2ts file of blank video. If it is played before each not-compliant title it will fill the bottom with black so next title will have no artifacts.
Yes, the video is not centered, but aligned at the top. Just the annoying green bar is not there.
I don't know if it will work for SAPs.
Wow, quick reply...
How about addiing something similar to another program, that will check whether mkv is compliant or not for PS3. You see, there are 2 issues at hand here. First the resolution - which is not actually not-compliant with PS3, since it can still output the AVCHD created with that kind of video, albeit green bars.
Second, the ones that created blank video with only sound, this is not caused by resolution, but the way the mkv originally created (something with x264 encoding parameter). And no, this is also not caused by the not-4.1 profile - as this can be easily changed by tsmuxer.
A program called GOTSent will immediately warned "This video is not compliant/playable on PS3)" when someone input the MKV with certain x264 parameter that won't cut it for PS3. If you can have this feature, i think there won't be any more case of "my video doesn't show, only audio." :)...
just my 2 cents... Great Proggie. Can't wait to use the black bar cheat :)
deank
8th January 2009, 16:43
You can try it yourself:
Download this RAR: avchd_black.rar (http://multiavchd.deanbg.com/avchd_black.rar)
It containts a folder. Extract it.
In multiAVCHD add the extracted folder before EACH mkv file, that does not have compliant resolution.
If your first MKV is such non-compliant file, add the folder as a first title.
The downside of this is that the blank video occupies one TITLE. I will add it in next release so it will be added before each non compliant mkv, without losing title space. :)
Dean
---
about compatibility check - i will add it... mediainfo gives precise information on the way MKVs were encoded with x264, so it is easy to detect if the video will not play on PS3.
asherungar
8th January 2009, 16:47
I will add it in next release.
I just created AVCHD folder with 1 m2ts file of blank video. If it is played before each not-compliant title it will fill the bottom with black so next title will have no artifacts.
Yes, the video is not centered, but aligned at the top. Just the annoying green bar is not there.
I don't know if it will work for SAPs.
but i thought you found a way to center the video:
"Interesting find on page 94 of TS specifications (iso 13818-1) is the grid descriptor:...."
"So it allows positioning the video in the lower part of the screen and (probably) making the green bar/artifacts unvisible...
Who knows... we'll see. "
what about that?
deank
8th January 2009, 16:48
You're gettin' pushy, aren't you.
asherungar
8th January 2009, 16:49
you're the one who found that ... :)
robshot
8th January 2009, 16:52
You're gettin' pushy, aren't you.
Can't hold myself to comment on this :). Think about it, Deank... you'll be the first to provide the solution that has been screamed about, searched about, and prayed for... And it also in line with your "stay away from re-encoding" philosophy :)
cheers... and don't get mad :)
robshot
deank
8th January 2009, 16:58
So there is a donate button :) not that it will create more hours in a day :) but will buy me more coffee&milk :) hah.
B4tm4n
8th January 2009, 18:02
Can anyone try multiAVCHD under Wine emulator for Linux/MacOS?
----
Also download links in first post are updated. They point to my site, instead to rapidshare.
Latest PAL/NTSC LITE/FULL versions include everything you need (build 130).
I tried running it under Crossover ( commercial wine app) on my MacBook.
A window appears with this error.
= GetUrlHeader: (RT) Access violation at address 56033DD6 in module 'wininet.dll'. Read of address 00000000 - Line 301
nwg
8th January 2009, 18:05
I have used it a few times and so far it has worked great. A small request. As AVCHD is also compliant with mpeg2 and VC1. I wonder if you will allow a mpeg2 mpg to be selected (could add to the mkv/ts button). It should work as long as the audio is compatible.
I have some clips/demos and I am finding it hard to get a bit of software to put them on a DVD in the blu ray format.
deank
8th January 2009, 18:15
Yes, I will add MPEG-2 along with fixing how TS/MTS/M2TS are imported.
nwg
8th January 2009, 18:19
Yes, I will add MPEG-2 along with fixing how TS/MTS/M2TS are imported.
Great, thank you.:)
G_M_C
8th January 2009, 18:39
So there is a donate button :) not that it will create more hours in a day :) but will buy me more coffee&milk :) hah.
I'll donate soon, when i got everything set up on my end. But about the buying of the coffee and milk, i hear there are big problems concerning gas delivery in your country. I do hope everything is all right @ your end !
deank
8th January 2009, 18:44
Thanks :) GAS crisis is really impacting Bulgaria. It's just that we're dependent on one gas route and we have no reserves. I hope it will be solved soon. :)
My plasma TV and av receiver emit enough heat to keep my room warm :) If I turn the PS3 on, then I'll have to take my t-shirt off :)
Krawhitham
8th January 2009, 18:44
Tested two clips
1280x548
1920x816
With Apply standard height to video NOT selected after selecting track 1 in menu it played track 1 then track 2 then when back to menu
Same tracks again only difference Apply standard height to video selected after selecting track 1 in menu it played track 1 then track 2 then it played track 1 again
also I noticed in the mpls clpi files it changed "1B51" to "1B01" and "1B61" to "1B01", since one is a 720p and the other 1080p should both have been changed to "1B01"?
deank
8th January 2009, 18:54
You probably meant that it changes 1b01 to 1b51 for 720 and to 1b61 for 1080.
First 8bits of 01 are for vertical resolution, so
3 for 480p
7 for 576p
5 for 720p and
6 for 1080p
Checkbox should not impact playback order. I'll look into it.
G_M_C
8th January 2009, 20:34
Thanks :) GAS crisis is really impacting Bulgaria. It's just that we're dependent on one gas route and we have no reserves. I hope it will be solved soon. :)
My plasma TV and av receiver emit enough heat to keep my room warm :) If I turn the PS3 on, then I'll have to take my t-shirt off :)
Good to see you' re keeping warm, and in a useful way too :D
Thx also for your efforts
deank
8th January 2009, 20:59
Tomorrow I'll release version 1.4.
Features added:
* mpeg2/ts/m*ts file import
* no green bar with mkvs that are not avchd compliant (still video is topside aligned).
* I'll try to add SSA subtitle support
* PS3 compatibility check with warnings
Thanks to all of you for all your efforts to bring multiAVCHD to a decent end-user bugfree level.
---
Thinking of an extension to current title count... New version will allow:
* 20 TOP MENU selectable titles
If all titles are AVCHD compliant (and no BLACK video-buffer-fill is used) then
* another 20 selectable titles within player's menu, or
* another 20 (minus) AVCHD non-compliant withing player's menu
So if you have 40 compliant files/folders you will be able to access first 20 from menu and next 20 from 'direct-go-to-title' in you player menu.
If you have some number of compliant and some non-compliant AVCHD files, then you'll be able to access a total of: 40 - compliant - (non-compliant * 2 ).
This should be sufficient for most of you - having 40 avchd-ok folders or 20ok and 10not_ok :)
deank
8th January 2009, 23:51
40 titles available now (build 138)
Forrest
9th January 2009, 01:08
Some request:
- tsMuxeR does not add subtitles if first starts at 00:00:00,000... can you fix?
- I'd like to save window position on exit
- I'd like to see the changelog after multiAVCHD restart, because the upgrade start too quickly (or create/download changelog.txt)
deank
9th January 2009, 01:22
The last was just added.
Window positions are also saved now (build 143).
Subtitles... I'll look into it, too.
deank
9th January 2009, 01:32
[25/12/2008] build 27 - Added mkv support. Major update. Fixed STOP button.
[26/12/2008] build 30 - Proper handling of already multiAVCHD folders
[26/12/2008] build 31 - DVD/BD folder type compatibility fixed! (thanks to zoner)
[27/12/2008] build 41 - tsMuxer options, INI file and MOVE option added!
[27/12/2008] build 44 - Autoupdate added!
[27/12/2008] build 46 - Added tsmuxer font option BOLD
[28/12/2008] build 50 - 20 titles in top menu. Re-download!
[28/12/2008] build 52 - Destination folder added!
[29/12/2008] build 67 - Progress bar and bugfixes!
[29/12/2008] build 68 - Consistency check!
[29/12/2008] build 74 - Sequental playback and skip top menu selection in SETTINGS TAB.
[31/12/2008] build 77 - Cut start/end (seconds) and Force High@4.1 level added in tsMuxer tab.
[01/01/2009] build 82 - Serious bugfixes. UPDATE!
[02/01/2009] build 84 - Support for multiple SRT subtitles.
[02/01/2009] build 86 - Interface update.
[03/01/2009] build 92 - Buffered copy/progress indicator. Error reporting.
[04/01/2009] build 99 - Added *TS files import and drag/drop to media tab.
[04/01/2009] build 101 - Added drag&drop to program window.
[05/01/2009] build 104 - Lite version / static menu options.
[06/01/2009] build 116 - Custom color/family option in tsMuxer.
[07/01/2009] build 120 - Multiple audiotracks in tsMuxer tab.
[08/01/2009] build 126 - Chapters in tsMuxer tab.
[08/01/2009] build 129 - Setting compliant vertical resolution in tsMuxer tab.
[09/01/2009] build 144 - 40 titles. 20 from top menu and 20 selectable, windows positions save.
G_M_C
9th January 2009, 09:35
deank, before you miss this; Look at the follwing thread, i might be of interest to you (it's at the top of the topic-list now, but it might go down) !
http://forum.doom9.org/showthread.php?t=144126
robshot
9th January 2009, 11:27
Just for the sake of testing, I tried this with a couple of 300MB 720p short tv episode. I got 4 titles (2 blanks, 2 300mb PS3 compliant m2ts). Resulting BDMV and CERTIFICATE folders are burnt into CD-R with ImgBurn, UDF 2.50. The PS3 won't recognize the media (CD-R) at all.
Same Folders, applied 8.3 naming for USB, and when USB goes into PS3 port, it plays as AVCHD... strange. Maybe AVCHD on CD-R is not allowed by PS3.
deank
9th January 2009, 11:30
I think AVCHD is for DVD media only.
Did you get rid of the green bar at the bottom?
@G_M_C: Did you try adding black avchd with a SAP?
robshot
9th January 2009, 11:38
On my way to office, i created a BDMV with black bars. The folder is now in my laptop, haven't burnt it yet to check on PS3. Currently downloading AVCHD player (PowerDVD version something) to see if it can play BDMV folder on harddisk as AVCHD. Will let you know when I get the result. Hey, Deank, since i have no paypal (country restriction), I'm looking for other way to donate. As sending coffee is not an option :), perhaps sending a gift of, say..., gift certificate to amazon or the like?
cheers,
robshot
deank
9th January 2009, 11:43
:) Sorry. Coffee only. :) ...and it was just for those that are trying to push me to do things faster. I really enjoy programming so I'm doing it for fun - no need for stress.
G_M_C
9th January 2009, 12:12
I think AVCHD is for DVD media only.
Did you get rid of the green bar at the bottom?
@G_M_C: Did you try adding black avchd with a SAP?
Nope, not yet. I didnt have time and a appropriate example on hand. Will make time this weekend though (after installing a new radiator for on my central heating system, heating my home).
nwg
9th January 2009, 13:56
It's not possible to put AVDHD on a CD. Even if the disc was recognised, it wouldn't spin fast enough to get the required read speeds.
AVCHD can of course also be put on a BD disc.
deank
9th January 2009, 17:21
Major bug was found. Since build 120 titles 6-20 or 6-40 had no audio. It is fixed now - build 148.
espero
9th January 2009, 21:23
Deank:
Thank you very much for your work and a great program. I am very interested (like SeeMoreDigital) why it doesn't work on our Panasonic Plasmas with SD slot :(
Some tome ago you said that you will make some investigation about this matter. I would like to ask - is there any success?
It would be very great information if we can use TV's SD slot to play every H264 video.
Greetings!
Peter
Thanks for the link Dean.
I gave the stripped version a try but sadly all my TV says is this: -
http://i41.tinypic.com/nff8qt.jpg
(...)
turbojet
9th January 2009, 22:08
I tried loading in 1280x528 and 1920x784 mkv's and checking apply standard height. The result in a Panasonic DMP-BD30 and Magnavox NB500MG9 were black screens with audio.
deank
9th January 2009, 22:50
Please repeat your tests with latest major ver 1.4 build (157):
****************
No green bar for PLAYSTATION(r)3 players for top of fourty (40) non-compliant MKV files.
So - you now have total of 40 titles, fourty of which (i.e. ALL) may be non-compliant.
I doubt anyone uses so many titles.
@espero: Yes, I will try to make it compatible with Panasonic TVs. It seems pannys don't like menus, nor any special programming inside movieobject.bdmv. I'll try to provide really stripped version and will post for both of you to test.
SquallMX
9th January 2009, 23:21
@deank, is this a bug?
if you uncheck "Create Top Menu", the titles play in sequence, but just the first time, after that only the first title play in a eternal loop: Title 1 -> Title 2 -> Title 3 -> Title 1 -> Title 1 -> Title 1...
Tested on PowerDVD 8 and PS3. :thanks:
asherungar
9th January 2009, 23:42
still aligned to top in PS3?
and THANK YOU!! :)
deank
9th January 2009, 23:44
@SquallMX: I think it is fixed in build 159... just now.
@asherungar: Yes, top-aligned. It took me 20 hours to make it (and a second to come with the idea), so cut me some slack. I'm trying to make it vertically centered.
asherungar
9th January 2009, 23:45
i know! you're a genius getting so far!!!
keep up the great work!
Forrest
10th January 2009, 00:13
I'm trying to make it vertically centered.
Would also be great play clip with the proper resolution (i.e. a clip 1280x532 is played at 720p and not at 576p)
I tried option for remove green bar and I notice that it works on USB pendrive, but doesn't on SD card. Not very important to me, I just wanted to let you know
[I apologize again for my bad English, I hope to be sufficiently clear]
deank
10th January 2009, 01:19
Are you trying SD on a PS3? I'll test now - had no time to do it.
And about the 1280x532 clip - it is Playstation3 that ignores CLPI information. It first switches to 1080p, then goes to 720p then to 480p - at least my TV shows this while trying to play 1280x528.
---
Just tested PS3 playback via SD. It works!
If you are not using menu and your first title is non-compliant and you see a green bar - press [triangle] and navigate to "Go To" and select "Title#1".
Forrest
10th January 2009, 02:13
Just tested PS3 playback via SD. It works!
I'm sorry, my mistake.
I solved with triangle on AVCHD icon -> Play from Beginning.
Perhaps PS3 had something in memory about previous test that I made with the same clip
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.