Log in

View Full Version : tsmuxer + AVCHD ME on External HD doesn't work for me


Pages : 1 [2]

Deepstar
15th November 2008, 17:29
Hi,
I wonder, why nobody try this out. jagaskywalker, try this with two files. Its easier for the beginning.
i don't know why the ps3 will play the Movie without the 3-4 stuttering, when you add a blank 1ms movie.
There is a black or a bad Frame between the File Change.
I have test it with two Audio Tracks. And two subtitle.

Mfg

Tinman

ThomWaye
20th November 2008, 13:15
Hi,
my english is not so good. I hope you can read it.
I have found something interesting about the 3-4 sec. Problem.
The PS3 plays the AVCHD Video without Problem, if on the end of the Files a Scene with Black Picture. Also: you have two Files: 00001.m2ts and 00002.m2ts. On the End of 00001.m2ts must a 1ms Black Scene.
Test it first with 2 Files.
Also, i cut with tsmuxer 1 ms from the beginning of the Film. Save it as m2ts.
There is no picture or Sound. Mix the Film as Blu Ray Structure.
Then append the 1ms.m2ts to the 00001.m2ts File. This is a little bit complicated with more than 2 Files. But will work too.
Mix it again. And replace the 00001.m2ts and 00001.clpi with the first.
Copy it on a USB Stick or Hard Drive and rename it with AVCHDME.
And Play it with the PS3. And the Video will Play fine.
You see a black frame, instead off 3 -4 sek. no Video.

Test it!

Mfg Deepstar


Better test this sample of Kung Fu Panda. Splitted in 3 Files and plays fine on ps3 ext. HDD without 3-4 sec. gaps or 1 sec black screen.

Just unrar and copy AVCHD folder into the root of your ps3 ext. HDD.

link deleted

mpucoder
20th November 2008, 16:31
I had to remove the link as it is a violation of rule 6. If samples are needed contact the software's author directly through PM or email.

ThomWaye
20th November 2008, 17:52
I had to remove the link as it is a violation of rule 6. If samples are needed contact the software's author directly through PM or email.

Oh sorry, but it was not illegal. It was the kfp sample you can get everywhere from apple.com or othe websites. I would only show that you donīt need this one sec. black screen step from the other post to watch movies on the ps3 ext. HDD.

Deepstar
20th November 2008, 18:13
Hi ThomWaye,

and how you do that?
The Link is dead. And i very interresting on this.

Greetings Deepstar

tyee
8th December 2008, 07:19
ThomWaye
Did you make this work yourself??

Whoa! I just found out that the last 2 versions of PS3 firmware have video sequential playback!! I just downloaded it and am going to try it out!! Ver. 2.53 is the latest. Oh, on the other hand this is for just .m2ts playback under Video, I wonder if it will work for an AVCHD folder in the root of our external HDD?? Probably not.

So, ThomWaye please tell us how you made it work for that sample!!

ThomWaye
8th December 2008, 21:33
ThomWaye
Did you make this work yourself??

No. got it from a friend and it works also with TrueHD or DTS and VC-1 Codec. Have a nice Sample from Wanted with DTS-HD. Just PN me, if you wanna see it.

Whoa! I just found out that the last 2 versions of PS3 firmware have video sequential playback!! I just downloaded it and am going to try it out!! Ver. 2.53 is the latest. Oh, on the other hand this is for just .m2ts playback under Video, I wonder if it will work for an AVCHD folder in the root of our external HDD?? Probably not.

Donīt work.

tyee
8th December 2008, 22:28
Well, the only thing I can think of is that he edited the files somehow to add or delete something. If we can find out that would be it.

Deepstar
11th December 2008, 17:14
Hi,
i think, i have found the problem. It must be tsmuxer. You must not cut and insert the 1ms Clip.
The problem are the clpi Files. Try this:

I try it with a sample movie (a little less than 3min.) and split it as Blu Ray, with 60sek. in the split option.

Save it as Blu Ray.
Now you have a Folder with 3 m2ts Files.

1.Load the first in tsmuxer. Mux it again as BR in a diff. Folder.

