Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
30th April 2006, 15:03 | #1 | Link |
Moderator
Join Date: Oct 2001
Posts: 3,530
|
7 color subpicture
We've know all along that the spu command for doing fades and wipes could also allow more than 4 color subs, but it took this long for me to finally make one with the upcoming MuxMan 0.18
@jeanl - this should give you something to play with Last edited by mpucoder; 1st May 2006 at 02:05. Reason: corrected files |
30th April 2006, 21:58 | #4 | Link |
Registered User
Join Date: Oct 2001
Posts: 1,459
|
mpucoder:
The size of the packet is set to 0x0A49 while it is only 0x0A48, this might make decoders which check the size reject it as invalid. My decoder cannot handle CHG_COLCON, but that was only the third obstacle. The first one was this length mismatch, and also the dvd navigator will only send that one video frame once and never again when the subpic would be shown, so it doesn't have a chance to paint it over the picture.
__________________
gabest.org |
1st May 2006, 01:46 | #5 | Link |
Moderator
Join Date: Oct 2001
Posts: 3,530
|
I'll fix the size and try it again (and replace the download). Yes, it can be a torture test, but changing subpictures over stills is allowed.
@dirio49 - DVDSubEdit does not process the command which makes this possible (CHG_COLCON). It's a tricky command to process. The way I do it is to map the entire subpicture into one byte per pixel, then for each rectangle in the CHG_COLCON I add the four new color/contr values to a table of 256 color/contr pairs, and add the base index (the one for the BG color) to every pixel in the area. This allows 64 rectangles maximum. Last edited by mpucoder; 1st May 2006 at 02:06. |
1st May 2006, 04:19 | #7 | Link |
Registered User
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
|
Yes, DVDSubEdit does not process the command. It does parse it, but it does nothing with it, it won't show it the way it should and you won't be able to edit it ...
It would be a significant rewrite to add that, and I'm reluctant to undertake such a task! Jeanl
__________________
A few PgcEdit guides. DVDSubEdit a free tool to edit subtitles directly inside the vob. |
1st May 2006, 20:30 | #8 | Link |
Straight to video
Join Date: Jun 2005
Posts: 637
|
Very cool! Intervideo decoder doesn't play this either. I think it has a problem with CHG_COLCON + stills, because my fade/wipe tests always worked on video, but never with stills.
mpucoder: Do most standalone players correctly process CHG_COLCON commands? |
2nd May 2006, 00:04 | #10 | Link |
Registered User
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
|
Kumi, you can do wipes and fades without the CHG_COLCON command, wipes and fades require timed DCSQTs with commands to change the transparencies, or the subpic position. The CHG_COLCON isn't necessarily required for that, although it gives you a lot more freedom.
jeanl
__________________
A few PgcEdit guides. DVDSubEdit a free tool to edit subtitles directly inside the vob. |
2nd May 2006, 01:09 | #12 | Link |
Registered User
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
|
The ultimate test of CHG_COLCON by the ultimate geek!
(mpucoder I'm just kidding, I hope you know that! we're all aspiring to your degree of geekness! ) jeanl
__________________
A few PgcEdit guides. DVDSubEdit a free tool to edit subtitles directly inside the vob. |
2nd May 2006, 01:12 | #13 | Link |
Registered User
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
|
mpucoder, out of curiosity, what's the app that you showed us a screenshot of? Is it the latest muxman? You're gonig to add subpic feature to it?
Did you construct your example by hand, or did muxman come up with it automatically, figuring out how to tile the screen to distribute all 6 colors appropriately? That would be fairly smart! jeanl
__________________
A few PgcEdit guides. DVDSubEdit a free tool to edit subtitles directly inside the vob. |
2nd May 2006, 02:05 | #14 | Link | |||
Moderator
Join Date: Oct 2001
Posts: 3,530
|
Quote:
Quote:
Quote:
|
|||
14th March 2007, 23:00 | #15 | Link |
Author of SubtitleCreator
Join Date: Dec 2003
Location: The Hague, The Netherlands
Posts: 179
|
@mpucoder
I've been playing with your example and after demuxing it with PgcDemux, can already read it properly in the current version of SC. However, I was having a problem when using muxman (v0.15Q) to recreate the DVD again - using PgcDemux's output, muxman only gives me a very small 'movie', with no subtitles and which immediately stops. My question therefore is: does muxman 0.15Q support sups with a CHG_COLCON? I can already generate them too, but have no way to test if I do it correctly (except my own routine, which works, of course :-) Thanks in advance! |
15th March 2007, 04:49 | #16 | Link |
Moderator
Join Date: Oct 2001
Posts: 3,530
|
MuxMan does not interpret sup files other than to determine the duration. The problem you're having is the example uses a slideshow, so after demuxing all you have is a single frame m2v. Set the video duration to a longer value, 2 minutes was used in the example. Here is the script used to create the example:
Code:
Section=Settings { Destination Folder=D:\VIDEO_TS Item=Palette { Name=DefaultPalette Color 0=0, 0, 255 Color 1=255, 0, 0 Color 2=0, 0, 0 Color 3=255, 255, 255 Color 4=0, 255, 0 Color 5=255, 0, 255 Color 6=255, 255, 0 Color 7=0, 125, 125 Color 8=125, 125, 125 Color 9=225, 225, 225 Color 10=125, 0, 0 Color 11=0, 125, 0 Color 12=0, 0, 125 Color 13=222, 0, 255 Color 14=222, 125, 0 Color 15=125, 0, 125 } } Section=Content { Item=Segment { Name=Segment_1 Display Mode=Only Letterbox Resolution=none Force=No Item=Video Stream { Coding Mode=Mpeg-2 Standard=NTSC CC Field 1=No CC Field 2=No Item=Video Play { File=D:\MuxSources\[1]_vts_01_1.m2v Start=00:00:10:01 Duration=00:02:00:00 } } Item=Sub-Picture Stream { Stream Number=1 Language=en Language Extension=1 Display Mode=Wide/Letter Item=Sub-Picture Play { File=D:\MuxSrc2\6colors.sup Time Code=NTSC non-drop Start=00:00:00:00 Display=00:00:00:00 Duration=00:00:00:00 } } Item=Scene List { Item=Scene { Name=Segment_1_scn1 Scene Time=00:00:00:00 Uop=00000000 } } } } Section=Navigation { Item=First PGC { Name=FP Menu ID=No Menu Uop=00000000 PG Playback Mode=Sequential Playback Repeat Times=0 PGC Still Time=0 Palette=DefaultPalette Item=Pre Commands { JumpTT VTS01_TTL01 } Item=Post Commands { } Item=Cell Commands { } Item=Program List { } } Item=VMG { Item=Language { Name=Unspecified_0 Language=unspecified Item=PGC { Name=Unspecified_title Menu ID=Title Menu Uop=00000000 Next PGC= GoUp PGC= PG Playback Mode=Sequential Playback Repeat Times=0 PGC Still Time=0 Palette=DefaultPalette Item=Pre Commands { JumpTT VTS01_TTL01 } Item=Post Commands { } Item=Cell Commands { } Item=Program List { } } } } Item=VTS01 { Item=Language { Name=Unspecified_1 Language=unspecified Item=PGC { Name=Unspecified_root Menu ID=Root Menu Uop=00000000 Next PGC= GoUp PGC= PG Playback Mode=Sequential Playback Repeat Times=0 PGC Still Time=0 Palette=DefaultPalette Item=Pre Commands { JumpVTS_TT VTS01_TTL01 } Item=Post Commands { } Item=Cell Commands { } Item=Program List { } } } Item=Title { Name=VTS01_TTL01 Uop=0 Item=PGC { Name=VTS01_TTL01_PGC1 Menu ID=Title Entry Uop=00000000 Next PGC= Prev PGC= GoUp PGC= PG Playback Mode=Sequential Playback Repeat Times=0 PGC Still Time=0 Palette=DefaultPalette Item=Pre Commands { SetSTN subpicture=1:ON } Item=Post Commands { } Item=Cell Commands { } Item=Program List { Item=Program { Name=VTS01_TTL01_pg1 Item=Cell { Name=VTS01_TTL01_cell1 Linked Scene=Segment_1_scn1 Command= Cell Still Time=0 VOBU Still Flag=False Access Restriction Flag=Permitted Cell Type=0 Seamless Flag=default } } } } Item=Part of Title List { Item=VTS01_TTL01_pg1 } } } } |
15th March 2007, 22:38 | #17 | Link |
Author of SubtitleCreator
Join Date: Dec 2003
Location: The Hague, The Netherlands
Posts: 179
|
@mpucoder
Thanks for that, but it still doesn't quite work - although IfoEdit shows the subtitle is there, it doesn't display it. In addition, after demuxing and muxing back, the final result has become smaller. Here is a list of my PgcDemux 1.2.0.5 demuxed files: 15/03/2007 22:32 0 Celltimes.txt 15/03/2007 22:32 1,169 LogFile.txt 15/03/2007 22:20 3,541 MyMuxManProject.mxp 15/03/2007 22:32 2,642 Subpictures_20.sup 15/03/2007 22:32 47,803 VideoFile.m2v And the muxed files: 15/03/2007 22:20 8,192 VIDEO_TS.BUP 15/03/2007 22:20 8,192 VIDEO_TS.IFO 15/03/2007 22:20 14,336 VTS_01_0.BUP 15/03/2007 22:20 14,336 VTS_01_0.IFO 15/03/2007 22:20 542,720 VTS_01_1.VOB Which is a bit smaller than your original (was 544.768). I've attached the final result, as well as the sup file. Do you have any idea what I am doing wrong? |
15th March 2007, 22:44 | #18 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
IfoEdit has several problems when displaying the subpics. Don't trust it! Use a better software player, or burn a RW and test on a good standalone.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
16th March 2007, 04:12 | #19 | Link |
Moderator
Join Date: Oct 2001
Posts: 3,530
|
Well, that mux is not right, don't know where the subs came from. I tested 15Q using video demuxed from your vob and the sup file in your zip. Worked correctly, so maybe you have a bad download. Here's all I did:
1) open video file, set duration to 2 minutes 2) open .sup file as first subpicture file 3) mux no chapter points are needed. All the navigation you see in the project file is default generated by MuxMan. |
18th March 2007, 19:17 | #20 | Link |
Author of SubtitleCreator
Join Date: Dec 2003
Location: The Hague, The Netherlands
Posts: 179
|
@mpucoder
I've created some sup files with region (CHG_COLCON) encoding, but muxman 0.15Q does not process them well, and it crashes or hangs. This might well be due to my incorrectly formatted sups, but ReJig did handle them well, and created a DVD that played correctly in IfoEdit. The main difference with yours is that it contains a stop time. Would you please have a look at them and tell me what's wrong. Thanks a lot!!! PS regionTest1 and regionTest5 contain 1 and 5 subpictures, respectively, with 1 and 3 regions (all in separate subpictures). |
Thread Tools | Search this Thread |
Display Modes | |
|
|