Problems creating menus

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

Problems creating menus

by Anne Wilson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Back in April, after much help from Joe Friedrichsen, I created a DVD with
working menus, on two levels.  Then holidays and family matters got in the
way and I haven't managed to do any more until now.

Now I have my mpgs all done, and am trying to get the menus working again -
this time just a single level.  Unfortunately I seem to have forgotten some
things, as I can't get them to work.

I started from an .avi -
jpeg2yuv -f 25:1 -L 1 -I t -l 125 -j image.jpg | yuv2lav -o image.avi
and gave it (silent) sound:

lavinfo image.avi
video_frames=61
video_width=720
video_height=480
video_inter=t
video_norm=PAL
video_fps=25.000000
video_sar_width=1
video_sar_height=1
max_frame_size=95559
chroma=422
has_audio=1
audio_bps=4
audio_chans=2
audio_bits=16
audio_rate=44100
num_video_files=1

I then tried to spumux it:

spumux gorges_spu.xml < image.mpg > Menu.mpg
DVDAuthor::spumux, version 0.6.13.
Build options: gnugetopt magick iconv freetype fribidi
Send bugs to <dvdauthor-users@...>

INFO: Locale=en_GB.UTF-8
INFO: Converting filenames to UTF-8
INFO: Picture highlight.png had 2 colors
INFO: Picture select.png had 2 colors
INFO: Constructing blank img
INFO: Autodetect 0 = 58x70-338x114
INFO: Autodetect 1 = 55x126-342x170
INFO: Autodetect 2 = 56x184-347x232
INFO: Autodetect 3 = 60x246-338x288
INFO: Autodetect 4 = 58x308-345x356
INFO: Autodetect 5 = 55x366-373x416
INFO: Autodetect 6 = 387x74-656x114
INFO: Autodetect 7 = 386x128-656x174
INFO: Autodetect 8 = 387x184-662x232
INFO: Autodetect 9 = 388x248-670x294
INFO: Autodetect 10 = 384x304-659x362
INFO: Autodetect 11 = 387x366-662x416
INFO: Autodetect 12 = 388x432-667x478
INFO: Pickbuttongroups, success with 1 groups, useimg=1
INFO: Found EOF in .sub file.
INFO: Max_sub_size=4670
INFO: 1 subtitles added, 0 subtitles skipped, stream: 32, offset: 0.18

Statistics:
- Processed 0 subtitles.
- The longest display line had -1 characters.
- The maximum number of displayed lines was 0.
- The normal display height of the font arial.ttf was 0.
- The bottom display height of the font arial.ttf was 0.
- The biggest subtitle box had 4670 bytes

This looked hopeful - but there are no highlights following the cursor.

Remembering that I had had problems before with mjpegtools in this area, but
not being able to remember exactly what, I tried tovid:

tovid -pal -full -quality 8 -interlaced -in image.avi -out image

This appeared to complete, but ended up with a 0 byte m2v and no mpg.  Log
attached.

I'm stuck.  I have a feeling that it was something around the time of creating
the avi, maybe adding sound, that the mjpegtools output wasn't right in
April, but I can't remember any more, and the messages I've saved don't cover
this point.

I'd be glad of any help, either to find this problem or to use a different
method.  Thanks

Anne


[tovid.log]

