I am trying to use the feature of direct oss and alsa access for encoding audio from the gnome desktop (for example, from a streaming inside firefox, playing perfectly in my headphones).
I have an Ubuntu 9.04 server machine and I have compiled ffmpeg and vlc from scratch, with most features enabled (and execution from root).
Code: Select all
root@AsusStreamer:/usr/local/vlc# uname -a
Linux AsusStreamer 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10 UTC 2009 i686 GNU/Linux
root@AsusStreamer:/usr/local/vlc#
root@AsusStreamer:/usr/local/vlc# vlc --version
VLC media player 1.1.0-git Goldeneye
VLC version 1.1.0-git Goldeneye (1.0.0-rc1-744-gfa134b7)
Code: Select all
root@AsusStreamer:/usr/local/vlc# vlc --list | grep alsa
VLC media player 1.1.0-git Goldeneye
alsa Uscita audio ALSA
access_alsa Ingresso acquisizione audio ALSA
root@AsusStreamer:/usr/local/vlc# vlc --list | grep oss
VLC media player 1.1.0-git Goldeneye
oss Uscita audio UNIX OSS
access_oss Ingresso OSS
Code: Select all
./cvlc -vvv alsa:// --sout '#transcode{acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=raw,dst='/root/test.mp3'}'
However, it only contains background noise.
I have tried to act on the Realtek ALC883 (OSS Mixer) and HDA ATI SB (ALSA Mixer), putting all volumes at the maximum, but the noise just plays louder...
Thank you in advance for any help,
best,
Marco