Re: [Mjpeg-users] eli file syntax

2005-12-12 Thread Bernhard Praschinger
Hallo

  I guess you have seen lavtrans alreaddy.
 yes, thanks, I have sent you two letters with attached short.avi but
 they both returned to me:
 This message was created automatically by mail delivery software.
 
 A message that you sent could not be delivered to all of its recipients.
 The following address(es) failed:
 
  ya**@p**.utanet.at
(ultimately generated from [EMAIL PROTECTED])
message is too big (transport limit = 500)
 I drawed stars to not show your email address in web.
My mail account on ther mailserver has only 5MB avaible. So if someone
else sends me some mails you wil get that message. 4MB are usually a
save value. 

  I can encode the sample you have sent me. I attach the output of the
  sample. I have generated it with that command:
   lav2yuv mjpeg2.avi | yuvscaler -O DVD | mpeg2enc -o test.m2v -f 8
 So, what can I do? I tried once again, files coudn't be encoded even
 with exactly your command line, even if I work not with eli but with
 avi...
There is still one thing that comes into my mind. Try once:
lav2yuv -v 2 mjpeg2.avi /dev/null
Than you should see if lav2yuv is able to decode a single frame. 
If that doesn't work too, I'm really clueless. 
You could try to run the command in gdb, and see what happens. Maybe you
see there something usefull. 
Do you get a segfault or something like that ?

 I again rebuild avi file with mencoder and with no success on a enw file...
 I am not sure but it seemd to me that I had tried with the same effect
 when mjpegtools was compiled with O2 level optimization, now them
 compiled with O3 level optimization.
Which mjpegtools version do you use ? From your last mail I guess that
you still use the old 1.6.2 (... INFO: [yuvscaler] yuvscaler 1.6.2
(31-12-2003))
If you do so please upgrade to the 1.8.0 mjpegtools. Before any other
steps. 

 But it shouldn't affect...
 I do not know what to think...
 By the way, I build dvd with mainactor compiled files, and very
 unhappy with result, I remember whan I did dvd with mjpegtools that
 was exellen quality result!
Some say that the mjpegtools mpeg2enc the best open source mpeg encoder
;)
I have never used mainactor, so I can't tell anything about it. 
There have many things changed the last 5 years, and things got
definatly better. 

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] eli file syntax

2005-12-12 Thread Norayr Chilingaryan
Hello :)

 There is still one thing that comes into my mind. Try once:
 lav2yuv -v 2 mjpeg2.avi /dev/null
 Than you should see if lav2yuv is able to decode a single frame.
 If that doesn't work too, I'm really clueless.

I have managed to upgrade mjpegtools to 1.8.0

Now I have segmentation fault :)

But I didn't have one before with 1.6.2 :)

---
localhost 2 # lav2yuv -v 2 3.avi  /dev/null
--DEBUG: [lav2yuv] Opening video file 3.avi ...
--DEBUG: [lav2yuv] File: 3.avi, absolute name: /tail/ej/2/3.avi
--DEBUG: [lav2yuv]frames:  8451
--DEBUG: [lav2yuv]width:768
--DEBUG: [lav2yuv]height:   576
--DEBUG: [lav2yuv]interlacing: top field first
--DEBUG: [lav2yuv]frames/sec:25.000
--DEBUG: [lav2yuv]audio samps: 14907151
--DEBUG: [lav2yuv]audio chans:2
--DEBUG: [lav2yuv]audio bits:16
--DEBUG: [lav2yuv]audio rate: 44100
   INFO: [lav2yuv] chroma '422' recommended with this input
   INFO: [lav2yuv] set default chroma '420jpeg'
--DEBUG: [lav2yuv] MJPEG frame 0   len 224592
Segmentation fault
localhost 2 #


 Do you get a segfault or something like that ?

Yes!

Running following script gives me

lav2yuv -v 2 $1 | yuvscaler -O DVD | mpeg2enc -f 8 -s -o video_tmp.m2v



localhost 1 # create_dvd.sh 1.eli
   INFO: [yuvscaler] yuvscaler 1.8.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: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
   INFO: [mpeg2enc] SETTING SSE and MMX for TRANSFORM!
   INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!