[tovid]: /usr/bin/tovid -pal -full -quality 8 -interlaced -in image.avi -out image
[tovid]: Version 0.30
[tovid]:
[tovid]: =========================================================
[tovid]:
[tovid]: Converting /Data/recordings/Video/Holding/image.avi to PAL DVD format
[tovid]: Encoding quality is 8 of 10 (use -quality to change)
[tovid]: Saving to /Data/recordings/Video/Holding/image.mpg
[tovid]: Storing log and temporary files in /Data/recordings/Video/Holding/image.0
[tovid]: Run 'tail -f "/Data/recordings/Video/Holding/image.0/tovid.log"' in another terminal to monitor the log
[tovid]:
[tovid]: =========================================================
[tovid]:
[tovid]: Probing video for information. This may take several minutes...
[tovid]: The encoding process is estimated to require 1 MB of disk space.
[tovid]: You currently have 15419 MB available in this directory.
[tovid]: Analysis of file /Data/recordings/Video/Holding/image.avi:
[tovid]:   720 x 480 pixels, 25.000 fps
[tovid]:   Duration (best guess): 00:00:02 (HH:MM:SS)
[tovid]:   MJPG video with pcm audio
[tovid]: Target format:
[tovid]:   720 x 576 pixels, 25.000 fps
[tovid]:   m2v video with ac3 audio
[tovid]:   7840 kbits/sec video, 224 kbits/sec audio
[tovid]: Using explicitly provided aspect ratio 4:3
[tovid]: Overriding auto-detected aspect ratio 150:100
[tovid]: No letterboxing necessary
[tovid]: Input is already 25.000 fps. Framerate will not be altered.
[tovid]: Scaling picture to 720 x 576
[tovid]:
[tovid]: =========================================================
[tovid]:
[tovid]: Encoding audio stream to ac3 with the following command:
FFmpeg version SVN-r7407, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --prefix=/usr --enable-shared --libdir=/usr/lib --enable-a52 --enable-pp --enable-gpl --enable-pthreads --enable-libnut --enable-x11grab --enable-mp3lame --enable-faad --enable-faac --enable-x264 --enable-xvid --enable-amr_nb
  libavutil version: 49.1.0
  libavcodec version: 51.28.0
  libavformat version: 51.7.0
  built on Mar 13 2007 04:43:46, gcc: 4.1.2 20070302 (prerelease) (4.1.2-1mdv2007.1)
Input #0, avi, from '/Data/recordings/Video/Holding/image.avi':
  Duration: 00:00:02.4, start: 0.000000, bitrate: 20539 kb/s
  Stream #0.0: Video: mjpeg, yuvj422p, 720x480, 25.00 fps(r)
  Stream #0.1: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s
Output #0, ac3, to '/Data/recordings/Video/Holding/image.0/audio.ac3':
  Stream #0.0: Audio: ac3, 48000 Hz, stereo, 224 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
Press [q] to stop encoding
[tovid]: nice
-n 0
ffmpeg -i
/Data/recordings/Video/Holding/image.avi -vn
-ab 224k
-ar 48000
-ac 2
-acodec ac3
-y /Data/recordings/Video/Holding/image.0/audio.ac3
size=      66kB time=2.4 bitrate= 224.0kbits/s    
video:0kB audio:66kB global headers:0kB muxing overhead 0.000000%
[tovid]: Audio encoding finished successfully.
[tovid]:
[tovid]: =========================================================
[tovid]:
[tovid]: Encoding video stream with the following commands:
[tovid]: nice
-n 0
mplayer -noconsolecontrols
-benchmark -nosound
-noframedrop -noautosub
-vo yuv4mpeg:file="/Data/recordings/Video/Holding/image.0/video.yuv":interlaced
-vf il=d:d,scale=720:576,il=i:i
"/Data/recordings/Video/Holding/image.avi"
[tovid]: cat
"/Data/recordings/Video/Holding/image.0/video.yuv" |
nice -n
0 mpeg2enc
--sequence-length 4300
--nonvideo-bitrate 304
--aspect 2
-f 8
-b 7840
-g 4
-G 9
-D 10
-K hi-res
--frame-rate 3
-v 0
--video-norm p
--reduction-4x4 2
--reduction-2x2 1
-q 5
-o "/Data/recordings/Video/Holding/image.0/video.m2v"
MPlayer 1.0-1.rc1.11.3plf2007.1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Hammer Family processor - Model Unknown (Family: 15, Model: 44, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
98 audio & 216 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /Data/recordings/Video/Holding/image.avi.
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO:  [MJPG]  720x480  24bpp  25.000 fps  19111.8 kbps (2333.0 kbyte/s)
Using interlaced output mode, top-field first.Opening video filter: [il=i:i]
Opening video filter: [scale w=720 h=576]
Opening video filter: [il=d:d]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar 422P)
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from yuv422p to bgr24 using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
SwScaler: using MMX2 YV12->BGR24 Converter
SwScaler: 720x480 -> 720x576
VO: [yuv4mpeg] 720x576 => 864x576 BGR 24-bit  [zoom]
/usr/bin/tovid: line 283: 23097 Segmentation fault      nice -n 0 mplayer -noconsolecontrols -benchmark -nosound -noframedrop -noautosub -vo yuv4mpeg:file="/Data/recordings/Video/Holding/image.0/video.yuv":interlaced -vf il=d:d,scale=720:576,il=i:i "/Data/recordings/Video/Holding/image.avi"
/usr/bin/tovid: line 283: 23111 Done                    cat "/Data/recordings/Video/Holding/image.0/video.yuv"
     23112 Segmentation fault      | nice -n 0 mpeg2enc --sequence-length 4300 --nonvideo-bitrate 304 --aspect 2 -f 8 -b 7840 -g 4 -G 9 -D 10 -K hi-res --frame-rate 3 -v 0 --video-norm p --reduction-4x4 2 --reduction-2x2 1 -q 5 -o "/Data/recordings/Video/Holding/image.0/video.m2v"
