On Monday 16 April 2007, Joe Friedrichsen wrote:
> On 4/16/07, Anne Wilson <[EMAIL PROTECTED]> wrote:
> > On Monday 16 April 2007, Joe Friedrichsen wrote:
> > > On 4/16/07, Anne Wilson <[EMAIL PROTECTED]> wrote:
> > > > Like this?
> > > >
> > > > lav2yuv airport.avi | yuvscaler -O DVD | yuvdenoise | mpeg2enc -f 8
> > > > -I 1 -q 7 -C 420mpeg2 -o airport.m2v
> > >
> > > No, to lav2yuv (not mpeg2enc like you did):
> > >
> > > lav2yuv -C 420mpeg2 airport.avi | yuvscaler -O DVD | yuvdenoise |
> > > mpeg2enc -f 8 -I 1 -q 7 -o airport.m2v
> >
> > <sigh>
> >
> > lav2yuv -C 420mpeg2 airport.avi | yuvscaler -O DVD | yuvdenoise |
> > mpeg2enc -f 8 -I 1 -q 7 -o airport.m2v
> > ...
> >    INFO: [mpeg2enc] Aspect ratio code: 1 = 1:1 pixels
> > ...
>
> Now it looks like mpeg2enc isn't setting a correct aspect ratio. Add
> '-a 2' to the mpeg2enc part of the pipe.
>
> man mpeg2enc:
>        -a|--aspect num
>        Set the playback aspect ratio code of the encoded video. By
> default, this value is inferred from the input header.
>         1 - 1  - 1:1 display
>         2 - 2  - 4:3 display
>         3 - 3  - 16:9 display
>         4 - 4  - 2.21:1 display
>
> If that still fails,

It did.

> perhaps you can try another tool chain to convert 
> your avi to mpeg2. tovid can convert nearly any video file into
> compliant streams for (S)VCD or DVD. A command line that would work in
> your case is:
>
> tovid -pal -full -quality 8 -interlaced -in airport.avi -out Airport
>
> tovid adds the file extension (.mpg) automatically, so you only need
> to give the base name. See tovid.org for more information.
>
Short pause while I install tovid :-)

spumux airport_spu.xml < Airport.mpg > airport.mpg
DVDAuthor::spumux, version 0.6.14.
Build options: gnugetopt iconv freetype fribidi
Send bugs to <[EMAIL PROTECTED]>

INFO: Locale=en_US.UTF-8
INFO: Converting filenames to UTF-8
INFO: PNG had 2 colors
INFO: PNG had 2 colors
INFO: Constructing blank img
INFO: Pickbuttongroups, success with 1 groups, useimg=1
INFO: Found EOF in .sub file.
INFO: Max_sub_size=870
WARN: Button y coordinates are odd for button Shanghai: 103x75-224x124; they 
may not display properly.
INFO: 1 subtitles added, 0 subtitles skipped, stream: 32, offset: 0.16

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 870 bytes.

Now I guess I have to test it with a dvdauthor, and see what it makes of that 
Shanghai button.  I'll report back.

Anne

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to