Windows Phone 7 - How to Play an MPEG Video? - windows-phone-7

Is there a way to play or convert .mpg videos in Windows Phone 7? It does not work in a MediaElement. I want to show this video:
http://sohowww.nascom.nasa.gov/data/LATEST/current_eit_171.mpg. If not, can you recommend any ways to do this server side on an IIS server?

Related

Playing video files in Windows Phone 8

I'd like to make app for WP8, which will download and play movies. Android Market has lots apps of this type. But all of just get content, and pass it to video player (MX player for example), and format can be different (.avi, .mkv, .mpeg, etc.), but player shows the content without any problems. For exaple on my Samsung s5830, 1400 mb .avi movie plays good. As I can see - WP8 doesn't has custom video players.
Question: if I download in my app, from web, some movie in .avi format, could I play it on WP8? The same question for video stream for web.
You can play back any video file which is supported by the phone (this is documented on MSDN here). You can stream or play downloaded video from Isolated Storage using the MediaElement in the SDK and on WP8 I think there is a DirectX option too.
It's not enough to say that a file type is supported as these are just video "containers" - each container can contain audio and video of different codecs. MKVs don't look like they're supported at all however.
You can see this video format (codec) support varies between WP7 and 8 and even some kinds of phone dependent on what the chipset in the phone supports. (especially for the high bitrate HD codecs).
There is a nice framework that helps you on playing movies inside your app!
Take a look at it on codeplex http://playerframework.codeplex.com
And some documentation http://smf.codeplex.com/documentation

my Shoutcast stream doesnt play using WP7 MediaElement

I need help with this issue, I'm trying to use MediaElement in Windows Phone 7.5 to play an audio stream
Code is simple
<MediaElement Source="http://ghost.wavestreamer.com:9122/listen.mp3" AutoPlay="True" />
But no audio is getting played!
This is the stream I want to play
http://ghost.wavestreamer.com:9122/listen.mp3
Thanks
These links can help u in figuring isse and creating ur app.
adding media element in windows phone 7?
adding media element in windows phone 7?
media element doesn't play audio in windows phone 7?
media element doesn't play audio in windows phone 7?
Using Smooth Streaming Media Element for Windows Phone 7
http://blogs.msdn.com/b/giuseppeguerrasio/archive/2010/12/06/using-smooth-streaming-media-element-for-windows-phone-7.aspx
Overcoming Windows Phone 7 MediaElement limitations
http://spacemigas.wordpress.com/2011/04/07/overcoming-windows-phone-7-mediaelement-limitations/
Resuming streaming audio from Dormant/Tombstone state in WP7
http://www.developer.nokia.com/Community/Wiki/Resuming_streaming_audio_from_Dormant/Tombstone_state_in_WP7
Using MediaElement to Play audio before it is fully downloaded and the dreaded AG_E_NETWORK_ERROR
http://forums.silverlight.net/t/227000.aspx

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

Is it possible to stream video files using mms:// url in windows phone 7

I'm developing an Application for Windows phone 7 using SilverLight. Now I'm using http:// to Stream videos in windows phone, but my requirement is to stream videos using mms:// URL in my windows phone 7 Application.
I am not aware of the mms:// protocol, can you please tell me whether is it possible to stream video files using mms:// url in windows phone 7.
This protocol is not currently supported for third party development on WP7.

Live Video Streaming on Windows Phone 7 using VLC?

I want to receive and play live video streaming on Windows Phone 7
I'm using VLC Player to Achieve that.
(HTTP, destination with .wmv extension , transcoding into wmv )
on the Windows Phone 7
I drag and drop media element the code like that
mediaElement1.Source=new URI(http://localhost:8080/go.wmv
but nothing is played
plz help
Convert the stream in H264 instead of wmv. This should work.

Resources