OT: mp3 -> ac3 -> SP/DIF output?

2008-12-15 Thread Tom Horsley
I've seen talk of an alsa ffmpeg plugin that can convert
simple stero sound to an ac3 stream for output to a
sound system via SP/DIF output of a soundcard. (But I get
the impression I'd have to rebuild alsa and alsa kernel
modules from scratch to support it).

I have successfully played DVDs with the raw digital audio stream
sent directly to the SP/DIF output, so I know if the right stuff
gets sent, I can do digital output to my receiver.

What I'm wondering is: Is there a media player that can do
something like use the ffmpeg libraries to do the ac3 encoding
on the fly and send the digital stream to my SP/DIF output?
Something stand-alone where I don't need to rebuild the whole
sound system from source (I might as well switch to gentoo if
I wanted to do that :-).

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: OT: mp3 -> ac3 -> SP/DIF output?

2008-12-15 Thread Tom Horsley
> Is there a media player that can do
> something like use the ffmpeg libraries to do the ac3 encoding
> on the fly and send the digital stream to my SP/DIF output?

Answering my own question, I'm currently listening to music
on my surround system being played via:

mplayer -ao alsa:device=hw=0.0 -af lavcac3enc=tospdif 

Only have to sort through the 47,621,337 possible command line option
combinations to figure it all out :-). (Actually I reused the alsa device
option from the DVD ac3 passthrough magic I found previously on the web).

I guess on the fly audio encoding isn't very demanding, my CPUs
are both hovering around 1 to 2% usage.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: OT: mp3 -> ac3 -> SP/DIF output?

2008-12-15 Thread Les Mikesell

Tom Horsley wrote:

Is there a media player that can do
something like use the ffmpeg libraries to do the ac3 encoding
on the fly and send the digital stream to my SP/DIF output?


Answering my own question, I'm currently listening to music
on my surround system being played via:

mplayer -ao alsa:device=hw=0.0 -af lavcac3enc=tospdif 

Only have to sort through the 47,621,337 possible command line option
combinations to figure it all out :-). (Actually I reused the alsa device
option from the DVD ac3 passthrough magic I found previously on the web).

I guess on the fly audio encoding isn't very demanding, my CPUs
are both hovering around 1 to 2% usage.


If you only have 2 channels, is there some reason to encode as ac3 
instead of pcm?


--
  Les Mikesell
   lesmikes...@gmail.com

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: OT: mp3 -> ac3 -> SP/DIF output?

2008-12-15 Thread Tom Horsley
On Mon, 15 Dec 2008 20:52:02 -0600
Les Mikesell wrote:

> If you only have 2 channels, is there some reason to encode as ac3 
> instead of pcm?

Probably not, I just knew ac3 output worked from the DVDs, and it
isn't like ac3 encoding is putting any kind of strain on the
system :-).

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: OT: mp3 -> ac3 -> SP/DIF output?

2008-12-16 Thread Kevin Kofler
Tom Horsley wrote:
> Probably not, I just knew ac3 output worked from the DVDs, and it
> isn't like ac3 encoding is putting any kind of strain on the
> system :-).

But you're losing quality.

Kevin Kofler

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines