It's there a upnp player support playing the m3u playlist from DMS? - playback

It's there a upnp player support playing the m3u playlist from DMS? Not playing next and next manualy from the DLNA control point.
I'm going to write a DMR could parse m3u playlist but the upnp or DLNA document says so little about it.

Related

Android MediaPlayer Internal subtitles

I need to show internal subtitles with android MediaPlayer.
I am playing a .ts stream, subtitles are coming on a seperate stream with DVB sub codec.
Currently working on Android 4.2.2, DVB sub is not supported with native media player.
Any Alternative?
You can take a look at Google's open source video player https://github.com/google/ExoPlayer
They don't have DVB, but you can either add your own parser or if you already have it somewhere, then just plug it to the player.
Otherwise, if you want to do it with MediaPlayer, then you need to keep track of current playback time and display the subtitles on top in a separate view.

Stream YouTube videos in a Windows Phone app

How do I stream YouTube videos in a Windows Phone app? I've tried using the MediaElement control and setting its Source property with the URL to a video and called the Play() method on the media element, but it didn't work. I want to create a simple video player that plays a video as it is being streamed. What kind of .NET classes do I need to work with?
YouTube does not expose its videos in a format which you can use to play them within Windows Phone applications, or any other kind of application for that matter. This is why services such as KeepVid, which provide 'hacks' for downloading YouTube videos, exist.
Please see my answer to this identical question from a few months ago over # Possible to play Youtube video in a wp7 app?

Playing mp3 Audio files in WP7

I want to stream an audio from server using windows phone 7
the audio extension is mp3. I have tried Mp3MediaStreamSource class but the problem was that it downloads all the audio then start playing it.
I want to know what is the best way to play audio in WP7 for platform 7.0 ( with buffering -> not waiting until the entire audio file is downloaded.
Thanks in advance
I use Background Audio agent do stream mp3 radio broadcast. Take a look at this tutorial http://msdn.microsoft.com/en-us/library/hh202978(v=VS.92).aspx

Can't Play shoutcast stream on ios

I have a radio project on ios that's supposed to play mp3 stream, shoutcast stream and eventually mms stream.I've been able to play mp3 stream using matt gallagher's Audistreamer class but it can't play those shoutcast links like this one (http://68.168.117.130:8000) even macos can't play them without using an extra software.So, is there any class that can play such type of links? or i have to create one by my self.
Gracias.

On WP7, can I play a song from the library, interrupt it with a mp3 audio, and then resume the playback?

what I want to achieve is this:
Play background music from the media library
On a certain trigger, fade out the music, play another mp3 file (of various lengths, seconds up to a minute)
After that piece of audio is played, resume previous music from the library
Now I run into these constraints:
In order to access and play music from the user's library, I need to use the MediaPlayer XNA class.
In order to play an arbitrary mp3 file, I need to use either MediaPlayer or MediaElement, but not SoundEffect or SoundEffectInstance
If I play anything using the MediaElement, MediaPlayer stops. It completely loses the audio queue so I would need to play the remaining music which would be ok BUT
MediaPlayer doesn't support seek so I cannot open the previous song and just go the the position before it got paused
So:
I don't want to use SoundEffect or SoundEffectInstance as the audio would have to be wav files.
I can't use just MediaPlayer because if I played the audio there to interrupt the song I wouldn't be able to seek to its previous position
I can't use the combination of MediaPlayer and MediaElement as MediaPlayer stops the MediaPlayer which again prevents me from resuming previous playback
I can't just use MediaElement because it can't play songs from the library
Do you see anything I missed or is really the only option I have to suck it up and use wav files? (There would be many of these downloaded on the fly and it is just plainly inefficient this way!) Any suggestions?
Thanks!
Unfortunately you've hit a limitation of the platform.
In addition to the alternative you've identified you could play the music streamed from an external source through a MediaElement. By using a timer to keep track of how much has played, when resuming the track start that far through the track by including the start point in your request to the streaming server. This does of course mean you need to provide or find a suitable streaming capability. :(
Neither of these are ideal but for now that's the best we have. The background audio facilites coming in Mango may help but until details are announced we can't say for sure.
can't use just MediaPlayer because if I played the audio there to interrupt the song I wouldn't be able to seek to its previous position
You will get mediastatechanged event using MediaPlayer and inthat event you could check the state of the mediaplayer and Pause the Song and then you could also Resume the song

Resources