DVD menu problem

View: New views
13 Messages — Rating Filter:   Alert me  

DVD menu problem

by Warren@take1 :: Rate this Message:

| View Threaded | Show Only this Message

I'm working on a project to create DVD with menu of all video clip recorded. I have created a background
picture in jpeg format. Then I use jpeg2yuv and mpeg2enc to covert the file into a mpeg file. The script is
like this.

jpeg2yuv -n 50 -I p -f 25 -j Menu\menu1.jpg | mpeg2enc -n p -f 8 -o Menu\menu1.m2v
mplex -f 8 -o Menu\menu1.mpg Menu\menu1.m2v resource\silence.mp2
Then I use spumux and two png files, one for selected and one for highlight (in fact both are the same), to add button to the mpeg file with a xml file.

<subpictures>
  <stream>
    <spu
         force="yes"
         start="00:00:00.00"
         select="PNG\border8_selected.png"
         highlight="PNG\border8_highlight.png"
         autooutline="infer"
         outlinewidth="10"
         autoorder="rows">
     </spu>
  </stream>
</subpictures>
 
At last, I use dvdauthor to create the whole dvd hierarchy with another xml file.
<dvdauthor>
  <vmgm>
    <menus>
      <video format="ntsc"<>/video>
      <pgc entry="root">
        <vob file="Menu\menu1_final.mpg"></vob>
        <button>jump menu 1;</button>
        <button>jump title 1 chapter 1;</button>
        <button>jump menu 1;</button>
        <button>jump title 1 chapter 1;</button>
        <button>jump title 2 chapter 1;</button>
        ....
      </pgc>
    </menus>
  </vmgm>
  <titleset>
    <menus>    
    </menus>
    <titles>
      <pgc>
        <vob file="E:\28-2-2008\DVD menu\mpeg file\video1.mpg"></vob>
      </pgc>
      <pgc>
        <vob file="E:\28-2-2008\DVD menu\mpeg file\video2.mpg"></vob>
      </pgc>
      <pgc>
        <vob file="E:\28-2-2008\DVD menu\mpeg file\video3.mpg"></vob>
      </pgc>
      <pgc>
        <vob file="E:\28-2-2008\DVD menu\mpeg file\video4.mpg"></vob>
      </pgc>
      ....
    </titles>
  </titleset>
</dvdauthor>
Although it is successful to create the DVD, in the progress, it shows "WARN: unknown mpeg2 ratio aspect
1". I don't know whether it is a problem to the output, but there are some problems in the menu page
shown. Although all button is created and able to be shown, the position of the button is different to the
cursor pointing. Also, it is sometimes shaking in the menu page. I'm creating DVD in NTSC format (720x480)and
I'm a windows user. Is there any problem in my procedure?

Re: DVD menu problem

by Wolfgang Wershofen :: Rate this Message:

| View Threaded | Show Only this Message

Warren@take1 schrieb:
> I'm working on a project to create DVD with menu of all video clip
> recorded. I have created a background
> picture in jpeg <http://hk.geocities.com/warren_cwl/menu1.jpg> format.
> Then I use jpeg2yuv and mpeg2enc to covert the file into a mpeg file.
> The script is
> like this.
>
> jpeg2yuv -n 50 -I p -f 25 -j Menu\menu1.jpg | mpeg2enc -n p -f 8 -o
> Menu\menu1.m2v
You are creating a PAL-MPEG with "-n p" on mpeg2enc. That contradicts
your statement that you are trying to build a NTSC-DVD...

> Although it is successful to create the DVD, in the progress, it shows
> "WARN: unknown mpeg2 ratio aspect
> 1". I don't know whether it is a problem to the output, but there are
> some problems in the menu page
That of course is a problem as many hardware players will not be able to
play your DVD. You forgot to specify the aspect ratio in your jpeg2yuv
command. Use something like jpeg2yuv -A 4:3 ... , see "man jpeg2yuv" for
details.

> shown. Although all button is created and able to be shown, the
> position of the button is different to the
> cursor pointing. Also, it is sometimes shaking in the menu page. I'm
> creating DVD in NTSC format (720x480)and
> I'm a windows user. Is there any problem in my procedure?
Correct the two points, I mentioned and retry. Maybe then, your problem
is already solved. Report back, if not.

