mediaplayer

Audio (MediaPlayer) On an Android (Archos 5 IT)

First: Does anyone know the filepath for an Archos? I'm trying to get some media/audio to play, and it just won't find it... public void onClick(View v1) { final MediaPlayer mp = new MediaPlayer(); try { mp.setDataSource("ARCHOS5:/Music/manowar.mp3"); ...

[Android] How to resume video playback after the surface was destroyed ?

I'm working with the media player on a streaming application (RTSP): Video and sound are played great but when an incoming call pauses the Activity, the Surface is destroyed (I know this because of traces in SurfaceHolder.Callback). Once the call finishes, the activity is resumed and a new Surface is created. I've tried to assign it t...

Any way to programatically trigger global mediakeys in Windows using Java?

Is there any way to programatically trigger global mediakeys in Windows using Java? I want to trigger the global hotkeys that mediaplayers are listening to. Is this possible in Java or maybe in C#? ...

How to use DirectShow (dshow) to play files on WinCE device

I need to write a GUI application that will play media files on my WinCE device. I've checked the catalog files for the OS design I'm working with and found a dshow folder under src. This has a number of projects I can use, particularly filtertest which implements all the commands I would need. However, I don't understand how to interf...

How to set the PlayList Index for Mediaplayer(ExpressionMediaPlayer:Mediaplayer)

Hi, I have a Mediaplayer control on my XAML page like below: <CustomMediaElement:CustomMediaPlayer x:Name="custMediaElement" VerticalAlignment="Center" Width="600" Height="300" Visibility="Collapsed" /> Now I am ble to set the playList by using setPlayList() method like below: priv...

.wmv player not working

So...I've got an embedded object that looks like this: <div id="vid"> <script type="text/javascript"> var cnt = document.getElementById("vid"); var src = 'wmvplayer.xaml'; var cfg = { file:'images/photostory.wmv', height:'240', width...

How to play songs programmetically in iPhone from server ?

Hello all, In my current application I want to show a songs list in table view which is pretty easy but on selection of one of the songs it should be played in any existing audio player in iPhone . How can I do so . Provide me if anyone have good tutorial or example link ...

Android Mediaplayer: setDataSource issue for downloaded media file

I have an application that will record and play audio files. Some of the audio files are downloaded using simple standard http downloads using httpclient. It worked like a charm for a long time. Now all of a sudden I cannot play the files I download. It fails with this stack. I store the files on the SDCard and I experience the problem b...

Plugins to Blackberry media player

Does Blackberry media player (the built-in one) allow any 3rd party plugins? I am thinking to add a forward/backward 5 seconds function. ...

Developing iPhone Application, How do i get video "length" from a video saved to my app docs folder?

Basically i record / import video , it saves to the docs folder and im trying to figure out how to get the length (time) so i can display it for each individual video.. I have a column in the database for it and the neccessary code to display it, just not sure how to get it.. Any help is greatly appreciated ...

Manipulating jQuery to retrieve the onclick function of an item which lies directly below the current focus with the same parent

First off, I want to thank you for looking into my question as I really do appreciate your time. I've built a list of items using php by having a foreach loop cycle through an associative array printing the array data as parameters of an onclick function call and gives each item it cycles through an ID of $thecount. All items retrieved ...

Open source media player

Hi, I am looking for an open-source iTunes style media player that I can use as a base for functionality I would like to develop. I am quite keen on Flex/Air, or C# or Java will do for languages. Does anyone know of any projects? ...

Regarding IllegalStateExceptions, MediaPlayer, failed prepares and State codes

Hi, I have been struggling quite a lot with our beloved MediaPlayer class... Specifically I want to simply play sounds from some Files... I am getting two specific types of errors actually, and not continuesly but it seems like random... Sometimes 10 files are played rigth away with no errors, then the MediPlayer seems to stop accepting...

Silverlight MJPEG viewer

I would like to consume a Motion Jpeg stream from an IP camera and ideally view it using the media element. I was hoping to find some ready made samples. ...

How to stream authenticated content with MediaPlayer on Android

I've seen quite a few posts askign this question on SO but there doesn't seem to be a definitive answer (or at least an answer I like!) I've got content protected behind basic auth (username/password) -- I can download it fine using the various HTTP download clases but for the life of me I can't sort out how to tell media player to stre...

Android: Using MediaRecorder to crop an existing audio file?

Hi, I'd like to take an existing mp3 file located on an SD card and arbitrarily crop it (e.g. crop from 0:12 to 1:14 in a 3 minute song). The only class that I've seen that seems remotely relevant to do this is the MediaRecorder class. My 'hope' would be to "record" an existing file like this: MediaRecorder recorder = new MediaRecorde...

Sidebar gadget with embedded media player disappearing on WIN+D ("Show Desktop")

I'm embedding windows media player in a windows sidebar gadget. As soon as I start the player (even if i stop it after doing so), hitting WIN+D ("Show Desktop") hides my gadget (all other gadgets stay visible). What's causing this issue and is there a way to fix this annoying behaviour? The problem occurs both with a media player embedd...

Android - Buffering in MediaPlayer

I am using MediaPlayer to play a video in my app. The video takes a while to buffer and the videoview is blank for that time. Is there a way to start the buffering when the user is in the previous screen, so that when he comes to the video playing screen, the video is ready to play? Thanks Chris ...

Android - Mediaplayer error PVMFErrNoResources

I am getting this error when trying to play certain mp4/3gp videos encoded as H.264/AVC. 06-02 08:46:38.262: ERROR/QCOmxcore(51): OMXCORE API : Free Handle 586d4 06-02 08:46:38.262: ERROR/QCOmxcore(51): Unloading the dynamic library for OMX.qcom.video.decoder.avc 06-02 08:46:38.281: ERROR/PlayerDriver(51): Command PLAYER_PREPARE comp...

MediaController with MediaPlayer

I want media controls such as play/pause for streaming audio that I am playing in my app. I am using MediaPlayer to stream and play the audio. Can someone provide a code snippet on how to use MediaController with MediaPlayer? Thanks Chris ...