[tovid]:
[tovid]: =========================================================
[tovid]:
[tovid]: Multiplexing audio and video together with the following command:
[tovid]: mplex
-V -f
8 -o
/Data/recordings/Video/Holding/image.mpg /Data/recordings/Video/Holding/image.0/video.m2v
/Data/recordings/Video/Holding/image.0/audio.ac3
   INFO: [mplex] mplex version 1.8.0 (2.2.4 $Date: 2005/08/28 17:50:54 $)
**ERROR: [mplex] Unable to read from /Data/recordings/Video/Holding/image.0/video.m2v.
[tovid]: Multiplexing finished successfully
[tovid]: Output files:
[tovid]:
[tovid]: =========================================================
[tovid]:
[tovid]: Statistics written to /home/anne/.tovid/stats.tovid
[tovid]: Cleaning up...
[tovid]:
[tovid]: =========================================================
[tovid]:
[tovid]: Do you want to keep the temporary files that were created ?
[tovid]: Please type "yes", or else they will be deleted
[tovid]: Keeping temporary files in /Data/recordings/Video/Holding/image.0
[tovid]:
[tovid]: =========================================================
[tovid]:
[tovid]: Done!
[tovid]:
[tovid]: =========================================================
[tovid]:
[tovid]: Your encoded video should be in the file(s) /Data/recordings/Video/Holding/image.mpg.
[tovid]: Thanks for using tovid!
[tovid]:
[tovid]: =========================================================
[tovid]:



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

signature.asc (196 bytes) Download Attachment

Re: Problems creating menus

by Anne Wilson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 18 Oct 2007, Anne Wilson wrote:
> Back in April, after much help from Joe Friedrichsen, I created a DVD with
> working menus, on two levels.  Then holidays and family matters got in the
> way and I haven't managed to do any more until now.
>
(Not forgetting the help from Wolfgang Wershofen, but that was at a later
stage, IIRC.)

Anne


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

signature.asc (196 bytes) Download Attachment

Re: Problems creating menus

by Joe Friedrichsen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 10/18/07, Anne Wilson <cannewilson@...> wrote:
>
// snip //
> This looked hopeful - but there are no highlights following the cursor.

You won't see highlights until after the DVD has been completely
authored. If you just play the menu mpg, you won't see them.

> Remembering that I had had problems before with mjpegtools in this area, but
> not being able to remember exactly what, I tried tovid:
>
> tovid -pal -full -quality 8 -interlaced -in image.avi -out image
>
> This appeared to complete, but ended up with a 0 byte m2v and no mpg.  Log
> attached.

It looks like mplayer crashed and broke the process. Anyway, tovid
converts arbitrary video to DVD-compatible video, but does not make
menus (it makes the titles). You want the makemenu or todisc script in
that suite for menus.

