Log in

View Full Version : tsMuxeR update for 3D blu-ray


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 [27] 28 29 30 31 32 33 34 35

physic
10th January 2014, 22:55
Hello all! I am back again. I'll take a look to all reported bugs during a weekend.

rajs
Your sample has bad frame #948 (next frame after number 947 where error appears). I improved error processing. So, this bad frame doesn't cause full muxer stopping any more. I'll include it to the next update.

soneca
11th January 2014, 04:18
Hello all! I am back again. I'll take a look to all reported bugs during a weekend.

rajs
Your sample has bad frame #948 (next frame after number 947 where error appears). I improved error processing. So, this bad frame doesn't cause full muxer stopping any more. I'll include it to the next update.

Cool, thanks physic! ;)

Monty11
11th January 2014, 06:03
Using default settings, tsMuxer GUI 1.10.6 converts an MKV file to a blu-ray disk that plays well on my Oppo BDP-93 or Samsung BD-C5500 players, but a blu-ray made with version 2.6.11 will not play on either player. Can anyone tell me why? I'd be very grateful for advice.

The MKV file is made with VidCoder: 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 43mn Bit rate : 3 908 Kbps Width : 704 pixels Height : 464 pixels Display aspect ratio : 4:3 Original display aspect ratio : 4:3 Frame rate : 29.970 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.399 Stream size : 2.82 GiB (93%) Default : Yes Forced. Audio ID : 2 Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Codec ID : A_AC3 Duration : 1h 43mn Bit rate mode : Constant Bit rate : 224 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Stream size : 165 MiB (5%) Default : Yes Forced : No

HWK
11th January 2014, 08:22
Width : 704 pixels Height : 464 pixels Display aspect ratio : 4:3 Original display aspect ratio : 4:3 Frame rate : 29.970 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame)

This is illegal combination for blu-ray as a result player is refusing to playback. Although I am not sure but It could be the way tsmuxer is muxing know which is creating this issue.

Have you tried with older one?

Sharc
11th January 2014, 10:05
Exactly.
Even if one should somehow manage to make this non-compliant "Blu-ray" format playable for a particular player, there is a high risk that the next player will reject it.

Means you should re-encode your movie in a first step to make it blu-ray compliant, e.g. by importing it with BD-Rebuilder for example.

Monty11
11th January 2014, 14:52
Thanks for helping.
(1) What bits are non-compliant?
(2) Note that when I use tsMuxer GUI 1.10.6 the resultant blu-ray disk works fine on my Oppo and Samsung players, but the same file processed with tsMuxer GUI 2.6.11 gives a disk that does not work on either player.
(3) Of course, I can just use version 1.10.6 (or BD-Rebuilder), but I'd like to understand why tsMuxer GUI 2.6.11 fails when 1.10.6 works well.

jdobbs
11th January 2014, 15:18
If it does work it's random luck. 704x464 isn't a legal resolution. The MPLS and CLPI have codes that represent the video format. There is no code for that resolution, it's anyone's guess what gets plugged in (probably nothing). BD-RB would have to resize the video to a standard format during reencoding with values the IMPORT provides.

Yordan5
11th January 2014, 17:17
The last two posts above belong in the BD-RB thread.

jdobbs
11th January 2014, 17:41
The last two posts above belong in the BD-RB thread.You're right, I've moved a couple more as well. This is physic's thread and we need to stay on topic.

rajs
12th January 2014, 18:38
rajs
Your sample has bad frame #948 (next frame after number 947 where error appears). I improved error processing. So, this bad frame doesn't cause full muxer stopping any more. I'll include it to the next update.

Can you explain in more detail what exactly was wrong with the frame? And what you need to do to ignore it and let tsMuxeR continue? I'm interested because several other tools process the stream without complaint:

eac3to v3.27 demuxes the stream without any error or warning message
neuron2's DGDecNV v2026 demuxes the stream without any error or warning message and also displays frames in the region of frame #948 with no problems
neuron2's DGAVCDecDI v2038 demuxes the stream without any error or warning message and also displays frames in the region of frame #948 with no problems (and the codec which this program uses is quite fussy - it doesn't tolerate errored streams very much)
The JVT reference H.264 codec decodes the demuxed elementary stream without any error or warning message