2. Load the first and append the second m2st in tsmuxer. Set in the split Option 60sek.
Save it as BR. In another Folder.

Copy from the first the 00001.clpi and from the second the 00002.clpi. And overwrite the clpi Files in Dir with the 3 m2ts.
Copy on a Stick. Rename with AVCHDME and play it without stuttering or black Frames or something else.
It will Play perfectly!
I must ask jdobbs if he can correct this with his fixclpi Tool.

tsmuxer write the clpi not correctly.

The Sample from ThomWye is little different from my solution, with insert a 1ms black clip.
But with this above, you must cut or insert nothing.

Greetings Deepstar

jagaskywalker
11th December 2008, 17:51
Hi,
i think, i have found the problem. It must be tsmuxer. You must not cut and insert the 1ms Clip.
The problem are the clpi Files.
...
tsmuxer write the clpi not correctly. Only the last clpi Files, if you split the movie, is correct.


This is great news !

I only have a doubt, following your reasoning this would mean that at least the transition between the last two m2ts files should be perfect with the current tsmuxer.... but my experience is that the last one also fails.....

Deepstar
11th December 2008, 20:34
Hi
yes all clpi files have a bug. And the transition between the last m2ts files isn't correct. You must rewrite all m2ts files.
But if you had 4 m2ts files. You need the 1 - 3 clpi Files. Not the Last. Because there is no 5! Sorry my English is not the best. :-)
I have changed my post.

ThomWaye
13th December 2008, 08:36
Hi,
i think, i have found the problem. It must be tsmuxer. You must not cut and insert the 1ms Clip.
The problem are the clpi Files. Try this:

I try it with a sample movie (a little less than 3min.) and split it as Blu Ray, with 60sek. in the split option.

Save it as Blu Ray.
Now you have a Folder with 3 m2ts Files.

1.Load the first in tsmuxer. Mux it again as BR in a diff. Folder.

2. Load the first and append the second m2st in tsmuxer. Set in the split Option 60sek.
Save it as BR. In another Folder.

Copy from the first the 00001.clpi and from the second the 00002.clpi. And overwrite the clpi Files in Dir with the 3 m2ts.
Copy on a Stick. Rename with AVCHDME and play it without stuttering or black Frames or something else.
It will Play perfectly!
I must ask jdobbs if he can correct this with his fixclpi Tool.

tsmuxer write the clpi not correctly.

The Sample from ThomWye is little different from my solution, with insert a 1ms black clip.
But with this above, you must cut or insert nothing.

Greetings Deepstar

Sorry but my Sample is without a 1sec black frame or something else insert between the gaps.

I mentioned this also in my Post. Please read it again. ["Splitted in 3 Files and plays fine on ps3 ext. HDD without 3-4 sec. gaps or 1 sec black screen."]

I tested your version. Worked with a 1 min clip splitted into 3 m2ts files. Nice Job

But what if i would like to split into 4 or 5 parts?

Tested it with the same 1 min clip above. [load the first 0001.m2ts in tsmuxer->output BR testfolder 1 ->load the first 0001.m2ts and with append 0002.m2ts and 0003.m2ts-> output BR testfolder 2 am i right? -> then copy/overwrite 0001.clpi from testfolder 1 in original BR folder-> also copy/overwrite 0002.clpi and 0003.clpi from BR testfolder 2 in original BR folder.]

Doesnīt work. :(
I get a 4sec gap in middle of the clip.

Deepstar
13th December 2008, 20:11
Hi,
First,
You are from germany? There is a ThomWaye in German Forums. Wenn ja, dann ist es einfacher auf Deutsch :-)

PM to explain the sample.

You must rewrite all m2ts Files! You need only the last clpi File.

The First is easy. Load 00001.m2ts. Write as Blu Ray. Copy 00001.clpi.

2.
00001.m2ts append
++ 00002.m2ts
write as Blu Ray. Copy only the 00002.clpi

3.
00001.m2ts
++00002.m2ts
++00003.m2ts
Write Blu Ray. Copy only the 00003.m2ts

4.
00001.m2ts
++00002
++00003
++00004
Write BR Copy the 00004.clpi

