[Mjpeg-users] Re: lavplay/BUZ hangs

2003-03-13 Thread rbroman
My system is a 2p Xeon with an Iomega BUZ card. I'm running RH8.0
with custom 2.4.20 kernel. I've compiled and installed driver-zoran,
jpeg-mmx, avifile, quicktime4linux, libmovtar and mjpegtools-1.6.1.
It took me a while to get it right, but it now appears the compile and
install was successful.
I can record and play back AVI but not Quicktime. With Quicktime
I get the error below. Appreciate tips on what's wrong ..
Randy

[EMAIL PROTECTED] rbroman]# lavrec -f q -i N -d 1 -q 80 -s -l 80 -R l -U -t 
10 record.mov
**ERROR: [lavrec] Error writing to output file record.mov: Internal: 
broken JPEG format
++ WARN: [lavrec] Closing file(s) and exiting - output file(s) my not be 
readable due to error
0.00.00:00 int:176 lst: 0 ins: 0 del: 0 ae: 0 td1=0.000 td2=0.000
Recording time : 0.00.00:00
Lost frames : 000
A/V sync ins/del: 000/000
Audio errors : 000



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] lavplay/BUZ hangs

2003-03-04 Thread rbroman
My system is a 2p Xeon with an Iomega BUZ card. I'm running RH8.0
with custom 2.4.20 kernel. I've compiled and installed driver-zoran,
jpeg-mmx, avifile, quicktime4linux, libmovtar and mjpegtools-1.6.1.
It took me a while to get it right, but it now appears the compile and
install was successful.
I'm now doing test videos - the input source is DirecTV through SVHS.
xawtv works. lavrec works, and the result can be played back successfully
using lavplay -p S record.avi (software playback). The playback window
is very small.
When I try lavplay -p H record.avi the playback window is larger, and
it will either a) play once and only once, after which I have to reboot
the machine to get it to playback again; or b) playback once and then
during a second attempt it will start to play back and freeze. Note
it doesn't hang the system, it just refuses to do any more hardware
playback.
So there's some problem with hardware playback through the BUZ
card - this is annoying since I'm doing testing and I don't want to keep
rebooting the machine. Is there a way to resolve this issue, and/or 
potentially
re-initialize the hardware playback so I can continue to do playback 
testing
without rebooting?

Thx, Randy

[AND BY THE WAY, I want to express my appreciation to
participants on this list inluding Ronald Bultje, Bernhard Praschinger
and Gernot Ziegler, who have already been so helpful to me in my
Linux video project. This type of participation exemplifies the
spirit of open source and community].
[EMAIL PROTECTED] rbroman]# lsmod
Module  Size  Used byTainted: PF
zoran 127440   0
zr36060 9704   1
saa7185    0
saa7111 4828   0
videocodec  7124   2  [zoran zr36060]
i2c-algo-bit8744   1  [zoran]
i2c-core   17764   0  [zoran saa7185 saa7111 i2c-algo-bit]
videodev8128   1  [zoran]
emu10k173288   0  (autoclean)
sound  73196   0  (autoclean) [emu10k1]
ac97_codec 13416   0  (autoclean) [emu10k1]
soundcore   6212   7  (autoclean) [emu10k1 sound]
nvidia   1592896  10  (autoclean)
vmnet  26752   4
vmmon  25396   0  (unused)
vpnmod194304  -1  (unused)
e1000  51904   1
ide-scsi   12272   0


---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] mjpegtools-1.6.1 compile error

2003-03-01 Thread rbroman
Trying to compile mjpegtools-1.6.1
configure looks OK - it's at bottom hereto
make fails with a bunch of movtar errors - see below.
libmovtar is in /tmp/BUZ/libmovtar-0.1.3  I thought by doing
./configure --with-jpeg-mmx=/tmp/BUZ/jpeg-mmx 
--with-movtar-prefix=/tmp/BUZ/libmovtar-0.1.3
I am picking up whatever I need from libmovtar, but ...
What am I doing wrong??

Thanx, Randy


etc, etc, etc 
gcc -mcpu=i686 -march=i686 -g -O2 -Wall -Wunused -o .libs/lavplay 
lavplay.o -Wl,-rpath -Wl,/usr/lib  -L/tmp/BUZ/mjpegtools-1.6.1/utils 
-lmjpegutils ./.libs/liblavplay.so ./.libs/liblavjpeg.so 
-L/tmp/BUZ/jpeg-mmx ./.libs/liblavfile.so 
-L/tmp/BUZ/mjpegtools-1.6.1/../quicktime4linux-1.4-patch 
-L/tmp/BUZ/mjpegtools-1.6.1/../quicktime4linux-1.4-patch/i686 
-lquicktime -L/usr/lib -lpng -lz -L/lib -ljpeg-mmx -L/usr/local/lib 
/usr/local/lib/libdv.so /usr/lib/libglib.so /usr/lib/libSDL.so
-lm -ldl -L/usr/X11R6/lib -lXext -lpthread -lX11 -Wl,--rpath 
-Wl,/usr/local/lib
lavplay.o: In function `lavplay_mjpeg_open':
/tmp/BUZ/mjpegtools-1.6.1/lavtools/liblavplay.c:853: `sys_errlist' is 
deprecated; use `strerror' or `strerror_r' instead
./.libs/liblavfile.so: undefined reference to `movtar_close'
./.libs/liblavfile.so: undefined reference to `movtar_audio_length'
./.libs/liblavfile.so: undefined reference to `movtar_set_audio_position'
./.libs/liblavfile.so: undefined reference to `movtar_sample_rate'
./.libs/liblavfile.so: undefined reference to `movtar_set_video'
./.libs/liblavfile.so: undefined reference to `movtar_video_tracks'
./.libs/liblavfile.so: undefined reference to `movtar_write_frame'
./.libs/liblavfile.so: undefined reference to `movtar_audio_bits'
./.libs/liblavfile.so: undefined reference to `movtar_video_length'
./.libs/liblavfile.so: undefined reference to `movtar_video_width'
./.libs/liblavfile.so: undefined reference to `movtar_open'
./.libs/liblavfile.so: undefined reference to `movtar_frame_rate'
./.libs/liblavfile.so: undefined reference to `movtar_check_sig'
./.libs/liblavfile.so: undefined reference to `movtar_audio_tracks'
./.libs/liblavfile.so: undefined reference to `movtar_show_fake_frames'
./.libs/liblavfile.so: undefined reference to `movtar_init'
./.libs/liblavfile.so: undefined reference to `movtar_read_frame'
./.libs/liblavfile.so: undefined reference to `movtar_seek_start'
./.libs/liblavfile.so: undefined reference to `movtar_read_audio'
./.libs/liblavfile.so: undefined reference to `movtar_video_height'
./.libs/liblavfile.so: undefined reference to `movtar_write_audio'
./.libs/liblavfile.so: undefined reference to `movtar_set_audio'
./.libs/liblavfile.so: undefined reference to `movtar_frame_size'
./.libs/liblavfile.so: undefined reference to `movtar_track_channels'
./.libs/liblavfile.so: undefined reference to `movtar_set_video_position'
collect2: ld returned 1 exit status
make[2]: *** [lavplay] Error 1
make[2]: Leaving directory `/tmp/BUZ/mjpegtools-1.6.1/lavtools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/BUZ/mjpegtools-1.6.1'
make: *** [all] Error 2