hth
Wolfgang

--
Geek by nature, Linux by choice



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: DVD menu problem

by Warren@take1 :: Rate this Message:

| View Threaded | Show Only this Message

Thanks Wolfgang!


Wolfgang Wershofen wrote:
Warren@take1 schrieb:
> I'm working on a project to create DVD with menu of all video clip
> recorded. I have created a background
> picture in jpeg <http://hk.geocities.com/warren_cwl/menu1.jpg> format.
> Then I use jpeg2yuv and mpeg2enc to covert the file into a mpeg file.
> The script is
> like this.
>
> jpeg2yuv -n 50 -I p -f 25 -j Menu\menu1.jpg | mpeg2enc -n p -f 8 -o
> Menu\menu1.m2v
You are creating a PAL-MPEG with "-n p" on mpeg2enc. That contradicts
your statement that you are trying to build a NTSC-DVD...

> Although it is successful to create the DVD, in the progress, it shows
> "WARN: unknown mpeg2 ratio aspect
> 1". I don't know whether it is a problem to the output, but there are
> some problems in the menu page
That of course is a problem as many hardware players will not be able to
play your DVD. You forgot to specify the aspect ratio in your jpeg2yuv
command. Use something like jpeg2yuv -A 4:3 ... , see "man jpeg2yuv" for
details.

> shown. Although all button is created and able to be shown, the
> position of the button is different to the
> cursor pointing. Also, it is sometimes shaking in the menu page. I'm
> creating DVD in NTSC format (720x480)and
> I'm a windows user. Is there any problem in my procedure?
Correct the two points, I mentioned and retry. Maybe then, your problem
is already solved. Report back, if not.

hth
Wolfgang

--
Geek by nature, Linux by choice



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: DVD menu problem

by Lawrence D'Oliveiro-2 :: Rate this Message:

| View Threaded | Show Only this Message

Warren@take1 wrote:

> Then I use jpeg2yuv and mpeg2enc to covert the file into a mpeg file.  The
> script is like this.
>
> jpeg2yuv -n 50 -I p -f 25 -j Menu\menu1.jpg | mpeg2enc -n p -f 8 -o
> Menu\menu1.m2v
> mplex -f 8 -o Menu\menu1.mpg Menu\menu1.m2v resource\silence.mp2

Just a note that it's probably easier these days to use FFmpeg. It can do
all the above in one command, with the right DVD-video settings just using
the option "-target pal-dvd" or "-target ntsc-dvd".

I have posted some FFmpeg tips here <http://wlug.org.nz/FFmpeg>.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: DVD menu problem

by grepper :: Rate this Message:

| View Threaded | Show Only this Message

On Saturday 01 March 2008, Lawrence D'Oliveiro wrote:

> Warren@take1 wrote:
> > Then I use jpeg2yuv and mpeg2enc to covert the file into a mpeg file.
> > The script is like this.
> >
> > jpeg2yuv -n 50 -I p -f 25 -j Menu\menu1.jpg | mpeg2enc -n p -f 8 -o
> > Menu\menu1.m2v
> > mplex -f 8 -o Menu\menu1.mpg Menu\menu1.m2v resource\silence.mp2
>
> Just a note that it's probably easier these days to use FFmpeg. It can do
> all the above in one command, with the right DVD-video settings just using
> the option "-target pal-dvd" or "-target ntsc-dvd".
>
> I have posted some FFmpeg tips here <http://wlug.org.nz/FFmpeg>.

Expanding on Warren's post:

ffmpeg -loop_input -t 1.0 -f  image2  -i in.jpg  -aspect 4:3 \
-f  s16le -i /dev/zero -target ntsc-dvd -y out.mpg

You can use a wide variety of image types, just make sure they 8-bit depth.
( using imagemagick: convert file.png -depth 8 file-8bit.png )

Robert

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: DVD menu problem

by Warren@take1 :: Rate this Message:

| View Threaded | Show Only this Message