And so on. Only the last clpi File have no error. Why i dont no. I hope the Programmer of tsmuxer will find this bug.

Now, you must use this method. Or someone, knows better the clpi File, can solve the Problem. I wrote a message to jdobbs. He wrote the fixclpi Tool. I hope he can do this.

Deepstar

ThomWaye
13th December 2008, 23:20
Hi,
First,
You are from germany? There is a ThomWaye in German Forums. Wenn ja, dann ist es einfacher auf Deutsch :-)

PM to explain the sample.

You must rewrite all m2ts Files! You need only the last clpi File.

The First is easy. Load 00001.m2ts. Write as Blu Ray. Copy 00001.clpi.

2.
00001.m2ts append
++ 00002.m2ts
write as Blu Ray. Copy only the 00002.clpi

3.
00001.m2ts
++00002.m2ts
++00003.m2ts
Write Blu Ray. Copy only the 00003.m2ts

4.
00001.m2ts
++00002
++00003
++00004
Write BR Copy the 00004.clpi

And so on. Only the last clpi File have no error. Why i dont no. I hope the Programmer of tsmuxer will find this bug.

Now, you must use this method. Or someone, knows better the clpi File, can solve the Problem. I wrote a message to jdobbs. He wrote the fixclpi Tool. I hope he can do this.

Deepstar

Yes i can understand german but i am from russia (: but with a german girlfriend itīs easy to learn.

Thanks for your reply.

Tested and worked. Nice Job again. :D

But if i had a full 40 gb movie like transformers it would take a whole day on weak pcīs. All in all you must process around 220 gb [40+4+8+12+16+20+24+28+32+36] to get your 40 gb file to work

Hopefully a new tsmuxer version can fix this all.

Deepstar
14th December 2008, 11:59
Hi,

yes thats the problem with that method. But I know the changes in the clpi Files. If you compare the old and the new clpi File with an hex editor, you can see the changes.
Now i try, if you can edit these Files and change it by youself. And then you dont need rewrite all Files. :-)
I am on it.

Deepstar
15th December 2008, 21:50
Hi,
found the bug! The Filesize of the m2ts, in the clpi Files are not correct. If you calc by yourself and overwrite it, you have no 3 - 4 sec gaps, if you play a Blu Ray structure on the ps3!

Deepstar

idbirch2
16th December 2008, 10:54
Nice work Deepstar, let's hope a fix for this is incorporated in next year's new TSMuxer build.

G_M_C
16th December 2008, 14:07
Nice work Deepstar, let's hope a fix for this is incorporated in next year's new TSMuxer build.

Yep if someone mails this error to them, it might. Cause that's what they asked, i dont think they read this thread any more (kinda dumb imho, since you've got a big group of people helping out in bugtracking , bugfinding and tracking ....)

Deepstar
16th December 2008, 17:40
In this moment, i have send a Email to smartlabs. :-)

tyee
16th December 2008, 20:04
Deepstar
Thanks for all your work here. Much appreciated!

Is it fairly easy to explain how to manually fix the clpi files by hex editing. I would like to try it. This would be the method -

1. TsMuxer creates Blu-ray structure of the movie.
2. Manually edit the clpi files
3. Playback movie from AVCHD folder of USB fat32 HDD.

Is this correct or did I miss something?

Deepstar
16th December 2008, 22:01
My english is not so good. I write a manual in german. :-)

You must edit this:

http://www.tinman.de/clpi.jpg

Line: 0x00030:
Position:56,57,58,59

In this case the right "Number" in hex must be:
00 07 8E C0

the m2ts as a size: 95.096.832 Bytes
Calc: 95096832 / 192 = 495296 in dezimal
In Hex = 78EC0

You must rewrite 7A4B9 in 78EC0

if you recalc with
7A4B9 = 500920(in dez)*192 = 96176832 = 96.176.832 is not the correct Filesize!

Test it with your clpi Files.

Thats it.

odin24
16th December 2008, 23:23
the m2ts as a size: 95.096.832 Bytes
Calc: 95096832 / 192 = 495296 in dezimal
In Hex = 78EC0

Good job Deepstar,

Forgive my ignorance, how is the hex value determined from the decimal value? I have never used a hex editor, will this calculation be figured out for me or is this a manual calculation?

