Android :: RTSP Streams Play Only Sound - While Local Does Video And Sound

Jul 10, 2010

In my application, RTSP streams play only sound without video, but if i specify the video path as a local file, it plays the video and audio.

How would i get the RTSP streams to show video?

CODE:.................

Android :: RTSP streams play only sound - while local does video and sound


HTC EVO 4G :: Video Recorded Will Not Play With Sound On PC

Oct 7, 2010

I have had my Evo since launch day. I have recorded some videos for fun and they play back on the phone nicely. But today, I connected the phone to my PC and wanted to play a video. I got video with no sound. I tried several I recorded some at 720fps and some at VGA. Same results. Videos I downloaded from You Tube play fine. Just the ones I recorded on my phone. I have a relatively new HP running Widows 7 and have used Quick Time and Windows Media Player. Neither would play the sound. Anyone have a problem like this?

View 4 Replies View Related

Android :: Video Playback - Sound Doesnt Play Correctly

Jul 22, 2010

What could be the reason that a mp4 video file without sound doesn't play correctly when using the VideoView class? The video plays just fine in vlc, mplayer and ubuntu media player. It has been created on the device using ffmpeg. It is like 5 seconds long, so nothing especially big. Codec is H263 with AAC-Audio, though the audio signal is just empty. The problem is, that the video plays, but the image doesn't change, or at least doesn't change a lot. It seems more like a still image, though small movements is sometimes visible but not at all what has been encoded. I noticed that the VideoView stops playing but the time continues to step up, so it doesn't stop counting after 5 seconds but just goes on counting.

I'm using the emulator. Can that be related? I see the following messages in logcat:

CODE:......................

View 3 Replies View Related

HTC Desire : Troubleshooting - Video File Only Play Sound And No Image

Apr 26, 2010

I am having problems getting videos to play on my HTC Desire. I have converted my .avi files into Mpeg4 so as the device could read them ok. I'm using the free programme 'Handbrake' to convert the files. And it does so with no problems. The new mpeg4 files play with sound and image.

The problem occurs when I transfer the images onto the phones SD card. The video files are picked up via the camera folder (where you can play videos as there is no actual video player) as well as on the video player app I downloaded today - 'mVideoPlayer', without any problems but when I click to play the video the screen is black and only the sound works (even though on my pc the file played fine).

Do I need to download a codec or something? I would have thought that as the Desire was compatible with mpeg4 files that it would play them straight off without having to add software.

View 5 Replies View Related

Android :: Unable To Play Rtsp Video (H.264) Stream In Froyo Using MediaPlayer

Oct 3, 2010

I have an app that worked fine on Android 2.1 (Eclair) but is no longer working in 2.2.1 (Froyo). I think this may have to do with the shift from OpenCore to StageFright for video encoding and decoding, but am unsure.

The debug logs show two things I'm not sure about:

Does this mean H.264 baseline is not supported? WARN/QCvdec(59): Parsing Error unsupported profile or level No idea about: ERROR/PVOMXVidDecNode(59): Ln 1373 OMX_EventError nData1 -2147479542 nData2 0

Play the following url (it works fine in VLC, for example): rtsp://nexus3.dropcam.com/6821ec44e37846428850ec195d69969a

The code:.........

The debug result:

CODE:................

View 3 Replies View Related

Android :: Can I Play A Local Video Not On Sdcard

Jan 27, 2009

I can only get the VideoView to play videos on the sdcard, NOT local to my application. Is there a permission requirement to get this working or can it only access the sdcard?

Working: VideoView videoView = (VideoView) findViewById(R.id.video); videoView.setPath("/sdcard/video.mp4");

Not Working ("Cannot Play Video"): VideoView videoView = (VideoView) findViewById(R.id.video); videoView.setPath("/data/data/com.myapp/app_files/video.mp4");

Log Errors: 01-27 15:56:14.920: ERROR/MediaPlayer(3341): Error (-4,0) 01-27 15:56:14.920: DEBUG/VideoView(3341): Error: -4,0

View 4 Replies View Related

Android : How To Play Video In Droid From Local Disc?

Jun 23, 2010

Am able to play videos from URLs but not able to play from local disc. The file is stored in the C:/users/workspace/test/res/raw/test4.mp4 how do I parse this path in Uri.parse??

View 1 Replies View Related