Thanks! rajs

physic
13th January 2014, 01:31
jdobbs
I can't reproduce any flushing problem. But I've downloaded your disk and found a couple of warnings in the BD-rom validator for this movies. I fixed it. One of these warnings: the main playlist file contains 2 m2ts files and 2-nd file one second length only. Because of this, tsMuxeR did not remove "End of Sequence" from the end of the first file. So, may be it is reason of missing last second in a player. Please, try new build.

tsMuxeR 2.6.12 (https://drive.google.com/file/d/0B0VmPcEZTp8NSWNXdXRkUFBFbWM/edit?usp=sharing)

I'll upload linux and mac builds tomorrow

P.S. I did not mention it in a release notes: new build contains 4 minor bug fixes:

1. tsMuxeR filled invalid month number in a ISO (file creation date, modification date e.t.c). It was in range 0..11 instead of 1..12. I saw this bug after New Year. :-)
2. Improved error correction a little bit. Sometimes bad frame after I-frame may stop muxing. (soneca sample)
3. Fixed minor bug in filling ATC timings. In very rare situations two identical PCR in a row (instead of one) was inserted. (jdobbs sample)
4. tsMuxeR shoud remove "End of Sequence" from joined files except of last one. But if last file is very small previous EOS didn't removed from a stream (jdobbs sample)

spawnbsd
13th January 2014, 04:26
jdobbs
I can't reproduce any flushing problem. But I've downloaded your disk and found a couple of warnings in the BD-rom validator for this movies. I fixed it. One of these warnings: the main playlist file contains 2 m2ts files and 2-nd file one second length only. Because of this, tsMuxeR did not remove "End of Sequence" from the end of the first file. So, may be it is reason of missing last second in a player. Please, try new build.

tsMuxeR 2.6.12 (https://drive.google.com/file/d/0B0VmPcEZTp8NSWNXdXRkUFBFbWM/edit?usp=sharing)

I'll upload linux and mac builds tomorrow

P.S. I did not mention it in a release notes: new build contains 4 minor bug fixes:

1. tsMuxeR filled invalid month number in a ISO (file creation date, modification date e.t.c). It was in range 0..11 instead of 1..12. I saw this bug after New Year. :-)
2. Improved error correction a little bit. Sometimes bad frame after I-frame may stop muxing. (soneca sample)
3. Fixed minor bug in filling ATC timings. In very rare situations two identical PCR in a row (instead of one) was inserted. (jdobbs sample)
4. tsMuxeR shoud remove "End of Sequence" from joined files except of last one. But if last file is very small previous EOS didn't removed from a stream (jdobbs sample)
Any idea when transport stream (not .m2ts) support will be fixed ? Any time I try muxing a h264 and ac3, I always get "The parameter is incorrect". If I change it to .m2ts, it works fine.

Thanks,

minhjirachi
13th January 2014, 05:51
Continue waiting for TSRecordingRate fix.

marcusj0015
13th January 2014, 13:28
@Physic, do you think you could include support for flac, and reencode it to TrueHD (ffmpeg includes an open source decoder :c) or at the very least, to reencode it to PCM?

