Playing .mp4 in Pyside Phonon without K-Lite - pyside

I'm developing a media player using PySide and Phonon. My player cannot play .mp4 files or many other file types unless the K-Lite codec pack is installed.
Is there any way to package the needed codecs/backend with my program, preventing the need for my users to go and install K-Lite to their computers? Thanks!

Related

Distributing H264 with a Qt5 QtMultimedia program for Windows

I'm developing a Qt5 Application for Windows/Linux, it has to play a H264/AAC flv video.
This works wonderful on Linux after installing gstreamer-plugins. This also works after installing K-lite codec pack on Windows.
I need to distribute my program with the required files to be able to play the video without installing anything else.
I have tried copying the refrenced DLL files listed by Process Explorer (All related to A/V,libav*, av*, *.ax , etc), but this doesn't work.
What else do I need to set up?
You cannot do this due to MPEG-4 licensing. If you distribute h.264 decoders you must contact MPEGLA.com and obtain a license. (Currently free up to 100,000 installs per year, but $20K if you exceed that).
Things like K-Lite skirt this requirement by having the end-user install the codecs "for their personal use".
So, you can direct your users to install K-Lite, or other codecs, but you can't ship them yourselves. This is fairly common in the open source world.

Shipping app with a video/x-flv decoder

I have an application that needs to play video/x-flv files. Not all customers have codecs installed, and codecs for video/x-flv are not shipped with Windows, so I have to ship it with my app.
The problem is I can't manage to understand what I need to ship in order to enable video/x-flv decoding on a fresh computer, which didn't install any codec packs.
I've tried installing ffdshow and FLVSplitter, but without luck.
Installing the Combined Community Codec Pack works - but I don't want to ship my app with a full codec pack, but with the minimum required to decode video/x-flv.
Any ideas?
Gabest'sFLVSplitter is not longer supported on Windows 7 systems.
There are two solutions:
Install the LAV Filters.
Compile your own tiny binary of libavformat (in case your framework using a binary as it's backend).
Because the LAV Filters themselves are ~7MB, and CCCP is ~9MB, I decided to install the whole codec pack on the users' computer (with their approval, of course).

Third party codecs in AV Foundation

I was under the impression that AV Foundation doesn't support third-party codecs. If I try to open an Avid DNxHD QuickTime movie in my application it doesn't work, as expected.
However, if I open a DNxHD movie in QuickTime Player X (which also uses AVF) it opens and plays back fine and even says it's a DNxHD in the Info window.
Does anyone know how Apple is achieving this?
I believe that QuickTime Player X is built on QT X, not on top of AVF. In fact, I think it uses (something like) QTKit, which will launch a 32-bit proxy process if necessary to open files that are only supported by 32-bit codecs.
You can access QT X via the QTKit framework, if you specify the 'playback only' attribute when you open the file, but then you can only play it back (as the flag suggests!). Even enumerating the number of tracks will fail. If you don't specify playback-only, then you are limited to QT7 components, accessed via a 32-bit proxy if your app is 64-bit.

How to Play a RealAudio (.RA) File (Remote or Local) in Xcode?

I need to be able to play a RealAudio (.RA) file from Xcode. If i cannot play the file directly from the URL, it is ok if i can download it and play. Primary help i am looking for his how to Play RealNetworks RealAudio (.RA) file in Xcode 4.3 under iOS5.0.
I haven't come across an iOS package for playing Real Audio files, however, iOS does support some of the RealAudio Codecs. Specifically, it should be able to play the audio streams from RA files encoded with the raac and racp codecs. iOS won't know what to do with the RealAudio container, so you will have to determine what needs to happen to extract the audio stream from the file. This website contains details about the container.

Converting media files for HTTP Live Streaming on windows?

I want to be able to run HTTP live streaming from a server, so that I can play back the files on my iPhone via HTTP. I know it's possible to play media files through safari /without/ live streaming, but I'd like to give it a go.
As far as I can tell, the only tools available for converting media files into the formats required for the live stream are for Mac OSX. I don't have a Mac, and I'm wondering if there are any equivalent tools for Windows?
FFMpeg offers tools for Mac, Windows, and Linux. http://ffmpeg.org/download.html

Resources