vatanuki / spdif-loop

SPDIF to 5.1 software loop decoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spdif-loop

SPDIF to 5.1 software loop decoder. Use if you want to connect a digital surround signal (Dolby Digital), such as an Xbox 360 S, via your PC to your 5.1 (analog) stereo. Like a digital receiver/decoder, just in software.

Requirements

  • ffmpeg

Build

make

Run

I run it like this:

./spdif-loop -i hw:CARD=Device -d pulse -o alsa_output.usb-0d8c_USB_Sound_Device-00-Device.analog-surround51

Alsa's hw:CARD=Device is my SPDIF input. You can list your alsa devices with

aplay -l

I had to use amixer to set the capture source to SPIF. In this case Device is the alsa name of my SPDIF-in card:

amixer -c Device scontrols                   # show controls
amixer -c Device get 'PCM Capture Source'    # show options
amixer -c Device set 'PCM Capture Source' 'IEC958 In'    # set input

Contact

Simon Schubert 2@0x2c.org

Sergey S vatanuki.kun@gmail.com

About

SPDIF to 5.1 software loop decoder


Languages

Language:C 99.4%Language:Makefile 0.4%Language:Shell 0.2%