Google
  Web www.spinics.net

RE: saa7134 + oss in general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


 

> -----Original Message-----
> From: video4linux-list-bounces@xxxxxxxxxx 
> [mailto:video4linux-list-bounces@xxxxxxxxxx] On Behalf Of 
> hermann pitton
>
> Michael Jackson schrieb:
> > Hi, I'm back.  :) Having intermittent issues with the ASUS 
> TV-FM and OSS.
> 
> [...]
> > 
> > This is more than a little confusing.
> > 
> > To add to the fun, I seem to not be able to get this to work at all 
> > just using v4lctl (i.e without firing up xawtv, for 
> headless use) - I 
> > tred to replicate the steps I took in xawTV with v4lctl, like so:
> > 
> > modprobe saa7134 oss=1
> > v4lctl setnorm ntsc
> > v4lctl setfreqtab us-cable
> > v4lctl setchannel 12
> > v4lctl volume mute off
> > v4lctl volume 100
> > 
> 
> With a .xawtv I set only the channel with v4lctl.

Interesting.  I'm messings with that, as it seems very trivial.  I'm
building a /etc/X11/xawtvrc

Here's what I'm using:

[global]
freqtab = us-cable

[defaults]
input = television
norm  = ntsc
audio = stereo

I did a v4lctl setchannel and then did a v4lctl list - it's setting the norm
to PAL-DK, which is interesting to say the least.  It's not setting audio to
stereo either.

I fired up xawtv, and saw the same - However, it IS seting the freqtable to
us-cable, so it's at least getting that right.

> > but then I can't pull anything off of the video device... I 
> get this 
> > when I try to use mp1e:
> > 
> > mp1e:v4l.c:124: Failed to VIDIOCSYNC (5, Input/output error)
> 
> Apparently doesn't get the buffers it wants, don't have the 
> source. What happens with other apps like streamer, ffmpeg, 
> mencoder, transcode, nvrec ...?
> They all can unmute the device on the saa7134 chips.

I have mencoder installed.  It will do this on an infinite loop:

v4l2: ioctl dequeue buffer failed: Input/output error, idx = 0

and then have to be killed off with extreme prejudice.

Wait, never mind, I'm an idiot.  I forgot the v4lctl stuff.

If I do that, it works, without the audio - I can't figure out how to
specify an alternate input source w/ mencoder.

Anyways, I tried it again without the v4lctl stuff, just trying to specify
everything on the mencoder command line:

/opt/mplayer/bin/mencoder -tv
driver=v4l2:device=/dev/video0:adevice=/dev/dsp0:amode=1:normid=1:chanlist=u
s-cable:width=640:height=480 tv://34 -ovc lavc -lavcopts
vcodec=wmv2:vbitrate=3000 -endpos 1:00 -oac mp3lame -lameopts cbr:br=128
-vop pp=lb -o test.avi

and I keep getting the same v4l2 error as above.  Frustrating.

Now I'm trying streamer.  Not much luck there.  Of course, I still have to
set channel / norm / freqtable with v4lctl.

streamer -t 0:30 -o test.avi -n ntsc -F stereo

I can get video if I do v4lctl stuff first, but no audio.

I probably need to explicitly set the input to line2 somehow.

So I seem to be having some interesting results.  Granted, I'm only
experienced with mp1e and mencoder, and much less so with mencoder.

> 
> > This will work fine once I fire up xawtv - Is there something I'm 
> > missing in v4lctl, or something else I need to get this working?
> > 
> 
> Is mute still off with "v4lctl list" after you start mp1e, 
> does it work after using ttv, just scratching the surface ...

Actually, mute turns on if I try to use streamer.  Hrm.  Let's check mp1e
real fast - Nope, it stayed off there.

I feel like there's a v4lctl gnome in my PC.

> 
> In the vbi case Shaun is pulling data from /dev/vbi0, but 
> ntsc-cc doesn't decode them. What happened with the apps 
> using libzvbi?

I tried zapping, but I'm having very little luck even getting TV video to
work, let along captions.  It seems highly unstable on my system.  I've
rebuilt a few times.

> Welcome back,
> Hermann

Thanks so much,
Michael

--

Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

[Home]     [Older V4L]     [Linux DVB]     [Video Disk Recorder]     [Video Technology]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Plasma TVs]     [Video Projectors]     [PDAs]     [Xorg]     [Util Linux NG]     [Xfree86]     [Devices]     [Big List of Linux Books]     [Free Photo Albums]     [LCD TVs]     [Fedora Users]     [Webcams]     [Fedora Women]     [HDTV]     [ALSA Users]     [ALSA Devel]     [Stuff]     [SSH]     [Linux USB]

Powered by Linux

Google PageRank Checking tool