Topic: Digiface USB AC3: SPDIF Optical in on a Mac
Hi,
On my Mac Mini 2018 running Ventura, I have been trying to decode an ac3 spdif input to a Digiface USB, but with no success.
Is this possible at all on a Mac?
Thanks
- Fred
You are not logged in. Please login or register.
RME User Forum → FireWire & USB series → Digiface USB AC3: SPDIF Optical in on a Mac
Hi,
On my Mac Mini 2018 running Ventura, I have been trying to decode an ac3 spdif input to a Digiface USB, but with no success.
Is this possible at all on a Mac?
Thanks
- Fred
Hi
The optical inputs on the Digiface USB are only compatible to two channel (stereo) SPDIF, but not to multichannel formats.
Hi
The optical inputs on the Digiface USB are only compatible to two channel (stereo) SPDIF, but not to multichannel formats.
That is what I figured, but was optimistic since it works on Windows.
Thanks for the response, even if it is bad news.
- Fred
The inputs are transparent, so take any signal. You just need a tool that can decode the AC3 signal in realtime (you seem to have that for Windows).
The inputs are transparent, so take any signal. You just need a tool that can decode the AC3 signal in realtime (you seem to have that for Windows).
So obviously I was wrong - sorry for my misleading reply above!
The inputs are transparent, so take any signal. You just need a tool that can decode the AC3 signal in realtime (you seem to have that for Windows).
Yay.
Now that I am certain it is possible I will continue my efforts.
Thank you.
- Fred
I seem to remember VLC supports AC3 playback.
We're talking digital input here, not playback - decoding AC3 into separated PCM streams. That is quite unusual.
Had to read that twice... :-)
I think - never tested it though - you can feed the incoming AC3 stream to VLC, as VLC supports streaming.
Something to test the next time I have the Digiface USB in use. Now, do I have an AC3 optical source somewhere?
DVD player, BD player, TV optical output...
If it helps, I managed to extract ac3 from the Digiface USB spdif input but not in a way that helped me.
It took a while but eventually I learned that the spdif signal is not pure ac3 but ac3 wrapped as SMPTE ST 337. VLC does not recognise this but ffmpeg and MediaInfo do.
So if I first capture the first two Digiface channels into a file using:
`ffmpeg -f avfoundation -i :2 -filter_complex "[0:a]pan=2C|c0=c0|c1=c1" -y capture.wav`
and pipe this file into the VLC audio capture device via Blackhole2ch or any other audio device:
`ffmpeg -i capture.wav -f spdif -f audiotoolbox -audio_device_index 2 -`
it works since ffmpeg will extract the ac3 and if necessary, decode appropriately.
However, if I try to use VLC as the capture device directly:
`ffmpeg -f avfoundation -i :2 -filter_complex "[0:a]pan=2C|c0=c0|c1=c1" -f spdif -f audiotoolbox -audio_device_index 2 -`
ffmpeg does not extract the ac3 but passes on the raw signal as PCM!
I tried bypassing the problem by using a pipe, such as:
`ffmpeg -f avfoundation -i :2 -filter_complex "[0:a]pan=2C|c0=c0|c1=c1" -f wav - | ffmpeg -f spdif -i - -f audiotoolbox -audio_device_index 2 -`
Here the second ffmpeg recognised the format and this worked until decoding errors poisoned the stream.
Nothing I tried solved this problem, so unless I get another bright idea, I guess I am giving up on this for now.
RME User Forum → FireWire & USB series → Digiface USB AC3: SPDIF Optical in on a Mac
Powered by PunBB, supported by Informer Technologies, Inc.