Page 1 of 1

WMA2 transcoding

PostPosted: Sun Nov 24, 2013 8:42 pm
by VMX
First sorry about my bad english, hope you understand. I'm also noob with serviio.
I can't get Finnish online radiostations http://www.listenlive.eu/finland.html which are marked windows media player working. Others works fine. For example the first one (YLE Radio 1), Url Snooper gives stream http://mediau.yle.fi/liveyleradio1?MSWMExt=.asf which works in VLC player but serviio check gives red x, and I can't hear it in my Samsung D-series tv nor VLC via serviio (generic profile). I suppose that there is something wrong in transcoding wma2 (or is it asf)? Or is there somethig wrong in url? I tested with wma audio file and it doesn't work either.
My serviio server is in headless ubuntu server 12.04 lte machine and console is in win7 laptop.

Re: WMA2 transcoding

PostPosted: Mon Nov 25, 2013 10:48 am
by zip
It's a playlist file. Try to look inside the file and use a link inside the playlist. You might go few levels deep.

Re: WMA2 transcoding

PostPosted: Tue Nov 26, 2013 8:32 am
by VMX
That doesn't explain why downloaded wma file don't work? (file: http://www.theflute.co.uk/media/BachCPE_SonataAmin_1.wma). I translated it to mp3 with ffmpeg and that mp3 works, so my ffmpeg build is able to transcode wma files. I suppose that something is missing or wrong in profile.xml file (both general and Samsung d series).

Re: WMA2 transcoding

PostPosted: Wed Nov 27, 2013 5:43 am
by VMX
Got it play file. I add this:

  Code:
 <Audio targetContainer="mp3">
         <Matches container="asf"/>  <!-- add by me-->
</Audio>

Re: WMA2 transcoding

PostPosted: Thu Nov 28, 2013 10:46 am
by VMX
I can't still get those online streams workig. I found stream mmsh://195.248.86.134/a_keskisuomi?MSWMExt=.asf which don't work. ffmpeg -i mmsh://195.248.86.134/a_keskisuomi?MSWMExt=.asf gives this:

Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, asf, from 'mmsh://195.248.86.134/a_keskisuomi?MSWMExt=.asf':
Metadata:
title : Radio Keski-Suomi
copyright : Yleisradio Oy
WMFSDKNeeded : 0.0.0.0000
DeviceConformanceTemplate: L2
WMFSDKVersion : 10.00.00.3997
IsVBR : 0
Duration: N/A, start: 30823.306000, bitrate: 128 kb/s
Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, stereo, fltp, 128 kb/s
At least one output file must be specified

Re: WMA2 transcoding

PostPosted: Sat Nov 30, 2013 12:12 am
by zip
When I execute the ffmpeg command it doesn't work - is the IP private?

Re: WMA2 transcoding

PostPosted: Sun Dec 01, 2013 3:51 pm
by VMX
Perhaps stream don't work outside finland (YLE is like BBC, not all streams are available outside country). Here is other stream mmsh://mms.radiodei.fi/RadioDeiR2HF?MSWMExt=.asf (Religious channel, suppose it work everywhere)

ffmpeg -i gives this:
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, asf, from 'mmsh://mms.radiodei.fi/RadioDeiR2HF?MSWMExt=.asf':
Metadata:
WMFSDKNeeded : 0.0.0.0000
DeviceConformanceTemplate: L2
WMFSDKVersion : 10.00.00.4007
IsVBR : 0
Duration: N/A, start: 108327.742000, bitrate: 128 kb/s
Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, stereo, fltp, 128 kb/s
At least one output file must be specified


Off topic, but those streams are hidden very carefully. Any of those wma streams I found don't work, even though ffmpeg recognize them. Am I right if I suppose that stream should pass serviios test if ffmpeg recognize it despite profile settings? Profile settings are for client devices, or how?

Re: WMA2 transcoding

PostPosted: Mon Dec 02, 2013 12:03 am
by zip
Fixed for 1.4