Hallo

I have a problem with lavaddwav. I think it is related with files larger
than 2GB. (using the CVS version of the mjpegtools and the cvs version
of libquicktime). 

When I convert some MPEG movie to mjpeg AVI, with that command:
mpeg2dec -o pgmpipe video.m2v | pgmtoy4m -a 59:54 -r 25:1 -i t | buffer
-b 2048 | yuv2lav -q 90 -o video.avi

I get that output:
   INFO: [pgmtoy4m] P5 cols: 544 rows: 864 maxval: 255
++ WARN: [yuv2lav] unsupported input chroma, assume '420jpeg'
Adding a new RIFF chunk: 1 (40.67 fps), 22 last 0.51 sec (43.14 fps)
Adding a new RIFF chunk: 2c (41.10 fps), 21 last 0.50 sec (42.00 fps)
frame 67848s in 1683.04 sec (40.34 fps), 17 last 0.53 sec (32.08 fps)
67894 frames decoded in 1683.20 seconds (40.34 fps)
VID NrEntries 0/3 (ix00) |0x76B4EAD8|235864|29479|
VID NrEntries 1/3 (ix00) |0xED7B2B58|254544|31814|
VID NrEntries 2/3 (ix00) |0x11FCCEE86|52816|6598|

In the end I have a file with a size of 4828544222 bytes. The video can
be viewed with lavplay/glav over the whole length of about 45 minutes or
67894. Also lav2yuv works fine. 

The problem I have now that lavaddwav is segfaulting:
> gdb .libs/lavaddwav
run /inbound/rotation/viva.m2v.avi /inbound/rotation/viva.mp2.wav
/inbound/rotation/viva.avi
Starting program:
/home/bernhard/download/cvs/mjpeg_play/lavtools/.libs/lavaddwav
viva.m2v.avi viva.mp2.wav viva.avi
[Thread debugging using libthread_db enabled]
[New Thread 1076619936 (LWP 7514)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1076619936 (LWP 7514)]
0x4002e953 in AVI_close (AVI=0x804d1e0) at avilib.c:1896
1896               if (AVI->video_superindex->stdindex[j]) {
(gdb) bt
#0  0x4002e953 in AVI_close (AVI=0x804d1e0) at avilib.c:1896
#1  0x40029cff in lav_close (lav_file=0x804d1a8) at lav_io.c:352
#2  0x0804a55e in main (argc=4, argv=0xbfc1fec4) at lavaddwav.c:267

When the filesize is below 2GB lavaddwav works fine for AVI Files.
Has anybody a idea where I should look for further investigations ?

Note: When I create a Quicktime file, lavaddwav works. 

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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to