VLC 1.1.0 direct access to OSS and ALSA only captures noise
Posted: 30 Jun 2009 11:30
Dear all,
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).
Both alsa and oss modules have been successfully compiled (sorry for the output in Italian):
and i try to encode audio to an mp3 file with the following command (the same for oss://):
According with the output from vlc, everything seems to be ok, and the mp3 file is correctly created.
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
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