Also, can someone recommend a hex editor... or are they all the same?

jdobbs
16th December 2008, 23:35
The easy way to convert between HEX and Decimal is to use the windows calculator. Set it to Scientific mode (in th "View" menu). Then type in number in in decimal followed by a click on the HEX radio button at the top of the calculator. It will convert. You can also go back in the other direction.

tyee
17th December 2008, 00:56
I guess I'm having a brain fart. Bytes to decimal, where did the 192 come from?:confused:

So, if I split my movie into 3 parts, will there be 2 or 3 clpi's that I have to edit?

jdobbs
17th December 2008, 01:00
The M2TS format is broken into 192 byte packets. It adds 4 bytes to the standard TS format that is 188 bytes long. I don't know the answer to your second question -- I never break up files.

odin24
17th December 2008, 01:35
The easy way to convert between HEX and Decimal is to use the windows calculator. Set it to Scientific mode (in th "View" menu). Then type in number in in decimal followed by a click on the HEX radio button at the top of the calculator. It will convert. You can also go back in the other direction.

Thanks for the advice, I actually googled and found website calculator, but the windows calc.exe seems even easier.

So, if I split my movie into 3 parts, will there be 2 or 3 clpi's that I have to edit?

I'm in the process of splitting a 30 GB BD rip using the AVCHD-ME method. I'll report back.

Deepstar
17th December 2008, 09:27
Hi, if you split a movie in 3 parts, there will be 3 clpi Files. Split in 4, 4 clpi and so on.
An all clpi Files must be corrected.

I use the windows calculator, the same method jdobbs describes. :-)

And the bug is also, when you write a Blu ray Structure with only 1 m2ts File.

I use this hexEditor
http://hexedit.nextsoft.de/
Its not the newest but freeware and good. Also in english.

tyee
17th December 2008, 16:13
Deepstar

I can't find the english version of that hex editor. It starts to install in German!

Deepstar
17th December 2008, 17:27
Install the german Version. Go to:
"Optionen"
"Einstellungen"
"Sprache" -> Under "Sprachpaket" Click the pulldown Button and there is english.
Click "OK" and restart the editor.

jagaskywalker
17th December 2008, 19:13
Great thanks for all your investigations !

The guy that makes a tool to "automagically" fix this will get a gold statue ! (I have my doubts that tsmuxer will ever be updated....)

tyee
17th December 2008, 21:30
Hmm.....I wonder if the thing that happened to the DVDShrink author happened to Roman... he got hired by a big company or someone made him an offer he couldn't refuse.

odin24
17th December 2008, 21:34
OK guys, I started watching... but could not finish my movie (sick kid). I remuxed the main movie from a whole BD rip, used tsMuxeR to split to 4GB chunks, which produced 6 pieces. I fixed all 6 CLPI files by applying the proper file sizes using a hex editor in only the main BD structure (left the BACKUP untouched), I know I definetly made past one of the seamless branching points, possibly two and there was no pause at all.

Good work guys. :thanks:

tyee
18th December 2008, 05:55
Yes, I just tried it and it works perfect. Can't detect anything at the join! I didn't update the BACKUP folder either. Can't wait till JDobbs makes this a one click fix!

deank
20th December 2008, 15:45
Great thanks for all your investigations !

The guy that makes a tool to "automagically" fix this will get a gold statue ! (I have my doubts that tsmuxer will ever be updated....)


I prepared a command-line tool for those of you, who are interested.

fixclipinf (http://mkv2avi.deanbg.com/fixclipinf.rar)

Contains .exe and .dll. Accepts 1 parameter - should be the root, where CERTIFICATE and BDMV folders are placed.
If parameter is ommitted, it will look in the folder where the executable is saved.

idbirch2
20th December 2008, 15:48
Gui based AVCHDMe also available here (http://www.mediafire.com/download.php?nqgozywoir1) which will perform all the .clpi hex edits for you.

Edit: replaced with new version which renames files to 8.3 and applies jdobbs' fixclpi.

Deepstar
20th December 2008, 16:31
Thanks idbirch2,

will try it today.