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 000000003.avi > /dev/null
--DEBUG: [lav2yuv] Opening video file 000000003.avi ...
--DEBUG: [lav2yuv] File: 000000003.avi, absolute name: /tail/ej/2/000000003.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/000000001.avi ...
--DEBUG: [lav2yuv] File: /tail/ej/1/000000001.avi, absolute name:
/tail/ej/1/000000001.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/000000002.avi ...
--DEBUG: [lav2yuv] File: /tail/ej/1/000000002.avi, absolute name:
/tail/ej/1/000000002.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/000000003.avi ...
--DEBUG: [lav2yuv] File: /tail/ej/1/000000003.avi, absolute name:
/tail/ej/1/000000003.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.000000)
   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.000000)
   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] DualPrime: no
   INFO: [mpeg2enc] Using one-pass rate controller
   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 231404
   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 MMX and MMX for QUANTIZER!
   INFO: [mpeg2enc] NEW GOP INIT length 15
/usr/local/bin/create_dvd.sh: line 5: 23756 Segmentation fault     
lav2yuv -v 2 $1
     23757 Done                    | yuvscaler -O DVD
     23758                       | mpeg2enc -f 8 -s -o video_tmp.m2v
   INFO: [mp2enc] Opened WAV file, freq = 44100 Hz, channels = 2, bits = 16
   INFO: [mp2enc] format = 0x1, audio length = 2147483392 bytes
--DEBUG: [mp2enc] Encoding configuration:
--DEBUG: [mp2enc] Layer=II   mode=stereo   extn=0   psy model=2
--DEBUG: [mp2enc] samp frq=48.0 kHz   total bitrate=224 kbps
--DEBUG: [mp2enc] de-emph=0   c/right=0   orig=0   errprot=0

Thanks :)


-------------------------------------------------------
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_idv37&alloc_id865&op=click
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to