Ubuntu 10.04.2 LTS = No sound in MythTV + mplayer

Steve Malenfant smalenfant at gmail.com
Sun Feb 6 13:55:04 UTC 2011


On Thu, Feb 3, 2011 at 5:07 PM, MR ZenWiz <mrzenwiz at gmail.com> wrote:

> On Wed, Feb 2, 2011 at 8:42 PM, Steve Malenfant <smalenfant at gmail.com>
> wrote:
> >
> > I seem to have found a way to make it work. ALSA:Default doesn't work
> > anymore for me in both mplayer and MythTV. I have to do a scan and choose
> > the proper device that gets populated. For mplayer, I have to provide
> "-ao
> > alsa" and it I do "-ao alsa:default" then my video doesn't even show up.
> > I'll have to look into getting the ALSA:default working again. Kind of a
> > pain in the bottom when you need to specify the audio device all the
> time.
> >
>
> Not to disparage your efforts, but that is one good use for aliases.
>
> In particular with mplayer, I have found aliases handy for playing
> specific tracks on either of my two DVD burners, using full-screen
> presentations, playing those bizarre flash videos that are widescreen
> but appear in 4:3 aspect ratio without the right option and suchlike.
>
> E.g.: mp0f is much easier to type than 'mplayer --dvd-device=/dev/sr0 -fs'
>
> Using alias is fine when I want to play to a special device. In my case I
just want my application to use audio by default. For some reason, it now
started to work. Maybe because I put this in /etc/asoundrc :

pcm.!default {
type hw
card 0
device 0
}

ctl.!default {
type hw
card 0
device 0
}



> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110206/338df7b5/attachment.html>


More information about the ubuntu-users mailing list