Duncan Webb wrote: > Duncan Webb wrote: >> Duncan Webb wrote: >>> TC Wan wrote: >>>> Hash: SHA1 >>>> Duncan Webb wrote: >>>>> TC Wan wrote: >>>>>> Hi,
BTW have you seen the new sf.net interface to the tracker, etc. It has a decent width now and a new user interface. >>>>>> I'm playing with Freevo 1.6 SVN, and finally managed to get DMA sound >>>>>> working with Mencoder for TV recording (using the ALSA configuration >>>>>> information from the V4L2 Wiki on linuxtv.org). However, for all my >>>>>> attempts, mplayer refuses to playback live TV using DMA sound. >>>>> I had similar problems, it I understand you correctly, with TV sound and >>>>> the nforce4 chipset, I tried all these setting >>>>> MPLAYER_AO_DEV = 'alsa:mmap:device=hw=0.0' >>>>> MPLAYER_AO_DEV = 'alsa:noblock:device=hw=0.0' >>>>> MPLAYER_AO_DEV = 'alsa:device=hw=0.0' >>>> My MB is an ASUS A7S333 (SiS chipset + Duron 1 GHz CPU), with FlyVideo >>>> FlyTV Prime34 (SAA7134-based). >>>>> The last one worked, looking at the wiki page you posted, I think that >>>>> your set-up should be similar. >>>>> MPLAYER_AO_DEV = 'alsa:device=hw=1.0' may work. >>>>> IIRC I have applied a patch to 1.6 to use MPLAYER_AO_DEV for TV sound. >>>> Was MPLAYER_AO_DEV honored before this patch was committed? I tried >>>> using a standalone script for testing, as well as messing with >>>> MPLAYER_AO_DEV, neither worked. >> I will have to fix this, it should use the video groups adev and not >> MPLAYER_AO_DEV. Because mplayer has different options depending on the mrl. >> >> Will you submit a bug report. >> >>>> I think the syntax should be 'alsa:adevice=hw.1,0' >>> This is correct for alsa's aplay and arecord but not for mplayer. >> Talking out of my hat, your correct is should be 'alsa:adevice=hw.1,0' >> >> I have a pinnacle 110i card which is a saa7134 based card so I can test >> the results. >> >> the command line: >> mplayer tv:// -tv driver=v4l2:freq=211.000:device=/dev/video2:alsa:\ >> adevice=hw.1,0:amode=1:audiorate=32000:forceaudio:volume=100:immediatemode=0:norm=PAL >> >> worked just fine. > > In rel-1-6 r8457 I have changed tv/plugins/mplayer and config. The > changes are so that when a VideoGroup has been defined and the adev is > not None then it will pass the adev settings to mplayer. adev is not > used anywhere else so the impact is low. > > *But can everybody test it*, I'm not sure how this will work in all cases. I've decided that this method is too dangerous so I've added a new VideoGroup group_type to implement this, the adev setting still need to be changed. See: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1583303&group_id=46652 for more details. The full list of available group_types are: dvb ivtv normal webcam tvalsa Normally normal is used when something else is chosen, except for the tvtime and xawtv plug-ins. > > CONTROL_ALL_AUDIO = 0 > MPLAYER_AO_DEV = 'alsa' > # video groups > VIDEO_GROUPS = [ > VideoGroup(vdev = '/dev/video2', > adev = > 'alsa:adevice=hw.1,0:amode=1:audiorate=32000:forceaudio:immediatemode=0', > input_type = 'tuner', > input_num = 0, > tuner_norm = CONF.tv, > tuner_chanlist = CONF.chanlist, > desc = 'Pinnacle 110i Group', > group_type = 'bttv', > record_group = None), > ] > > Don't copy and paste this verbatim as my video device may be different > from yours. > > Duncan > > > ------------------------------------------------------------------------- > 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 > ------------------------------------------------------------------------- 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