--DEBUG: [lav2yuv] Edit list 1.eli opened
--DEBUG: [lav2yuv] Edit list norm is PAL
--DEBUG: [lav2yuv] Edit list contains 3 files
--DEBUG: [lav2yuv] Opening video file /tail/ej/1/1.avi ...
--DEBUG: [lav2yuv] File: /tail/ej/1/1.avi, absolute name:
/tail/ej/1/1.avi
--DEBUG: [lav2yuv]frames:  8446
--DEBUG: [lav2yuv]width:768
--DEBUG: [lav2yuv]height:   576
--DEBUG: [lav2yuv]interlacing: top field first
--DEBUG: [lav2yuv]frames/sec:25.000
--DEBUG: [lav2yuv]audio samps: 14898744
--DEBUG: [lav2yuv]audio chans:2
--DEBUG: [lav2yuv]audio bits:16
--DEBUG: [lav2yuv]audio rate: 44100
--DEBUG: [lav2yuv] Opening video file /tail/ej/1/2.avi ...
--DEBUG: [lav2yuv] File: /tail/ej/1/2.avi, absolute name:
/tail/ej/1/2.avi
--DEBUG: [lav2yuv]frames:  8455
--DEBUG: [lav2yuv]width:768
--DEBUG: [lav2yuv]height:   576
--DEBUG: [lav2yuv]interlacing: top field first
--DEBUG: [lav2yuv]frames/sec:25.000
--DEBUG: [lav2yuv]audio samps: 14914620
--DEBUG: [lav2yuv]audio chans:2
--DEBUG: [lav2yuv]audio bits:16
--DEBUG: [lav2yuv]audio rate: 44100
--DEBUG: [lav2yuv] Opening video file /tail/ej/1/3.avi ...
--DEBUG: [lav2yuv] File: /tail/ej/1/3.avi, absolute name:
/tail/ej/1/3.avi
--DEBUG: [lav2yuv]frames:   139
--DEBUG: [lav2yuv]width:768
--DEBUG: [lav2yuv]height:   576
--DEBUG: [lav2yuv]interlacing: top field first
--DEBUG: [lav2yuv]frames/sec:25.000
--DEBUG: [lav2yuv]audio samps:   244926
--DEBUG: [lav2yuv]audio chans:2
--DEBUG: [lav2yuv]audio bits:16
--DEBUG: [lav2yuv]audio rate: 44100
   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:  768x576 pixels (663552 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 768x576, take 768x576+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 16 to 15
   INFO: [yuvscaler] and is 1 to 1 for height
   INFO: [yuvscaler] Specific downscaling routing number 1
   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:  16:15
   INFO: [mpeg2enc] Selecting DVD output profile
   INFO: [mpeg2enc] Assuming norm PAL
   INFO: [mpeg2enc] Interlaced input - selecting interlaced encoding.
   INFO: [mpeg2enc] Encoding MPEG-2 video to 

Re: [Mjpeg-users] eli file syntax

2005-12-11 Thread Norayr Chilingaryan
Hello :)

 I guess you have seen lavtrans alreaddy.


yes, thanks, I have sent you two letters with attached short.avi but
they both returned to me:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to all of its recipients.
The following address(es) failed:

 ya**@p**.utanet.at
   (ultimately generated from [EMAIL PROTECTED])
   message is too big (transport limit = 500)

I drawed stars to not show your email address in web.

 I can encode the sample you have sent me. I attach the output of the
 sample. I have generated it with that command:
  lav2yuv mjpeg2.avi | yuvscaler -O DVD | mpeg2enc -o test.m2v -f 8

So, what can I do? I tried once again, files coudn't be encoded even
with exactly your command line, even if I work not with eli but with
avi...
I again rebuild avi file with mencoder and with no success on a enw file...
I am not sure but it seemd to me that I had tried with the same effect
when mjpegtools was compiled with O2 level optimization, now them
compiled with O3 level optimization.

But it shouldn't affect...
I do not know what to think...
By the way, I build dvd with mainactor compiled files, and very
unhappy with result, I remember whan I did dvd with mjpegtools that
was exellen quality result!

Thanks for help

Norayr


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] eli file syntax

2005-12-09 Thread Bernhard Praschinger
Hallo

  What output do you get when you run lavinfo $1 ?
  The important lines are the first 3, you should get a output like that:
 localhost 1 # lavinfo 1.avi
 video_frames=8446
 video_width=768
 video_height=576
That lookes correct. 

  What I miss is the lav2yuv output when you start decoding.
  Can you start the encoding once with: lav2yuv -v 2 $1 
  and post the output, you should get a bunch of messages from lav2yuv.
 localhost 1 # create_dvd.sh 1.eli
Is there a difference between 1.eli and 1.avi ?
Have you tried you command on the commandl line ?
An replacing mpeg2enc with yuvplay so you see the video.
If nothing else helps try it with a simple command like:
lav2yuv 1.eli | yuvplay
If that works add the other options and commands step by step. 