Android :: Using SoundPool But Sound Plays After A Delay - Sound Is Lagging

Dec 18, 2009

I am using the SoundPool as follows:

Caching my sounds:

CODE:..........

Playing a sound effect i.e when button is clicked:

Resources.playSound(context, Resources.SOUND_PIECESELECT);

However as I said the sound is lagging. What can I do to improve this? All my sounds are OGG file format.

View 9 Replies View Related

Android :: How To Get A Wav Sound To Play On Phone?

Mar 16, 2010

Im making an app, and i want it to make a sound when a activity is opened , the sound file is in R.raw.sound_file , if someone could do some example code to make my app play a sound that would be great.

View 1 Replies View Related

Android : Way To Play Sound File?

Jul 22, 2010

Can we play sound file in phone line (in background)?

View 4 Replies View Related

Android :: RTSP Streaming - Local Network

Jul 18, 2010

I am wanting to try out RTSP locally so that I can play about with it etc. I've got RTSP working from m.youtube.com and would now like to try and get it so it streams from my LAN. Obviously the Emulator is no good, because like I've read it either requires a lot of computing power OR it has an internal firewall that prevents playback. Which ever the reason, the Emulator is not working. So I attached my HTC Hero to my LAN via WiFi (connected it to my WiFi router). I also have another computer (lets call it Computer A) attached to my WiFi via Ethernet cable, and then another computer (lets call that Computer B) attached to that one, again via Ethernet.

Now I've run Wowza server on Computer A and tried to browse via my HTC but it seems it is trying to connect out to the internet every single time. I've also run an Apache web server on Computer A, but Hero still can not see this, so I know it's not a configuration fault on the servers. How can I test RTSP when I can't even get my Hero to connect to my local network ? I've searched around to see what the problem but can't find it, so either no one knows, or more likely I am not putting in the right search parameters. Can someone perhaps guide me on this on how to attach phone into Local network? Once I have it connected I can play about with RTSP to my heart's content then.

View 3 Replies View Related

Android :: Stop Sound Notification - Let It Only Play Once

Jun 24, 2009

Since i don't want to have double entries, but would like a fast spreading, here's my post:
http://groups.google.com/group/android-beginners/browse_thread/thread...

View 2 Replies View Related

Android :: ListPreference To Play Sound Is Not Working

Aug 28, 2010

I'm trying to use a ListPreference to decide which sound to play on a button click.

I have this at the top:

public String greensound;

Here's my OnClick code:................

I also tried removing the default value here it didnt seem to change anything but, should it be removed?

Here's my Settings.java:

package com.my.app;

CODE:...........

And here's my array's if that will help at all:

CODE:............

Here's a logcat that kinda looked possibly related:

CODE:..........

For those that might ask here's my DDMS > File Explorer > Data > Data > packageName > SharedPreferences This is what was in there:

com.my.app_preferences.xml:

CODE:...................

This all really confuses me more because...It looks like greensound does == gsone so.... I don't understand whats wrong its not even playing the default sound. and yes i've tested all this code without the listpreference code and they work great. I'm not sure what's wrong?

View 1 Replies View Related

Android :: Play Sound On A Timed Interval

Aug 27, 2010

I have an Android app which needs to play a sound resource on a timed interval, say every 120 seconds. I know how to access the sound resources and play them, however it's time timer part I'm not sure of. What's the best approach?

View 1 Replies View Related

Android : Way To Play Sound On Active Call?

Aug 28, 2009

I am playing one audio file when call arrives so the caller can receive it at other side but the issue is yet the opposite caller is not able to listen it what could be wrong in it. Can some one tell me what can be the issue in it ?

View 2 Replies View Related

Android :: Notifications Vibrate Instead Of Sound Or No Sound?

Jan 11, 2010

Its probably just because I am a tard but can you make it so when you put it on silent you cant hit the volume up and down on the Motorolla Droid.Also can I make my notifications vibrate instead of sound or no sound?

View 1 Replies View Related

HTC Incredible : Get A Sound When Making Selections Haptic Feedback Sound

Jul 29, 2010

ON my incredible I used to get a sound when making selections and such but now its barely audible. My volume is all the way up. What happened?

View 5 Replies View Related

Stop Sound With Media Player After Clicking Another Sound Button

Aug 2, 2012

