[LAU] Intercept (alsa) audio from totem-xinelib

hollunder at gmx.at hollunder at gmx.at
Thu Aug 28 12:50:33 EDT 2008


On Thu, 28 Aug 2008 17:30:21 +0200
Johannes <tuxaudio at jeudi.de> wrote:

> Hi all,
> 
> I would like to watch a video DVD with totem and
> send the audio to a file instead of the sound
> system (that is, capture the DVD audio as
> it flows).
> 
> Could someone point me to the right direction?
> 
> I tried adding a
> .asoundrc
> file to my homedir, containing
> pcm.fileout {
>    type file
>    slave.pcm "hw:0,0"
>    file alsaout.raw
> }
> but can't figure out how to actually activate
> "fileout".
> 
> My installation is ubuntustudio (gutsy, i686) with
> totem-xinelib.
> 
> I picked ALSA for "Music and Movies > SOund playback"
> in System > Preferences > Audio (=gnome-sound-properties)
> 
> The soundcard selected in QAMix is "VIA8237 (hw:0)"
> 
> Thanks all in advance,
> Johannes

I think it's relatively easy to dump the audio of a video to file using
mplayer, I don't know if this works for DVDs. I also don't know if it
works using xine, but I'd guess so.

Hope this helps,
	Philipp



More information about the Linux-audio-user mailing list