Date: Sat, 23 Apr 2005 03:03:04 -0300 From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> To: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru> Cc: FreeBSD-multimedia@FreeBSD.org Subject: Help with TV capture (mplayer/brooktree/audigy) Message-ID: <20050423060326.77136.qmail@exxodus.fedaykin.here> In-Reply-To: <20050421210639.V542@free.home.local>
next in thread | previous in thread | raw e-mail | index | archive | help
--YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 21, 2005 at 10:14:26PM +0400, Yuriy Tsibizov wrote: > > emuctrl amp 4 ## amplify every input four times > > emuctrl set out13 100 ## set recording volume for DSP output > > emuctrl rset in6 100 ## set recording volume for DSP input > mic is (possible) connected via AC97 codec. You should try to set AC97 > DSP input rec volume to 100. >=20 > > $ mixer =3Drec mic > > Recording source: mic > This does not have any effect for driver. If you record from AC97 source, > it will always record 'stereo mix' (I can't rememeber, why it was done > this way, it was done long time ago). WORKS like a charm. $ emuctlr rset in0 100 # enablind 100 on recording in0 AC97 Codec 0:0 (100:100) $ wavrec test.wav # WORKS # recors, I just have made it but I need to get better quality (and stereo) # and sounds a crowded metro > If you look into -multimedia archives, there was a question about sound > recording on Audigy 2 cards (with emu10kx driver) around Feb 23th. As I > can remember, we was unable to record anything on Audigy 2. You can try > following test: >=20 > 1. set recording level from FX0 to 100 > 2. set level on "A/D converter (REC)" to 100 > 3. play something in one window / virtual console and record in another > window / virtual console. > If sound recording works, than you will record sound you playing. Intereseting when you want to pipe an application stream into another one. I'll try and give feedback afterwards. ------------- 1) audio Okay, I have the audio input despite the suboptimal resultes. Those will be fixed along the way. Next steps would be filtering and encoding. However, I would like to get audio inside mplayer first. For perfomance, I am using - no audio $ mplayer -tv driver=3Dbsdbt848:noaudio:width=3D640:height=3D480:input=3D0:= norm=3Dntsc tv:// -vf denoise3d,lavcdeint -cache 524288 - how do I add audio? trying to use adevice does not work :( $ mplayer -tv driver=3Dbsdbt848:noaudio:width=3D640:height=3D480:input=3D0:= norm=3Dntsc tv:// -vf denoise3d,lavcdeint -cache 524288 For quality, I am using - noaudio $ mplayer -tv driver=3Dbsdbt848:noaudio:width=3D640:height=3D480:input=3D0:= norm=3Dntsc tv:// -vf hqdn3d,filmdint -cache 524288 For very low quality, I am using - noaudio $ mplayer -tv driver=3Dbsdbt848:noaudio:width=3D640:height=3D480:input=3D0:= norm=3Dntsc tv:// -vf pp=3Dhb/vb/dr/al/lb -cache 524288 The audio quality is low but that's fixable once I increase the bitrate when I get the audio into mplayer. I hope I am providing enough information. Let me if anymore is necessary. Oh, the rca cables being used to connect the L/R decoder outputs to the standard sterio connector to the Audigy2. The cabling is shieled, the connectors are "gold" plated, as good as it gets without importing. Nothing off the shelf :)` So I'm hoping the problem is an interaction OS and Hardware. Any help appreciated. Regards, $ mixer Recording source: mic Mixer vol is currently set to 64:64 Mixer pcm is currently set to 81:81 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 83:83 Mixer cd is currently set to 75:75 Mixer rec is currently set to 100:100 Mixer ogain is currently set to 50:50 Mixer line1 is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phout is currently set to 0:0 Mixer video is currently set to 75:75 $ emuctrl list Id Description Vol RecVol FX (PCM) buses fx0 DSP FX BUS 0 83:83 (0:0) DSP Inputs in0 AC97 Codec 0:0 (100:100) in1 CD S/PDIF 0:0 (0:0) in2 Optical S/PDIF 0:0 (0:0) in3 0x06 0:0 (0:0) in4 Line-In (2) 0:0 (100:100) in5 Coaxial S/PDIF 0:0 (0:0) in6 AUX2 0:0 (100:100) in7 0x0E 0:0 (0:0) DSP Outputs out0 DIGITAL: Front 0:0 out1 DIGITAL: Center 0 out2 DIGITAL: Subwoofer 0 out3 Headphones 100:100 out4 DIGITAL: Rear 0:0 out5 Front 100:100 out6 Center 100 out7 Subwoofer 100 out8 Side 0:0 out9 Rear 100:100 out10 AC97 ?? 100:100 out11 0x12 0:0 out12 0x14 0:0 out13 A/D converter (REC) 100:100 out14 0x18 0:0 out15 0x1A 0:0 out16 0x1C 0:0 out17 0x1E 0:0 -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCaeUtrxEiaFLzGQwRAjD6AJ42RTCtbQGwBFaEle9C4Ua2CZT0DwCfbZU7 eYcfgfX8kKRKpTu0LeNAS/4= =Rg/Z -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050423060326.77136.qmail>