how can i stop sound with media player after clicking another sound button? and how can i set alarm/ringtone/notification when long press adding admob on my app, ive read all posts i could google but still i get errors,\

code:
final MediaPlayer sound01 = MediaPlayer.create(this, R.raw.sound01);
Button s01 = (Button) findViewById(R.id.button01);
s01.setText(this.getString(R.string.quote01));
s01.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
[code]....

View 1 Replies View Related

Android :: Application Play Sound When Certain Area Clicked?

Aug 26, 2010

In my class I have an OnTouchEvent and when a certain area is clicked, it will play a sound (Not sure if this is the best way to go about this?). However I have been running into bugs using the MediaPlayer. Sound will double play and then eventually sound will stop completely. I am wondering how to efficiently play 5 sounds. The user will be clicking the screen in different areas and different sounds will be playing. I have the attached code below but it only has the first area. Say I add in another area how would I go about changing the media player to play a different sound.

@Override public boolean onTouchEvent(MotionEvent e) {
x = e.getX(); y = e.getY();
if (x >= 232 && x<=287 && y>=117 && y<=157) {
//PLAY SOUND } return true;

View 2 Replies View Related

Android :: Automatic Call Answering / Play Sound Out

Oct 10, 2010

Could it be possible now, which we can develop an Android application having the following requirement for its working steps Automatic receive the call, then Play some sound out to the caller, wait for DTMF response, then Record the caller sound (in the case that they permit, by pressing 1 as DTMF response)Callee can play back the recoreded sound later.

View 1 Replies View Related

Android :: Unable To Play Short MediaPlayer Sound

Apr 23, 2009

I have this task: Need to play short (0.3-0.4 sec) sounds all the time. When sound is played, it should start again, etc. User can press button to reset sound - it should stop and lunch.

I did many tests. I tried to create 1 MediaPlayer, then do this: MediaPlayer.OnCompletionListener complListener = new MediaPlayer.OnCompletionListener; code...

It works great on emulator and on device if I have eclipse+debugger on. When I disconnect debugger, I have very strange errors - sound can stop at all (till program restart), sound can start "repeating" (play 0.1-0.2 sec, then restart). Can someone please provide me some info about problem?

View 5 Replies View Related

Android : How To Play A Sound File Under Droid Browser?

May 18, 2010

Is there any way to play a sound file under Android browser?

View 1 Replies View Related

Android : How To Play Native Camera Sound On Phone

Mar 2, 2010

I would like to play native camera shutter sound clip on camera preview capture. I'm referring to the sound clip played when takePicture() is called. How could I that? Can someone walk me through the steps?

View 3 Replies View Related

General :: What Sound Files Is Android Allowed To Play

Mar 28, 2012

What sound files is android allowed to play?

View 2 Replies View Related

Can't Play A Sound When Call Out

Jan 26, 2012

I Can't Play a sound when a call Out.

View 5 Replies View Related

Android :: Processing Video And Sound On Phone

May 19, 2010

I want to merge a sound file and a video file (remove the sound from the video file and replace it with my own sound) and this should happen on the phone.I have done this through ffmpeg, but I can't do that now.Any help appreciated,

View 1 Replies View Related

Media :: HTC Desire Sound Feedback - Audible Sound

Oct 3, 2010

My HTC Desire seems to have stopped singing the "tik tik" sound (the sound when you clicked on any program).

In Settings -> Sound Settings -> Feedback

I have them all checked, but for some odd reason, I still didn't get the sound.

View 2 Replies View Related

HTC Droid Eris :: Sms Sound On Phone Sound Only Vibrate

Apr 4, 2010

I am at work and i cant figure out how to turn off the ringer sound while keeping the sms sound everytime i turn the ringer off it for a to silent mode.

View 2 Replies View Related

Sprint HTC Hero : Notification Sound Change - Different Sound Than The Other

Apr 28, 2010

Right now my phone makes the same sound whether I get a email or a text message. Can I make one have a different sound than the other? If so please tell me in detail how. I only see one notification sound area.

View 7 Replies View Related

HTC Incredible :: Default Sound Files - Notification Sound

Aug 4, 2010

I am looking for the default sound files from the Incredible. Specifically, I am looking to the "doot" sound when you press the volume slider. Does anyone have this sound file? It is not located with the alarms, notification, or ringtones. Also, as an added bonus, I am looking for the notification sound from SportsTap as well.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved