CoM – Il Blog di Carlo Becchi Compreresti un Raggio della Morte usato, da quest'uomo?

20mar/07366

Niente suono su YouTube o Google Video con Linux. Problema risolto, anche con più schede audio!

[Questo post fa riferimento a Ubuntu 6.10 ed è stato verificato con Ubuntu 7.04 Feisty Fawn, ma data la sua generalità è applicabile, con poche differenze anche ad altre distribuzioni].

Il problema di ritrovarsi YouTube, Google Video, DailyMotion e gli altri Flash video player web completamente muti su Linux è ben noto e documentato (basta una ricercare "youtube no sound linux (o ubuntu)" per averne dimostrazione).
Oramai passo buona parte del mio tempo al pc su Ubuntu, e la cosa si rivela molto fastidiosa.

La colpa del video web muto è di Firefox, che nell'installazione base non prevede un wrapper audio di default e quindi il povero suono proveniente da internet non sa proprio dove andare...

FIREFOX_DSP="none"

Basterebbe cambiare "none" in "auto" per ottenere il suono, ma a quanto si legge (non ho provato) il sound system di default è ESD, che proprio un campione di stabilità non sembra essere.

Si procede quindi in questo modo, si apre il terminale e si installa alsa-oss, il wrapper alsa per applicazioni oss:

sudo apt-get install alsa-oss

in alternativa potete ovviamente usare un packet manager grafico come Synaptic, in questo caso cercate "alsa-oss" o "aoss".

A questo punto bisogna indirizzare l'audio di Firefox al wrapper:

sudo gedit /etc/firefox/firefoxrc

e da gedit modificate la stringa FIREFOX_DSP in questo modo:

FIREFOX_DSP="aoss"

Riavviate Firefox.
Funziona? A voi probabilmente si, a me no.
Sono ancora senza audio.

Perché?

Essenzialmente perché alla mia scheda audio (/dev/dsp) non ho collegato le casse : - ) dal momento che sul pc linux uso una cuffia-microfono per Skype USB.
Questa è in tutto e per tutto una seconda scheda audio (/dev/dsp1), e perciò si rende necessario impostarla come predefinita in ALSA.

Ancora da terminale:

sudo gedit /usr/share/alsa/alsa.conf

Scorrete il testo finchè trovate:

defaults.ctl.card 0
defaults.pcm.card 0
defaults.pcm.device 0

Sostituite i tre 0 con tre 1 :

defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 1

A questo punto anche io ho potuto ascoltare l'audio del flash player nella mia cuffia! Evviva! : - D

Commenti (366) Trackback (0)
  1. great issues altogether, you just won a new reader. What
    may you suggest in regards to your submit that you simply made some days ago?

    Any certain?

  2. Hey There web design york. I uncovered your own website the usage of ask. That is a particularly beautifully authored report. I’ll be bound to save this and come back to understand more of your respective beneficial details. Information article. I most certainly will surely return.

  3. Good blog you have got here.. It’s hard to find quality
    writing like yours these days. I honestly appreciate people like you!
    Take care!!

  4. No guarantor loans are most useful when monetary urgencies are quite often difficult to handle.
    To manage the situation, you need proper resources.
    Paucity of funds can complicate things. But
    how are you supposed to overcome the hurdles

  5. Hi there, always i used to check webpage posts here in the early hours in the dawn, for the reason that i like to gain knowledge of more and more.

  6. It’s amazing for me to have a web page, which is useful
    in favor of mmy knowledge. thanks admin

  7. Excellent beat ! I would like to apprentice while you amend your site, how could i subscribe for a blog
    site? The account aided me a acceptable deal.
    I had been a little bit acquainted of this your broadcast
    provided bright clear concept

  8. I’m gone to tell my little brother, that he should also visit
    this website on regular basis to get updated from newest gossip.

  9. Excellent post. I was checking constantly this blog and I’m impressed!
    Very useful info specially the last part :) I care for such
    info a lot. I was seeking this particular information for a long time.
    Thank you and best of luck.

  10. To obtain the files from a new folder with all the game within it for
    a computer you might need a new blank disk. Some of the
    consequent hazards can be poor eyesight, insufficient appetite, strained fingers and others unhealthy conditions which
    lead to a healthy income for that child specialists browsing their chambers.

    Mobile games are not restricted to entertainment alone, as many promotional and advertising
    campaigns are manufactured an integral part of mobile game programming within the recent years.

  11. Buut now a days as per the demand with the IT industry, the kind of practical
    exposure and infrastructure a PVT. These universities are improving thhe
    companies and vendors as well. As the technology is constantly improve wikth better and features things,
    the globe could only progress and better.

  12. Most modern PC displays, keyboards and mice work with all the
    Mac Mini. Although Linux has always been a somewhat small player inside main system
    market, its popularity is growing every year. Be sure to perform the exact same set of steps
    that you simply did to reproduce the mistake initially.

  13. When you have posted this new material, make sure to connect it
    directly from the most admired pages. Another example of a web hosting affiliate
    program is by West – Hoost (). It’s being a line on the bank: in case you are second in line you receive served prfetty quickly but it you’re twelfth in line you’ll wait
    much longer.

  14. Quit worrying an advanced gaming freak losing sleep over damaged Xbox game CDs.
    Using light as an advertising tool to motivate people
    to check this page or there has been around since invention of fire.
    Vai played all the songs for your album “slip from the tongue” while the lead guitarist Adrian Vandenberg bruised
    his wrist.

  15. Thhe reason why the corporation does that’s to appreciate the customer’s
    lloyalty aand ask the consumer to come back making more purchases in future.
    Thesse sites alo allow yoou tto just research, in the event you simply want to have
    a very look. The images are update every single
    day in any in the websites that offer these wallpapers plus some
    go so far as changing wiyh the day, frkm the mood, in accordance
    with all the holiday or every other reason.


Lascia un commento


Ancora nessun trackback.

Rss Feed Tweeter button Facebook button Youtube button