How? Video "still" with audio track...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bigotti5
    Junior Member
    Junior Member
    • Oct 2004
    • 16

    #46
    Is it possible to force several VOBs in the same titleset (with seamless discontinuity of course)?
    Imho it is not possible to do a seamless vob mux with slideshows.
    Scenarist prohibits it...and muxman gives strange results or stops muxing.

    Comment

    • r0lZ
      Lord of Digital Video
      Lord of Digital Video
      • Mar 2004
      • 1508

      #47
      Yes, I know that. I want to make several VOBs with seamless discontinuity in the same titleset.
      r0lZ
      PgcEdit homepage (hosted by VideoHelp)
      Unofficial mirror (in Poland)

      Comment

      • goonix
        Junior Member
        Junior Member
        • Oct 2006
        • 22

        #48
        First test with DVDPlannerBASIC 0.2.0.4:

        1. Add 3 Slideshow tracks
        2. Add a bmp picture to every track.
        3. Add an ac3 audio file to every track.
        4. Add a sst file as subpicture stream to every track.
        5. Select track 1 and click on the MenuCreator button.
        6. DVDPlanner crashes.

        Second test with DVDPlannerBASIC 0.2.0.4:

        1. Add 3 Slideshow tracks
        2. Add a bmp picture to every track.
        3. Add an ac3 audio file to every track.
        4. Create a blank subpicture stream by answering NO to import a sst file.
        5. Select track 1 and click on the MenuCreator button.
        6. Import a single image as subtitle layer. (The same as the sst file point to.)
        7. Create the 5 buttons.
        8. Set 4 of them to "Auto Action".
        9. Set the button links.
        10. Set the opacity of all 4 button colors to 0% because these are invisible BOVs.
        11. Leave the MenuCreator.
        12. Do the same for track 2 and 3.
        13. For all video streams check the box "Set Final Slide to Audio End".
        14. For all subpicture streams check the box "Extend Final/Highlight Layer to VOB End".
        15. Switch to DVD Layout.
        16. Add 3 programs.
        17. Add the 3 tracks to the programs as cells.
        18. Edit the button commands.
        19. Edit the PGC commands.
        20. Save the project.
        21. Create the DVD.

        Wow, it works.
        Great job, Zeul.
        Now lets increase the number of tracks...

        Note 1: The paper tray is a somewhat unusual symbol for exchanging a command.
        Note 2: If I click on something in the command editor pane, the highlight in the left structure pane gets lost. Its difficult to remember the PGC/cell you are currently work on.
        Note 3: If I use a LinkCN command as post command, the button command LinkNextC doesn't work anymore. (Maybe this is an error in PowerDVD).
        Note 4: This is the crashing sst file:
        Code:
        st_format 2
        Display_Start  forced
        TV_Type        PAL
        Tape_Type      NON_DROP
        Pixel_Area     (2 574)
        Display_Area   (0 2 719 574)
        E2             (255 255 255 = = =)
        E1             (0 0 255 = = =)
        PA             (0 0 0 = = =)
        BG             (255 0 0 = = =)
        Directory      .
        Color          (1 1 1 1)
        Contrast       (0 0 0 0)
        1              00:00:00:00  00:00:10:00  SUB.bmp
        #
        The DVDPlanner project file is attached.

        goonix
        Attached Files

        Comment

        • MPUCoder
          Creator of MuxMan
          • Nov 2006
          • 8

          #49
          The limitation is a bug which I will correct after 0.18 is out, this is why there is no error message.
          Bigotti5 is correct, it is not permitted to make a seamless vob joint if the first vob is a "slideshow". By slideshow we mean the last frame is extended, or frozen. All vob joints are discontinuous. But that is not the problem, the problem is 32-bit math in some part of the program.

          Comment

          • r0lZ
            Lord of Digital Video
            Lord of Digital Video
            • Mar 2004
            • 1508

            #50
            Thanks fot the bugfix.

            You wrote:
            The second problem can be solved using 0.17 and setting the vob joints to seamless. The command is Seamless Flag=Seamless in the Item=Cell section of a PGC.
            That will not create a seamless joint then?
            I don't need seamless joints between CDs (which are authored as Titles anyway), but I would like to have a seamless transition between the tracks of each CD (which are chapters, and cells with the same VOB ID.)
            It's impossible (or illegal?) to do in a slideshow?
            r0lZ
            PgcEdit homepage (hosted by VideoHelp)
            Unofficial mirror (in Poland)

            Comment

            • Zeul
              DVDPlanner / NuMenu4u
              • Oct 2006
              • 8

              #51
              @r0lZ

              If the track is created with multiple slide assets, and a chapter positioned at the start of each slide then muxman/dvdplanner will create 1 vobid with multiple cells. Each cell will therefore be seamless. However, if you are creating a seperate track for each slide (ie creating multiple slideshows of 1 bmp and 1 audio) then each vobid will be non-seamless.

              Comment

              • bigotti5
                Junior Member
                Junior Member
                • Oct 2004
                • 16

                #52
                It's impossible (or illegal?) to do in a slideshow?
                No
                You have to put each CD in one segment and set celltimes (you have to set bitmap duration to audio length manually)
                Example without Bov
                Code:
                ...........................
                ...........................
                Section=Content
                {
                	Item=Segment
                	{
                		Name=Segment_1
                		Display Mode=none
                		Resolution=none
                		Force=No
                		Item=Video Stream
                		{
                			Coding Mode=Mpeg-2
                			Standard=PAL
                			CC Field 1=No
                			CC Field 2=No
                			Item=Video Play
                			{
                				File=D:\Bitmaps\CD1-01.bmp
                				Size=0
                				Duration=00:02:29:22
                			}
                			Item=Video Play
                			{
                				File=D:\Bitmaps\CD1-02.bmp
                				Size=0
                				Duration=00:02:14:12
                			}
                			Item=Video Play
                			{
                				File=D:\Bitmaps\CD1-03.bmp
                				Size=0
                				Duration=00:03:15:12
                			}
                		}
                		Item=Audio Stream
                		{
                			Stream Number=1
                			Language Extension=1
                			Delay=0
                			Type=04c1
                			Frame Size=768
                			Item=Audio Play
                			{
                				File=D:\Audio\CD1-01.ac3
                				Size=3596544
                			}
                			Item=Audio Play
                			{
                				File=D:\Audio\CD1-02.ac3
                				Size=3223418
                			}
                			Item=Audio Play
                			{
                				File=D:\Audio\CD1-03.ac3
                				Size=4076288
                			}
                		}
                		Item=Scene List
                		{
                			Item=Scene
                			{
                				Name=Segment_1_scn1
                				Scene Time=00:00:00:00
                				Uop=00000000
                			}
                			Item=Scene
                			{
                				Name=Segment_1_scn2
                				Scene Time=00:02:29:22
                				Uop=00000000
                			}
                			Item=Scene
                			{
                				Name=Segment_1_scn3
                				Scene Time=00:04:44:09
                				Uop=00000000
                			}
                			
                		}
                	}
                }
                ...........................
                ...........................
                		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
                				{
                				}
                				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=Program
                					{
                						Name=VTS01_TTL01_pg2
                						Item=Cell
                						{
                							Name=VTS01_TTL01_cell2
                							Linked Scene=Segment_1_scn2
                							Command=
                							Cell Still Time=0
                							VOBU Still Flag=False
                							Access Restriction Flag=Permitted
                							Cell Type=0
                							Seamless Flag=default
                						}
                					}
                					Item=Program
                					{
                						Name=VTS01_TTL01_pg3
                						Item=Cell
                						{
                							Name=VTS01_TTL01_cell3
                							Linked Scene=Segment_1_scn3
                							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
                				Item=VTS01_TTL01_pg2
                				Item=VTS01_TTL01_pg3
                			}
                		}
                	}
                }
                So each CD is one VOB and the mux between cells is seamless by default

                Comment

                • MPUCoder
                  Creator of MuxMan
                  • Nov 2006
                  • 8

                  #53
                  That was incorrect on my part, I wasn't thinking about slideshows. If you want seamless do as bigotti5 showed. This means more work on your part, and you might be wondering what an easy way to get the duration and scene times is. Here's one way using MuxMan. First load up all the audio files and at least one video file (to establish the video standard, alternately you can force the standard and resolution values), then open the audio file manager. Each audio file will have its end time shown.

                  Use the end time for scene times. Audio end times use milliseconds instead of frames, so a little conversion is needed for this. PAL frames are 40ms, NTSC 33
                  Selecting the file will show you its duration in the hh:mm:ss:ff format that can be used directly to set the duration of the corresponding image.

                  Comment

                  • r0lZ
                    Lord of Digital Video
                    Lord of Digital Video
                    • Mar 2004
                    • 1508

                    #54
                    Thanks everybody! That's exactly what I thought.

                    mpucoder, your method works certainly, but I cannot do that manually for all files. They are too numerous.
                    My first attempt to automate that was made with timings extracted from the audio files with delaycut, but that was not accurate enough, and some BMPs were muxed too early. A jump to the next chapter skipped the video, and the background was therefore not refreshed. Maybe a little problem with the durations reported by delaycut? On the other hand, there were no gaps between the live tracks.

                    Then I used the alt method explained above in this thread by goonix, but seems it's impossible to have seamless joints in that case.

                    Pity. But I'll retry anyway with the new version...
                    r0lZ
                    PgcEdit homepage (hosted by VideoHelp)
                    Unofficial mirror (in Poland)

                    Comment

                    • bigotti5
                      Junior Member
                      Junior Member
                      • Oct 2004
                      • 16

                      #55
                      Imho the pause is caused by the NSM flag and not the mux.
                      Remove the flags after authoring and give it a try in your player(s)

                      Comment

                      • MPUCoder
                        Creator of MuxMan
                        • Nov 2006
                        • 8

                        #56
                        If jumping to a chapter misses the video this is caused by the scene start time not being equal to the sum of all the preceeding durations. Remember that regardless of PAL or NTSC all times are non-drop. This could be the cause of the scenes not being aligned with the video, and also why the bmp are too soon.
                        Audio file durations and video duration seldom line up exactly, especially with NTSC, due to the duration periods. This means a single segment album will have chapter points slightly off from the start of audio. Even in CDs this happens, they run at 75fps and I've heard many albums of continuous music where a cut started slightly before the exact point it should. Common practice is to put the start point at the nearest frame before the exact time.

                        Getting the duration of a CBR AC3 file is fairly simple. The number of bytes per frame can be determined from frmsizcod (see atsc standard A/52B here). Dividing the file size by the frame size gives you the total number of audio frames, the duration of each is 32ms or 2880 clock ticks. Now take the duration in clock ticks and divide by the video duration of either 3600 for PAL or 3003 for NTSC to ge the nearest video frame number.
                        To eliminate the accumulation of round-off errors use the total duration of all audio files in clock ticks prior to each selection to determine the nearest video frame.

                        Comment

                        Working...