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
Related
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.
I'm having the rtmp and hls url. Also I'm aware that rtmp works with android and hls works with ios and windows.
I need to know how to integrate these in web app (phonegap apps) which will be later packaged to different platforms.
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.
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.
I have MAC OS 10.6 (Snow Leopard) and according to Apple's guide on HTTP Live Streaming, the mediafilesegmenter tool should be there in /usr/bin/ directory but it isnt. There is only the mediastreamsegmenter there. I need the mediafilesegmenter tool to segment MPEG2 Transport streams.
How can I get/install the mediafilesegmenter tool?
Thanks and regards,
Farish
The mediastreamsegmenter tool will also segment a file - for example:
mediastreamsegmenter -b http://some_playback_host -B stream -f \ /Library/WebServer/Documents/my_stream -p < input_file.ts
(make sure you have created the output directory "my_stream" first).
The above should segment the file into the default of 10 second chunks prefixed with the name 'stream' and also create a .m3u8 file you can point clients at.
man mediastreamsegmenter for more info.
HTH.
You can Download the current version of the HTTP Live Streaming Tools from the Apple Developer website. You can access them if you are a member of either the iPhone or Mac Developer Program. One way to navigate to the tools is to log onto connect.apple.com, then click either iPhone or QuickTime under the Downloads heading.