What is the command line you use for encoding in the script ? The output
from lav2yuv lookes correct. So I guess there is something broken in the
script. 

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] eli file syntax

2005-12-09 Thread Norayr Chilingaryan
Hello ;)
No, all is the same with another files.
for instance, 2.eli is for different files:

localhost 2 # create_dvd.sh 2.eli
   INFO: [yuvscaler] yuvscaler 1.6.2 (31-12-2003) is a general scaling
utility for yuv frames
   INFO: [yuvscaler] (C) 2001-2003 Xavier Biquard [EMAIL PROTECTED],
yuvscaler -h for help, or man yuvscaler
   INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
   INFO: [mpeg2enc] SETTING MMX for TRANSFORM!
   INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!
--DEBUG: [lav2yuv] Edit list 2.eli opened
--DEBUG: [lav2yuv] Edit list norm is PAL
--DEBUG: [lav2yuv] Edit list contains 2 files
--DEBUG: [lav2yuv] Opening video file /tail/ej/2/1.avi ...
--DEBUG: [lav2yuv] File: /tail/ej/2/1.avi, absolute name:
/tail/ej/2/1.avi
--DEBUG: [lav2yuv]frames:  8449
--DEBUG: [lav2yuv]width:768
--DEBUG: [lav2yuv]height:   576
--DEBUG: [lav2yuv]interlacing: top field first
--DEBUG: [lav2yuv]frames/sec:25.000
--DEBUG: [lav2yuv]audio samps: 14904036
--DEBUG: [lav2yuv]audio chans:2
--DEBUG: [lav2yuv]audio bits:16
--DEBUG: [lav2yuv]audio rate: 44100
--DEBUG: [lav2yuv] Opening video file /tail/ej/2/2.avi ...
--DEBUG: [lav2yuv] File: /tail/ej/2/2.avi, absolute name:
/tail/ej/2/2.avi
--DEBUG: [lav2yuv]frames:  8449
--DEBUG: [lav2yuv]width:768
--DEBUG: [lav2yuv]height:   576
--DEBUG: [lav2yuv]interlacing: top field first
--DEBUG: [lav2yuv]frames/sec:25.000
--DEBUG: [lav2yuv]audio samps: 14901870
--DEBUG: [lav2yuv]audio chans:2
--DEBUG: [lav2yuv]audio bits:16
--DEBUG: [lav2yuv]audio rate: 44100
   INFO: [yuvscaler] DVD output format requested in PAL/SECAM norm
   INFO: [yuvscaler] input:   frame size:  768x576 pixels (663552 bytes)
   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 768x576, take 768x576+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 16 to 15
   INFO: [yuvscaler] and is 1 to 1 for height
   INFO: [yuvscaler] Specific downscaling routing number 1
   INFO: [yuvscaler] output:   frame size:  720x576 pixels (622080 bytes)
   INFO: [yuvscaler] output:   frame rate:  25/1 fps (~25.00)
   INFO: [yuvscaler] output:interlace:  top-field-first
   INFO: [yuvscaler] output: sample aspect ratio:  16:15
   INFO: [mpeg2enc] Selecting DVD output profile
   INFO: [mpeg2enc] Assuming norm PAL
   INFO: [mpeg2enc] Interlaced input - selecting interlaced encoding.
   INFO: [mpeg2enc] Encoding MPEG-2 video to video_tmp.m2v
   INFO: [mpeg2enc] Horizontal size: 720 pel
   INFO: [mpeg2enc] Vertical size: 576 pel
   INFO: [mpeg2enc] Aspect ratio code: 2 = 4:3 display
   INFO: [mpeg2enc] Frame rate code:   3 = 25.0 (PAL/SECAM VIDEO /
converted FILM)
   INFO: [mpeg2enc] Bitrate: 7500 KBit/s
   INFO: [mpeg2enc] Quality factor: 8 (Quantisation = 9) (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] GOP SIZE RANGE 9 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] Buffering 33 frames
--DEBUG: [lav2yuv] MJPEG frame 0   len 242728
   INFO: [yuvscaler] End of stream!
   INFO: [yuvscaler] Normal exit: end of stream with frame number 0!
   INFO: [mpeg2enc] Signaling last frame = -1
   INFO: [mpeg2enc] SETTING SSE and EXTENDED MMX for QUANTIZER!
   INFO: [mpeg2enc] GOP start (0 frames)
   INFO: [mpeg2enc] Guesstimated final muxed size = 4

   INFO: [mp2enc] Opened WAV file, freq = 44100 Hz, channels = 2, bits = 16



