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

20mar/07613

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 (613) Trackback (0)
  1. Buy a sex doll online?sosexdoll is perfect.

  2. + Khi đóng dấu lên chữ ký, dấu đóng góp phải trùm lên khoảng 1/3 chữ ký
    về phía phía bên trái.

  3. طرح و رنگ این هودی‌ها باعث شده تا بسیاری
    از آقایان خوش تیپ و جذاب، طرفدار این لباس شوند.
    از آن جایی که کیفیت لباس یکی
    از مهم‌ترین مواردی است که باید در نظر داشته باشید،
    برای خرید هودی ارزان و باکفیت می‌توانید از
    طریق فروشگاه اینترنتی پارچی اقدام کنید.

    توجه: اکثر سایز های این هودی به فروش رفته‌اند.
    پیش از ثبت سفارش از طریق یکی از راه های ارتباطی با ما
    سایز مورد نظر خود را استعلام کنید.

  4. I couldn’t refrain from commenting. Perfectly written!

  5. Howdy не возражаете ли, если
    я поделюсь, с какой платформой блога
    вы пользуетесь? Я собираюсь начать свой
    собственный блог скоро, но мне сложно выбрать между
    BlogEngine/Wordpress/B2evolution и Drupal.
    Причина, по которой я спрашиваю, заключается в том, что ваш дизайн и стиль кажется отличным от большинства блогов, и я ищу что-то уникальное.
    P.S Прошу прощения за отклонение, но
    мне пришлось спросить!

  6. hello!,I like your writing so a lot! percentage we keep up a correspondence more
    approximately your post on AOL? I need a specialist on this space to unravel my problem.
    May be that is you! Looking forward to look you.

  7. Can I just say what a relief to discover a person that genuinely knows what they are discussing on the net.

    You actually understand how to bring an issue to
    light and make it important. More people should read this and understand this side of
    the story. I was surprised that you are not more popular
    because you surely possess the gift.

  8. It’s awesome to visit this web site and reading the views
    of all friends on the topic of this post, while I am also keen of getting know-how.

  9. Hey I am so excited I found your blog page, I really found you
    by error, while I was browsing on Aol for something else, Anyhow I am
    here now and would just like to say thank you for a fantastic post and a all round interesting blog (I
    also love the theme/design), I don’t have time to look over
    it all at the minute but I have bookmarked it and also added in your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the awesome b.

  10. Your style is really unique in comparison to other people I have read stuff from.
    Many thanks for posting when you have the opportunity, Guess I’ll just book mark this site.

  11. Thanks for finally writing about > Niente suono su YouTube o Google Video con Linux.
    Problema risolto, anche con più schede audio! « CoM – Il Blog di Carlo
    Becchi < Liked it!

  12. Wow! After all I got a web site from where I be
    capable of actually get useful information regarding my study and knowledge.

  13. Simply want to say your article is as surprising. The clarity in your publish
    is simply spectacular and that i could think you are
    an expert in this subject. Fine together with your permission allow me to clutch your RSS
    feed to keep up to date with imminent post.
    Thanks 1,000,000 and please continue the gratifying work.


Lascia un commento


Ancora nessun trackback.

Rss Feed Tweeter button Facebook button Youtube button