It looks like spumux did what it was supposed to do, so I think
nothing went wrong. Finish the DVD image and see if it works (gxine
dvd:///path/to/image).

Joe

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: Problems creating menus

by Anne Wilson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 19 Oct 2007, you wrote:

> On 10/18/07, Anne Wilson <cannewilson@...> wrote:
>
> // snip //
>
> > This looked hopeful - but there are no highlights following the cursor.
>
> You won't see highlights until after the DVD has been completely
> authored. If you just play the menu mpg, you won't see them.
>
> > Remembering that I had had problems before with mjpegtools in this area,
> > but not being able to remember exactly what, I tried tovid:
> >
> > tovid -pal -full -quality 8 -interlaced -in image.avi -out image
> >
> > This appeared to complete, but ended up with a 0 byte m2v and no mpg.
> > Log attached.
>
> It looks like mplayer crashed and broke the process. Anyway, tovid
> converts arbitrary video to DVD-compatible video, but does not make
> menus (it makes the titles). You want the makemenu or todisc script in
> that suite for menus.
>
> It looks like spumux did what it was supposed to do, so I think
> nothing went wrong. Finish the DVD image and see if it works (gxine
> dvd:///path/to/image).
>
Unfortunately I can't do that at the moment.  I'm getting a report that I have
a tag mismatch, but I can't find it.  The text editor seems to be pointing at
the final </dvdauthor>.

 dvdauthor -x my-dvd-china2.xml
DVDAuthor::dvdauthor, version 0.6.13.
Build options: gnugetopt magick iconv freetype fribidi
Send bugs to <dvdauthor-users@...>

INFO: Locale=en_GB.UTF-8
INFO: Converting filenames to UTF-8
my-dvd-china2.xml:75: parser error : Opening and ending tag mismatch: titles
line 0 and pgc
                        </pgc>
                              ^
ERR:  Error in parsing XML

Could you look over the attached and tell me what I've missed?  Thanks.

Anne



<dvdauthor dest="/home/anne/recordings/Video/China2001_2">
<vmgm>
</vmgm>
        <titleset>
                <menus>
                        <pgc entry="root" pause="inf">
                                <vob file="menu.mpg"></vob>
                                <button name="all">jump title 1 chapter 1;</button>
                                <button name="shanghai">jump title 2 chapter 1;</button>
                                <button name="industrial">jump title 3 chapter 1;</button>
                                <button name="gezhou">jump title 4 chapter 1;</button>
                                <button name="xiling">jump title 5 chapter 1;</button>
                                <button name="3gorges">   jump title 6 chapter 1;</button>
                                <button name="upperxiling">   jump title 7 chapter 1;</button>
                                <button name="wu"> jump title 8 chapter 1;</button>
                                <button name="3lesser">jump title 9 chapter 1;</button>
                                <button name="qutang">jump title 10 chapter 1;</button>
                                <button name="wanxian">jump title 11 chapter 1;</button>
                                <button name="circus">jump title 12 chapter 1;</button>
                                <button name="finalstretch">jump title 13 chapter 1;</button>
                                <button name="chongqin">jump title 14 chapter 1;</button>
                        </pgc>
                </menus>
                <titles>
                        <pgc>
                                <vob file="scene1.mpg"></vob>
                                <vob file="scene2.mpg"></vob>
                                <vob file="scene3.mpg"></vob>
                                <vob file="scene4.mpg"></vob>
                                <vob file="scene5.mpg"></vob>
                                <vob file="scene6.mpg"></vob>
                                <vob file="scene7.mpg"></vob>
                                <vob file="scene8.mpg"></vob>
                                <vob file="scene9.mpg"></vob>
                                <vob file="scene10.mpg"></vob>
                                <vob file="scene11.mpg"></vob>
                                <vob file="scene12.mpg"></vob>
                                <post>call vmgm menu entry title;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene2.mpg"></vob>
                                <post>call menu entry root;</post>

                        </pgc>
                        <pgc>
                                <vob file="scene3.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene4.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene5.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene6.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene7.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene8.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene9.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                                <vob file="scene10.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene11.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene12.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                </titles>
        </titleset>
</dvdauthor>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

signature.asc (196 bytes) Download Attachment

Re: Problems creating menus

by Claude Heiland-Allen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anne Wilson wrote:

[snip]

> ERR:  Error in parsing XML
>
> Could you look over the attached and tell me what I've missed?  Thanks.

[snip]

> <pgc>
> <vob file="scene9.mpg"></vob>
> <post>call menu entry root;</post>
> </pgc>

Missing <pgc> here

> <vob file="scene10.mpg"></vob>
> <post>call menu entry root;</post>
> </pgc>


Hope this helps,


Claude
--
http://claudiusmaximus.goto10.org

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: Problems creating menus

by Anne Wilson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 19 Oct 2007, Claude Heiland-Allen wrote:

> Anne Wilson wrote:
>
> [snip]
>
> > ERR:  Error in parsing XML
> >
> > Could you look over the attached and tell me what I've missed?  Thanks.
>
> [snip]
>
> > <pgc>
> > <vob file="scene9.mpg"></vob>
> > <post>call menu entry root;</post>
> > </pgc>
>
> Missing <pgc> here
>
> > <vob file="scene10.mpg"></vob>
> > <post>call menu entry root;</post>
> > </pgc>
>
> Hope this helps,
>
You wouldn't believe how many times I'd been down the list, pairing them off,
and missed that :-)

Unfortunately, dvdauthor can't do its stuff.  It ends with

dvdauthor -x my-dvd-china2.xml
DVDAuthor::dvdauthor, version 0.6.13.
Build options: gnugetopt magick iconv freetype fribidi
Send bugs to <dvdauthor-users@...>

INFO: Locale=en_GB.UTF-8
INFO: Converting filenames to UTF-8
INFO: dvdauthor creating VTS
STAT: Picking VTS 01

STAT: Processing menu.mpg...
WARN: Skipping sector, waiting for first VOBU...
WARN: Skipping sector, waiting for first VOBU...
......
WARN: Skipping sector, waiting for first VOBU...

WARN: Partial sector read (512 bytes); discarding data.
STAT: VOBU 0 at 0MB, 1 PGCS
Segmentation fault

There's obviously a problem with menu.mpg.  This is the spumuxed one.

Anne



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

signature.asc (196 bytes) Download Attachment

Re: Problems creating menus

by Joe Friedrichsen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 10/19/07, Anne Wilson <cannewilson@...> wrote:

> Unfortunately, dvdauthor can't do its stuff.  It ends with
>
> dvdauthor -x my-dvd-china2.xml
> DVDAuthor::dvdauthor, version 0.6.13.
> Build options: gnugetopt magick iconv freetype fribidi
> Send bugs to <dvdauthor-users@...>
>
> INFO: Locale=en_GB.UTF-8
> INFO: Converting filenames to UTF-8
> INFO: dvdauthor creating VTS
> STAT: Picking VTS 01
>
> STAT: Processing menu.mpg...
> WARN: Skipping sector, waiting for first VOBU...
> WARN: Skipping sector, waiting for first VOBU...
> ......
> WARN: Skipping sector, waiting for first VOBU...
>
> WARN: Partial sector read (512 bytes); discarding data.
> STAT: VOBU 0 at 0MB, 1 PGCS
> Segmentation fault
>
> There's obviously a problem with menu.mpg.  This is the spumuxed one.

I seem to remember encountering this before. How exactly did you make
your video and audio for the menu? audio_rate=44100 tells me that that
the audio isn't quite right -- DVD needs 48000 for its sample rate.

Joe

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: Problems creating menus

by Anne Wilson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 19 Oct 2007, Joe Friedrichsen wrote:

> On 10/19/07, Anne Wilson <cannewilson@...> wrote:
> > Unfortunately, dvdauthor can't do its stuff.  It ends with
> >
> > dvdauthor -x my-dvd-china2.xml
> > DVDAuthor::dvdauthor, version 0.6.13.
> > Build options: gnugetopt magick iconv freetype fribidi
> > Send bugs to <dvdauthor-users@...>
> >
> > INFO: Locale=en_GB.UTF-8
> > INFO: Converting filenames to UTF-8
> > INFO: dvdauthor creating VTS
> > STAT: Picking VTS 01
> >
> > STAT: Processing menu.mpg...
> > WARN: Skipping sector, waiting for first VOBU...
> > WARN: Skipping sector, waiting for first VOBU...
> > ......
> > WARN: Skipping sector, waiting for first VOBU...
> >
> > WARN: Partial sector read (512 bytes); discarding data.
> > STAT: VOBU 0 at 0MB, 1 PGCS
> > Segmentation fault
> >
> > There's obviously a problem with menu.mpg.  This is the spumuxed one.
>
> I seem to remember encountering this before. How exactly did you make
> your video and audio for the menu? audio_rate=44100 tells me that that
> the audio isn't quite right -- DVD needs 48000 for its sample rate.
>
We never found out, last April, why the mjpegtools one didn't work.  I think
you've pinpointed it, though.  lav2wav man page says

-R If the file does not contain any sound, lav2wav will create silence with
44100kHz Samplerate, 16 Bit audio bitsize and 2 Channels.

So - I need to go back to finding out why tovid isn't working.

Anne




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

signature.asc (196 bytes) Download Attachment

Parent Message unknown Re: Problems creating menus

by Anne Wilson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 19 Oct 2007, mike wrote:

> On Thu, 2007-10-18 at 19:11 +0100, Anne Wilson wrote:
> > Back in April, after much help from Joe Friedrichsen, I created a DVD
> > with working menus, on two levels.  Then holidays and family matters got
> > in the way and I haven't managed to do any more until now.
> >
> > Now I have my mpgs all done, and am trying to get the menus working again
> > - this time just a single level.  Unfortunately I seem to have forgotten
> > some things, as I can't get them to work.
> >
> > I started from an .avi -
> > jpeg2yuv -f 25:1 -L 1 -I t -l 125 -j image.jpg | yuv2lav -o image.avi
> > and gave it (silent) sound:
> >
> > lavinfo image.avi
> > video_frames=61
> > video_width=720
> > video_height=480
> > video_inter=t
> > video_norm=PAL
> > video_fps=25.000000
> > video_sar_width=1
> > video_sar_height=1
> > max_frame_size=95559
> > chroma=422
> > has_audio=1
> > audio_bps=4
> > audio_chans=2
> > audio_bits=16
> > audio_rate=44100
> > num_video_files=1
> >
> > I then tried to spumux it:
> >
> > spumux gorges_spu.xml < image.mpg > Menu.mpg
> > DVDAuthor::spumux, version 0.6.13.
> > Build options: gnugetopt magick iconv freetype fribidi
> > Send bugs to <dvdauthor-users@...>
> >
> > INFO: Locale=en_GB.UTF-8
> > INFO: Converting filenames to UTF-8
> > INFO: Picture highlight.png had 2 colors
> > INFO: Picture select.png had 2 colors
> > INFO: Constructing blank img
> > INFO: Autodetect 0 = 58x70-338x114
> > INFO: Autodetect 1 = 55x126-342x170
> > INFO: Autodetect 2 = 56x184-347x232
> > INFO: Autodetect 3 = 60x246-338x288
> > INFO: Autodetect 4 = 58x308-345x356
> > INFO: Autodetect 5 = 55x366-373x416
> > INFO: Autodetect 6 = 387x74-656x114
> > INFO: Autodetect 7 = 386x128-656x174
> > INFO: Autodetect 8 = 387x184-662x232
> > INFO: Autodetect 9 = 388x248-670x294
> > INFO: Autodetect 10 = 384x304-659x362
> > INFO: Autodetect 11 = 387x366-662x416
> > INFO: Autodetect 12 = 388x432-667x478
> > INFO: Pickbuttongroups, success with 1 groups, useimg=1
> > INFO: Found EOF in .sub file.
> > INFO: Max_sub_size=4670
> > INFO: 1 subtitles added, 0 subtitles skipped, stream: 32, offset: 0.18
> >
> > Statistics:
> > - Processed 0 subtitles.
> > - The longest display line had -1 characters.
> > - The maximum number of displayed lines was 0.
> > - The normal display height of the font arial.ttf was 0.
> > - The bottom display height of the font arial.ttf was 0.
> > - The biggest subtitle box had 4670 bytes
> >
> > This looked hopeful - but there are no highlights following the cursor.
> >
> > Remembering that I had had problems before with mjpegtools in this area,
> > but not being able to remember exactly what, I tried tovid:
> >
> > tovid -pal -full -quality 8 -interlaced -in image.avi -out image
> >
> > This appeared to complete, but ended up with a 0 byte m2v and no mpg.
> > Log attached.
> >
> > I'm stuck.  I have a feeling that it was something around the time of
> > creating the avi, maybe adding sound, that the mjpegtools output wasn't
> > right in April, but I can't remember any more, and the messages I've
> > saved don't cover this point.
> >
> > I'd be glad of any help, either to find this problem or to use a
> > different method.  Thanks
> >
> > Anne
>
> looks like you have no image.mpg
>
> try this
>
> ffmpeg -loop_input -r 1 -f image2 -i <image>.jpg -t <time in seconds>
> -target ntsc-dvd image.mpg
>
I tried that, adapted, as

ffmpeg -loop_input -r 1 -f image2 -i title.jpg -t 5 -target pal-dvd image2.mpg

That's got me almost there.  Something's still wrong with my dvdauthor file,
though:

ERR:  Cannot jump to title #14, only 13 exist
ERR:  in VTSM pgc 0, button chongqin

Could you have another look at it, please?  I'm going for a walk to clear my
head, then I'll try again.

Anne

<dvdauthor dest="/home/anne/recordings/Video/China2001_2">
<vmgm>
</vmgm>
        <titleset>
                <menus>
                        <pgc entry="root" pause="inf">
                                <vob file="menu.mpg"></vob>
                                <button name="all">jump title 1 chapter 1;</button>
                                <button name="shanghai">jump title 2 chapter 1;</button>
                                <button name="industrial">jump title 3 chapter 1;</button>
                                <button name="gezhou">jump title 4 chapter 1;</button>
                                <button name="xiling">jump title 5 chapter 1;</button>
                                <button name="3gorges">   jump title 6 chapter 1;</button>
                                <button name="upperxiling">   jump title 7 chapter 1;</button>
                                <button name="wu"> jump title 8 chapter 1;</button>
                                <button name="3lesser">jump title 9 chapter 1;</button>
                                <button name="qutang">jump title 10 chapter 1;</button>
                                <button name="wanxian">jump title 11 chapter 1;</button>
                                <button name="circus">jump title 12 chapter 1;</button>
                                <button name="finalstretch">jump title 13 chapter 1;</button>
                                <button name="chongqin">jump title 14 chapter 1;</button>
                        </pgc>
                </menus>
                <titles>
                        <pgc>
                                <vob file="scene1.mpg"></vob>
                                <vob file="scene2.mpg"></vob>
                                <vob file="scene3.mpg"></vob>
                                <vob file="scene4.mpg"></vob>
                                <vob file="scene5.mpg"></vob>
                                <vob file="scene6.mpg"></vob>
                                <vob file="scene7.mpg"></vob>
                                <vob file="scene8.mpg"></vob>
                                <vob file="scene9.mpg"></vob>
                                <vob file="scene10.mpg"></vob>
                                <vob file="scene11.mpg"></vob>
                                <vob file="scene12.mpg"></vob>
                                <post>call vmgm menu entry title;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene2.mpg"></vob>
                                <post>call menu entry root;</post>

                        </pgc>
                        <pgc>
                                <vob file="scene3.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene4.mpg"></vob>
                                <vob file="fade4.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene5.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene6.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene7.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene8.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <pgc>
                                        <vob file="scene9.mpg"></vob>
                                        <post>call menu entry root;</post>
                        </pgc>
                                <vob file="scene10.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene11.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>
                        <pgc>
                                <vob file="scene12.mpg"></vob>
                                <post>call menu entry root;</post>
                        </pgc>

                </titles>
        </titleset>
</dvdauthor>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

signature.asc (196 bytes) Download Attachment

Re: Problems creating menus

by Anne Wilson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 19 Oct 2007, Anne Wilson wrote:

> On Friday 19 Oct 2007, mike wrote:
> > On Thu, 2007-10-18 at 19:11 +0100, Anne Wilson wrote:
> > > Back in April, after much help from Joe Friedrichsen, I created a DVD
> > > with working menus, on two levels.  Then holidays and family matters
> > > got in the way and I haven't managed to do any more until now.
> > >
> > > Now I have my mpgs all done, and am trying to get the menus working
> > > again - this time just a single level.  Unfortunately I seem to have
> > > forgotten some things, as I can't get them to work.
> > >
> > > I started from an .avi -
> > > jpeg2yuv -f 25:1 -L 1 -I t -l 125 -j image.jpg | yuv2lav -o image.avi
> > > and gave it (silent) sound:
> > >
> > > lavinfo image.avi
> > > video_frames=61
> > > video_width=720
> > > video_height=480
> > > video_inter=t
> > > video_norm=PAL
> > > video_fps=25.000000
> > > video_sar_width=1
> > > video_sar_height=1
> > > max_frame_size=95559
> > > chroma=422
> > > has_audio=1
> > > audio_bps=4
> > > audio_chans=2
> > > audio_bits=16
> > > audio_rate=44100
> > > num_video_files=1
> > >
> > > I then tried to spumux it:
> > >
> > > spumux gorges_spu.xml < image.mpg > Menu.mpg
> > > DVDAuthor::spumux, version 0.6.13.
> > > Build options: gnugetopt magick iconv freetype fribidi
> > > Send bugs to <dvdauthor-users@...>
> > >
> > > INFO: Locale=en_GB.UTF-8
> > > INFO: Converting filenames to UTF-8
> > > INFO: Picture highlight.png had 2 colors
> > > INFO: Picture select.png had 2 colors
> > > INFO: Constructing blank img
> > > INFO: Autodetect 0 = 58x70-338x114
> > > INFO: Autodetect 1 = 55x126-342x170
> > > INFO: Autodetect 2 = 56x184-347x232
> > > INFO: Autodetect 3 = 60x246-338x288
> > > INFO: Autodetect 4 = 58x308-345x356
> > > INFO: Autodetect 5 = 55x366-373x416
> > > INFO: Autodetect 6 = 387x74-656x114
> > > INFO: Autodetect 7 = 386x128-656x174
> > > INFO: Autodetect 8 = 387x184-662x232
> > > INFO: Autodetect 9 = 388x248-670x294
> > > INFO: Autodetect 10 = 384x304-659x362
> > > INFO: Autodetect 11 = 387x366-662x416
> > > INFO: Autodetect 12 = 388x432-667x478
> > > INFO: Pickbuttongroups, success with 1 groups, useimg=1
> > > INFO: Found EOF in .sub file.
> > > INFO: Max_sub_size=4670
> > > INFO: 1 subtitles added, 0 subtitles skipped, stream: 32, offset: 0.18
> > >
> > > Statistics:
> > > - Processed 0 subtitles.
> > > - The longest display line had -1 characters.
> > > - The maximum number of displayed lines was 0.
> > > - The normal display height of the font arial.ttf was 0.
> > > - The bottom display height of the font arial.ttf was 0.
> > > - The biggest subtitle box had 4670 bytes
> > >
> > > This looked hopeful - but there are no highlights following the cursor.
> > >
> > > Remembering that I had had problems before with mjpegtools in this
> > > area, but not being able to remember exactly what, I tried tovid:
> > >
> > > tovid -pal -full -quality 8 -interlaced -in image.avi -out image
> > >
> > > This appeared to complete, but ended up with a 0 byte m2v and no mpg.
> > > Log attached.
> > >
> > > I'm stuck.  I have a feeling that it was something around the time of
> > > creating the avi, maybe adding sound, that the mjpegtools output wasn't
> > > right in April, but I can't remember any more, and the messages I've
> > > saved don't cover this point.
> > >
> > > I'd be glad of any help, either to find this problem or to use a
> > > different method.  Thanks
> > >
> > > Anne
> >
> > looks like you have no image.mpg
> >
> > try this
> >
> > ffmpeg -loop_input -r 1 -f image2 -i <image>.jpg -t <time in seconds>
> > -target ntsc-dvd image.mpg
>
> I tried that, adapted, as
>
> ffmpeg -loop_input -r 1 -f image2 -i title.jpg -t 5 -target pal-dvd
> image2.mpg
>
> That's got me almost there.  Something's still wrong with my dvdauthor
> file, though:
>
> ERR:  Cannot jump to title #14, only 13 exist
> ERR:  in VTSM pgc 0, button chongqin
>
> Could you have another look at it, please?  I'm going for a walk to clear
> my head, then I'll try again.
>
> Anne
Five minutes walking and I knew the answer.  Scene 10 was very long, so I
split it into 10 and 10a.  Now to build again :-)

Anne


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

signature.asc (196 bytes) Download Attachment

Re: Problems creating menus

by Anne Wilson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>
> Five minutes walking and I knew the answer.  Scene 10 was very long, so I
> split it into 10 and 10a.  Now to build again :-)
>
It built, but when I tested it with xine it went straight into the chapters -
no menu screen at all.  Any ideas?

Anne




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and conf