VideoHelp Forum




+ Reply to Thread
Results 1 to 18 of 18
  1. Hi all

    I am trying to create a DVD using DVDAuthor and without any DVDAuthor GUIs because I am automating the DVD production process without GUI intervention. Everything seems to be going well apart from the resolution of the DVD when its played on a DVD player. The sides and top are cutoff from the DVD image.

    If anyone can help it would be appreciated, we’re trying to distribute thousands of free educational dvds to kids in poor countries. Heres the full story....

    I have two files which are in MP4 (640x360 in 16:9 and 1280x720) format which I first convert to MPEG using ffmpeg.
    Code:
    ffmpeg -i video1. mp4 -target pal-dvd -ar 48000 -y video1.mpeg
    
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video1.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 1
        compatible_brands: isomavc1
        creation_time   : 2011-07-16 13:33:56
      Duration: 00:17:38.64, start: 0.000000, bitrate: 125 kb/s
        Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 58 kb/s, 14.99 fps, 14.99 tbr, 59956 tbn, 29.98 tbc
        Metadata:
          creation_time   : 2011-07-16 13:33:56
          handler_name    : /tmp/zenengine/c9e/b26/file_flvc9eb26c091dd012e53ea12313b06c051/video.264 - Imported with GPAC 0.4.6-DEV (internal rev. 8)
        Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 64 kb/s
        Metadata:
          creation_time   : 2011-07-16 13:33:56
          handler_name    : /tmp/zenengine/c9e/b26/file_flvc9eb26c091dd012e53ea12313b06c051/audio.aac - Imported with GPAC 0.4.6-DEV (internal rev. 8)
    [buffer @ 0x2216740] w:640 h:360 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
    [scale @ 0x2217920] w:640 h:360 fmt:yuv420p -> w:720 h:576 fmt:yuv420p flags:0x4
    Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
    Output #0, dvd, to 'video1.mpeg':
      Metadata:
        major_brand     : isom
        minor_version   : 1
        compatible_brands: isomavc1
        creation_time   : 2011-07-16 13:33:56
        encoder         : Lavf53.24.2
        Stream #0:0(und): Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 6000 kb/s, 90k tbn, 25 tbc
        Metadata:
          creation_time   : 2011-07-16 13:33:56
          handler_name    : /tmp/zenengine/c9e/b26/file_flvc9eb26c091dd012e53ea12313b06c051/video.264 - Imported with GPAC 0.4.6-DEV (internal rev. 8)
        Stream #0:1(und): Audio: ac3, 48000 Hz, stereo, flt, 448 kb/s
        Metadata:
          creation_time   : 2011-07-16 13:33:56
          handler_name    : /tmp/zenengine/c9e/b26/file_flvc9eb26c091dd012e53ea12313b06c051/audio.aac - Imported with GPAC 0.4.6-DEV (internal rev. 8)
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 -> mpeg2video)
      Stream #0:1 -> #0:1 (aac -> ac3)



    and the second video (1280x720 in 16:9 ) video2.mp41280 h:720
    Code:
    ffmpeg version 0.9.1, Copyright (c) 2000-2012 the FFmpeg developers
      built on Jan 14 2012 14:48:02 with gcc 4.6.1
      configuration: 
      libavutil    51. 32. 0 / 51. 32. 0
      libavcodec   53. 42. 4 / 53. 42. 4
      libavformat  53. 24. 2 / 53. 24. 2
      libavdevice  53.  4. 0 / 53.  4. 0
      libavfilter   2. 53. 0 /  2. 53. 0
      libswscale    2.  1. 0 /  2.  1. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video2.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 1
        compatible_brands: isomavc1
        creation_time   : 2011-07-16 13:32:46
      Duration: 00:01:03.81, start: 0.000000, bitrate: 403 kb/s
        Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 335 kb/s, 15.15 fps, 15.15 tbr, 7576 tbn, 30.30 tbc
        Metadata:
          creation_time   : 2011-07-16 13:32:46
          handler_name    : /tmp/zenengine/ca2/f92/file_mp4ca2f928091dd012e076e12313b079606/video.264 - Imported with GPAC 0.4.6-DEV (internal rev. 8)
        Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 65 kb/s
        Metadata:
          creation_time   : 2011-07-16 13:32:46
          handler_name    : /tmp/zenengine/ca2/f92/file_mp4ca2f928091dd012e076e12313b079606/audio.aac - Imported with GPAC 0.4.6-DEV (internal rev. 8)
    [buffer @ 0x262eb40] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
    [scale @ 0x2624860] w:1280 h:720 fmt:yuv420p -> w:720 h:576 fmt:yuv420p flags:0x4
    Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
    Output #0, dvd, to'video2.mpeg’:
      Metadata:
        major_brand     : isom
        minor_version   : 1
        compatible_brands: isomavc1
        creation_time   : 2011-07-16 13:32:46
        encoder         : Lavf53.24.2
        Stream #0:0(und): Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 6000 kb/s, 90k tbn, 25 tbc
        Metadata:
          creation_time   : 2011-07-16 13:32:46
          handler_name    : /tmp/zenengine/ca2/f92/file_mp4ca2f928091dd012e076e12313b079606/video.264 - Imported with GPAC 0.4.6-DEV (internal rev. 8)
        Stream #0:1(und): Audio: ac3, 48000 Hz, stereo, flt, 448 kb/s
        Metadata:
          creation_time   : 2011-07-16 13:32:46
          handler_name    : /tmp/zenengine/ca2/f92/file_mp4ca2f928091dd012e076e12313b079606/audio.aac - Imported with GPAC 0.4.6-DEV (internal rev. 8)
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 -> mpeg2video)
      Stream #0:1 -> #0:1 (aac -> ac3)
    So both files are converted to DVD PAL format of 720x576 in DAR 16:9.

    Now I have a main menu (mainmenu.mpeg) and title menu (background.mpeg) with 20x576 in DAR 16:9. using ffprobe
    Code:
    Input #0, mpeg, from 'background.mpeg':
      Duration: 00:02:17.76, start: 0.120000, bitrate: 132 kb/s
        Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 7500 kb/s, 1 tbr, 90k tbn, 50 tbc
        Stream #0:1[0x20]: Subtitle: dvd_subtitle
        Stream #0:2[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
    
    Input #0, mpeg, from 'mainmenu.mpeg':
      Duration: 00:04:22.60, start: 0.120000, bitrate: 130 kb/s
        Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 7500 kb/s, 1 tbr, 90k tbn, 50 tbc
        Stream #0:1[0x20]: Subtitle: dvd_subtitle
        Stream #0:2[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
    I put all this together using DVDAuthor
    Code:
    <dvdauthor>
    	<vmgm>
    	<fpc>jump menu 1; </fpc>
    		<menus>
    			<video format="PAL" aspect="4:3" resolution="720x576"/>
    			<pgc entry="title">
    				<vob file="mainmenu.mpeg" pause="inf" />
    				<button>jump titleset 1 menu;</button>
    
    			</pgc>
    		</menus>
    	</vmgm>
    	<titleset>
    	<menus>
    		<pgc>
    			<vob file="background.mpeg" pause="inf" />
    			<button>jump title 1 chapter 1;</button><button>jump title 1 chapter 2;</button><button>jump vmgm menu entry title; </button>
    		</pgc>
    	</menus>
    	<titles>
    		<pgc >
    		<vob file="video1.mpeg" pause="3" />
    <vob file="video2.mpeg" pause="3" />
    	
    		<post> call menu; </post>
    		</pgc>
    	</titles>
    </titleset>
    </dvdauthor>
    main menu

    Code:
    INFO: Generating VMGM with the following video attributes:
    INFO: MPEG version: mpeg2
    INFO: TV standard: pal
    INFO: Aspect ratio: 4:3
    INFO: Resolution: 720x576
    INFO: Audio ch 0 format: mp2/2ch,  48khz 20bps
    
    
    video 2
    
    INFO: Video pts = 0.540 .. 64.340
    INFO: Audio[0] pts = 0.540 .. 64.380
    STAT: VOBU 1871 at 212MB, 1 PGCs
    CHAPTERS: VTS[1/1] 0.000
    CHAPTERS: VTS[1/2] 0.000
    INFO: Generating VTS with the following video attributes:
    INFO: MPEG version: mpeg2
    INFO: TV standard: pal
    INFO: Aspect ratio: 16:9
    INFO: Resolution: 720x576
    INFO: Audio ch 0 format: ac3/2ch,  48khz drc
    
    
    background
    
    STAT: VOBU 1 at 2MB, 1 PGCs
    CHAPTERS: VTS[1/1] 0.000
    INFO: Generating VTSM with the following video attributes:
    INFO: MPEG version: mpeg2
    INFO: TV standard: pal
    INFO: Aspect ratio: 4:3
    INFO: Resolution: 720x576
    INFO: Audio ch 0 format: mp2/2ch,  48khz 20bps
    All the navigation and menus work fine BUT in a (non PC/laptop) DVD player, the image looks slightly stretched and the edges and the top image overhangs the screen by quite a bit. In other words the image does not fit the screen and the edges and the top are cut off.

    OK so I know that I am going from 16:9 in video1 and video2 to 4:3 and that video1 and video2 originally had different aspect ratios. However all final output files are 720x576 and 4:3.

    Is this just overburn or a problem with DVD author or ffmpeg?
    Is there a more appropriate scaling (filter) I should use for ffmpeg instead of -target pal-dvd? (Can anyone give me an example)
    Should everything be 16:9? (not ideal as most of our users don;t have widescreen)
    How can I mix 16:9 with 4:3 videos in this way? some post suggest each class in its different title-sets which they already are?
    Is there something amiss with the DVDAuthorl?

    Anyone please help? We’re so close, this is the final issue to resolve.
    Quote Quote  
  2. I don't use DVDAuthor without a GUI, so I can't help with everything.

    Originally Posted by davelakers View Post
    DVD player, the image looks slightly stretched and the edges and the top image overhangs the screen by quite a bit. In other words the image does not fit the screen and the edges and the top are cut off.
    How about when played on a computer? Is everything there, or are parts still cut off? If everything shows, it's just the overscan of the TV, or the standalone DVD player doing some cropping, or both.

    OK so I know that I am going from 16:9 in video1 and video2 to 4:3 and that video1 and video2 originally had different aspect ratios. However all final output files are 720x576 and 4:3.
    720x576 isn't 4:3 but 5:4 (720/576=1.25). It's stored on the DVD as 5:4 but resized at playback time. Why make a 4:3 menu in the first place, when the video content is 16:9? And I didn't understand "I know that I am going from 16:9 in video1 and video2 to 4:3'. Your sources are in a 1.78:1 ratio and should be encoded as 16:9. But elsewhere you say that so, again, I don't understand. But, with a 4:3 menu, if it's in the same VTS as the videos, the videos themselves might get played as 4:3. Ideally the menu should be in a different titleset if you insist on having a 4:3 menu with 16:9 content.

    Should everything be 16:9? (not ideal as most of our users don;t have widescreen)
    So what? Are you saying those with 4:3 TV sets don't watch 16:9 DVD movies with 16:9 menus? The player will add the necessary black bars when outputting to a 4:3 TV. There's nothing at all wrong with having a DVD with 16:9 menus and video content for playback on 4:3 TV sets. And when they inevitably upgrade to widescreen TV sets, they'll have to put up with the black bars on the sides of the menus, because you made them (but not the video content) for 4:3 TV sets?

    Now I have a main menu (mainmenu.mpeg) and title menu (background.mpeg) with 20x576 in DAR 16:9.
    The code just below shows them encoded as 4:3. My suggestion is to make everything for 16:9.
    Quote Quote  
  3. Thanks for the reply.

    How about when played on a computer? Is everything there, or are parts still cut off? If everything shows, it's just the overscan of the TV, or the standalone DVD player doing some cropping, or both.
    When I run in VLC Player, Mplayer and XINE there is not cutting, cropping. Everything fits fine although the window sizes of these tools do change depending on whether I'm in menu or title videos. I tried it in two DVD players and both have quite a lot of cropping with a good 5-10% of the picture missing from each side.

    Why make a 4:3 menu in the first place, when the video content is 16:9? And I didn't understand "I know that I am going from 16:9 in video1 and video2 to 4:3'
    I don't specify 4:3 but when I run ffmpeg -target dvd-pal and then do ffprobe on the output mpeg it shows it as 4:3. With this preset 'pal-dvd' it seems to change it to 4:3 . Perhaps I should be forcing it to 16:9 with a DAR filter!?

    Ideally the menu should be in a different titleset if you insist on having a 4:3 menu with 16:9 content.
    I'm not sure how to force the menus in the VMGM to be in their own titleset atleast not according to
    http://dvdauthor.sourceforge.net/doc/r1741.html

    The code just below shows them encoded as 4:3. My suggestion is to make everything for 16:9.
    Yes sorry they are 4:3 that was a typo. Perhaps I will try and force everything to 16:9.

    Thanks for the suggestions, any other comments are helpful.
    Quote Quote  
  4. Member
    Join Date
    Aug 2009
    Location
    United States
    Search Comp PM
    Originally Posted by davelakers View Post
    How can I mix 16:9 with 4:3 videos in this way? some post suggest each class in its different title-sets which they already are?
    Is there something amiss with the DVDAuthorl?
    They are not in different title sets, they are different titles in the same title set. Put them in different title sets. Alternatively, put black bars on one of them in the encoding processes.
    Quote Quote  
  5. Originally Posted by davelakers View Post
    When I run in VLC Player, Mplayer and XINE there is not cutting, cropping. Everything fits fine although the window sizes of these tools do change depending on whether I'm in menu or title videos. I tried it in two DVD players and both have quite a lot of cropping with a good 5-10% of the picture missing from each side.
    Then it's caused by the TV's overscan and/or the DVD player cropping the video. The only way around that is to add black bars around the sides when encoding for DVD (at the expense of resolution). Or, failing that, make sure there's nothing of importance at the sides of the menus. I don't guess you can go back and recreate the video content.

    I don't specify 4:3 but when I run ffmpeg -target dvd-pal and then do ffprobe on the output mpeg it shows it as 4:3. With this preset 'pal-dvd' it seems to change it to 4:3 . Perhaps I should be forcing it to 16:9 with a DAR filter!?
    I use DVDAuthorGUI with some frequency and it used to make only 4:3 menus. With newer versions you can specify whether the menus are to be 4:3 or 16:9. If you have a menu source you created for 16:9 encoding, then if there's any way within DVDAuthor to force the menu to be 16:9, you should do it. If you can't, you can change it to 16:9 using PGCEdit after the DVD's been created. It's a simple matter of changing a flag. Ask if you need instructions.
    Quote Quote  
  6. Hi

    OK so every video is now 16:9 including the menus. Still the same problem. On a DVD player the image is about 20% lost from all edges. I even tried removing video2 from the titleset so that there is only one item in the titleset.

    Thing is when I use the dvd player zoom function to 1/2 it displays everything correctly however I can't rely on this as not all DVD players have this option.

    I can't add black bars to the video files but can to the menu. Will this help? where do they go top/bottom or left/right and how large should they be? What effect does this have?

    thanks again
    Dave
    Quote Quote  
  7. Member
    Join Date
    Aug 2009
    Location
    United States
    Search Comp PM
    Your xml file should look something like this:

    Code:
    <dvdauthor>
        <vmgm>
            <menus>
                <video aspect="16:9" widescreen="noletterbox" />
                <subpicture>
                    <stream id="0" mode="widescreen" />
                    <stream id="1" mode="panscan" />
                </subpicture>
                <pgc>
                    <vob file="menu.mpg" />
                    <button>jump titleset 1 menu;</button>
                    <button>jump titleset 2 menu;</button>
                </pgc>
            </menus>
        </vmgm>
    
        <titleset>
            <menus>
                <pgc entry="root">
                    <pre>
                        jump title 1 chapter 1;
                    </pre>
                </pgc>
            </menus>
            <titles>
                <video aspect="16:9" />
                <pgc>
                    <vob file="video169.mpg" />
                    <post>call vmgm menu 1;</post>
                </pgc>
            </titles>
        </titleset>
    
        <titleset>
            <menus>
                <pgc entry="root">
                    <pre>
                        jump title 1 chapter 1;
                    </pre>
                </pgc>
            </menus>
            <titles>
                <video aspect="4:3" />
                <pgc>
                    <vob file="video43.mpg" />
                    <post>call vmgm menu 1;</post>
                </pgc>
            </titles>
        </titleset>
    </dvdauthor>
    Last edited by ejolson; 8th Feb 2012 at 17:16.
    Quote Quote  
  8. Originally Posted by davelakers View Post
    On a DVD player the image is about 20% lost from all edges. I even tried removing video2 from the titleset so that there is only one item in the titleset.

    Thing is when I use the dvd player zoom function to 1/2 it displays everything correctly however I can't rely on this as not all DVD players have this option.
    20% is a lot. Generally one doesn't lose more than about 10% to the overscan. Can you try playing it on a different player, like over at a friend's house, to see if more of the picture is visible? And you're sure the player and TV are set up correctly? If using the player's half-zoom fixes it, you're sure the TV isn't set up to zoom in the first place?

    Just to confirm, everything plays in the correct aspect ratio, right? Circles are round? People look normal? It's just that you're losing picture around the sides? And when played on a computer everything shows as it should?

    I don't know how you encoded that video, like using what encoder and how you got it into that encoder. Ordinarily, if using an AviSynth script, you'd add the black bars and then do a resize, something like:

    AddBorders(20,16,-20,-16)
    LanczosResize(720,576)

    That says to add 20 columns of pixels to both sides and 16 rows of pixels above and below before resizing back to PAL's 720x576. But if the video is interlaced it has to be done in an interlace-aware manner (bob, addborders, resize, reinterlace).
    Quote Quote  
  9. Member
    Join Date
    Aug 2009
    Location
    United States
    Search Comp PM
    [QUOTE=manono;2140030]
    Originally Posted by davelakers View Post
    Ordinarily, if using an AviSynth script, you'd add the black bars and then do a resize, something like:

    AddBorders(20,16,-20,-16)
    LanczosResize(720,576)

    That says to add 20 columns of pixels to both sides and 16 rows of pixels above and below before resizing back to PAL's 720x576. But if the video is interlaced it has to be done in an interlace-aware manner (bob, addborders, resize, reinterlace)
    You can also add a black borders while encoding with ffmpeg. For a 10% border on a 640x360 video try

    Code:
    ffmpeg -i video1.mp4 -padtop 36 -padbottom 36 -padleft 64 -padright 64 \
        -s 720x576 -target pal-dvd -aspect 16:9 -ar 48000 -y video1.mpg

    Last edited by ejolson; 9th Feb 2012 at 12:01.
    Quote Quote  
  10. Free Flying Soul liquid217's Avatar
    Join Date
    Feb 2002
    Location
    United States
    Search Comp PM
    davelakers,
    I haven't read this entire thread, but look over the first post in this thread, and see if that resembles your issue:
    https://forum.videohelp.com/threads/319852-Multiple-subpic-aspects-on-still-menus

    If it is, you just need to resize the overlays, like I am now doing in DVDAuthorGUI, when dealing with 16:9 menus. Let me know if you need more information (I'll have to dig through my sourcecode )
    Quote Quote  
  11. Hi Everyone

    Thanks so much for your replies and suggestions, it helped me find a partial solution in the end.

    1 ) It turns out the magic -target pal-dvd option on FFMPEG was converting everything into 4:3. So as a temporary fix I made sure -setdar=16:9 was set to begin with. I also dug out the ffmpeg source and used all options in the target -pal-dvd apart from forcing the video to 4:3. I also ensure the aspect ratio is the same as the original with a scaling filter.

    2) It turns out it was overscanning that was causing the problem. What I do now is add an arbitrary padding of 80 on the left and right and 40 top and bottom. It's not ideal but at least it displays/fits on screen. Later I will need to do some more clever resizing and padding to maintain the aspect ratio of the original video before it is converted to mpeg.

    Thanks again for all these replies, I'll post a blog or code when I get the final bit working.

    Cheers
    Dave
    Quote Quote  
  12. 20% is a lot. Generally one doesn't lose more than about 10% to the overscan. Can you try playing it on a different player, like over at a friend's house, to see if more of the picture is visible? And you're sure the player and TV are set up correctly? If using the player's half-zoom fixes it, you're sure the TV isn't set up to zoom in the first place?
    I tried it on the DVD player downstairs and same thing (since then I've added borders and it fits fine)

    Just to confirm, everything plays in the correct aspect ratio, right? Circles are round? People look normal? It's just that you're losing picture around the sides? And when played on a computer everything shows as it should?
    That is correct, everything else is reasonable just the edges lost.

    I don't know how you encoded that video, like using what encoder and how you got it into that encoder. Ordinarily, if using an AviSynth script, you'd add the black bars and then do a resize, something like:

    AddBorders(20,16,-20,-16)
    LanczosResize(720,576)

    That says to add 20 columns of pixels to both sides and 16 rows of pixels above and below before resizing back to PAL's 720x576. But if the video is interlaced it has to be done in an interlace-aware manner (bob, addborders, resize, reinterlace).
    Good point! in the end I did what you recommended. I rescale the original, add borders and padding, place the original in the middle but need to look into reinterlacing ....thanks for the tip
    Quote Quote  
  13. Originally Posted by davelakers View Post
    What I do now is add an arbitrary padding of 80 on the left and right and 40 top and bottom.
    And in the process you screw up the aspect ratio. Since your DVD is 720x576 (5:4), you should add the padding in the same ratio, like maybe 80 and 64.
    Quote Quote  
  14. Member
    Join Date
    Aug 2009
    Location
    United States
    Search Comp PM
    Originally Posted by davelakers View Post
    1 ) It turns out the magic -target pal-dvd option on FFMPEG was converting everything into 4:3. So as a temporary fix I made sure -setdar=16:9 was set to begin with. I also dug out the ffmpeg source and used all options in the target -pal-dvd apart from forcing the video to 4:3.
    The ordering of options is important on the ffmpeg command line. Set -target pad-dvd and then set -aspect 16:9 as indicated in my post above.

    https://forum.videohelp.com/threads/343405-DVDAuthor-incorrect-ratio-after-conversion?p...=1#post2140033
    Quote Quote  
  15. Thanks again for the comments, all aspect ratios and padding are now fine and dandy. Then next issue is different and has to do with automatic timeout on my DVD player:

    I have the basic XML
    Code:
    <dvdauthor>
    	<vmgm>
    	<fpc>jump vmgm menu 1; </fpc>
    		<menus>
    			<video format="PAL"/> # aspect details omitted for now
    			<pgc entry="title" pause ="inf"> # either "inf" is set here
    				<vob file="mainmenu.mpeg" pause="inf"  /> # or here
    				<button>jump titleset 1 menu;</button>
    			        <post>jump titleset 1 menu;</post> # I've even tried omitting this line
    			</pgc>
    		</menus>
    	</vmgm>
    	<titleset>
    	<menus>
    		<pgc entry="root">
    			<vob file="background.mpeg" />
    			<button>jump title 1 chapter 1;</button>
    		</pgc>
    	</menus>
    	<titles>
    		<pgc>
    		<vob file="video1.mpeg" />
    		<post> call menu; </post>
    		</pgc>
    	</titles>
    </titleset>
    </titleset>
    </dvdauthor>
    On my newer DVD player this works fine and the menu waits for me to select an option from the VMGM menu and goes to the titleset menu. On a different (older) DVD player, when I get to the VMGM menu, it shows it for x seconds then it "automatically" presses the first highlighted button and goes to the titleset menu... it does the same at the titleset menu after x seconds and starts playing the title 1.

    I know that the DVD player has a menu timeout feature and has something to do with SPRM 9, the question is how do I get the DVD player to wait for user selection and not timeout? I add pause="inf" at the PGC OR at the VOB level as the comments show above. Still the pauses are ignored and the first menu button is automatically selected each time.

    I've even tried pause="0" and in the <post>jump cell 1;</post> however the first menu button is automatically pressed in both cases. Can you guys spot anything obvious in the XML or is this a dvdauthor or DVD player issue?

    I just want the menu(s) to wait for user input and then loop the mainmenu.mpeg or background.mpeg videos when they reached their end (until a user presses a button).

    Any ideas please?
    Last edited by davelakers; 11th Feb 2012 at 19:14. Reason: code tag
    Quote Quote  
  16. Member
    Join Date
    Aug 2009
    Location
    United States
    Search Comp PM
    Originally Posted by davelakers View Post
    Then next issue is different and has to do with automatic timeout on my DVD player:
    I would eliminate the <fpc> because the default jumps to the first menu and may have other initialization. Remove all pause="inf" statements and the <post> section in the main menu. Remove the extra </titleset> at the end of the file. The xml file should now look like what follows:

    Code:
    <dvdauthor>
       <vmgm>
          <menus>
             <video format="pal" />
             <pgc entry="title">
                <vob file="mainmenu.mpeg" />
                <button>jump titleset 1 menu;</button>
             </pgc>
          </menus>
       </vmgm>
    
       <titleset>
          <menus>
             <pgc entry="root">
                <vob file="background.mpeg" />
                <button>jump title 1 chapter 1;</button>
             </pgc>
          </menus>
          <titles>
             <pgc>
                <vob file="video1.mpeg" />
                <post>call menu;</post>
             </pgc>
          </titles>
       </titleset>
    </dvdauthor>
    I'm currently using version 0.6.18. What version of dvdauthor are you using?
    Last edited by ejolson; 11th Feb 2012 at 22:02.
    Quote Quote  
  17. Hi ejolson,

    Thanks for the tip, fortunately the second titleset was a typo in the post..I gave it a shot and same thing. I'm hoping that its just a quirk of this DVD player although am open to any more ideas?

    p.s. using version 0.7.0 built from git.

    Cheers
    Last edited by davelakers; 12th Feb 2012 at 09:34.
    Quote Quote  
  18. Member
    Join Date
    Aug 2009
    Location
    United States
    Search Comp PM
    Originally Posted by davelakers View Post
    p.s. using version 0.7.0 built from git.
    To rule out the possibility of a regression in the dvdauthor code, I would try an older version such as 0.6.18 and check if the problem persists. The obvious workaround is to multiplex about 3 minutes of silent audio with each menu track. Assuming the audio track is encoded at a bitrate of 96kbps this will waste about 2MB per menu.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!