playback

Audio Playback Rate in Android

So, I know that this has been done with a few Android apps before, but I cannot for the life of me figure out how, since it's not currently possible through the API. How does one adjust the playback rate of a sound played through MediaPlayer; either with or without adjusting the pitch is fine for now, though the latter is definitely pre...

iPhone: Fast Forward & Rewind using HTML5 <audio> & playbackRate doesn't work?

For the life of me I can figure out how to do a simple fast forward and rewind on the iPhone for an audio player using HTML5. All the Apple documentation says that the playbackRate should be used for this. I have watched the WWDC 2009 and 2010 sessions on this and downloaded all the example source code I can find but I still can't figure...

playing videos in android

how do i play videos in android application?? the videos will be placed in res/raw folder?? ...

cocoa playing an mp3

Hello, Is there an easy way to load, play and control an mp3 file from cocoa? Tried googling it, but, as all things apple, i get messy results and have no idea where to start. As i understand, there's and NSSound, but it has lots of limitations and then there's CoreAudio, but it's very difficult. So can someone point me in a right direc...

How do you playback live audio in an iPhone?

Say you want to playback exactly what the iPhone mic is picking up in real-time. Which framework/class would be used? Any nudge would help, can't figure it out. Thanks. ...

__IPHONE_OS_VERSION_MIN_REQUIRED please explain

I'm developing an app that I would like to deploy for iPhone 3.0, iPhone 4.0 and that can run on the iPad in emulate mode. I'm developing with XCode 3.2.3 and I have videos to playback. I would like to use MPMoviePlayerViewController for >= 3.2 and MPMoviePlayerController for < 3.2. If I use Class mplayerControllerClass = NSClassFrom...

Flash content download

I've been wondering something, websites like youtube (pandora does mp4s) play their music through a flash player while each track is played, they're downloaded to the user's computer, e.g., /tmp/FlashXX*** This allows users to go and move the flv out of that folder for later playback. However, when the user moves the flv out of the ...

Is it possible to open incomplete video-file for playback using directshow?

Is it possible to open incomplete video-files for playback using directshow? The current solution first downloads the video file (.avi-container, can be h.264, mpeg2, mpeg4) and then starts playback. This can of course be a rather lengty operation. The downloader fetches the videofile in chunks from a database so in theory it should be ...

Playing an MPEG movie, starting and ending in specific places?

I've compiled an MTS video into MP4 format using FFMPEG. The video is 2 minutes long. I want to be able to play the video back but start at 0:15 seconds and end at 0:45 seconds. Effectively I want the playback software to only show 30 seconds of playback available. The software must be a Flash-based application for integration into HTML...

How can I know users click fast forward and fast rewind buttons on the playback controls in iPhone

I want to implement the following things, App is running a music or video (using MPMoviePlayerController) in background. User double clicks the home button and go to the first screen showing playback controls (fast rewind, play or pause, fast forward buttons) User click fast rewind or fast forward button. Then app play previous or next...

Setting up the IMediaPlaybackService for Android.

Hello all, I'm having trouble with the IMediaPlaybackService for Android. I'm told that all I need to do is place it into its package (in this case, com.android.music), however I can't get my project to build when I do this. The code for IMediaPlaybackService is as follows: /* //device/samples/SampleCode/src/com/android/samples/app/R...

YouTube JavaScript API: problems getting and setting PlaybackQuality

Hi, I have an embedded youtube API player (example code) which is controlled via javascript. Everything works fine, but I have problems getting and setting the video quality. Please have a look at the following piece of code: ytplayer.loadVideoById("MXRa0DkBc2I", "0"); ytplayer.playVideo(); //alert("foo"); ytpl...

Flex3 can't resume a paused video I recorded

I've recorded a live video stream using Red5 .8. When I play it back, it works fine. When I pause (with ns.togglePause) it pauses but when I resume with ns.resume it doesn't play. private function viewTheStream():void{ nc = new NetConnection(); nc.addEventListener(NetStatusEvent.NET_STATUS,streamConnect); nc.connect(rtmpPath.text ); ...

How to start a DVD playback on Windows using the default playback software?

Does anybody know how to initiate a DVD playback using a known drive letter from out of a C++ program. For what's worth: I simply search for the windows explorer's play function which is located in the context menu when right-clicking a DVD drive... Thx in advance, Axel ...

iPhone playback AudioQueue stops/fails to continue after pausing at a breakpoint during debugging

For some reason, it seems that stopping at a breakpoint during debugging will kill my audio queue playback. AudioQueue will be playing audio output. Trigger a breakpoint to pause my iPhone app. Subsequent resume, audio no longer gets played. ( However, AudioQueue callback functions are still getting called.) ( No AudioSession or AudioQ...

iPad MoviePlayer refuses to play video until device restart

I have a very strange bug in a shipping iPad/iPhone app that I can't fix/track down. My app plays video in a standard MPMoviePlayerController but with the interface hidden and my own buttons to play and stop. That works fine but sometimes, after a few times of use, my app refuses to play any further video. This happens only on the iPad...

Controlling as2 swf playback in as3

I am embedding a swf built in flash 8 into an as3 project. When I call stop() or gotoAndStop(0); on the MovieClip that represents an instance of the embedded swf it stops for a sec and then continues. Trying to call removeChild on the mc removes it from the display but the audio in the swf keeps playing. The swf, in this case must be emb...

Playing back an ima4 file

I am looking to record voice in as compact a file format as possible for an ipad app, and not concerned about sound quality. I chose the ima4 format but don't really know much about audio, so am having trouble figuring out how to play back the produced file to test how it sounds. Is this a compressed format that I have to uncompress wi...

Java sound only playback once ?

I use the following method to playback a recorded sound, it works fine, but why it only plays once, the second time I click the play button, it does nothing, how to reset the data ? // Write data to the OutputChannel. public class Playback implements Runnable { SourceDataLine line; Thread thread; public void start() ...