localhost 2 # lavinfo 5.avi
video_frames=7859
video_width=768
video_height=576
video_inter=1
video_norm=PAL
video_fps=25.00
video_sar_width=1
video_sar_height=1
max_frame_size=261760
MJPG_chroma=2
has_audio=1
audio_bps=4
audio_chans=2
audio_bits=16
audio_rate=44100
num_video_files=1

:)

Yes, I did the same jst from command line, I had changed settings...
I wrote about it in the first message...

localhost 2 # cat /usr/local/bin/create_dvd.sh
#!/bin/bash



lav2yuv -v 2 $1 | yuvscaler -O DVD | mpeg2enc -f 8 -q 4 -s -o video_tmp.m2v ;
#lav2yuv $1 | y4mscaler -I sar=1:1 -O sar=PAL -O size=704x576 -S
option=sinc:4 | mpeg2enc -f 8 -q 4 -s -o video_tmp.m2v ;

lav2wav $1 | mp2enc -v 2 -b 224 -r 48000 -s -o sound_tmp.mp2 ;

mplex -f 8 sound_tmp.mp2 video_tmp.m2v -o {$1}-dvd.mpg

After that I removed -q 4, which di not help, I removed -s, that did
not help too, then 

Re: [Mjpeg-users] eli file syntax

2005-12-09 Thread Norayr Chilingaryan
 Have you tried you command on the commandl line ?
 An replacing mpeg2enc with yuvplay so you see the video.
 If nothing else helps try it with a simple command like:
 lav2yuv 1.eli | yuvplay


localhost 2 # lav2yuv -v 2 3.avi | yuvscaler -O DVD | yuvplay
   INFO: [yuvscaler] yuvscaler 1.6.2 (31-12-2003) is a general scaling
utility for yuv frames
   INFO: [yuvscaler] (C) 2001-2003 Xavier Biquard [EMAIL PROTECTED],
yuvscaler -h for help, or man yuvscaler
--DEBUG: [lav2yuv] Opening video file 3.avi ...
--DEBUG: [lav2yuv] File: 3.avi, absolute name: /tail/ej/2/3.avi
--DEBUG: [lav2yuv]frames:  8451
--DEBUG: [lav2yuv]width:768
--DEBUG: [lav2yuv]height:   576
--DEBUG: [lav2yuv]interlacing: top field first
--DEBUG: [lav2yuv]frames/sec:25.000
--DEBUG: [lav2yuv]audio samps: 14907151
--DEBUG: [lav2yuv]audio chans:2
--DEBUG: [lav2yuv]audio bits:16
--DEBUG: [lav2yuv]audio rate: 44100
   INFO: [yuvscaler] DVD output format requested in PAL/SECAM norm
   INFO: [yuvscaler] input:   frame size:  768x576 pixels (663552 bytes)
   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 768x576, take 768x576+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 16 to 15
   INFO: [yuvscaler] and is 1 to 1 for height
   INFO: [yuvscaler] Specific downscaling routing number 1
   INFO: [yuvscaler] output:   frame size:  720x576 pixels (622080 bytes)
   INFO: [yuvscaler] output:   frame rate:  25/1 fps (~25.00)
   INFO: [yuvscaler] output:interlace:  top-field-first
   INFO: [yuvscaler] output: sample aspect ratio:  16:15
--DEBUG: [lav2yuv] MJPEG frame 0   len 224592
   INFO: [yuvscaler] End of stream!
   INFO: [yuvscaler] Normal exit: end of stream with frame number 0!
   INFO: [yuvplay] Played  frames (0:00:00.00)
localhost 2 # lav2yuv -v 2 3.avi | yuvplay
--DEBUG: [lav2yuv] Opening video file 3.avi ...
--DEBUG: [lav2yuv] File: 3.avi, absolute name: /tail/ej/2/3.avi
--DEBUG: [lav2yuv]frames:  8451
--DEBUG: [lav2yuv]width:768
--DEBUG: [lav2yuv]height:   576
--DEBUG: [lav2yuv]interlacing: top field first
--DEBUG: [lav2yuv]frames/sec:25.000
--DEBUG: [lav2yuv]audio samps: 14907151
--DEBUG: [lav2yuv]audio chans:2
--DEBUG: [lav2yuv]audio bits:16
--DEBUG: [lav2yuv]audio rate: 44100
--DEBUG: [lav2yuv] MJPEG frame 0   len 224592
   INFO: [yuvplay] Played  frames (0:00:00.00)
localhost 2 #

Thanks


Norayr


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] eli file syntax

