MediaElement and AAC stream support on Windows Phone 7 - windows-phone-7

According to this link the Windows Phone 7 supports the AAC encoded audio stream in the browser and via the MediaElement API as well. We have tested few the icecast streams (e.g. this) it on our devices (e.g. HTC HD7 T9292, with latest updated - ver 7.0 (7392) ), but it does not work either in web browser or via API. The mp3 live stream works fine.
Any clues, why the AAC does not work, even the documentation says it should?
BR
SteN

Icecast is not pure AAC, in 7.0 you need to strip out the icecast headers and metadata using a custom MediaStreamSource and then feed the raw AAC to the MediaElement.
It looks like from your comments that they may have added native icecast support to Mango.

Related

How can this MP4 be played in Firefox? From what I know Firefox doesn't support MP4

I found this mp4 from the site Giphy. To my surprise it plays in Firefox. Does anyone know how that can be? Normally I have to generate two versions of every video file, mp4 and webm. It would be nice to not have to do that.
Here's the file:
http://media2.giphy.com/media/yoJC2NG0MLnSoEPjIA/giphy.mp4
Firefox will use an mp4 library is a suitable one is on the system that Firefox is running on:
Firefox/Firefox for Android/Firefox OS supports the format in some cases, but only when a third-party decoder is available, and the device hardware can handle the profile used to encode the MP4.
source
If you can use HTML5 I'd suggest the video tag like the following. I figured you'd want controls so I added the controls attribute to the video tag; you could also add autoplay if you want that. I tested it on IE11 and the current versions of Firefox and Chrome. works for all of those. Having alternate versions isn't a bad idea, but mp4 is pretty universal on modern browsers.
<video controls>
<source src="http://media2.giphy.com/media/yoJC2NG0MLnSoEPjIA/giphy.mp4" type="video/mp4">
<source src="http://media2.giphy.com/media/yoJC2NG0MLnSoEPjIA/giphy.webm" type="video/ogg">
Your browser does not support the video tag.
</video>
As to why:
MP4 H.264 (AAC or MP3) The MP4 container format with the H.264 video
codec and the AAC audio codec is natively supported by desktop/mobile
Internet Explorer, Safari and Chrome, but Chromium and Opera do not
support the format. IE and Chrome also support the MP3 audio codec in
the MP4 container, but Safari does not. Firefox/Firefox for
Android/Firefox OS supports the format in some cases, but only when a
third-party decoder is available, and the device hardware can handle
the profile used to encode the MP4.
Note: MP4s encoded with a high profile will not run on lower end
hardware, such as low end Firefox OS phones. The MPEG media formats
are covered by patents, which are not freely licensed. All the
necessary licenses can be bought from MPEG LA. Since H.264 is
currently not a royalty free format, it is unfit for the open web
platform, according to Mozilla [1, 2], Google [1, 2] and Opera.
However, since royalty free formats are not supported by Internet
Explorer and Safari, Mozilla has decided to support the format anyway,
and Google never fulfilled their promise to remove support for it in
Chrome.
Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats

Video stored on Windows Azure blob doesn't work with VideoJS (with Chrome)

I want to store .mp4 videos to display them in a HTML5 player (videojs).
I have a Problem on Chrome browser : I can't moving seek-bar back or forward in the video (stored on Azure). This problem does not arise if I host the video on another server.
I have checked the mime type (video/mp4). Have You Encountered this problem?
Apparently it is possible that the problem comes from the Accept-Ranges: bytes (not present in HTTP response).
Here is the link in question: http://tbf.azurewebsites.net/fr/media/unrealistic-expectations-10000-dollars
Thank you very much,
Best regards
Formats supported by Chrome are H-264, VP8 (WebM video part), Theora for video and MP3, AAC, Vorbis for audio. MPEG-4 Visual is not supported (Chromium issue 54036).
So, Chrome can play .mp4 with H-264 video but not MPEG-4 Visual video.
https://stackoverflow.com/a/12174154/1384539

HTML5 video support Windows Phone mail client

We are trying to supply video in emails and it will fall back to a static image if html5 video is not supported. We are having issues with Windows Phones mail client in that it appears to support HTML video because it loads the player. You can see the play icon in the middle but it does not play. It is totally unresponsive.
Does anyone know if there is a specific format videos need to be supplied in? Or if it is just an incompletely finished feature? It is worth noting I am testing this on WP7, not WP8 as I don't currently have access to that device.
Cheers
I think you should use H264 codec for your video with MP4 format.
This link can help you : HTML5 support in IE9 mobile.
To do this, you can use ffmpeg
ffmpeg -i you_video_file.[avi/mp4/mkv] -vcodec libx264 output.mp4

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.

Streaming to a mediaelement

I'm playing around with streaming to a simple mediaelement in silverlight from VLC, but i'm having no such luck. I'm using the following code;
mediaelement.Source = new Uri("http://localip:8080", UriKind.Absolute);
mediaelement.play();
On the VLC end i'm using the following video settings (which i believe WP supports)
Method: HTTP
Container: MP4
Video: H-264
Audio: MP3
All i get is a black screen, no error, no video and no sound. I've read that WP doesnt like playing media etc whilst zune is running, so i've ran the project with my phone connected using wpconnect instead but still have the same issue.
Can anyone give me a few tips?
thanks
See this article for configuration and compatible audio and video formats:
From this article:
http://ipaddress:port;stream.nsv :sout=#transcode
vcodec=WMV2,vb=5000,fps=30,scale=1,acodec=wma2,ab=128,channels=1,samplerate=44100}:std{access=mmsh,mux=asfh,dst=MyIP:PortNo}
:no-sout-rtp-sap :no-sout-standard-sap :sout-keep

Resources