Help with audio


#1

I have a ‘mute’’ RTMP stream, a mute ‘.SWF’ Graphics, and an .mp3 music track. Trying to mix it all together, but wont load up the audio. Any Ideas?

LOG LEVEL debug
MIXER 1 CLEAR
SET 1 MODE PAL
MIXER 1 CLEAR
CLEAR 1
PLAY 1-1 rtmp://www.mywebstream.co.uk/live/studios LOOP
MIXER 1-1 VOLUME 0
CG 1-2 ADD 1 MYGRAPHIC 1 "<templateData><componentData id='platform'><data id='text' value='SKY'></data></componentData></templateData>"
MIXER 1-2 VOLUME 0
PLAY 1-3 D:\Media\bmymusic.mp3 CHANNEL_LAYOUT STEREO LOOP
MIXER 1-3 VOLUME 1

The Error i get is pretty non-descriptive, something like "PLAY FAILED’. I have tried formatting the path, leaving the path out, I have tried different mp3’s and WAV files, some att 44.1 and some at 48Khz. I been playing CasparCG for 10 years and I am lost. Using 2.2.0-stable-windows ?

Any help?

Keith


#2

Did you try copying the file to the media folder and playing the file name without extension?


#3

Try PLAY 1-3 D://Media//bmymusic.mp3 instead.


#4

Thank you so much guys for your suggestions, whilst it turn out the error was actually Windows who think its cool to hide extensions. I had renamed my music to something like music.mp3 but because windows hid the extension i entered the entire filename I wanted, including the .mp3 extension, ended up with a file called music.mp3.mp3

All working now… but just about to post another issue.

Thanks for your help, much appreciated.

Keith