Currently im working with a wifi-camera device, which is able to send only videos in .mts format.
As i have investigated in google, it leads to conclusion that it is not possible to play the video in iPhone or may be using Objective C.
Now my problem what is,
There is still many paid applications that allows us to play .mts files
PlayerXtreme is able to run files in almost any video format. It has currently the following formats covered:
3gp, asf, avi, divx, dv, dat, flv, gxf, m2p, m2ts, m2v, m4v, mkv, moov, mov, mp4, mpeg, mpeg1, mpeg2, mpeg4, mpg, mpv, mt2s, mts, mxf, ogm, ogv, ps, qt, rm, rmvb, ts, vob, webm, wm, wmv
See the application: iTunes app
Player i m curently trying is AVPlayer lib
How can i start the coding to get this done in my app also?
Currently I'm trying solve by adding some python scripts to my project as a build.. and calling the same for converting to mp4 format.. anyone worked on py-ObjC Together in XCode pls give some idea..
MTS is a container format. You need to know what the video and audio codecs are, and see whether VideoToolbox and AudioToolbox (the underlying frameworks of AVPlayer) support those codecs.
Assuming H264 for video and AAC or AC3 for audio, libavcodec (part of ffmpeg) supports the MTS container. You can use that to demux the video and audio streams, and then use VTDecompressionSession and AudioQueueNewOutput (I think, I haven’t used that API in a while).
My friend has a problem with playing mpeg-2 files correctly with his VLC player.
Audio is playing fluently, but video is fitful. He tried to play same files with Windows Media Player, so he knows that files are OK. Files are stored on SSD disk in his computer that has no problem with data transmition.
Reinstalling VLC and codecs was ineffective.
Any other solution?
The problem was caused by the cache settings inside of VLC.
All it needed was total reinstall (including deleting of all settings).
Are there any libraries that exist that take in a URL as input, and starts playing the audio of the file?
I've tried AudioStreamer, but I run into ARC problems. I've also tried a couple of other libraries, but they don't seem to allow AAC files (only mp3).
<AVFoundation/AVAudioPlayer.h> and AVPlayer can help you.
AVPlayer the best solution for playing file in queue.
I'm working on a music player for iOS, and I was wondering if there was a way to extract the file path of audio files inside the iPod/Media Library on iOS. I've read multiple articles, and it seems you can only extract an URL which can be only used with the AV framework player.
So can you extract the file name of audio files in the Media Library and play these files using an external audio library?
Thanks!
I am downloading a mp3 file from the internet to memory using InternetReadFile. This works great, I can dump the file on disk and then play it, but I want to play the file without dumping it on disk.
Is there a library i can use to achieve this functionality ? Some docs on how to use the library would be useful too.
Thanks in advance.
You can use the BASS Delphi audio library
On the other side, search for "MP3" on the 3D Buzz site. They have a very good series of video tutorials that walk you through the creation of your own MP3 player in Delphi using this library.