grepper wrote:
On Saturday 01 March 2008, Lawrence D'Oliveiro wrote:
> Warren@take1 wrote:
> > Then I use jpeg2yuv and mpeg2enc to covert the file into a mpeg file.
> > The script is like this.
> >
> > jpeg2yuv -n 50 -I p -f 25 -j Menu\menu1.jpg | mpeg2enc -n p -f 8 -o
> > Menu\menu1.m2v
> > mplex -f 8 -o Menu\menu1.mpg Menu\menu1.m2v resource\silence.mp2
>
> Just a note that it's probably easier these days to use FFmpeg. It can do
> all the above in one command, with the right DVD-video settings just using
> the option "-target pal-dvd" or "-target ntsc-dvd".
>
> I have posted some FFmpeg tips here <http://wlug.org.nz/FFmpeg>.

Expanding on Warren's post:

ffmpeg -loop_input -t 1.0 -f  image2  -i in.jpg  -aspect 4:3 \
-f  s16le -i /dev/zero -target ntsc-dvd -y out.mpg

You can use a wide variety of image types, just make sure they 8-bit depth.
( using imagemagick: convert file.png -depth 8 file-8bit.png )

Robert

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users
Now those dvd created seem ok and able to play after specifying the aspect ratio and frame rate.  But there is still a problem.  When playing the menu page, it will sometimes flicker.  I don't know what the problem.  Can anyone help me?

Warren

Re: DVD menu problem

by grepper :: Rate this Message:

| View Threaded | Show Only this Message

On Wednesday 05 March 2008, Warren@take1 wrote:

> Now those dvd created seem ok and able to play after specifying the aspect
> ratio and frame rate.  But there is still a problem.  When playing the menu
> page, it will sometimes flicker.  I don't know what the problem.  Can
> anyone help me?

Probably the fact that you have not added pause="inf" .
<vob file="Menu\menu1_final.mpg" pause="inf" />

Robert

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: DVD menu problem

by Warren@take1 :: Rate this Message:

| View Threaded | Show Only this Message

I should not use the word flicker.  The problem is like this, it just occurs occasionally.  After I loaded into the menu page, I click on to play a certain chapter.  During playing, I returned to the menu by choosing the option.  At this time, it may seems normal, but it will suddenly shift the whole page upward with some block like those in VCD and then back to normal position.  The page is just a background jpeg convert to mpeg.  The position of button remain unchange.  Although the DVD works properly, it seems quite odd.  Can anyone hlep me?

Warren

grepper wrote:
On Wednesday 05 March 2008, Warren@take1 wrote:

> Now those dvd created seem ok and able to play after specifying the aspect
> ratio and frame rate.  But there is still a problem.  When playing the menu
> page, it will sometimes flicker.  I don't know what the problem.  Can
> anyone help me?

Probably the fact that you have not added pause="inf" .
<vob file="Menu\menu1_final.mpg" pause="inf" />

Robert

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: DVD menu problem

by Wolfgang Wershofen :: Rate this Message:

| View Threaded | Show Only this Message

Warren@take1 schrieb:
> I should not use the word flicker.  The problem is like this, it just occurs
> occasionally.  After I loaded into the menu page, I click on to play a
> certain chapter.  During playing, I returned to the menu by choosing the
> option.  At this time, it may seems normal, but it will suddenly shift the
> whole page upward with some block like those in VCD and then back to normal
> position.  The page is just a background jpeg convert to mpeg.  The position
> of button remain unchange.  Although the DVD works properly, it seems quite
> odd.  Can anyone hlep me?
>  
Does this occur on a hardware or software player?

Your description sounds new to me, but I sometimes have strange menu
display issues with xine as well. The background displays ok, but the
buttons are odd. Switching between menu pages solves the problem, so I
think, it's an xine issue and not related to the DVD, I authored.
Additionally, I've never seen this on my hardware player.

cu
Wolfgang

--
Geek by nature, Linux by choice



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: DVD menu problem

by Warren@take1 :: Rate this Message:

| View Threaded | Show Only this Message

I want to know if there is a maximum number of video files to be recorded in a DVD using dvdauthor.  I've read this once and as I remember it can have 99 files.  But I can't find it out now.  Can anyone tell me if I am correct?

