Re: [Mjpeg-users] [Dvdauthor-users] Newbie spumux problems.

2007-04-16 Thread Joe Friedrichsen
On 4/16/07, Anne Wilson [EMAIL PROTECTED] wrote:
 ...
INFO: [lav2yuv] chroma '422' recommended with this input
INFO: [lav2yuv] set default chroma '420jpeg'
 ...
INFO: [yuvscaler] input:   chroma:  4:2:0 JPEG/MPEG-1 (interstitial)
 ...
INFO: [yuvscaler] output:   chroma:  4:2:0 JPEG/MPEG-1 (interstitial)
 ...
INFO: [yuvdenoise] Y4M-Stream 720x576(4:2:0 JPEG/MPEG-1 (interstitial))
INFO: [yuvdenoise] Processing Mode : 4:2:0 interlaced

You need to specify the correct chroma subsampling in lav2yuv:

-C chroma
Set output chroma (default: '420jpeg').  Currently,
'420jpeg', '420mpeg2', '420paldv', '422' are available.

Add '-C 420mpeg2' to your lav2yuv command :-)

Joe

-
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


Re: [Mjpeg-users] [Dvdauthor-users] Newbie spumux problems.

2007-04-16 Thread Anne Wilson
On Monday 16 April 2007, Joe Friedrichsen wrote:
 On 4/16/07, Anne Wilson [EMAIL PROTECTED] wrote:
  ...
 INFO: [lav2yuv] chroma '422' recommended with this input
 INFO: [lav2yuv] set default chroma '420jpeg'
  ...
 INFO: [yuvscaler] input:   chroma:  4:2:0 JPEG/MPEG-1
  (interstitial) ...
 INFO: [yuvscaler] output:   chroma:  4:2:0 JPEG/MPEG-1
  (interstitial) ...
 INFO: [yuvdenoise] Y4M-Stream 720x576(4:2:0 JPEG/MPEG-1
  (interstitial)) INFO: [yuvdenoise] Processing Mode : 4:2:0 interlaced

 You need to specify the correct chroma subsampling in lav2yuv:

 -C chroma
 Set output chroma (default: '420jpeg').  Currently,
 '420jpeg', '420mpeg2', '420paldv', '422' are available.

 Add '-C 420mpeg2' to your lav2yuv command :-)

Like this?

lav2yuv airport.avi | yuvscaler -O DVD | yuvdenoise | mpeg2enc -f 8 -I 1 -q 
7 -C 420mpeg2 -o airport.m2v

That can't be right, I think, because I get

[mpeg2enc] Unable to open: 420mpeg2:

I tried it with single quotes, just in case, but that brought

mpeg2enc: invalid option --
**ERROR: [mpeg2enc] -4 option requires arg 0..4


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


Re: [Mjpeg-users] [Dvdauthor-users] Newbie spumux problems.

2007-04-16 Thread Anne Wilson
On Sunday 15 April 2007, Joe Friedrichsen wrote:
 On 4/15/07, Anne Wilson [EMAIL PROTECTED] wrote:

Maybe it's time to call in the mjpegtools team, so I'm cross-posting this.

 If you have ImageMagick installed, you can see how many colours are in
 your overlays with:

 $ identify -verbose highlight.png

 Look for something like:

   Colors: 2
   Histogram:
 345516: (0,0,0,65535)   freeze
 84: (65535,65535,0,0)   yellow

With the current versions of the pngs -

  Colors: 2
  Histogram:
413008: (  0,  3,  0,255)   #000300FF
  1712: (197,221,226,  0)   #C5DDE200

and

  Colors: 2
  Histogram:
  1712: (106,117,124,  0)   #6A757C00
413008: (  0,  3,  0,255)   #000300FF

It seems I had messed up the buttons last night, so I started afresh today.

   I'm still not quite there.
 
  INFO: Locale=en_US.UTF-8
  INFO: Converting filenames to UTF-8
  INFO: PNG had 3 colors
  INFO: PNG had 3 colors
  INFO: Constructing blank img
  ERR: Cannot pick button masks
  ERR: Blank image, skipping line -1
  WARN: Incorrect pack header
  INFO: Skipped 2034 bytes of garbage

 I think things got a little worse. In an earlier email, spumux was
 able to add the buttons:

 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
 WARN: Incorrect pack header
 INFO: Skipped 2034 bytes of garbage
 ...

