mp3 files not supported by phonon - phonon

I am using Qt SDK 4.6 for developing a simple music player on windows XP.
I have checked available mime types supported by phonon and according to it my phonon supports mp3 files
Yet as i try to play an audio file of .mp3 format using my music player mediaObject moves in Error State and the error i get is
Fatal Error : No combination of filters could be found to render the stream
Secondly, I want to know how can i provide support for other audio files which are not currently supported by phonon like as .ogg file.
Please help.

Phonon is just an abstraction layer over a media player backend. Check the overview here and look for the Backends section.
You need to install mp3 codecs for your target backend. If you're on Windows, this is making sure you have mp3 playback in DirectShow/DirectX. Your error implies that you don't have any DirectShow filters for mp3

Related

I cannot play Ant Media Server recorded mp4 file in iOS. How to fix?

I am using Ant Media Server as a WebRTC media server. I publish my webcam with WebRTC from browser. I have also enabled mp4 recording.
I can play recorded files on Linux and Windows. But I can't play some of them on iOS. How can I solve this?
This can be fixed by encoding file. But learning why it happens is better.
Since Ant Media Server records WebRTC streams, WebRTC changes internal resolution dynamically which means mp4 files resolution is also changed on-the-fly. This is handled well in other platforms but not on the IOS yet.
So, encoding the file again would likely fix it.

Red5 general advice

I am starting development on a project containing a web browser video streaming module.
I am seeking advice on whether a Red5 server will be useful or not required as I am new to the video streaming arena -
Users will upload video footage in all formats, .MOV .MPEG4 .AVI .WMV .MPEGPS .FLV .3GPP, and I need to allow other users to stream the videos youtube style (not live).
Thanks
Red5 would be useful for this, but only certain media formats are supported for Video on demand VOD streaming. Any other formats would need to be transcoded into flv or mp4.

Is there a pdf library (.Net/C# compatible) that allows for embedding Audio/Video media in a pdf?

I have a requirement where by I need to attach audio/video media submitted as binary files to be embedded into pdfs that are residing on the server. BTW, the audio/video binary is coming from mobile App.
Is there a pdf library out there that allows for embedding Audio/Video in a pdf? Also, I need these media embedded in the simplest form so that when this pdf containing the media is opened on a target device, there should be no need for installing additional media decoders.
My server side environment is in .Net/C# so would need the pdf library to be compatible with .Net
Almost any PDF for .net supports movie annotations, iTextSharp (open source), TallPDF, xfinium.pdf (i work for this company), pdf4net, docotic.pdf, just to name a few.
The thing is that the media files are embedded as they are (converting video is not their job) and the target machine must have the required codecs in order to play the media. If you have control over the media format, you can choose a format that is supported by many platforms.

Using MP3s in Ektron

Ektron 801 SP1
I am allowing users to upload MP3 files to their profile using the CommunityDocuments control. I want the user to be able to click the link and play the song. For some file types, such as .doc, the file downloads immediately because the URL of the link refrences "DownloadAsset.aspx". The MP3 files have a URL like http://www.domain.org/documents.aspx?id=242665652917&TaxonomyId=242665652152&LangType=1033&EkTB_iframe=true&height=520&width=790
How can I get these files to play? I have the following in the web.config
<add key="audio/mpeg" value="WindowsMedia"/>
As far as I know, Ektron doesn't provide any player / plugin support ootb for MP3 files. You can specify an additional MEDIA type in the web.config, perhaps. Or use HTML5 Audio. http://www.w3schools.com/html/html5_audio.asp
When using the HTML5 approach, pay attention to which codecs are supported by which browsers. You'll have to work out something else for older browsers via fallback or shim.
Adding a MEDIA type in the web.config will just tell the browser to load a plugin like quicktime or wmp, if it works at all.
As per eGandalf's answer, Ektron doesn't include an MP3 player. You should still be able to use Ektron to store and the serve up the MP3, by saving it into the library or as a DMS asset. You made need to update an Ektron config setting by adding ".MP3" to a file extension whitelist.
Regarding having a user player the MP3 in the browser, I would look at using JW Player - it's very popular and here is a tutorial on using it to play an MP3.

How to play mp4 videos using MCI device

Using the mciSendString command I am able to play avi, mpeg, mp3, etc. but I am unable to play mp4. Here in this web-site it says I can play any videos provided that I have the correct codecs. I am able to play mp4 using my other media players (eg. vlc player). How can I play mp4 videos or how can I make the MCI device auto detect the necessary driver type and play the videos ?
VLC embeds its MPEG-4 parser and codecs within the applciation and does not share it with the system. You need "true" codecs which register with Windows and extend standard API with support for MPEG-4. If you don't feel like looking for specific codec to install, perhaps the easiest would be to install a codec pack such as K-Lite.