Warren@take1 wrote:
I'm working on a project to create DVD with menu of all video clip recorded.  I have created a background <br>picture in jpeg format.  Then I use jpeg2yuv and mpeg2enc to covert the file into a mpeg file.  The script is<br> like this.<br><br>
jpeg2yuv -n 50 -I p -f 25 -j Menu\menu1.jpg | mpeg2enc -n p -f 8 -o Menu\menu1.m2v<br>
mplex -f 8 -o Menu\menu1.mpg Menu\menu1.m2v resource\silence.mp2<br>
Then I use spumux and  two png files,  one for selected and  one for highlight (in fact both are the same), to add button to the mpeg file with  a xml file.<br><br>
<PRE>
<subpictures>
  <stream>
    <spu
         force="yes"
         start="00:00:00.00"
         select="PNG\border8_selected.png"
         highlight="PNG\border8_highlight.png"
         autooutline="infer"
         outlinewidth="10"
         autoorder="rows">
     </spu>
  </stream>
</subpictures>
 </PRE>
At last, I use dvdauthor to create the whole dvd hierarchy with another  xml file.<br>
<PRE>
<dvdauthor>
  <vmgm>
    <menus>
      <video format="ntsc"<>/video>
      <pgc entry="root">
        <vob file="Menu\menu1_final.mpg"></vob>
        <button>jump menu 1;</button>
        <button>jump title 1 chapter 1;</button>
        <button>jump menu 1;</button>
        <button>jump title 1 chapter 1;</button>
        <button>jump title 2 chapter 1;</button>
        ....
      </pgc>
    </menus>
  </vmgm>
  <titleset>
    <menus>    
    </menus>
    <titles>
      <pgc>
        <vob file="E:\28-2-2008\DVD menu\mpeg file\video1.mpg"></vob>
      </pgc>
      <pgc>
        <vob file="E:\28-2-2008\DVD menu\mpeg file\video2.mpg"></vob>
      </pgc>
      <pgc>
        <vob file="E:\28-2-2008\DVD menu\mpeg file\video3.mpg"></vob>
      </pgc>
      <pgc>
        <vob file="E:\28-2-2008\DVD menu\mpeg file\video4.mpg"></vob>
      </pgc>
      ....
    </titles>
  </titleset>
</dvdauthor>
</PRE>
Although it is successful to create the DVD, in the progress, it shows "WARN: unknown mpeg2 ratio aspect <br>1".  I don't know whether it is a problem to the output, but there are some problems in the menu page <br>shown.  Although all button is created and able to be shown, the position of the button is different to the <br>cursor pointing.  Also, it is sometimes shaking in the menu page.  I'm creating DVD in NTSC format (720x480)and<br> I'm a windows user.  Is there any problem in my procedure?

Re: DVD menu problem

by Warren@take1 :: Rate this Message:

| View Threaded | Show Only this Message

I want to know if there is a maximum number of video files to be recorded in a DVD using dvdauthor.  I've read this once and as I remember it can have 99 files.  But I can't find it out now.  Can anyone tell me if I am correct?

Warren

Re: DVD menu problem

by Wolfgang Wershofen :: Rate this Message:

| View Threaded | Show Only this Message

Warren@take1 schrieb:
> I want to know if there is a maximum number of video files to be recorded in
> a DVD using dvdauthor.  I've read this once and as I remember it can have 99
> files.  But I can't find it out now.  Can anyone tell me if I am correct?
>  
AFAIR it's 99 titles per titleset, don't know the maximum number of
titlesets, though....

hth
Wolfgang

--
Geek by nature, Linux by choice



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: DVD menu problem

by Ben Hutchings-3 :: Rate this Message:

| View Threaded | Show Only this Message

On Wed, 2008-03-26 at 09:40 +0100, Wolfgang Wershofen wrote:
> Warren@take1 schrieb:
> > I want to know if there is a maximum number of video files to be recorded in
> > a DVD using dvdauthor.  I've read this once and as I remember it can have 99
> > files.  But I can't find it out now.  Can anyone tell me if I am correct?
> >  
> AFAIR it's 99 titles per titleset, don't know the maximum number of
> titlesets, though....

There is a limit of 99 titles per disc.  DVD players usually display the
title number (within the disc; titlesets are not visible to the user),
and may only have space to display 2 digits.  You can have them all in
one titleset or each in its own.

Ben.

--
Ben Hutchings
Teamwork is essential - it allows you to blame someone else.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

signature.asc (196 bytes) Download Attachment