Francesco Romani wrote:
On Mon, 2008-02-11 at 12:24 -0800, David Liontooth wrote:

[...]
Are you using Alsa? See http://linuxtv.org/v4lwiki/index.php/Saa7134-alsa
See http://linuxtv.org/v4lwiki/index.php/Transcode -- it would be nice
if you could update the page with your findings -- especially if you
upgrade your software first.

Just a note: transcode 1.1.0 and following will have ([very] basic)
support for ALSA import: no more OSS-only. :)
The latest linux kernel changelog, for 2.6.25-rc1, shows oss support is being removed from saa7134:

commit 166fb6b4721f9dd8eca3755517671154aa1eaaba
Author: Adrian Bunk <[EMAIL PROTECTED]>
Date:   Wed Nov 21 19:55:52 2007 -0300

   V4L/DVB (6623): remove saa7134-oss

The saa7134-oss is deprecated for quite some time, it's the only remaining OSS
   user outside of sound/oss/, and considering how few and what kind of
   soundcards are left supported by OSS I hardly see any use cases left.

   Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
   Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
   Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>

The soundcard argument is not that good, since many of us use DMA sound -- the real issue is that transcode still lags in alsa support, and I don't see any alsa support in ffmpeg yet. So removing oss support means no tv grabbing with ffmpeg, and no old-style with transcode. Does transcode understand alsa device names in the way mencoder does, the hw.0 notation?

mencoder -tv driver=v4l2:device=/dev/video$DEV:fps=30000/1001:chanlist=us-cable:\ audiorate=32000:adevice=hw.$DEV:alsa:input=0:amode=1:normid=4 -ffourcc DX50 -ovc \
lavc -lavcopts threads=2 -oac mp3lame -lameopts cbr:br=128 -endpos $TIM \
-o $DIR/$FIL.avi tv:// > /dev/null

Where $DEV is the card device number, 0 by default.

Cheers,
Dave


Reply via email to