./configure --with-jpeg-mmx=/tmp/BUZ/jpeg-mmx 
--with-movtar-prefix=/tmp/BUZ/libmovtar-0.1.3

etc, etc, etc
MJPEG tools 1.6.1 build configuration :
   - X86 Optimizations:
 - MMX/3DNow!/SSE enabled  : true
 - cmov support enabled: true

* NOTE:*
*   The resultant binaries will ***NOT*** run on a K6 or Pentium CPU   *

   - video4linux recording/playback: true
   - software MJPEG playback   : true
   - movtar playback/recording : true
   - Quicktime playback/recording  : true
 - Quicktime source in : 
/tmp/BUZ/mjpegtools-1.6.1/../quicktime4lin
ux-1.4-patch
   - AVI MJPEG playback/recording  : true (always)
   - libDV (digital video) support : true (= v0.9.5)
   - AVIFILE divx encoding support : true
   - Gtk+ support for glav : true
   - glibc support for 2GB files  : true





---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Re: libmovtar compile problem

2003-02-21 Thread rbroman
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] Iomega Buz Errors

2003-02-17 Thread rbroman
I have dual Xeon 2.4 GHz on Supermicro X5DAL-G motherboard 
(Intel SE7505 chipset), NVidia GeForce3 Ti200, SoundBlaster
Live! and Iomega BUZ card. Input source is DirecTV S-Video.

OS is RH8.0 with custom 2.4.20 kernel. I installed xawtv-3.85 
and driver-zoran-0.9.1. I'm loading required modules with a 
script - below is the script; the lsmod; and the dmesg output.

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. 

Also, I can't figure out how to get the TV audio out. The
sound card itself is working, but not with TV signal.

Ideas appreciated - Thx, Randy 

# cat Insmod_BUZ.sh
#!/bin/sh

insmod /lib/modules/2.4.21-pre4-ac4/kernel/drivers/i2c/i2c-core.o i2c_debug=1
insmod /lib/modules/2.4.21-pre4-ac4/kernel/drivers/i2c/i2c-dev.o
insmod /lib/modules/2.4.21-pre4-ac4/kernel/drivers/i2c/i2c-algo-bit.o bit_test 1
bit_scan 1 i2c_debug 1

insmod /lib/modules/2.4.21-pre4-ac4/kernel/drivers/media/video/videodev.o
insmod /lib/modules/2.4.21-pre4-ac4/kernel/drivers/media/video/v4l2-common.o
insmod /lib/modules/2.4.21-pre4-ac4/kernel/drivers/media/video/v4l1-compat.o debug 1
insmod /lib/modules/2.4.21-pre4-ac4/kernel/drivers/media/video/videocodec.o debug 1
insmod /lib/modules/2.4.21-pre4-ac4/kernel/drivers/media/video/zr36060.o
low_bitrate=1
insmod /lib/modules/2.4.21-pre4-ac4/kernel/drivers/media/video/zoran.o card=7
default_input=1 default_norm=1 lock_norm=2

# lsmod
Module  Size  Used byTainted: PF
saa7111 4860   1  (autoclean)
saa7185 4476   1  (autoclean)
zoran 127472   4
zr36060 9736   1
videocodec  7156   2  [zoran zr36060]
v4l1-compat12740   0  (unused)
v4l2-common 3872   0  (unused)
videodev8128   1  [zoran]
i2c-algo-bit8744   1  [zoran]
i2c-dev 5700   0  (unused)
i2c-core   17764   0  [saa7111 saa7185 zoran i2c-algo-bit i2c-dev]
emu10k173288   0  (autoclean)
sound  73196   0  (autoclean) [emu10k1]
ac97_codec 13416   0  (autoclean) [emu10k1]
soundcore   6212   7  (autoclean) [emu10k1 sound]
nvidia   1592896  13  (autoclean)
vmnet  26752   4
vmmon  25396   0  (unused)
vpnmod194304  -1  (unused)
e1000  51904   1
ide-scsi   12272   0

# dmesg
etc
etc


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users