Bugs item #1583303, was opened at 2006-10-24 10:54
Message generated for change (Comment added) made by tcwan
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1583303&group_id=46652

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv
Group: None
>Status: Open
Resolution: Fixed
Priority: 5
Private: No
Submitted By: TC Wan (tcwan)
Assigned to: Nobody/Anonymous (nobody)
Summary: MPLAYER_AO_DEV doesn't work with Alsa hw device settings

Initial Comment:
For TV viewing using an analog TV Capture card
(SAA7134), setting MPLAYER_AO_DEV to
'alsa:adevice=hw.1,0' doesn't enable the DMA audio for
TV playback using mplayer.

----------------------------------------------------------------------

>Comment By: TC Wan (tcwan)
Date: 2006-10-27 10:02

Message:
Logged In: YES 
user_id=554959

Tested working on r-8476. Both live TV and recording works
as expected using DMA sound.
However, now I have a new problem. If I leave Line In
plugged in, both the analog line in audio and the DMA sound
will be mux'ed. How do I mute the Line In for TV viewing
only? (VCR_CMD has a muting pre and post command).

I still have the analog Line In due to radio. DMA sound
isn't reliable at this point (I get buffer underruns).
In addition, arecord|aplay doesn't have any volume gain
adjustment unlike sox, but sox still doesn't work for me for
radio playback.

----------------------------------------------------------------------

Comment By: Duncan Webb (duncanwebb)
Date: 2006-10-24 15:45

Message:
Logged In: YES 
user_id=104395

This is a special case for tv audio. There are two alsa tv
sound modules in the kernel, saa7134-alsa and cx88-alsa.

A new group_type 'tvalsa' has been added to VIDEO_GROUPS
that will allow the adev settings to be included in the
mplayer command.

The existing groups_types are:
normal
dvb
ivtv
webcam

The best way to explain this is with an example, here are
settings in local_conf.py:
# mplayer is fussy about having -ao alsa+params and -tv
alsa:adevice+params so set
MPLAYER_AO_DEV = 'alsa'
The changes to a VideoGroup are:
# video groups
VIDEO_GROUPS = [
    VideoGroup(vdev = '/dev/video0',
        adev =
'alsa:adevice=hw.1,0:amode=1:audiorate=32000:forceaudio:volume=100:immediatemode=0',
        input_type = 'tuner',
        input_num = 0,
        tuner_norm = CONF.tv,
        tuner_chanlist = CONF.chanlist,
        desc = 'Pinnacle 110i Group',
        group_type = 'tvalsa',
        record_group = None),
]
I may be necessary to add, so that any other audio settings
are not altered.
CONTROL_ALL_AUDIO = 0

The changes have been applied to rel-1-6 at r8460. Please
test and confirm that it is working.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1583303&group_id=46652

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to