Now I'm back to 

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
WARN: Incorrect pack header
INFO: Skipped 2034 bytes of garbage

 I think the 'pack header' errors are coming from an slightly incorrect
 mpeg. You said your tool chain was:

 lav2yuv airport.avi | yuvscaler -O DVD | yuvdenoise | mpeg2enc -f 8 -I 1 -q
 7 -o airport.m2v

 lav2wav airport.avi | mp2enc -v 2 -o airport.mp2

 mplex airport.m2v airport.mp2 -o Airport.mpg

 What does the first output of mpeg2enc (and mplex) say about your
 stream? The first 20-30 lines (before the frame-by-frame details)
 should tell you how it's treating the input. You may need to tweak a
 few options for yuvscaler, mpeg2enc, or mplex if airport.avi isn't
 quite right.

lav2yuv airport.avi | yuvscaler -O DVD | yuvdenoise | mpeg2enc -f 8 -I 1 -q 
7 -o airport.m2v
   INFO: [yuvscaler] yuvscaler 1.9.0 (15-02-2004) is a general scaling utility 
for yuv frames
   INFO: [yuvscaler] (C) 2001-2004 Xavier Biquard [EMAIL PROTECTED], 
yuvscaler -h for help, or man yuvscaler
   INFO: [yuvdenoise] yuvdenoise version 1.9.0
   INFO: [yuvdenoise] Using the following thresholds/settings:
   INFO: [yuvdenoise] Gauss-Pre-Filter  [Y,U,V] : [0,0,0]
   INFO: [yuvdenoise] Median-Pre-Filter [Y,U,V] : [0,0,0]
   INFO: [yuvdenoise] Temporal-Noise-Filter [Y,U,V] : [0,0,0]
   INFO: [yuvdenoise] Median-Post-Filter[Y,U,V] : [0,0,0]
   INFO: [yuvdenoise] Renoise   [Y,U,V] : [0,0,0]
   INFO: [yuvdenoise] HQ-Mode   : off
   INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
   INFO: [mpeg2enc] SETTING SSE and MMX for TRANSFORM!
   INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!
   INFO: [lav2yuv] chroma '422' recommended with this input
   INFO: [lav2yuv] set default chroma '420jpeg'
   INFO: [yuvscaler] DVD output format requested in PAL/SECAM norm
   INFO: [yuvscaler] input:   frame size:  720x576 pixels (622080 bytes)
   INFO: [yuvscaler] input:   chroma:  4:2:0 JPEG/MPEG-1 (interstitial)
   INFO: [yuvscaler] input:   frame rate:  25/1 fps (~25.00)
   INFO: [yuvscaler] input:interlace:  top-field-first
   INFO: [yuvscaler] input: sample aspect ratio:  1:1
   INFO: [yuvscaler] from 720x576, take 720x576+0+0, INTERLACED_TOP_FIRST
   INFO: [yuvscaler] scale to 720x576, 720x576 being displayed
   INFO: [yuvscaler] Scaling uses the RESAMPLE algorithm,
   INFO: [yuvscaler] frame rate: 25.000 fps
   INFO: [yuvscaler] Scaling ratio for width is 1 to 1
   INFO: [yuvscaler] and is 1 to 1 for height
   INFO: [yuvscaler] Specific downscaling routing number 4
   INFO: [yuvscaler] output:   frame size:  720x576 pixels (622080 bytes)
   INFO: [yuvscaler] output:   chroma:  4:2:0 JPEG/MPEG-1 (interstitial)
   INFO: [yuvscaler] output:   frame rate:  25/1 fps (~25.00)
   INFO: [yuvscaler] output:interlace:  top-field-first
   INFO: [yuvscaler] output: sample aspect ratio:  1:1
   INFO: [yuvdenoise] Y4M-Stream 720x576(4:2:0 JPEG/MPEG-1 (interstitial))
   INFO: [yuvdenoise] Processing Mode : 4:2:0 interlaced
   INFO: [yuvdenoise] Luma-Plane  : 720x576 pixels
   INFO: [yuvdenoise] Chroma-Plane: 360x288 pixels
   INFO: [yuvdenoise] Buffers allocated.
   INFO: [yuvdenoise] SETTING EXTENDED MMX for MOTION!
   INFO: [yuvscaler] Frame number 0

