FC5 install
21 answers - 154 bytes -

Where can I find info on how to install xawtv on FC5. I get errors and
I haven't found it on any of the yum repositories that I use.
Thanks
No.1 | | 419 bytes |
| 
Poohba wrote:
Where can I find info on how to install xawtv on FC5. I get errors and
I haven't found it on any of the yum repositories that I use.
There is none. I made one up a couple of weeks ago based on the Dag
weirs source rpm and some patches I found around the net (mainly from
Ubuntu developers iirc.)
I'll post a url for it shortly as it's not accessible at the moment.
No.2 | | 761 bytes |
| 
Am Dienstag, den 15.08.2006, 17:28 -0400 schrieb Poohba:
Where can I find info on how to install xawtv on FC5. I get errors and
I haven't found it on any of the yum repositories that I use.
Hi,
when I ran into it on test1 in November last year zvbi didn't compile
and some other minor issue caused by the new xorg7 locations.
Else _don't_ use VERLAY mode with recent binary drivers and known
critical hardware, might need something like "xawtv -v 1 -remote -nodga
-c /dev/video0".
I'll send the old 3.95.src.rpm for rpmbuild to try it out.
Uses also still the old rpm locations in /usr/X11R6. Have them in your
path or change to your preferences. (xawtv4 builds too)
Cheers,
Hermann
No.3 | | 97 bytes |
| 
Here's my binary rpm, I'll upload the src rpm tomorrow, right now I need
some sleep.
No.4 | | 2502 bytes |
| 
I'm still not able to get this installed. Thanks for your help
/console/fs.h:62: error: expected ')' before '*' token
/console/fbtv.c: In function 'text_out':
/console/fbtv.c:339: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:340: error: 'struct fs_font' has no member named
'fontHeader'
/console/fbtv.c:341: warning: pointer targets in passing argument 4 of
'fs_puts' differ in signedness
/console/fbtv.c: In function 'text_width':
/console/fbtv.c:347: warning: pointer targets in passing argument 2 of
'fs_textwidth' differ in signedness
/console/fbtv.c: In function 'do_capture':
/console/fbtv.c:405: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:406: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:443: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:444: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c: In function 'main':
/console/fbtv.c:755: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:773: error: 'struct fs_font' has no member named
'width'
/console/fbtv.c:813: warning: pointer targets in assignment differ in
signedness
make: [console/fbtv.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.93172 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.93172 (%build)
Wed, 2006-08-16 at 00:09 +0200, hermann pitton wrote:
Am Dienstag, den 15.08.2006, 17:28 -0400 schrieb Poohba:
Where can I find info on how to install xawtv on FC5. I get errors and
I haven't found it on any of the yum repositories that I use.
Hi,
when I ran into it on test1 in November last year zvbi didn't compile
and some other minor issue caused by the new xorg7 locations.
Else _don't_ use VERLAY mode with recent binary drivers and known
critical hardware, might need something like "xawtv -v 1 -remote -nodga
-c /dev/video0".
I'll send the old 3.95.src.rpm for rpmbuild to try it out.
Uses also still the old rpm locations in /usr/X11R6. Have them in your
path or change to your preferences. (xawtv4 builds too)
Cheers,
Hermann
No.5 | | 2745 bytes |
| 
Am Dienstag, den 15.08.2006, 21:10 -0400 schrieb Rob Campbell:
I'm still not able to get this installed. Thanks for your help
/console/fs.h:62: error: expected ')' before '*' token
/console/fbtv.c: In function 'text_out':
/console/fbtv.c:339: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:340: error: 'struct fs_font' has no member named
'fontHeader'
/console/fbtv.c:341: warning: pointer targets in passing argument 4 of
'fs_puts' differ in signedness
/console/fbtv.c: In function 'text_width':
/console/fbtv.c:347: warning: pointer targets in passing argument 2 of
'fs_textwidth' differ in signedness
/console/fbtv.c: In function 'do_capture':
/console/fbtv.c:405: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:406: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:443: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:444: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c: In function 'main':
/console/fbtv.c:755: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:773: error: 'struct fs_font' has no member named
'width'
/console/fbtv.c:813: warning: pointer targets in assignment differ in
signedness
make: [console/fbtv.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.93172 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.93172 (%build)
Hi,
how does it go with Glen's .rpm then?
My still working stuff is quite 10 months old and I'm not focused on
fbtv ;)
Cheers,
Hermann
Wed, 2006-08-16 at 00:09 +0200, hermann pitton wrote:
Am Dienstag, den 15.08.2006, 17:28 -0400 schrieb Poohba:
Where can I find info on how to install xawtv on FC5. I get errors and
I haven't found it on any of the yum repositories that I use.
Hi,
when I ran into it on test1 in November last year zvbi didn't compile
and some other minor issue caused by the new xorg7 locations.
Else _don't_ use VERLAY mode with recent binary drivers and known
critical hardware, might need something like "xawtv -v 1 -remote -nodga
-c /dev/video0".
I'll send the old 3.95.src.rpm for rpmbuild to try it out.
Uses also still the old rpm locations in /usr/X11R6. Have them in your
path or change to your preferences. (xawtv4 builds too)
Cheers,
Hermann
No.6 | | 2832 bytes |
| 
I did not get it yet.
Wed, 2006-08-16 at 03:32 +0200, hermann pitton wrote:
Am Dienstag, den 15.08.2006, 21:10 -0400 schrieb Rob Campbell:
I'm still not able to get this installed. Thanks for your help
/console/fs.h:62: error: expected ')' before '*' token
/console/fbtv.c: In function 'text_out':
/console/fbtv.c:339: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:340: error: 'struct fs_font' has no member named
'fontHeader'
/console/fbtv.c:341: warning: pointer targets in passing argument 4 of
'fs_puts' differ in signedness
/console/fbtv.c: In function 'text_width':
/console/fbtv.c:347: warning: pointer targets in passing argument 2 of
'fs_textwidth' differ in signedness
/console/fbtv.c: In function 'do_capture':
/console/fbtv.c:405: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:406: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:443: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:444: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c: In function 'main':
/console/fbtv.c:755: error: 'struct fs_font' has no member named
'height'
/console/fbtv.c:773: error: 'struct fs_font' has no member named
'width'
/console/fbtv.c:813: warning: pointer targets in assignment differ in
signedness
make: [console/fbtv.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.93172 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.93172 (%build)
Hi,
how does it go with Glen's .rpm then?
My still working stuff is quite 10 months old and I'm not focused on
fbtv ;)
Cheers,
Hermann
Wed, 2006-08-16 at 00:09 +0200, hermann pitton wrote:
Am Dienstag, den 15.08.2006, 17:28 -0400 schrieb Poohba:
Where can I find info on how to install xawtv on FC5. I get errors and
I haven't found it on any of the yum repositories that I use.
Hi,
when I ran into it on test1 in November last year zvbi didn't compile
and some other minor issue caused by the new xorg7 locations.
Else _don't_ use VERLAY mode with recent binary drivers and known
critical hardware, might need something like "xawtv -v 1 -remote -nodga
-c /dev/video0".
I'll send the old 3.95.src.rpm for rpmbuild to try it out.
Uses also still the old rpm locations in /usr/X11R6. Have them in your
path or change to your preferences. (xawtv4 builds too)
Cheers,
Hermann
No.7 | | 510 bytes |
| 
Am Mittwoch, den 16.08.2006, 03:32 +0200 schrieb hermann pitton:
Am Dienstag, den 15.08.2006, 21:10 -0400 schrieb Rob Campbell:
I'm still not able to get this installed. Thanks for your help
/console/fs.h:62: error: expected ')' before '*' token
/console/fbtv.c: In function 'text_out':
/console/fbtv.c:339: error: 'struct fs_font' has no member named
'height'
BTW, this looks like some remaining gcc4x trouble.
Hermann
No.8 | | 684 bytes |
| 
Am Mittwoch, den 16.08.2006, 04:11 +0200 schrieb hermann pitton:
Am Mittwoch, den 16.08.2006, 03:32 +0200 schrieb hermann pitton:
Am Dienstag, den 15.08.2006, 21:10 -0400 schrieb Rob Campbell:
I'm still not able to get this installed. Thanks for your help
/console/fs.h:62: error: expected ')' before '*' token
/console/fbtv.c: In function 'text_out':
/console/fbtv.c:339: error: 'struct fs_font' has no member named
'height'
BTW, this looks like some remaining gcc4x trouble.
and some xorg7 font path was the show stopper, IIRC.
I'll try to remember better soon.
Hermann
No.9 | | 409 bytes |
| 
Glen Gray wrote:
Here's my binary rpm, I'll upload the src rpm tomorrow, right now I need
some sleep.
I've uploaded my source rpm now. It basically has a patch file that'll
sort the gcc4.x and Xorg7 issues.
You'll need to install the following rpms in order to build the source rpm
zvbi, zvbi-devel, openmotif, openmotif-devel, libFS-devel
Cheers,
No.10 | | 251 bytes |
| 
hermann pitton wrote:
and some xorg7 font path was the show stopper, IIRC.
I'll try to remember better soon.
My source rpm is up now and has the patchs you are talking about. Though
they are all rolled into one .diff file.
No.11 | | 858 bytes |
| 
Thank you! That installed but when I ran it, it had problems:
http://pastebin.com/769823
I didn't want to paste it all in here. It was unsigned so I couldn't
install via yum which was fine I just rpm -ivh 'the two files' and it
installed and opened but streamer wasn't there and it didn't seem to
work because I couldn't see anything.
Wed, 2006-08-16 at 08:10 +0100, Glen Gray wrote:
Glen Gray wrote:
Here's my binary rpm, I'll upload the src rpm tomorrow, right now I need
some sleep.
I've uploaded my source rpm now. It basically has a patch file that'll
sort the gcc4.x and Xorg7 issues.
You'll need to install the following rpms in order to build the source rpm
zvbi, zvbi-devel, openmotif, openmotif-devel, libFS-devel
Cheers,
No.12 | | 278 bytes |
| 
Hey Rob,
I've not actually used it for anything yet, so it's entirely possible
that something is broken. I can't offer any more support on it at the
moment, when things quieten down I'll take a look.
Hermann, you seeing similar problems ?
No.13 | | 1099 bytes |
| 
Am Mittwoch, den 16.08.2006, 15:50 +0100 schrieb Glen Gray:
Hey Rob,
I've not actually used it for anything yet, so it's entirely possible
that something is broken. I can't offer any more support on it at the
moment, when things quieten down I'll take a look.
Hermann, you seeing similar problems ?
Hi Glen,
can't reach Rob's logs, but don't see problems at all with your rpm
installed.
Xawtv grabdisplay/capture mode works, dropping the ATI fglrx, then
overlay (preview) mode too. Also mtt is fixed. Nice! Streamer is
installed too and everything seems to be in the right locations. Fbtv is
not set up here and won't, but v4l-conf is fine.
The only thing missing is ttv ;) and quicktime support.
For the latter was a issue arising and I disabled it later on too.
Same goes for the current xawtv4 from cvs.bytesex.org, which builds too
with a dual install the wrong v4l-conf in use
can cause some confusion , else the usual suspects.
Looks fine to me.
Cheers,
Hermann
No.14 | | 471 bytes |
| 
hermann pitton wrote:
Hi Glen,
can't reach Rob's logs, but don't see problems at all with your rpm
installed.
<SNIP>
Thanks for checking that out Hermann. I can't really take any credit for
anything that may or may not be compiled in etc. I simply took the last
Dag Wieers source rpm and munged together various patches to get it all
to compile up again.
I only needed it for the v4l-ctl program anyways :)
No.15 | | 1223 bytes |
| 
Am Mittwoch, den 16.08.2006, 04:21 +0200 schrieb hermann pitton:
Am Mittwoch, den 16.08.2006, 04:11 +0200 schrieb hermann pitton:
Am Mittwoch, den 16.08.2006, 03:32 +0200 schrieb hermann pitton:
Am Dienstag, den 15.08.2006, 21:10 -0400 schrieb Rob Campbell:
I'm still not able to get this installed. Thanks for your help
/console/fs.h:62: error: expected ')' before '*' token
/console/fbtv.c: In function 'text_out':
/console/fbtv.c:339: error: 'struct fs_font' has no member named
'height'
BTW, this looks like some remaining gcc4x trouble.
and some xorg7 font path was the show stopper, IIRC.
I'll try to remember better soon.
Hi Rob,
the real error was stated several lines above.
As Glen already pointed out FSlib.h from FSlib-devel was missing.
That also caused me to do something brutal like
/configure /usr/include/X11/fonts
just to come through on test1. Glen has the better solution now.
If you don't depend on some missing features in xawtv4 compared to 3x,
has TH lots of new ones for DVB and mpeg stuff, that should compile
too.
Cheers,
Hermann
No.16 | | 684 bytes |
| 
hmmm. it all of a sudden started working. although with streamer is
not still, I get:
$ streamer
neither audio nor video format specified/found
Wed, 2006-08-16 at 20:00 +0100, Glen Gray wrote:
hermann pitton wrote:
Hi Glen,
can't reach Rob's logs, but don't see problems at all with your rpm
installed.
<SNIP>
Thanks for checking that out Hermann. I can't really take any credit for
anything that may or may not be compiled in etc. I simply took the last
Dag Wieers source rpm and munged together various patches to get it all
to compile up again.
I only needed it for the v4l-ctl program anyways :)
No.17 | | 2254 bytes |
| 
Am Donnerstag, den 17.08.2006, 00:06 -0400 schrieb Poohba:
hmmm. it all of a sudden started working. although with streamer is
not still, I get:
$ streamer
neither audio nor video format specified/found
Hi Rob,
an easy way to start with xawtv is to use "scantv -o .xawtv" to create
an initial config in your home directory. (Glen's rpm has it)
With "streamer -h" you get what you need to use it.
For me on PAL and the saa7134 this could be an option.
/usr/bin/streamer -d -r 25 -R 32000 -C /dev/dsp -s 640x480 -t 00:10:00 -
o streamer32000dsp0.avi -F stereo -f mjpeg
R 44100 and 48000 might work fine too, but a sound device/driver with
problems on up-sampling can happen. It is not enough to hear the sound
during the recording to make sure to have it later in the record.
It can be tricky if you don't know your sound card already. You need the
record flag enabled on the analog input you use (line,cd,aux) and
additionally also on capture/igain and that slider somewhat up, find out
how much. You might have to disable the IEC958 switch.
Unaccelerated graphics cards drivers might have problems to playback
such stuff even on a reasonably fast system. Check the
mplayer/xine/tvtime websites what to do in such cases, xawtv is
located at linux.bytesex.org. We also have a wiki at linuxtv.org.
A quick start to have some fun with video4linux could also be something
like
mencoder -v tv:// -tv
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=3600 -vf pp=lb -oac mp3lame -lameopts cbr:br=128:mode=0 -o mencoder.avi
You can access the alsa devices directly using :alsa:adevice=hw.1,0 for
example when saa7134-alsa index=1 is loaded as second dsp/mixer device.
You could start such recording over ssh from a silent machine in your
living room and if you record to an nfs mountable device you could use
e.g. xine to be able to do seek-able 'timeshift' playback and have some
start.
xawtv 3x in overlay mode is also quite useful to do some preediting on
VCR material, streamer has the -a option to leave the audio untouched
then, else try to get e.g. avidemux2 for editing.
Cheers,
Hermann
No.18 | | 2492 bytes |
| 
do i need to chown /dev/video0 for user to use it? I don't remember
having to do this before but maybe that is the issue since root is able
to run streamer just fine.
Thu, 2006-08-17 at 23:50 +0200, hermann pitton wrote:
Am Donnerstag, den 17.08.2006, 00:06 -0400 schrieb Poohba:
hmmm. it all of a sudden started working. although with streamer is
not still, I get:
$ streamer
neither audio nor video format specified/found
Hi Rob,
an easy way to start with xawtv is to use "scantv -o .xawtv" to create
an initial config in your home directory. (Glen's rpm has it)
With "streamer -h" you get what you need to use it.
For me on PAL and the saa7134 this could be an option.
/usr/bin/streamer -d -r 25 -R 32000 -C /dev/dsp -s 640x480 -t 00:10:00 -
o streamer32000dsp0.avi -F stereo -f mjpeg
R 44100 and 48000 might work fine too, but a sound device/driver with
problems on up-sampling can happen. It is not enough to hear the sound
during the recording to make sure to have it later in the record.
It can be tricky if you don't know your sound card already. You need the
record flag enabled on the analog input you use (line,cd,aux) and
additionally also on capture/igain and that slider somewhat up, find out
how much. You might have to disable the IEC958 switch.
Unaccelerated graphics cards drivers might have problems to playback
such stuff even on a reasonably fast system. Check the
mplayer/xine/tvtime websites what to do in such cases, xawtv is
located at linux.bytesex.org. We also have a wiki at linuxtv.org.
A quick start to have some fun with video4linux could also be something
like
mencoder -v tv:// -tv
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=3600 -vf pp=lb -oac mp3lame -lameopts cbr:br=128:mode=0 -o mencoder.avi
You can access the alsa devices directly using :alsa:adevice=hw.1,0 for
example when saa7134-alsa index=1 is loaded as second dsp/mixer device.
You could start such recording over ssh from a silent machine in your
living room and if you record to an nfs mountable device you could use
e.g. xine to be able to do seek-able 'timeshift' playback and have some
start.
xawtv 3x in overlay mode is also quite useful to do some preediting on
VCR material, streamer has the -a option to leave the audio untouched
then, else try to get e.g. avidemux2 for editing.
Cheers,
Hermann
No.19 | | 944 bytes |
| 
Hi everyone,
I'm writing some c code to just grab a snapshot from a webcam. I've
gotten it working for my old CPiA webcam, which spits out data in RGB24
format. sigh, if only all webcams could be so easy.
Now the specs for my project have changed slightly and we needed to use
a camera with pan/tilt support. So I selected the Logitech Quickcam
, which uses the Philips WebCam driver (pwc).
My code works fine for images at the maximum resolution; however, for
images lower than that, I end up getting nothing but incoherent noise.
This leads me to believe that the window for capture is not beginning at
(0,0) like i specified / the kernel driver reports, but that it might be
centered on the sensor array.
Has anyone done something similar w/ the pwc ? If so, I just wanted to
confirm the window arrangement conventions.
Thanks in advance for any replies.
~/Chris
No.20 | | 402 bytes |
| 
Am Freitag, den 18.08.2006, 06:23 -0400 schrieb Rob Campbell:
do i need to chown /dev/video0 for user to use it? I don't remember
having to do this before but maybe that is the issue since root is able
to run streamer just fine.
That won't last for long.
You could change it in /
Also for /dev/dsp and what else you might want. ("man udev")
Cheers,
Hermann
No.21 | | 1414 bytes |
| 
Hi again,
relating to the subject of my previous post -
I'm assuming that the philips webcam driver (pwc) centers the active
sensor array when the width / height are less than the maximums. This
would explain why i'm getting incoherent data after a read -
So my new question is:
Must one perform a seek on /dev/videoX in order to read from the active
sensor array?
cheers,
~/Chris
Christopher Friedt wrote:
Hi everyone,
I'm writing some c code to just grab a snapshot from a webcam. I've
gotten it working for my old CPiA webcam, which spits out data in RGB24
format. sigh, if only all webcams could be so easy.
Now the specs for my project have changed slightly and we needed to use
a camera with pan/tilt support. So I selected the Logitech Quickcam
, which uses the Philips WebCam driver (pwc).
My code works fine for images at the maximum resolution; however, for
images lower than that, I end up getting nothing but incoherent noise.
This leads me to believe that the window for capture is not beginning at
(0,0) like i specified / the kernel driver reports, but that it might be
centered on the sensor array.
Has anyone done something similar w/ the pwc ? If so, I just wanted to
confirm the window arrangement conventions.
Thanks in advance for any replies.
~/Chris