It seems as if Chromecast is an implementation of Google Cast. As any implementation it can support more media than minimally required. I was able to play the following media that is not mentioned in the Google Cast SDK:
WAV file
Ogg Vorbis file
x264 movie in a Matroska container
Are there other containers and media format that Chromecast supports that are not mentioned in the Google Cast SDK?
I'm successfully playing back H264 Video / AAC Audio that is in a Matroska container.
I've also successfully tested a WAV file (http://www.nch.com.au/acm/11k16bitpcm.wav), and an Ogg Vorbis audio file (http://upload.wikimedia.org/wikipedia/en/4/45/ACDC_-_Back_In_Black-sample.ogg)
Related
I'm using Azure Media Services and I need to encode input audio files to mp3 output files. I've used Standart Encoder for encoding video files, but it seems Standart Encoder can't produce mp3 (I understand that it can encode audio with AAC and produce mp4 file with the audio but unfortunately I need exactly mp3).
So I'm trying to use Media Encoder Premium Workflow. In the documentation, I see that I need to use Workflow Designer tool but can't understand where I can get it. Could you please point me out where I can find it? Or maybe you can suggest other solution for getting mp3 after processing audio using Azure Media Services?
I see that you have considered Azure Functions. Since that does not appear to address your needs, please contact us via mepd#microsoft.com
We'll provide you the instructions on how to download the Workflow Designer, and use it.
I am building a video service application using the UWP Platform from which the users can upload and watch videos. I am using Azure Storage as the back-end.
Here is the use scenario:
User captures a video using the CaptureElement class as MP4.
He uploads it to Azure Storage as a video/mp4 block blob.
Other users can watch the video using MediaElement class. The source is set to the .mp4 blob.
The video file is downloaded locally in order to be played by the MediaElement.
BUT, I want to make it available even when the download is not fully completed.
After a bit of research, I found QTIndexSwapper, ffmpeg -movflags faststart and qt-faststart which put the metadata of the MP4 File before the data so the streaming is possible.
Here is an MP4 video which has its metadata at start
and here is one which has it at the end
The MediaElement has the same behavior as the web player.
What's the best way to achieve it in UWP app or on Azure?
Can Smooth Streaming Client SDK Extension help?
What about running a WebJob or something similar as long as the video gets uploaded on Azure Storage to move the metadata?
Thanks for your time,
George
I ended up using qt-faststart tool from ffmpeg repo.
I created a modified version of that code as a Windows Runtime Component and used it in my project. It works perfectly.
Here is a blog post I wrote about it Create ready to be streamed over the web videos in UWP Applications
Hope it helps someone!
........
using (var reader = new MediaFoundationReader("\\track.wav"))
{
MediaFoundationEncoder.EncodeToMp3(reader, "\\outputfile.mp3", 192000);
}
...........
Here, in this code when I am trying to convert wav file to mp3 it is throwing exception like,- 'No suitable MP3 encoders available'. I have tested it by passing different bit rates but no use. I have Fraunhofer mp3 codecs and lame installed on my pc with windows 7 os. But converting wav to wma and mp4 is working fine.Please correct me where I am going wrong.
By using Acm and lame I am able to convert wav to mp3 on my pc but i dont know why it is not possible with media foundation. And also is there any possibility to pass stream object to media foundation reader function ?
ACM and Media Foundation Transforms are two completely different things. You can have a codec as ACM but not MFT and the other way around. So just because you have an ACM MP3 encoder, doesn't mean you can encode MP3 with Media Foundation.
You can use the NAudioWpfDemo application that comes with the NAudio source to explore what Media Foundation Transforms are installed on your computer.
And no, there currently isn't support for creating a MediaFoundationReader from a stream.
I'm on a project right now and I'd like to know how to play an ASF file on a cellphone. What do I need to do to get it done?
Thanks!
I dont think it is supported on phones, usually, mp3, aac, etc are suported. However if you can convert from ASF to say mp3, then almost all phones support that format.
Has anyone converted a WMA to a WAV using Windows Media Encoder? If so, do you have a short code snippet of how you did it? All samples I've seen have been for WAV to WMA, not the other way around.
The reason that all of the samples you've seen have been for WAV to WMA is that you're looking at Windows Media Encoder. You want to decode WMA to WAV. Look at the Windows Media Format SDK instead.