2005-12-08 Thread Bernhard Praschinger
Hallo

 I have a problem with glav on a gentoo linux.
 It crashes with SDL parachute error...
 I have read similiar message in mjpeg-users mail list archive, and one
 of the developers (as far as I remember) gave an advice to upgrade SDL
 and one of theproposed solutions was to try start glav with -p S
 option or without sound.
That sounds like a problem with X11 and maybe your grafic card driver.

I had something similair, it was a problem with open gl, disabling that
helped. 
Does lavplay work ?
Do other SDL based programm work which are not included in the
mjpegtools ?

If you tell us the version of the grafic card driver, X11 version and
the error message we might provide further help. 

 Anyway, I just need .eli file settings...
A simple file lookes like that
e_f1_4121.m1v
[EMAIL PROTECTED]:/inbound/cher cat file.eli
LAV Edit List
PAL
1
/inbound/aufnahme/file.avi
0 0 5496
---END---
You have to use absolute file paths. 
 
 By the way, another question
 All files captured with lavrec has Upper field first, so when I am
 converting files with mainactor and setting render option upper field
 first it is ok?
I don't know what that option changes. But that does not sound as if it
would break anything obvious. 

 Because I tried lower field first option too, and when playing back on
 tv resulted files with mplayer -vo zr mpeg2file.mpg I can't see the
 difference...
Depends on what that option really does. 

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] eli file syntax

2005-12-08 Thread Bernhard Praschinger
Hallo

  I had something similair, it was a problem with open gl, disabling that
  helped.
  Does lavplay work ?
 Yes, it works with -pH and outputs video through my Miro card :)

  If you tell us the version of the grafic card driver, X11 version and
  the error message we might provide further help.
 I am using Ati Radeon 8500 LE with xorg-6.8.2-r4
 Tried with ati proprietary drivers, with open source radeon driver,
 and even vesa :)
 Anyway glav gives me SDL parachute error :)


 I created some .eli files and wanted to convert videos to dvd
 compliant mpeg2 or vcd compliant mpeg1.
 Before I post the troubles I want to paste how I captured videos
 lavrec -i P -w -f a -d 1 -q 77 -a 16 -r 44100 -l -1 -R l -c 2 -t
 10 -T 1 -n 32 -b 256 -s --max-file-size 1900
 /home/norik/Desktop/%09.avi
That command lookes correct.

 I was trying to convert with:
 lav2yuv $1 | yuvdenoise | yuvscaler -O DVD | mpeg2enc -f 8 -q 4 -s -o
 video_tmp.m2v
What output do you get when you run lavinfo $1 ?
The important lines are the first 3, you should get a output like that:
 lavinfo file.eli
video_frames=5916
video_width=720
video_height=576

[...]
INFO: [yuvscaler] End of stream!
INFO: [yuvscaler] Normal exit: end of stream with frame number 0!
INFO: [mpeg2enc] Signaling last frame = -1
INFO: [mpeg2enc] SETTING SSE and EXTENDED MMX for QUANTIZER!
INFO: [mpeg2enc] GOP start (0 frames)
INFO: [mpeg2enc] Guesstimated final muxed size = 4
Seems that there is a problem with the video. You see that there is a
problem it does not decode any file. 

What I miss is the lav2yuv output when you start decoding. 
Can you start the encoding once with: lav2yuv -v 2 $1 
and post the output, you should get a bunch of messages from lav2yuv.

 After that mpeg createion not continued, but only audio :)
That is strange.

 I searched through the list and found an advice to use -M 0 with
 mpeg2enc, however that didn't help, and after that I removed -q
 parameter, I removed yuvdenoise but unsuccessfully.
That ist not the problem here because yuvscaler does not get any frame. 

You have the same problem here too:
INFO: [y4mscaler] Frame number 0
INFO: [y4mscaler] End of stream at frame 0.


 And besides when I playing captured files with mplayer, it tells me
 that file is bad interleaved

 localhost 2 # mplayer -identify 1.avi
[...]
 SwScaler: BICUBIC scaler, from Planar 422P to Planar YV12 using MMX
 VO: [xv] 768x576 = 768x576 Planar YV12
 A:   1.5 V:   0.6 A-V:  0.901 ct:  0.060  16/ 16 273%  8% 61.1% 15 0 28%
 Badly interleaved AVI file detected - switching to -ni mode...
 A:   3.5 V:   1.5 A-V:  2.006 ct:  0.152  39/ 39 220%  3% 25.9% 38 0 27%
Unlikely that the mjpeg AVI has a problem. I don'the see that error in
the cvs version of mplayer I use. 

Does mplayer work ? 

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users