Anne

-
This SF.net email is 

Re: [Mjpeg-users] [Dvdauthor-users] Newbie spumux problems.

2007-04-16 Thread Joe Friedrichsen
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:
   ...
  INFO: [lav2yuv] chroma '422' recommended with this input
  INFO: [lav2yuv] set default chroma '420jpeg'
   ...
  INFO: [yuvscaler] input:   chroma:  4:2:0 JPEG/MPEG-1
   (interstitial) ...
  INFO: [yuvscaler] output:   chroma:  4:2:0 JPEG/MPEG-1
   (interstitial) ...
  INFO: [yuvdenoise] Y4M-Stream 720x576(4:2:0 JPEG/MPEG-1
   (interstitial)) INFO: [yuvdenoise] Processing Mode : 4:2:0 interlaced
 
  You need to specify the correct chroma subsampling in lav2yuv:
 
  -C chroma
  Set output chroma (default: '420jpeg').  Currently,
  '420jpeg', '420mpeg2', '420paldv', '422' are available.
 
  Add '-C 420mpeg2' to your lav2yuv command :-)
 
 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

Joe

-
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


Re: [Mjpeg-users] [Dvdauthor-users] Newbie spumux problems.

2007-04-16 Thread Anne Wilson
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:
...
   INFO: [lav2yuv] chroma '422' recommended with this input
   INFO: [lav2yuv] set default chroma '420jpeg'
...
   INFO: [yuvscaler] input:   chroma:  4:2:0 JPEG/MPEG-1
(interstitial) ...
   INFO: [yuvscaler] output:   chroma:  4:2:0 JPEG/MPEG-1
(interstitial) ...
   INFO: [yuvdenoise] Y4M-Stream 720x576(4:2:0 JPEG/MPEG-1
(interstitial)) INFO: [yuvdenoise] Processing Mode : 4:2:0 interlaced
  
   You need to specify the correct chroma subsampling in lav2yuv:
  
   -C chroma
   Set output chroma (default: '420jpeg').  Currently,
   '420jpeg', '420mpeg2', '420paldv', '422' are available.
  
   Add '-C 420mpeg2' to your lav2yuv command :-)
 
  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: [yuvscaler] yuvscaler 1.9.0 (15-02-2004) is a general scaling utility 
for yuv frames
   INFO: [yuvscaler] (C) 2001-2004 Xavier Biquard [EMAIL PROTECTED], 
yuvscaler -h for help, or man yuvscaler
   INFO: [yuvdenoise] yuvdenoise version 1.9.0
   INFO: [yuvdenoise] Using the following thresholds/settings:
   INFO: [yuvdenoise] Gauss-Pre-Filter  [Y,U,V] : [0,0,0]
   INFO: [yuvdenoise] Median-Pre-Filter [Y,U,V] : [0,0,0]
   INFO: [yuvdenoise] Temporal-Noise-Filter [Y,U,V] : [0,0,0]
   INFO: [yuvdenoise] Median-Post-Filter[Y,U,V] : [0,0,0]
   INFO: [yuvdenoise] Renoise   [Y,U,V] : [0,0,0]
   INFO: [yuvdenoise] HQ-Mode   : off
   INFO: [lav2yuv] chroma '422' recommended with this input
