swesterfeld / gst123

Flexible command line player based on gstreamer
Other
9 stars 6 forks source link

(Request) - correct syntax - alsa/external usb device for playback #21

Open mrkapqa opened 5 years ago

mrkapqa commented 5 years ago

Hello ,

could you please help and show correct syntax for playback

on debian / alsa only

i have internal soundcard (active), but would like to playback through external usb headphone

Liste der Hardware-Geräte (PLAYBACK) Karte 0: Intel [HDA Intel], Gerät 0: AD198x Analog [AD198x Analog] Sub-Geräte: 0/1 Sub-Gerät #0: subdevice #0 Karte 0: Intel [HDA Intel], Gerät 1: AD198x Digital [AD198x Digital] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 1: U0x47f0xad01 [USB Device 0x47f:0xad01], Gerät 0: USB Audio [USB Audio] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0

the input i give here is

gst123 --audio-output=alsa [U0x47f0xad01] '/home/rich/Ovnimoon present '\''Encuentros en Trance 4'\'' ! ( mixed and selected)-N-HSnfHuLNo.mp3'

Playing file:///home/rich/[U0x47f0xad01] Error: Ressource nicht gefunden.
=> file cannot be played and will be removed from playlist

Playing file:///home/rich/Ovnimoon present 'Encuentros en Trance 4' ! ( mixed and selected)-N-HSnfHuLNo.mp3

Codec : MPEG 1 Audio, Layer 3 (MP3) ( Bitrate : 149,0 kbit/s

Codec : MPEG 1 Audio, Layer 3 (MP3) ( Bitrate : 149,0 kbit/s

Codec : MPEG 1 Audio, Layer 3 (MP3) ( Bitrate : 149,0 kbit/s

The audio file is being played back in terminal it seems but no sound comes through usb headphones.

Thanks.