Help with TV capture (mplayer/brooktree/audigy)
Mario Sergio Fujikawa Ferreira
lioux at FreeBSD.org
Fri Apr 22 23:21:50 PDT 2005
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.
>
> > $ mixer =rec 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:
>
> 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=bsdbt848:noaudio:width=640:height=480:input=0:norm=ntsc tv:// -vf denoise3d,lavcdeint -cache 524288
- how do I add audio? trying to use adevice does not work :(
$ mplayer -tv driver=bsdbt848:noaudio:width=640:height=480:input=0:norm=ntsc tv:// -vf denoise3d,lavcdeint -cache 524288
For quality, I am using
- noaudio
$ mplayer -tv driver=bsdbt848:noaudio:width=640:height=480:input=0:norm=ntsc tv:// -vf hqdn3d,filmdint -cache 524288
For very low quality, I am using
- noaudio
$ mplayer -tv driver=bsdbt848:noaudio:width=640:height=480:input=0:norm=ntsc tv:// -vf pp=hb/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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20050423/c0dfa40b/attachment.bin
More information about the freebsd-multimedia
mailing list