Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2005 21:51:40 -0800
From:      Jacob Meuser <jakemsr@jakemsr.com>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: Transcode with bktr+oss problem
Message-ID:  <20051126055139.GA27863@puff.jakemsr.gom>
In-Reply-To: <20051125131831.enpwpeysggcgkc04@netchild.homeip.net>
References:  <200511241929.39061.nb_root@videotron.ca> <20051125131831.enpwpeysggcgkc04@netchild.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 25, 2005 at 01:18:31PM +0100, Alexander Leidinger wrote:
> Nicolas Blais <nb_root@videotron.ca> wrote:
> 
> >Hi,
> >
> >With the recent upgrade to transcode-1.0.1_1 with oss support, I tried to
> >record a tv show like so:
> >
> >transcode -i /dev/bktr0 -x bktr=norm=ntsc:vsource=tuner:asource=tuner,null 
                           ^^                                            ^^^^
> >-g
> >640x480 -y ffmpeg -F mpeg4 -o out
> >
> >It correctly records the video but no sound (yet I can hear it).
> >(asource=external/internal tested too).

yes, because you are telling transcode to ignore audio input.

> >So I also tried this:
> >
> >transcode -i /dev/bktr0 -x bktr=norm=ntsc:vsource=tuner:asource=tuner,oss 
> >-g
> >640x480 -y ffmpeg -F mpeg4 -o out
> >
> >which will correctly load the import_oss.so module but exit(1) on me.
> >
> >transcode v1.0.1 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
> >SNDCTL_DSP_SETFMT: Inappropriate ioctl for device
> >[transcode] auto-probing source /dev/bktr0 (failed)
> 
> I don't have a bktr card, but it looks to me as transcode tries to open the
> vide input as an audio device. This seems to be wrong if I understand the
> handling of bktr correctly.

yes, that's what it does, because the only input defined is /dev/bktr0.

you have to use the -p switch to specify an alternate audio input file.

> >My bktr's sound-out is connected to my sound card's Line In (as with most
> >WinTVs like mine).
> 
> I assume you have to specify your soundcard instead of the tuner in
> "asource".

no, this is right, assuming the OP wants to record both video and
audio from the tuner.

-- 
<jakemsr@jakemsr.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051126055139.GA27863>