++ WARN: [lav2yuv] 4:2:0 chroma should be '420jpeg' with this input
   INFO: [yuvscaler] DVD output format requested in PAL/SECAM norm
   INFO: [yuvscaler] input:   frame size:  720x576 pixels (622080 bytes)
   INFO: [yuvscaler] input:   chroma:  4:2:0 MPEG-2 (horiz. cositing)
   INFO: [yuvscaler] input:   frame rate:  25/1 fps (~25.00)
   INFO: [yuvscaler] input:interlace:  top-field-first
   INFO: [yuvscaler] input: sample aspect ratio:  1:1
   INFO: [yuvscaler] from 720x576, take 720x576+0+0, INTERLACED_TOP_FIRST
   INFO: [yuvscaler] scale to 720x576, 720x576 being displayed
   INFO: [yuvscaler] Scaling uses the RESAMPLE algorithm,
   INFO: [yuvscaler] frame rate: 25.000 fps
   INFO: [yuvscaler] Scaling ratio for width is 1 to 1
   INFO: [yuvscaler] and is 1 to 1 for height
   INFO: [yuvscaler] Specific downscaling routing number 4
   INFO: [yuvscaler] output:   frame size:  720x576 pixels (622080 bytes)
   INFO: [yuvscaler] output:   chroma:  4:2:0 MPEG-2 (horiz. cositing)
   INFO: [yuvscaler] output:   frame rate:  25/1 fps (~25.00)
   INFO: [yuvscaler] output:interlace:  top-field-first
   INFO: [yuvscaler] output: sample aspect ratio:  1:1
   INFO: [yuvscaler] Frame number 0
   INFO: [yuvdenoise] Y4M-Stream 720x576(4:2:0 MPEG-2 (horiz. cositing))
   INFO: [yuvdenoise] Processing Mode : 4:2:0 interlaced
   INFO: [yuvdenoise] Luma-Plane  : 720x576 pixels
   INFO: [yuvdenoise] Chroma-Plane: 360x288 pixels
   INFO: [yuvdenoise] Buffers allocated.
   INFO: [yuvdenoise] SETTING EXTENDED MMX for MOTION!
   INFO: [yuvscaler] Frame number 1
   INFO: [yuvscaler] Frame number 2
   INFO: [yuvscaler] Frame number 3
   INFO: [yuvscaler] Frame number 4
   INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
   INFO: [mpeg2enc] SETTING SSE and MMX for TRANSFORM!
   INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!
   INFO: [mpeg2enc] Selecting DVD with dummy navigation packets output profile
   INFO: [mpeg2enc] Assuming norm PAL
   INFO: [mpeg2enc] Encoding MPEG-2 video to airport.m2v
   INFO: [mpeg2enc] Horizontal size: 720 pel
   INFO: [mpeg2enc] Vertical size: 576 pel
   INFO: [mpeg2enc] Aspect ratio code: 1 = 1:1 pixels
   INFO: [mpeg2enc] Frame rate code:   3 = 25.0 (PAL/SECAM VIDEO / converted 
FILM)
   INFO: [mpeg2enc] Bitrate: 7500 KBit/s
   INFO: [mpeg2enc] Quality factor: 7 (Quantisation = 7) (1=best, 31=worst)
   INFO: [mpeg2enc] Field order for input: top-field-first
   INFO: [mpeg2enc] Sequence unlimited length
   INFO: [mpeg2enc] Search radius: 16
   INFO: [mpeg2enc] DualPrime: no
   INFO: [mpeg2enc] Using one-pass rate controller
   INFO: [mpeg2enc] GOP SIZE RANGE 7 TO 15
   INFO: [mpeg2enc] Setting colour/gamma parameters to PAL B/G
   INFO: [mpeg2enc] Progressive format frames = 0
   INFO: [mpeg2enc] Using default unmodified quantization matrices
   INFO: [mpeg2enc] SETTING MMX and MMX for QUANTIZER!
   INFO: [mpeg2enc] PAR = 0

   INFO: [mpeg2enc] NEW GOP 

Re: [Mjpeg-users] [Dvdauthor-users] Newbie spumux problems.

2007-04-16 Thread Joe Friedrichsen
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, 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.

Joe

-
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


Re: [Mjpeg-users] [Dvdauthor-users] Newbie spumux problems.

2007-04-16 Thread Anne Wilson
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


Re: [Mjpeg-users] [Dvdauthor-users] Newbie spumux problems.

2007-04-16 Thread Anne Wilson
On Monday 16 April 2007, Anne Wilson wrote:
 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.

STAT: Processing airport.mpg...
ERR:  Cannot find button 'Menu' as referenced by the subtitle

tears out hair  OK - I'll clean out everything and start again in the 
morning.  At least I feel as though I have something to go on, now.  Tovid 
does seem to have solved the problem.

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