[Mjpeg-users] Re: libmovtar compile problem
OK, so I downloaded jpeg-mmx-0.1.4.tar.gz, untarred into /tmp/BUZ/jpeg-mmx on my system, did a configure and make of jpeg-mmx in that directory (but did *not* install), then went back to the /tmp/BUZ/libmovtar directory and did the following: # make clean # ./configure --with-jpeg-mmx=../jpeg-mmx (Output looks OK, including "Activating Intel MMX !") # make (everything looks OK, until gcc -g -O2 -DRTJPEG -g -o pnm2rtj pnm2rtj.o RTjpeg.o format.o -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -L ../jpeg-mmx -ljpeg-mmx -L ../jpeg-mmx /usr/bin/ld: cannot find -ljpeg-mmx collect2: ld returned 1 exit status make[1]: *** [pnm2rtj] Error 1 make[1]: Leaving directory `/tmp/BUZ/libmovtar-0.1.3/rtjpeg' make: *** [all-recursive] Error 1 I am not a software developer, so I don't understand this very well, but the linker is not finding the jpeg-mmx librar(ies) which are in /tmp/BUZ/jpeg-mmx Is that the problem? How do I fix this? Thx, Randy Hallo > Attempting to compile libmovtar-0.1.3 on RH8.0 system. Configure > looks good but the make fails as below. Ideas appreciated. [...] > movtar_play.c:17:22: jinclude.h: No such file or directory > In file included from movtar_play.c:19: > /usr/include/jpeglib.h:1096:65: jpegint.h: No such file or directory > movtar_play.c: In function `readpicfrommem': > movtar_play.c:582: dereferencing pointer to incomplete type > make[1]: *** [movtar_play.o] Error 1 > make[1]: Leaving directory `/tmp/BUZ/libmovtar-0.1.3' > make: *** [all-recursive] Error 1 It seems that libmovtar need the jpeg-mmx. You should download the jpeg-mmx libary from the mjpeg file area on SF, compile it and do NOT install it. When running the libmovtar configure again. You will very likely have to add manually the path to the jpeg-mmx lib. BTW: When you compile the mjpeg tools you might also need to add the path to the jpeg-mmx. BTW2: the jpeg-mmx is no replacement for the libjpeg. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [EMAIL PROTECTED] [EMAIL PROTECTED] www: http://www.lysator.liu.se/~gz/bernhard --- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] Re: libmovtar compile problem
Hej ! The problem was that you gave a relative path; this doesn't work in the libmovtar/rtjpeg dir ... sorry, never though of that - should be put into the docs ... :P > OK, so I downloaded jpeg-mmx-0.1.4.tar.gz, untarred into > /tmp/BUZ/jpeg-mmx on my system, did a configure and make > of jpeg-mmx in that directory (but did *not* install), > then went back to the /tmp/BUZ/libmovtar directory and > did the following: > > # make clean > > # ./configure --with-jpeg-mmx=../jpeg-mmx > > (Output looks OK, including "Activating Intel MMX !") > > # make > > (everything looks OK, until > gcc -g -O2 -DRTJPEG -g -o pnm2rtj pnm2rtj.o RTjpeg.o format.o -L/usr/lib > -Wl,-rpath,/usr/lib -lSDL -lpthread -L ../jpeg-mmx -ljpeg-mmx -L ../jpeg-mmx > /usr/bin/ld: cannot find -ljpeg-mmx > collect2: ld returned 1 exit status > make[1]: *** [pnm2rtj] Error 1 > make[1]: Leaving directory `/tmp/BUZ/libmovtar-0.1.3/rtjpeg' > make: *** [all-recursive] Error 1 > > I am not a software developer, so I don't understand this very > well, but the linker is not finding the jpeg-mmx librar(ies) > which are in /tmp/BUZ/jpeg-mmx Is that the problem? How do I > fix this? > > Thx, Randy > > Hallo > > > > Attempting to compile libmovtar-0.1.3 on RH8.0 system. Configure > > looks good but the make fails as below. Ideas appreciated. > > [...] > > > movtar_play.c:17:22: jinclude.h: No such file or directory > > In file included from movtar_play.c:19: > > /usr/include/jpeglib.h:1096:65: jpegint.h: No such file or directory > > movtar_play.c: In function `readpicfrommem': > > movtar_play.c:582: dereferencing pointer to incomplete type > > make[1]: *** [movtar_play.o] Error 1 > > make[1]: Leaving directory `/tmp/BUZ/libmovtar-0.1.3' > > make: *** [all-recursive] Error 1 > > It seems that libmovtar need the jpeg-mmx. You should download the > jpeg-mmx libary from the mjpeg file area on SF, compile it and do NOT > install it. > When running the libmovtar configure again. You will very likely have to > add manually the path to the jpeg-mmx lib. > > BTW: When you compile the mjpeg tools you might also need to add the > path to the jpeg-mmx. > > BTW2: the jpeg-mmx is no replacement for the libjpeg. > > auf hoffentlich bald, > > Berni the Chaos of Woodquarter > > Email: [EMAIL PROTECTED] [EMAIL PROTECTED] > www: http://www.lysator.liu.se/~gz/bernhard > > > > > Servus, Gernot -- TW-E-L-C-O-M-E--T | The Austria <=> Sweden connection.H OHomepage: http://www.lysator.liu.se/~gzE \--F-U-T-U-R-E--/ --- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Re: libmovtar compile problem
you may want to add /tmp/BUZ/jpeg-mmx to your /etc/ls.so.conf and then run ldconfig. But you really should move this to a more permanent directory and use that instead. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 9:13 AM Subject: [Mjpeg-users] Re: libmovtar compile problem > OK, so I downloaded jpeg-mmx-0.1.4.tar.gz, untarred into > /tmp/BUZ/jpeg-mmx on my system, did a configure and make > of jpeg-mmx in that directory (but did *not* install), > then went back to the /tmp/BUZ/libmovtar directory and > did the following: > > # make clean > > # ./configure --with-jpeg-mmx=../jpeg-mmx > > (Output looks OK, including "Activating Intel MMX !") > > # make > > (everything looks OK, until > gcc -g -O2 -DRTJPEG -g -o pnm2rtj pnm2rtj.o RTjpeg.o format.o -L/usr/lib > -Wl,-rpath,/usr/lib -lSDL -lpthread -L ../jpeg-mmx -ljpeg-mmx -L ../jpeg-mmx > /usr/bin/ld: cannot find -ljpeg-mmx > collect2: ld returned 1 exit status > make[1]: *** [pnm2rtj] Error 1 > make[1]: Leaving directory `/tmp/BUZ/libmovtar-0.1.3/rtjpeg' > make: *** [all-recursive] Error 1 > > I am not a software developer, so I don't understand this very > well, but the linker is not finding the jpeg-mmx librar(ies) > which are in /tmp/BUZ/jpeg-mmx Is that the problem? How do I > fix this? > > Thx, Randy > > Hallo > > > > Attempting to compile libmovtar-0.1.3 on RH8.0 system. Configure > > looks good but the make fails as below. Ideas appreciated. > > [...] > > > movtar_play.c:17:22: jinclude.h: No such file or directory > > In file included from movtar_play.c:19: > > /usr/include/jpeglib.h:1096:65: jpegint.h: No such file or directory > > movtar_play.c: In function `readpicfrommem': > > movtar_play.c:582: dereferencing pointer to incomplete type > > make[1]: *** [movtar_play.o] Error 1 > > make[1]: Leaving directory `/tmp/BUZ/libmovtar-0.1.3' > > make: *** [all-recursive] Error 1 > > It seems that libmovtar need the jpeg-mmx. You should download the > jpeg-mmx libary from the mjpeg file area on SF, compile it and do NOT > install it. > When running the libmovtar configure again. You will very likely have to > add manually the path to the jpeg-mmx lib. > > BTW: When you compile the mjpeg tools you might also need to add the > path to the jpeg-mmx. > > BTW2: the jpeg-mmx is no replacement for the libjpeg. > > auf hoffentlich bald, > > Berni the Chaos of Woodquarter > > Email: [EMAIL PROTECTED] [EMAIL PROTECTED] > www: http://www.lysator.liu.se/~gz/bernhard > > > > > > > --- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > ___ > Mjpeg-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/mjpeg-users > --- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] How to use -S option in mpeg2enc
I 'm new to this list. I was wondering how to make use of the -S option in mpeg2enc. I have a 4G avi file created by using streamer from xawtv-3.74. My intent is to make this into an SVCD. It is my understanding that the -S option in mpeg2enc (from mjpegtools-1.6.1) will determine the max segment size, which can then be used my mplex. The command line I am using is as follows: lav2yuv +n file.avi | mpeg2enc -f 4,5 -F 5 -b 2500 -S 650 -V 500 -o file%d.m2v. This results in a file named file%d.m2v that is slightly under 500MB and is less than half the running time of the original avi file. What am I doing wrong? Any help would be appreciated. Thanks Ron Keller --- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Mpeg2enc segfaulting, I'm stumped.
Thanks to all those who offered suggestions on fixing the segfault in mpeg2enc. It *seems* to be solved, though the solution was not what I'd have expected... I assumed it was faulty RAM. So I tried cleaning the contacts, moving the RAM to a different slot, replacing it with a different DIMM, even tried increasing the voltage and slowing the bus speed. Nothing helped. Then I upgraded my kernel from 2.4.20 to 2.4.21-pre4, and suddenly I was able to encode *all three* of the problem videos. I have no idea what would be in kernel space (other than memory management) that would have caused this, but it definitely work now where it didn't before. Very strange, but I'm just glad it works! -- Robert Kesterson [EMAIL PROTECTED] --- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Iomega Buz Errors
Hi Randy, On Tue, 2003-02-18 at 04:22, [EMAIL PROTECTED] wrote: > xawtv shows the screen on first boot, but screen goes all > black shortly thereafter. EXCEPT - I can see a narrow band, > which is part of the TV screen, at the top of the xawtv > black screen. Funny... Playing around with some hints from Iomega, I got the exact same effect. I'm guessing the thing totally looses any sense completely... I've never seen this before - funny artifact. ;-). I guess I'll have to reboot to get the thing back properly. I also guess it means your mainboard and card don't like cooperating, which is quite normal for the Buz with quite some mainboards. Can't give any 'normal' comment just yet - haven't played around with it long enough... Ronald -- Ronald Bultje <[EMAIL PROTECTED]> --- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] Error syncing on buffer: timer expired (in lavrec) -- also LVS problems
Hi, What is the meaning of this strange error? I just upgraded to the latest mjpegtools in debian, and the newest driver version. Linux kernel 2.4.19 Zoran driver 0.9.1 Miro DC10Plus on 440BX mobo mjpegtools 1.6.1 The error occurs after a seemingly random amount of recording time. Until the error, the recording is perfect, absolutely no problem at all. As an aside question, I am using Linux Video Studio 0.1.7, and it doesn't seem to find my DC10Plus at all. Any help with either of these problems would be much appreciated! Let me know if you need more info. Here is v4l-conf output: $ v4l-conf v4l-conf: using X11 display :0.1 dga: version 2.0 mode: 1280x960, depth=24, bpp=32, bpl=5376, base=0xe980 /dev/video0 [v4l2]: ioctl VIDIOC_QUERYCAP: Invalid argument /dev/video0 [v4l]: configuration done Here is what lvs-studio says: $ lvs-studio Guessing port. No suitable video4linux port found, please supply one by using the "-p " switch. Use the "-t" switch to see the list of ports available on your computer. If you cannot find a video4linux device, you probably need to enable the Xvideo extension in your X-server Guessing port. No suitable video4linux port found, please supply one by using the "-p " switch. Use the "-t" switch to see the list of ports available on your computer. If you cannot find a video4linux device, you probably need to enable the Xvideo extension in your X-server Thanks for using Linux Video Studio. Here is dmesg output: mtrr: base(0xe800) is not aligned on a size(0x180) boundary Linux video capture interface: v1.00 Linux video codec intermediate layer: v0.2 i2c-core.o: driver saa7110 registered. i2c-core.o: driver adv717x registered. Zoran MJPEG board driver version 0.9.1 PCI: Found IRQ 10 for device 00:13.0 PCI: Sharing IRQ 10 with 00:07.2 MJPEG[0]: Zoran ZR36067 (rev 2) irq: 10, memory: 0xed16 MJPEG[0]: subsystem vendor=0x1031 id=0x7efe MJPEG[0] - find_zr36057() - trying to autodetect card type MJPEG[0]: find_zr36057() - card DC10plus detected DC10plus[0]: Changing PCI latency from 64 to 32. DC10plus[0]: Initializing i2c bus... DC10plus[0]: i2c_client_register() - driver id = 22 i2c-core.o: client [saa7110[0]] registered to adapter [DC10plus[0]](pos. 0). DC10plus[0]: i2c_client_register() - driver id = 48 i2c-core.o: client [adv7176[0]] registered to adapter [DC10plus[0]](pos. 1). i2c-core.o: adapter DC10plus[0] registered as adapter 3. DC10plus[0]: Initializing videocodec bus... DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0x8100 DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0x8900 ZORAN: 1 card(s) found DC10plus[0]: zr36057_init() - initializing card[0], zr=d4d2f1e0 DC10plus[0]: dc10plus_init() DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0x8100 DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0x8900 DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc900 DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc100 DC10plus[0]: enable_jpg(IDLE) DC10plus[0]: Guests: 0x10 0x10 0x10 0x10 0x10 0x10 0x10 DC10plus[0]: Detecting guests activity, please wait... DC10plus[0]: Guests: 0x10 0x10 0x10 0x10 0x10 0x10 0x10 DC10plus[0]: 13617: 7 => 0x12 DC10plus[0]:415: 7 => 0x11 DC10plus[0]: 16256: 7 => 0x13 DC10plus[0]:415: 7 => 0x10 DC10plus[0]: 16279: 7 => 0x12 DC10plus[0]:415: 7 => 0x11 DC10plus[0]: 16258: 7 => 0x13 DC10plus[0]:416: 7 => 0x10 DC10plus[0]: interrupts received: GIRQ1:60 queue_state=0/0/0/0 DC10plus[0]: procfs entry /proc/zoran0 allocated. data=d4d2f1e0 DC10plus[0]: zoran_open(v4l-conf, pid=[595]), users(-)=0 DC10plus[0]: dc10plus_init() DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0x8100 DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0x8900 DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc900 DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc100 DC10plus[0]: enable_jpg(IDLE) DC10plus[0]: UNKNOWN ioctl cmd: 0x80585600 DC10plus[0]: VIDIOCGCAP DC10plus[0]: VIDIOCGFBUF DC10plus[0]: VIDIOCSFBUF - base=0xe980, w=1280, h=960, depth=32, bpl=5376 DC10plus[0]: zoran_close(v4l-conf, pid=[595]) DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc900 DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc100 DC10plus[0]: enable_jpg(IDLE) DC10plus[0]: interrupts received: queue_state=0/0/0/0: no interrupts detected. -- Ryan Underwood, , icq=10317253 --- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] How to use -S option in mpeg2enc
Hallo > I 'm new to this list. I was wondering how to make use of the -S > option in mpeg2enc. I have a 4G avi file created by using > streamer from xawtv-3.74. My intent is to make this into an > SVCD. The mjpeg-tools can currently only handle 2GB files on a 32Bit Platform. The supoort for files larger than 2GB will be implemented. > It is my understanding that the -S option in mpeg2enc (from > mjpegtools-1.6.1) will determine the max segment size, which can > then be used my mplex. The command line I am using is as > follows: > > lav2yuv +n file.avi | mpeg2enc -f 4,5 -F 5 -b 2500 -S 650 -V 500 > -o file%d.m2v. Your command is quit correct. If you use -f 4 you dont need the -b 2500 -S 650. The -b ist set by default to that value. The -S option is set to a larger value (730MB) which still fit without problems on a CD in Mode 2. You do not need to use the %d when encoding. You only need the %d when multiplexing. BTW: If you use -S you should also check if you need the -B option. BTW2: Have you checked the mjpeg-howto section: Creating SVCD. > This results in a file named file%d.m2v that is slightly under > 500MB and is less than half the running time of the original avi > file. What am I doing wrong? Any help would be appreciated. Nothing. You need to split the file int 2GB pieces. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [EMAIL PROTECTED] [EMAIL PROTECTED] www: http://www.lysator.liu.se/~gz/bernhard --- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] mpeg2dec - missing -YUV options?
Hi, On my Debian system, 'apt-cache search mpeg2dec' finds 2 packages with mpeg2dec - a gstreamer plugin and mpeg2dec. I installed mpeg2dec, but it seems to be missing support for the -YUV option?? I haven't tried to download and compile the tar ball - not sure which one to snag in any case... urpmi failed to find mpeg2dec on my Mandrake system, even with PLF media added Compiling mpeg2dec-0.2.1-mjpegtools-0.7.tar.gz on Mandrake failed as well - before I spend an afternoon meeting dependencies and the like, can someone provide some general insight as far as to which version I need, etc? I always thought it part of the normal mjpegtools package until I tried to use it :) I will run the package on my Debian system, so perhaps if someone can tell me which package to compile, or if a Debian package exists somewhere, that would be helpful. Thanks, -- Davros --- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users