nautilus7
13th January 2014, 14:45
You need a TruedHD encoder to make a TrueHD track and such thing is not opensource and costs a lot of money. Also, I do not see the benefit of flac to pcm decoding support. You can use eac3to for these operations. tsmuxer is -as its name suggests - a muxer. (It can perform basic audio editing, e.g. extracting core tracks from lossless audio, but that's it.)

r0lZ
13th January 2014, 15:12
I agree. tsMuxeR is a muxer (and demuxer), not an audio converter. It should remain as simple and straightforward as possible, and imo adding functions not directly related to what it is primarily made for is not a good idea.

malcev
13th January 2014, 16:42
physic, how about my bug?
If I mux this video it speeds up it to x2 times after muxing.
00000.MTS (http://www.malcev.lv/DOM/00000.MTS)

jdobbs
13th January 2014, 17:42
jdobbs
I can't reproduce any flushing problem. But I've downloaded your disk and found a couple of warnings in the BD-rom validator for this movies. I fixed it. One of these warnings: the main playlist file contains 2 m2ts files and 2-nd file one second length only. Because of this, tsMuxeR did not remove "End of Sequence" from the end of the first file. So, may be it is reason of missing last second in a player. Please, try new build.

tsMuxeR 2.6.12 (https://drive.google.com/file/d/0B0VmPcEZTp8NSWNXdXRkUFBFbWM/edit?usp=sharing)

I'll upload linux and mac builds tomorrow

P.S. I did not mention it in a release notes: new build contains 4 minor bug fixes:

1. tsMuxeR filled invalid month number in a ISO (file creation date, modification date e.t.c). It was in range 0..11 instead of 1..12. I saw this bug after New Year. :-)
2. Improved error correction a little bit. Sometimes bad frame after I-frame may stop muxing. (soneca sample)
3. Fixed minor bug in filling ATC timings. In very rare situations two identical PCR in a row (instead of one) was inserted. (jdobbs sample)
4. tsMuxeR shoud remove "End of Sequence" from joined files except of last one. But if last file is very small previous EOS didn't removed from a stream (jdobbs sample)@physic

This is really odd. I'm still getting the missing 2 seconds and an incorrect count in the CLPI. I did a lot of testing... and it seems that it is only happening on drives that are external (USB 3.0). But it happens on three different ones I have connected. If I output to an internal SATA connected drive it appears to work correctly.

One might assume there is an issue with the drives or the drivers... but I've tested them and can't find anything wrong -- and I've had no issues with these drives before. Is there a chance that the mode you're using for writes may have an impact? Opening without buffering, perhaps? Closing before it get's written? I'm perplexed.

All I know is that it certainly isn't anything I've run into before.

nunub
14th January 2014, 05:34
@physic
I found out that the problem of joining 3dm2ts files is due to the first file has got unequal numbers of frame means a single frame more of mvc which creates error and distortion while joining with the second file. kindly make those first file of mvc of equal numbers to join with the next.

slickric21
14th January 2014, 12:09
Does anybody know what im doing wrong here.

I am trying to use tsMuxer GI 2.6.11 to remove unwanted audio/streams from my 3DBDISO's & to get rid of the seamless branching problem for my Mede8er 1000x3d.

I am using BDinfo to find the correct .mpls for the main movie, loading this in tsMuxer, selecting what i want to keep Eg Main Movie and DTS-HD audio, choosing Blu-Ray iso as the output.

However every 3DBDISO i've tried using this method tsMuxer just creates an iso that is about 2gb i size and takes like 10 seconds to complete ?

If I load the main SSIF file into tsMuxer at the start (and not the .mpls) then the resulting .iso is the correct size. But obviously doing this way I get no chapters.

Also I have found that if i use MakeMKv first to convert to MVC MKV, then load this in tsMuxer and make a Blu ray iso that it works fine everytime. But of course this is a long winded process.
(note I prefer the .iso format for max compatibility otherwise i'd just convert all the MVC MKV)

Any ideas what i'm doing wrong ?

Yordan5
14th January 2014, 17:22
Loading the correct .mpls (using BDinfo) into version 2.6.11 gives me correct results each time. Perhaps it is a system related issue you're experiencing.

HWK
14th January 2014, 18:52
I am trying to use tsMuxer GI 2.6.11 to remove unwanted audio/streams from my 3DBDISO's & to get rid of the seamless branching problem for my Mede8er 1000x3d.

I am using BDinfo to find the correct .mpls for the main movie, loading this in tsMuxer, selecting what i want to keep Eg Main Movie and DTS-HD audio, choosing Blu-Ray iso as the output.

However every 3DBDISO i've tried using this method tsMuxer just creates an iso that is about 2gb i size and takes like 10 seconds to complete ?

If I load the main SSIF file into tsMuxer at the start (and not the .mpls) then the resulting .iso is the correct size. But obviously doing this way I get no chapters.

Any ideas what i'm doing wrong ?

Yeah, In one place you are suggesting you are trying get rid of seamless branching and in another place you say when I load main ssif files then iso is correct size.

I am not sure which one is correct. Seamless branching split movie to multiple part and as such there is no main ssif file. Perhaps it will help to tell movie name and let someone else do quick run.

Emulgator
14th January 2014, 21:10
Big thanks to roman the physic !
A small wish:
To have all default parameters editable in a .ini.
Or if ist is too much hassle: in the regkey as-is, but all defaults, like
Start PTS (For Blu-ray I would type the famous 524280 ticks there),
Insert chapter every <>minutes default, Split duration default, Split size default, Cut start default, Cut end default.
Restricted VBR max/min defaults, etc.

physic
15th January 2014, 00:42
spawnbsd
I check couple of H.264+AAC files and I didn't found any problem with ts muxing. If you have such example, please send it me.

rajs
Can you explain in more detail what exactly was wrong with the frame?
Invalid sps or pps reference (I don't remember exactly)

jdobbs
May be it some race condition issue because of USB drive slower than HDD. I've took a look to a code but haven't found error yet. I'll check it more carefully during a week.

all
Unfortunatly, I haven't much time during several next weeks. So, I stopped with new features for a while. But I am going to fix bugs.

Yordan5
16th January 2014, 21:12
I experimented with adding additional subtitle stream via .srt file to Avatar 3D. After the first remux where I stripped unwanted Audio and subtitle streams and added Bulgarian subtitles using a .srt file, the resulting ISO image when opened with tsMuxeR did not show the Bulgarian subtitles as having 3D properties (no 3D plane number). Should mention that when adding a .srt file to a 3D image tsMuxeR does not allow allocation of plane numbers as the subs have not yet been converted to a 3D file (.sup). So I remuxed the second ISO again but this time I allocated plane 1 to the Bulgarian subs and the resulting ISO burned to a RW BD disk played fine on a PS3 and had the subtitles with 3D effect.

rosinoo
17th January 2014, 13:25
First of all, thank you guys for great software. I want to ask if somebody is working on version, which can read ISO file or BD folder with whole disc (menu, bonus, trailers, etc...) and be able to add tracks or subtitles without changing original structure of disc ???

Yordan5
17th January 2014, 15:47
First of all, thank you guys for great software. I want to ask if somebody is working on version, which can read ISO file or BD folder with whole disc (menu, bonus, trailers, etc...) and be able to add tracks or subtitles without changing original structure of disc ???

The answer is in this thread. The way you've structured your question suggests that you have not made the effort to familiarize yourself with the contents of it.

AFSS
17th January 2014, 18:26
I have successfully imported 3D subtitles by importing the .mpls file and selecting only the wanted audio/subtitle tracks, also it works to add a new audio track. All works well, and Tsmuxer creates an ISO file that plays perfectly.

I have not figured out a way to add a brand new subtitle file (.srt) and apply the offset for it to be a 3D subtitle. Is this currenty supported by Tsmuxer ?

Regards.

Yordan5
17th January 2014, 18:54
I have not figured out a way to add a brand new subtitle file (.srt) and apply the offset for it to be a 3D subtitle. Is this currenty supported by Tsmuxer ?

Regards.

Look up post #1325 above. I successfully accomplished it by basically remuxing twice. Once to add the srt file to the ISO and second time to assign a 3D plane number to the additional subs stream added during the first remux.

AFSS
17th January 2014, 18:58
Look up post #1325 above. I successfully accomplished it by basically remuxing twice. Once to add the srt file to the ISO and second time to assign a 3D plane number to the additional subs stream added during the first remux.

Outstanding !! Thank you for the prompt reply.

Yordan5
17th January 2014, 19:10
Outstanding !! Thank you for the prompt reply.

It may be worth experimenting with the 3D plane numbers. It may well turn out that different 3D plane number provides different 3D offset effect.

marcusj0015
19th January 2014, 19:36
You need a TruedHD encoder to make a TrueHD track and such thing is not opensource and costs a lot of money. Also, I do not see the benefit of flac to pcm decoding support. You can use eac3to for these operations. tsmuxer is -as its name suggests - a muxer. (It can perform basic audio editing, e.g. extracting core tracks from lossless audio, but that's it.)

It can strip DTS-HD's extensions, which is fine according to you, yet you think a simple flac to pcm would be not worth the effort? pcm is literally the simplest audio format known to man...

r0lZ
19th January 2014, 19:47
Stripping HD extensions is not a reencode, it's just a sophisticated demux. What you want is an audio encoder. Why do you insist to add an audio encoder to a video (de)muxer? It's not at all the same job.

jediknight
20th January 2014, 01:47
i found glitch or bug on tsmuxer 2.6.11

I muxed original blu-ray disc The Day After Tomorrow EUR with the tsmuxer 2.6.11. And output was totally glitch at every frame. The whole m2ts file corrupted after muxing.

Here is some screenshots:

http://i.imgur.com/yNAb7aF.jpg
http://i.imgur.com/EOWdpVA.jpg

How Can I help you more ? I can give you sample of m2ts that i've created with tsmuxer. But i dont know how to split for uploading :)).

Edit: i've tried muxing with older versions, problem still continues. Now im tried with 1.11.6(b), no problem with this version..

Cruzader1986
20th January 2014, 01:58
anyone know how to set a subtitle as a forced subtitle when remuxing?

jdobbs
20th January 2014, 03:26
i found glitch or bug on tsmuxer 2.6.11

I muxed original blu-ray disc The Day After Tomorrow EUR with the tsmuxer 2.6.11. And output was totally glitch at every frame. The whole m2ts file corrupted after muxing.

Here is some screenshots:

http://i.imgur.com/yNAb7aF.jpg
http://i.imgur.com/EOWdpVA.jpg

How Can I help you more ? I can give you sample of m2ts that i've created with tsmuxer. But i dont know how to split for uploading :)).

Edit: i've tried muxing with older versions, problem still continues. Now im tried with 1.11.6(b), no problem with this version..You might want to try the latest release (v2.6.12) (http://forum.doom9.org/showthread.php?p=1661862#post1661862) and see if it helps.

Selur
20th January 2014, 08:03
tsMuxeR 2.6.12

I'll upload linux and mac builds tomorrow
any news regarding the mac&linux builds?

Cruzader1986
21st January 2014, 14:22
anyone know how to set a subtitle as a forced subtitle when remuxing?

anyone? I cant properly remux The Wolverine since it would remove the subs with the japanese part as the default/forced subs.

any help would be appreciated

nautilus7
21st January 2014, 14:59
Well, I don't think I understand your question completely...

I think blu-ray doesn't have anything such a forced subtitle stream, but there are subtitles pictures (parts of a stream) that are marked as forced. So, do you mean that you have a subtitle stream (pgs stream) with normal and forced flagged subtitles and that tsmuxer removes the forced flag from them (a.k.a edits the pgs stream without any way to stop it)?

Video Dude
21st January 2014, 18:11
I believe physic said he will add forced subtitles when he works on full disc processing. Until then, you can force a subtitle with BDEdit after the tsmuxer mux.

Guide:
Link (http://forums.afterdawn.com/t.cfm/f-157/bd_rb_beta_released_-now_at_version_0_37_08_april_23rd_2011-733781/5#4490771)


I think blu-ray doesn't have anything such a forced subtitle stream, but there are subtitles pictures (parts of a stream) that are marked as forced.
You can force a subtitle with commands/flags in MovieObject.bdmv (as shown in the BDEdit link above). You don't have force in the stream itself, but you can do it that way.

jediknight
21st January 2014, 18:45
You might want to try the latest release (v2.6.12) (http://forum.doom9.org/showthread.php?p=1661862#post1661862) and see if it helps.

I've already tried but same thing :(

jdobbs
21st January 2014, 19:56
I believe physic said he will add forced subtitles when he works on full disc processing. Until then, you can force a subtitle with BDEdit after the tsmuxer mux.

Guide:
Link (http://forums.afterdawn.com/t.cfm/f-157/bd_rb_beta_released_-now_at_version_0_37_08_april_23rd_2011-733781/5#4490771)



You can force a subtitle with commands/flags in MovieObject.bdmv (as shown in the BDEdit link above). You don't have force in the stream itself, but you can do it that way.You're not really "forcing" them with that method, you are just defaulting to having one subtitle on. That means you'll get all the subtitles, not just the ones that are meant to be forced (like when a foreign language is spoken in a film). Sometimes you might get lucky and the forced titles are in a stream of their own -- but not most of the time.

TSMUXER keeps the flags for forcing. You can dump out the subtitle stream and see the flag is set properly. I have no idea why sometimes they don't show. But BD-RB can scan them and put the forced titles into a stream of their own so they can be enabled at playback. Of course that assumes you're using BD-RB.

nautilus7
21st January 2014, 20:41
So, I said it right and Video Dude wrong.

To add to what jdobbs said, LAV Filters have an option to create a sub-stream of a pgs subtitle stream which contains only those subtitles marked as "forced" in the original stream.

r0lZ
21st January 2014, 20:45
BDSup2Sub also.

jediknight
21st January 2014, 23:36
i found glitch or bug on tsmuxer 2.6.11

I muxed original blu-ray disc The Day After Tomorrow EUR with the tsmuxer 2.6.11. And output was totally glitch at every frame. The whole m2ts file corrupted after muxing.

Here is some screenshots:

http://i.imgur.com/yNAb7aF.jpg
http://i.imgur.com/EOWdpVA.jpg

How Can I help you more ? I can give you sample of m2ts that i've created with tsmuxer. But i dont know how to split for uploading :)).

Edit: i've tried muxing with older versions, problem still continues. Now im tried with 1.11.6(b), no problem with this version..

This problem is important i believe. Also tried with 2.6.12 but same problem continues.

I hope Roman will look this ;).

Thanks...

Cruzader1986
22nd January 2014, 06:03
You're not really "forcing" them with that method, you are just defaulting to having one subtitle on. That means you'll get all the subtitles, not just the ones that are meant to be forced (like when a foreign language is spoken in a film). Sometimes you might get lucky and the forced titles are in a stream of their own -- but not most of the time.

TSMUXER keeps the flags for forcing. You can dump out the subtitle stream and see the flag is set properly. I have no idea why sometimes they don't show. But BD-RB can scan them and put the forced titles into a stream of their own so they can be enabled at playback. Of course that assumes you're using BD-RB.

and yeah, thats what i mean, the subtitle is on default. but when remuxing with tsmuxer and just remove foreign subs/audios, the default subtitle is no longer flagged as default on the output.

and does BD-RB support 3D Blurays?

HWK
22nd January 2014, 07:07
does BD-RB support 3D Blurays?

yes, it can handle 3D blu-ray

Cruzader1986
22nd January 2014, 07:23
one last question. ive noticed that the certificate folder contents are removed when muxing with tsmuxer. is that normal? will the resulting iso be playable in video players?

Blackwalker
22nd January 2014, 18:31
Problem with ICE AGE 3 - 3D!!

After remuxed, using total media theater, power DVD 12, 3D version wont start!!! Black Screen and nothing else!
2D versione play fine with media player home cinema or total media theater or power DVD 12!
I tried with various versions but same result!
Strange....

jj666
22nd January 2014, 22:20
Problem with ICE AGE 3 - 3D!!

After remuxed, using total media theater, power DVD 12, 3D version wont start!!! Black Screen and nothing else!
2D versione play fine with media player home cinema or total media theater or power DVD 12!
I tried with various versions but same result!
Strange....

Ice Age 3 is a strange one - it won't remux in Scenarist either.

Cheers,

-jj-