Philippe Normand wrote: > Matthias, > > Can you try in moovida.conf to set the audio_sink option to: > > "ac3iec958 ! alsasink device=spdif" > > ? > > Philippe >
That won't work. Moovida uses playbin which in turn uses decodebin. Decodebin will decode any audio stream that is not raw AC3. So this is never going to do passthrough.. Doing what philippe proposed is just going to encapsulate raw audio on the spdif output. SPDIF can only handle 2 channels with PCM so this will fail for AC3 files decoded to 6 channels raw audio. 2 possibilities to get out of here : 1) Reencode everything to AC3 and push it out through SPDIF. This could be achieved with something like : "ffenc_ac3 ! ac3iec958 ! alsasink device=spdif" Stereo audio, and AC3 decoded clips would then be reencoded to AC3 and pushed to your amplifier. 2) Modify the Moovida player so that it uses playbin2 or at least decodebin2 to consider audio/x-ac3 as a raw type and pushes that to the sink with appropriate converter for iec958. Julien
