Log in

View Full Version : Scenarist error and I'm not sure what it is


Scubasteve2365
9th August 2011, 20:47
Muxing a disc, all is going according to plan and then an error:

ERROR|MUX_SN_E_TS_UNKNOW_ERR|P:\BD Demo Vol2\Scenarist Project\ProjectName\Test Project\02.00.0000\Output\MUX\BDRE\DB\BDMV\STREAM/00031.m2ts|0|Unknown Error|TSWrapper.dll::CTSWrapper::ProcThreadMain::This program has a bug. - m_ptsOfNextGOP is empty.|

Not sure what the problem is. Google and doom9 searches lead me to believe that it has something to do with the 264 video but other than that I don't know. I'm going to try running the video through Megui and see if that somehow fixes the problem but I'd just be shooting in the dark.

Anyone have a more specific answer?

Edit: I'm using Scenarist BD 5.1.3

mp3dom
9th August 2011, 22:28
Seems a problem with the video being out of specs. What encoder are you using? What settings (mainly gop length, number of b frames, refs etc.)? Is the video interlaced or encoded as interlaced?
You should tell us more...

Scubasteve2365
9th August 2011, 23:03
Seems a problem with the video being out of specs. What encoder are you using? What settings (mainly gop length, number of b frames, refs etc.)? Is the video interlaced or encoded as interlaced?
You should tell us more...

The video is from a commerical blu-ray release. I take small 3 minute or so segments from blu-rays for the purposes of demoing home theater equipment. I simply ripped the movie to harddisk, used TSmuxer to trim the clip to the desired start/end point and then demuxed with eac3to.

Perhaps TSMuxer damaged the trimmed clip. I've read that I shouldn't use TSMuxer for this purpose but there aren't isn't a lot of software out there, that I've found, that will nicely trim M2TS files.

I'm currently running the 264 file through MEGUI, hopefully that will solve the issue but I'd love to figure out exactly what the problem is.

mp3dom
9th August 2011, 23:26
It's very easy to screw BD compatibility while editing M2TS (but also raw AVC). There are a lot of flags that just need to be 'in the right place with the right values'.
One way to do it "in specs" is to edit the file directly in Scenarist. Starting from version 5.1 (don't remember precisely the version... but was anyway improved in latest version which is 5.3.2 and is highly suggested to use). Create a clip with the full movie and then right-click->CC6 Wizard. With CC6 you can split the clip at user-defined I frames while keeping BD compatibility. You can then re-join the clip at playlist level, with seamless or seamless concatenated playback.

chompy
10th August 2011, 07:14
With CC6 you can split the clip at user-defined I frames while keeping BD compatibility. You can then re-join the clip at playlist level, with seamless or seamless concatenated playback.

I've seen that most commercial blu-rays use CC5 (seamless) in there playlists to join m2ts... What's the main difference between CC5 and CC6 (seamless concatenated) and when should CC6 been used?

Greetings

mp3dom
10th August 2011, 11:29
CC5 is used when you join stream from different encodes (you made for example 2 different physical files and then join them). At the end you'll have the two stream muxed together but in different M2TS that play seamlessy. The CC6 can be used only when you need to split a file into multiple chunks so mainly you have one single file to start with. Seamless concatenated can be used with chunks coming from the same physical file.

chompy
10th August 2011, 11:46
So once you've splitted a video file with CC6 wizard, it doesn't really matter if you select CC5 or CC6 when creating the playlist?

mp3dom
10th August 2011, 12:14
Never tried but it should work in both modes. CC6 have some advantages over CC5 (for example progressive playlist)

chompy
10th August 2011, 14:54
The next question is obvious ;)

...What's progressive playlist?

mp3dom
10th August 2011, 15:06
Creating new playlists 'on-the-fly' (content from the net, mainly for BD-Live)

chompy
10th August 2011, 15:39
Thanks mp3dom!!

Emulgator
24th August 2011, 18:42
So this is the error message of Scenarist BD 5.1.3 when remuxing (I assume) compliantly encoded elementary video
that has been demuxed and cut using tsMuxeR:

ERROR|MUX_SN_E_TS_UNKNOW_ERR|P:\BD Demo Vol2\Scenarist Project\ProjectName\Test Project\02.00.0000\Output\MUX\BDRE\DB\BDMV\STREAM/00031.m2ts|0|Unknown Error|TSWrapper.dll::CTSWrapper::ProcThreadMain::This program has a bug. - m_ptsOfNextGOP is empty.|

The following is the error message of DVD-Architect Pro 5.0.and 5.2 when attempting to mux x264-encoded interlaced elementary video:

File name: STREAM/00000.m2ts
Status: TSWrapper.dll::CTSWrapper::ProcThreadMain::This program has a bug. - m_ptsOfNextGOP is empty.

Sounds familiar. The same wording, letter by letter. Scenarist and Sony DVD-A, they both seem to use the same muxer.

(My TSWrapper.dll in both DVD-A 5.0 and 5.2 is version 2.0.0.1 (2.0.0.0001), Product name: mux, Copyright 2005, Size 561.152 Bytes)

To get a bit closer:
Scubasteve2365, if you're still around, can you post a sample of your file that failed to mux or at least a mediainfo dump of that file's parameters ?