Giter Club home page Giter Club logo

spydroid-ipcamera's People

spydroid-ipcamera's Issues

Gray Screen on VLC

What steps will reproduce the problem?
1. Run spydroid-ipcamera
2. Run VLC
3. Open sdp file

What is the expected output? What do you see instead?

I openned wireshark and I see traffic but the only video I get on VLC is a gray 
screen

What version of the product are you using? On what operating system?

I'm using the 30 revision of the svn on Xperia Arc. VLC is running on Mac OS X 
10.7.1

Please provide any additional information below.

spydroid-ipcamera is showing the video correctly on the android device.

Many thanx in advance


Original issue reported on code.google.com by [email protected] on 29 Sep 2011 at 4:11

ArrayIndexOutOfBoundsException on H264Packetizer2

What steps will reproduce the problem?
1. Install spydroid
2. edit the ip
3. start stream
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
What is the expected output? What do you see instead?

。E/AndroidRuntime(8137): FATAL EXCEPTION: Thread-855
。E/AndroidRuntime(8137): java.lang.ArrayIndexOutOfBoundsException
。E/AndroidRuntime(8137):  at 
android.net.LocalSocketImpl$SocketInputStream.read(LocalSocketImpl.jav。E/Andro
idRuntime(8137):    at 
net.majorkernelpanic.librtp.H264Packetizer2.fillFifo(H264Packetizer2.java:208)
。E/AndroidRuntime(8137):  at 
net.majorkernelpanic.librtp.H264Packetizer2.run(H264Packetizer2.java:96)

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
What version of the product are you using? On what operating system?

。HTC One V for Android 4.0.3


。Work fine on Glaxy tab 10.1 for Android 3.1


Please provide any additional information below.
。 It seems all happened on HTC devices?

Original issue reported on code.google.com by [email protected] on 25 May 2012 at 2:44

Having problems running app on several devices

What steps will reproduce the problem?
1. Recompiled app going to 5006 (8086 already in use by both devices?).
2. Opened VLC and it connects but soon after I get the following errors,
a- on 2.3.4 droid - iMediaDeathNotifier ... media server died
b- on 3.1 samsung tab - MediaRecorder ... stop called on an invalid state (I 
was getting this also on the droid)
3. Both devices connect according to the SpyDroid UI and then disconnect after 
successfully passing h.264 test.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
Running VLC on Mac. 
Wondering if I should try Wowza instead?
I'm using version 2.1 of SpyDroid



Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 26 Apr 2012 at 5:52

Infinite recursion

What steps will reproduce the problem?
1. Check out from SVN
2. Build version 1.3
3. Launch

What is the expected output? What do you see instead?

I get a Force Close.
12-12 16:15:27.757: E/AndroidRuntime(25180): java.lang.StackOverflowError
12-12 16:15:27.757: E/AndroidRuntime(25180):    at 
net.majorkernelpanic.libmp4.MP4Parser.parse(MP4Parser.java:79)




What version of the product are you using? On what operating system?

Android 2.3.4, Nexus S
I got the source with label 1.3


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 12 Dec 2011 at 3:19

Getting index out of bounds exception

I am using Samsung GAlaxy Y with android 2.3.6 I am facing following problem. 
The indexoutofbound exception is thrown from the StsdBox.java file. My logcat 
displays..
04-28 12:54:09.242: E/AndroidRuntime(1356): java.lang.IndexOutOfBoundsException
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
java.io.RandomAccessFile.read(RandomAccessFile.java:341)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
net.majorkernelpanic.libmp4.StsdBox.findSPSandPPS(StsdBox.java:112)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
net.majorkernelpanic.libmp4.StsdBox.<init>(StsdBox.java:51)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
net.majorkernelpanic.libmp4.MP4Parser.getStsdBox(MP4Parser.java:58)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
net.majorkernelpanic.streaming.TestH264.runTest(TestH264.java:186)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
net.majorkernelpanic.streaming.TestH264.access$0(TestH264.java:119)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
net.majorkernelpanic.streaming.TestH264$1.onInfo(TestH264.java:83)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
android.media.MediaRecorder$EventHandler.handleMessage(MediaRecorder.java:788)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
android.os.Looper.loop(Looper.java:130)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
android.app.ActivityThread.main(ActivityThread.java:3687)

Original issue reported on code.google.com by [email protected] on 28 Apr 2012 at 8:48

Run in background enhancement

What steps will reproduce the problem?

1. used app on Samsung galaxy s2
2. Stream to VLC fine
3. Press home button

What is the expected output? What do you see instead?

Would have expected the stream to continue but cuts off, also tried to switch 
between apps and the same occurs

What version of the product are you using? On what operating system?

Samsung galaxy s2 v2.3.3

Original issue reported on code.google.com by [email protected] on 1 Jan 2012 at 3:33

Erratic streaming behavior

What steps will reproduce the problem?
1. run application
2. open new sdp in vlc on computer
3. run application with correct pc ip

What is the expected output? What do you see instead?
Expect streaming Video/Audio

I sometimes get audio, and even less frequently get video.  When I do get 
video, it is very laggy, and eventually slows to a halt (freezes?)   Initially 
the audio has a small delay (1-3 seconds which is good), but then will 
eventually disappear.

here is message log : http://pastebin.com/hy2BypTL

What version of the product are you using? On what operating system?
Motorola Atrix (MB860): Android 2.3.4
1.6 spydroid (compiled)
1.1.12 VLC
Mac OSX 10.7.1

Please provide any additional information below.
I actually have even more troubles on my windows machine, not sure if its port 
related or not.
As you can see from paste bin, there is a lot of 
main warning: PTS is out of range (3519944), dropping buffer
and
main warning: buffer is 120000 in advance, triggering downsampling
main warning: computed PTS is out of range (581121), clearing out
main warning: timing screwed, stopping resampling

Original issue reported on code.google.com by [email protected] on 7 Feb 2012 at 6:04

Enhancement request - Android 2.2

What steps will reproduce the problem?
1. Tried this app using LG optimus one P500 - 2.2.1 version
2. Not able to stream the data may be because as u mentioned this code requires 
2.3 and above
3. This is enhancement request.

What is the expected output? What do you see instead?
Should stream from android 2.2 based phones

What version of the product are you using? On what operating system?
LG optimus one P500 - 2.2.1 version

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 Sep 2011 at 6:44

streaming doesn't work at high version

What steps will reproduce the problem?
1. I've tested Spydroid 2.1 , 2.2 , 2.3
2. In phone, it seems like good.
3. In VLC player, it said <rtsp://ip address>, but no more video streaming.
4. But sometimes, in VLC player, the video is showed about 0.5 second. It's 
really short second and vlc player is turn out.
5. I've tried again and agian and it has same problem.
6. Strangly, Spydroid 1.6 works really good in my devices


What version of the product are you using? On what operating system?
I'm using 2.3.3 HTC desire, 2.3.3 LG optimus one


Original issue reported on code.google.com by [email protected] on 19 May 2012 at 9:36

VLC: picture is too late to be displayed

What steps will reproduce the problem?
1. Capturing video by VLC

What is the expected output? What do you see instead?
choppy video

What version of the product are you using? On what operating system?
SpyDroid 3.4.1
VLC 2.0.0 Twoflower
Windows 7 x64

Please provide any additional information below.
found on the forum: maybe connected to HT processors
no problem with previous versions of SpyDroid

Original issue reported on code.google.com by [email protected] on 13 Jun 2012 at 2:43

Sound problem

What steps will reproduce the problem?
1. Run on Sony Ericcson Xperia Ray or may be on any other :)
2. Catch stream with ffmpeg
  ffmpeg -i spydroid.sdp ...

What is the expected output? What do you see instead?

An lot of errors repeated many times about AMR decoding problem

What version of the product are you using? On what operating system?


Please provide any additional information below.

Why did you decide that the AMR frame size is only 32 bytes? :)
Why you do not take frame size from AMR frame header?
It may be from 13 to 32 bytes depending on... I don't know :)
In my situation frame size is 13 bytes

Original issue reported on code.google.com by [email protected] on 30 Oct 2011 at 10:12

IP Address is not being pulled from Preferences correctly.

What steps will reproduce the problem?
1. Open Spydroid
2. Enter IP Address into EditText
3. Rotate screen

What is the expected output? What do you see instead?
Would expect to see the same IP address that I entered.  Instead, I see the 
default IP address.

What version of the product are you using? On what operating system?
1.0.1

Please provide any additional information below.
I have actually looked at the source and I see where the bug is.  In the 
OnClickListener in Spydroid Activity for 'Stream' Button, the entered IP 
address is put into the preferences as a key value pair "IP" when the user 
presses the button.  However, when attempting to pull the ip address out on the 
OnStart, the key is given as "ip" instead of "IP".
Simple change for an annoying problem I'll say.

Original issue reported on code.google.com by [email protected] on 29 Sep 2011 at 11:07

spydroid crashs when stream button is pressed on HTC shift

What steps will reproduce the problem?
1. pressing the stream button on the main screen crashs the app
2.
3.

What is the expected output? What do you see instead?
I guess that i would expect to see the stream of something.

what I get is the following error:
W/dalvikvm(14936): threadid=10: thread exiting with uncaught exception 
(group=0x4001d5a0)
E/AndroidRuntime(14936): FATAL EXCEPTION: Thread-11
E/AndroidRuntime(14936): java.lang.ArrayIndexOutOfBoundsException
E/AndroidRuntime(14936):    at 
android.net.LocalSocketImpl$SocketInputStream.read(LocalSocketImpl.java:89)
E/AndroidRuntime(14936):    at 
net.majorkernelpanic.librtp.H264Packetizer2.fillFifo(H264Packetizer2.java:212)
E/AndroidRuntime(14936):    at 
net.majorkernelpanic.librtp.H264Packetizer2.run(H264Packetizer2.java:98)
W/IMediaDeathNotifier(14936): media server died


What version of the product are you using? On what operating system?
I am using 1.6 for the source and what ever the latest verson is from market as 
of 04/10/2012

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 10 Apr 2012 at 9:05

Unable to run on HTC Desire (2.3.3)

What steps will reproduce the problem?
1. Start application
2. Enter ip to stream
3. Click stream

What is the expected output? What do you see instead?
Expected to see streaming "preview". Application crash and return to android 
home without any error messages shown.

What version of the product are you using? On what operating system?
Using 1.0.1 running on Android 2.3.3

Please provide any additional information below.
Able to run on version 1.0 but VLC is not able to see stream too.

Original issue reported on code.google.com by [email protected] on 1 Oct 2011 at 3:41

vlc cannot connect to rtsp://$IP:8086, using samsung galaxy tab

Hi,
   Nice application and nice work, congrats.
   But I have one problem,
   I am using samsung galaxy tab mobile, and on my desktop side I use window xp.

   1. when I start application on my mobile, it gives me message to connect to $IP:8086/
   2. After connecting to this ip and port from my desktop with vlc version 2.0.1, i.e putting rtsp://$IP:8086/ it gives me following errors ..

my desktop :
=========
live555 error: Failed to connect with rtsp://$IP:8086/
access_relartsp warnign: only eral/helix rtsp servers supported for now
main error : open of 'rtsp://$IP:8086/'

my mobile :
========
connection from $DESKTOP_IP
Testing H264 support : 640x480, 15 fps
client diconnected
H264 supported!!!


Original issue reported on code.google.com by [email protected] on 3 May 2012 at 9:35

Motorola Droid

What steps will reproduce the problem?
1. Running code generated with Droid  Android 2.2
2. Video file streams fine to vlc 1.1.11 but has white haze?
3. Video every few seconds jerks don't know why?

What is the expected output? What do you see instead?
I would expect the video to look normal

What version of the product are you using? On what operating system?
Android 2.2 generated on windows XP, VLC 1.1.11


Original issue reported on code.google.com by [email protected] on 29 Sep 2011 at 2:35

ArrayIndexOutOfBoundsException at H264Packetizer

What steps will reproduce the problem?
1. open sdp file with vlc (win xp)
2. launch the app (v1.01)
3. type my pc(win xp) ip in the field
4. press stream

What is the expected output? What do you see instead?
my logcat:
AndroidRuntime(2152):FATAL EXCEPTION: Thread-11
AndroidRuntime(2152):java.lang.ArrayIndexOutOfBoundsException
AndroidRuntime(2152):at 
android.net.LocalSocketImpl$SocketInputStream.read(LocalSocketImpl.java:89)
AndroidRuntime(2152):at 
net.mkp.spydroid.librtp.H264Packetizer.fill(H264Packetizer.java:137)
AndroidRuntime(2152):     at 
net.mkp.spydroid.librtp.H264Packetizer.run(H264Packetizer.java:63)
ActivityManager(96):   Force finishing activity net.mkp.spydroid/.SecondActivity
ActivityManager(96):   Force finishing activity 
net.mkp.spydroid/.SpydroidActivity

What version of the product are you using? On what operating system?
v1.01 on htc nexus one (ROM 2.3.6)
windows xp


Original issue reported on code.google.com by [email protected] on 14 Oct 2011 at 1:32

WOWZA stream method update

First of all, you should understand not all the phone is supported.
My Galasy S1 can do it with my HK stock rom,but asus transformer can not do its 
job well. It's just give me a green screen.

//1
Start your apps and get your sdp file in your sd-card.

//2
Put .sdp file to the [wowza server]/content

//3
Put attachment "Application.xml" in [wowza server]/conf/rtplive
If you dont have the folder just create it.

//4
Restart the Wowza...

//5
OK? Then turn the apps on and publish it.
Remember don't type the IP wrong.

//6
To ensure is there any packet comming from the phone.
You can use wireshark to catch up the packet from port 5006,5004.
5006 > Video ( h264)
5004 > Sound (amf) <<not sure

//7
Should be the last step
Use flash player to play it
You can get one from .... [wowza]\examples\LiveVideoStreaming\client\live.html
The link should be rtmp://[wowza-address]:1935/live/myStream.sdp


//Last but not least
If you cant do it, make sure everything is correct,otherwise i can just say 
sorry. I am so sorry :'(

Original issue reported on code.google.com by [email protected] on 28 Nov 2011 at 4:15

Attachments:

Add AAC stream

Hi, 

As we know Android can encoder the ADTS AAC on 4.0.3, 
how do we pack the aac stream for rtp streaming?



Original issue reported on code.google.com by [email protected] on 25 May 2012 at 3:03

Unable to set fram rate

What steps will reproduce the problem?
1. Run Spydroid.
2. OpenDDMS.

What is the expected output? What do you see instead?
Logcat reports: ERROR/StagefrightRecorder(1308): Failed to set frame rate to 15 
fps. The actual frame rate is 30


What version of the product are you using? On what operating system?
Spydroid 1.1 on Nexus S.




Original issue reported on code.google.com by [email protected] on 30 Oct 2011 at 2:09

How can I stream to remote clients?

Hi, I think this app is really awesome.

By the way, I want to stream video to remote client, not a clinet located in 
local area network.

I'm not good at network, so I don't know exactly. I want to make peer network 
between android device that stream video camera and client that can see video. 

Have anyone success at this kind of thing, please let me know. I earnestly want 
to your advice. Thanks,

Original issue reported on code.google.com by [email protected] on 18 Jun 2012 at 6:43

Android VideoView can not playback the video streaming by sypdroid-ipcamera

Android VideoView can not playback the video streaming by sypdroid-ipcamera 
I Can only got 

E/MediaPlayer( 1900): error (1, -2147483648)
E/MediaPlayer( 1900): Error (1,-2147483648)
D/VideoView( 1900): Error: 1,-2147483648

error msg every time on my testing.


My playback code is:

    public String rtspUrl ="rtsp://192.168.1.100:8086";

    private void PlayRtspStream(){
        videoView.setVideoURI(Uri.parse(rtspUrl));
        videoView.requestFocus();
        videoView.start();
    }

Here below is the logcat msg:

D/MediaPlayer( 1900): Couldn't open file on client side, trying server side
D/AudioHardware(   68): AudioHardware pcm playback is exiting standby.
D/AudioHardware(   68): openPcmOut_l() mPcmOpenCnt: 0
D/MediaPlayer( 1900): getMetadata
E/MediaPlayerService(   68): getMetadata failed -38
I/MyHandler(   68): connection request completed with result 0 (Success)
I/ARTSPConnection(   68): status: RTSP/1.0 200 OK
I/MyHandler(   68): DESCRIBE completed with result 0 (Success)
I/ASessionDescription(   68): m=audio 5004 RTP/AVP 96
I/ASessionDescription(   68): b=AS:128
I/ASessionDescription(   68): b=RR:0
I/ASessionDescription(   68): a=rtpmap:96 AMR/8000
I/ASessionDescription(   68): a=fmtp:96 octet-align=1;
I/ASessionDescription(   68): a=control:trackID=0
I/ASessionDescription(   68): m=video 5006 RTP/AVP 96
I/ASessionDescription(   68): b=RR:0
I/ASessionDescription(   68): a=rtpmap:96 H264/90000
I/ASessionDescription(   68): a=fmtp:96 
packetization-mode=1;profile-level-id=42e020;sprop-parameter
-sets=J0LgII1oCgPaEAAAAwAQAAADAeDxB6g=,KM4GSSA=;
I/ASessionDescription(   68): a=control:trackID=1
W/MyHandler(   68): Server specified a non-absolute base URL, combining it with 
the session URL to g
et something usable...
I/ARTSPConnection(   68): status: RTSP/1.0 200 OK
I/MyHandler(   68): SETUP(1) completed with result 0 (Success)
W/MyHandler(   68): Missing 'source' field in Transport response. Using RTSP 
endpoint address.
I/APacketSource(   68): dimensions 640x480
I/ARTSPConnection(   68): status: RTSP/1.0 200 OK
I/MyHandler(   68): SETUP(2) completed with result 0 (Success)
W/MyHandler(   68): Missing 'source' field in Transport response. Using RTSP 
endpoint address.
I/ARTSPConnection(   68): status: RTSP/1.0 200 OK
I/MyHandler(   68): PLAY completed with result 0 (Success)
D/AudioHardware(   68): AudioHardware pcm playback is going to standby.
D/AudioHardware(   68): closePcmOut_l() mPcmOpenCnt: 1
D/RKUpdateService( 1776): request remote server error...
D/RKUpdateService( 1776): request remote server error...
W/MyHandler(   68): Never received any data, switching transports.
I/ARTSPConnection(   68): status: RTSP/1.0 200 OK
I/MyHandler(   68): TEARDOWN completed with result 0 (Success)
I/MyHandler(   68): connection request completed with result 0 (Success)
I/ARTSPConnection(   68): status: RTSP/1.0 200 OK
I/MyHandler(   68): DESCRIBE completed with result 0 (Success)
I/ASessionDescription(   68): m=audio 5004 RTP/AVP 96
I/ASessionDescription(   68): b=AS:128
I/ASessionDescription(   68): b=RR:0
I/ASessionDescription(   68): a=rtpmap:96 AMR/8000
I/ASessionDescription(   68): a=fmtp:96 octet-align=1;
I/ASessionDescription(   68): a=control:trackID=0
I/ASessionDescription(   68): m=video 5006 RTP/AVP 96
I/ASessionDescription(   68): b=RR:0
I/ASessionDescription(   68): a=rtpmap:96 H264/90000
I/ASessionDescription(   68): a=fmtp:96 
packetization-mode=1;profile-level-id=42e020;sprop-parameter
-sets=J0LgII1oCgPaEAAAAwAQAAADAeDxB6g=,KM4GSSA=;
I/ASessionDescription(   68): a=control:trackID=1
W/MyHandler(   68): Server specified a non-absolute base URL, combining it with 
the session URL to g
et something usable...
I/ARTSPConnection(   68): status: RTSP/1.0 200 OK
I/MyHandler(   68): SETUP(1) completed with result 0 (Success)
I/APacketSource(   68): dimensions 640x480
I/ARTSPConnection(   68): status: RTSP/1.0 200 OK
I/MyHandler(   68): SETUP(2) completed with result 0 (Success)
I/ARTSPConnection(   68): status: RTSP/1.0 200 OK
I/MyHandler(   68): PLAY completed with result 0 (Success)
D/RKUpdateService( 1776): request remote server error...
W/MyHandler(   68): Never received any data, disconnecting.
I/ARTSPConnection(   68): status: RTSP/1.0 200 OK
I/MyHandler(   68): TEARDOWN completed with result 0 (Success)
E/MediaPlayer( 1900): error (1, -2147483648)
E/MediaPlayer( 1900): Error (1,-2147483648)
D/VideoView( 1900): Error: 1,-2147483648
I/hwcomposer(   65): hwc_prepare(314):Fail back to 3D composition path
D/gralloc (   65): alloc_buffer: Successfully allocated 0x48000 bytes, 
mIonFd=23, SharedFd=26
D/gralloc ( 1900): map_buffer: Successfully mapped 0x48000 bytes at address 
0x5f8ee000, SharedFd=57,
 map_count = 3


Original issue reported on code.google.com by [email protected] on 7 May 2012 at 3:44

Add support for RTMP

It would be good if application allowed to publish media to server through RTMP

Original issue reported on code.google.com by [email protected] on 23 Apr 2012 at 8:04

Sound support

Hi folks, just to let you know that i have started to work on sound support

First, i have found out that we can't use the same MediaRecorder object for 
both sound and video. We would need to read the position of chunks in the moov 
atom. And the moov atom is only wrote when recording stops :(

So i guess we need two MediaRecorder objects, one set up to record sound, and 
another for recording video.

For the aac packetization process, the following rfcs seem to be relevant:

http://tools.ietf.org/id/draft-ietf-avt-rtp-mpeg2aac-01.txt
http://www.rfc-editor.org/rfc/rfc3640.txt

I still don't know how to detect aac frames in the stream. If you have any 
suggestions i would be glad to hear them.

Regards,

Original issue reported on code.google.com by FyHertz on 19 Sep 2011 at 9:42

Stream to Wowza Successful!!!!

Hi Guys, I have tried to stream to Wowza successfully so that VLC can play it 
successfully!!!
I think my vlc cant read that sdp but can read rtsp stream!!!

So first, i change to port setting for spydroid-ipcamera
I dont know its true that wowza can only digest  in 5006 because it shows 5006 
all the time in the command prompt and fail to stream in 5004,5005.
And also I found that if my pc cant  read the stream then spydroid-ipcamera 
will stop sending packet to pc after sometimes!!

So now i tech everyone to do it!!!
Step 1 :
Download my sdp file and place it in the wowza-install-dir/content
(Actually I just change the port to 5006)

Step 2 :
Open the project in Eclipse,in cameraStreamer.java,change the port to 5006
rsock = new SmallRtpSocket(InetAddress.getByName(dest), 5006, buffer);
Or you can just download my file and replace it.
And then you can compile the file and generate .apk or just run it in your own 
way

Step 3:
Wowza time,Stop the server first
follow 
http://www.wowza.com/forums/content.php?36-How-to-publish-and-play-a-live-stream
-(RTMP-or-RTSP-RTP-based-encoder)
I follow them exactly!!!

Step 4:
Restart the server and stream it at VLC!!!
rtsp://[wowza-address]:1935/live/myStream.sdp
Its work!!!!
The streaming is very stable more than 15 minutes and its delay around 3-5 
seconds.
Maybe just the conversion of wowza server.
I think it is success dont you think???

So i am working on video chat program,and guys can we add sound into it.I think 
i need acc codec for streaming because i only try H.264 and aac work in android 
with wowza.
I hope everyone can benefit on it. And thank you guys you guys are bravo!!!!

Original issue reported on code.google.com by [email protected] on 16 Sep 2011 at 5:26

Attachments:

There is no option for stream button in spydroid 2.1

What steps will reproduce the problem?
1. Asks to enter the uri in the vlc
2. When entered in vlc... error Input can not be opened MRI rtsp://address
3. No option of stream button in the phone

What is the expected output? What do you see instead?
phone camera is not switching on...

What version of the product are you using? On what operating system?
Android 2.3.3 GALAXY S 2



Original issue reported on code.google.com by [email protected] on 23 Apr 2012 at 3:26

H264 Packetizer exits prematurely v1.4

v1.4 Does not work on Nexus One - no video packets ever get sent.

The reason is that the loop which searches for the mdat atom terminates the 
packetizer thread, rather than just terminating the loop.

Line 74 in H264Packetizer.java says: if (len<=0) return;

It should be read "if (len<=0) break;"

Original issue reported on code.google.com by [email protected] on 21 Dec 2011 at 12:38

Client side application development

I want develop client side application on windows platform for displaying and 
storing video that send by your android application.
So can you give me some brief description of protocol and how you send video in 
network. I want also know that is there any dlls available for Dot net 
application development for above requirement.


Original issue reported on code.google.com by [email protected] on 24 Dec 2011 at 11:57

vlc doesn't work(nexus one 2.3.6)

What steps will reproduce the problem?
1. launch the app (1.2)
1. copy sdp file from sd card 
3. open sdp file with vlc 
4. type my pc ip and press stream

What is the expected output? What do you see instead?

vlc doesn't work ,so I take a screenshot of vlc log

What version of the product are you using? On what operating system?

nexus one (ROM 2.3.6)

Please provide any additional information below.

check my screenshot :)

Original issue reported on code.google.com by [email protected] on 17 Oct 2011 at 2:45

Attachments:

Getting array out of bounds exception

Using build 1.0.1 on Nexus One running Android 2.3.6

When starting the stream, the program closes unexpectedly.
Here's the dump from LogCat:

<code>
10-04 02:27:10.893: INFO/ActivityManager(96): Starting: Intent { 
cmp=net.mkp.spydroid/.SecondActivity (has extras) } from pid 22434
10-04 02:27:10.903: INFO/WindowManager(96): Setting rotation to 1, animFlags=1
10-04 02:27:10.923: INFO/ActivityManager(96): Config changed: { scale=1.0 
imsi=505/2 loc=en_GB touch=3 keys=1/1/2 nav=3/1 orien=2 layout=34 uiMode=17 
seq=160}
10-04 02:27:11.063: DEBUG/dalvikvm(167): GC_EXTERNAL_ALLOC freed 459K, 47% free 
4587K/8519K, external 12058K/12107K, paused 126ms
10-04 02:27:11.083: INFO/ActivityManager(96): Displayed 
net.mkp.spydroid/.SecondActivity: +179ms
10-04 02:27:11.163: INFO/MediaRecorderJNI(22434): prepare: surface=0x2d3508 
(identity=1596)
10-04 02:27:11.163: INFO/AudioHardwareQSD(68): Routing audio to Speakerphone
10-04 02:27:11.163: INFO/AudioHardwareQSD(68): do input routing device 800000
10-04 02:27:11.163: INFO/AudioHardwareQSD(68): Routing audio to Speakerphone 
with back mic
10-04 02:27:11.353: DEBUG/AudioHardwareQSD(68): Switching audio device to 
10-04 02:27:11.353: DEBUG/AudioHardwareQSD(68): Speakerphone
10-04 02:27:11.512: INFO/RealTimeChat(22365): Sending create user request
10-04 02:27:11.553: WARN/StagefrightRecorder(68): Intended video encoding frame 
rate (15 fps) is too small and will be set to (27 fps)
10-04 02:27:11.583: INFO/RealTimeChat(22365): Keep-alive thread starting
10-04 02:27:11.583: INFO/RealTimeChat(22365): Sending ping to bunch
10-04 02:27:11.763: INFO/StagefrightPlayer(68): 
setDataSource('/system/media/audio/ui/camera_click.ogg')
10-04 02:27:11.773: INFO/StagefrightPlayer(68): 
setDataSource('/system/media/audio/ui/VideoRecord.ogg')
10-04 02:27:11.793: ERROR/VENC_ENC(68): Bitrate 192000
10-04 02:27:11.793: INFO/MPEG4Writer(68): limits: 2147483647/0 bytes/us, bit 
rate: 192000 bps and the estimated moov size 3072 bytes
10-04 02:27:11.983: INFO/OMXCodec(68): [OMX.qcom.video.encoder.avc] allocating 
6 buffers of size 460800 on input port
10-04 02:27:11.983: INFO/OMXCodec(68): [OMX.qcom.video.encoder.avc] allocating 
6 buffers of size 230400 on output port
10-04 02:27:12.033: WARN/dalvikvm(22434): threadid=10: thread exiting with 
uncaught exception (group=0x40015560)
10-04 02:27:12.033: ERROR/AndroidRuntime(22434): FATAL EXCEPTION: Thread-11
10-04 02:27:12.033: ERROR/AndroidRuntime(22434): 
java.lang.ArrayIndexOutOfBoundsException
10-04 02:27:12.033: ERROR/AndroidRuntime(22434):     at 
android.net.LocalSocketImpl$SocketInputStream.read(LocalSocketImpl.java:89)
10-04 02:27:12.033: ERROR/AndroidRuntime(22434):     at 
net.mkp.spydroid.librtp.H264Packetizer.fill(H264Packetizer.java:137)
10-04 02:27:12.033: ERROR/AndroidRuntime(22434):     at 
net.mkp.spydroid.librtp.H264Packetizer.run(H264Packetizer.java:63)
10-04 02:27:12.083: WARN/ActivityManager(96):   Force finishing activity 
net.mkp.spydroid/.SecondActivity
</code>

I've been playing with the trunk code in Eclipse and haven't had this problem.  
It only started when I downloaded the 1.0.1 apk and installed it.


Original issue reported on code.google.com by [email protected] on 3 Oct 2011 at 3:47

Getting a frame from buffer (Byte Array)

What steps will reproduce the problem? (It's not a problem, but need your help) 
1. Getting a frame from live video stream in android side
2. I'm using 1.6 Version
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?

Android 3.2, Galaxy tab 10.1

Please provide any additional information below.

I don't know how to get a frame before I send a buffer through udp connection.

Original issue reported on code.google.com by [email protected] on 12 Jun 2012 at 6:23

Spydriod Crashes on static image

What steps will reproduce the problem?
1. running on Galaxy Note 20fps,640,1000bps
2. Just make the device stationary (dont move it while its streaming)
3. App crashes after a few seconds of non-movement

What is the expected output? What do you see instead?
Crashes

What version of the product are you using? On what operating system?
latest sources from site.

Please provide any additional information below.
Please let me know if this can be reproduced.

Original issue reported on code.google.com by [email protected] on 4 Apr 2012 at 12:56

ffmpeg says ./spydroid.sdp: Invalid data found when processing input

What steps will reproduce the problem?
1. ffmpeg -i spydroid.sdp

What is the expected output? What do you see instead?

expected : some logs showing its decoding progress

what I'm seeing instead :

./spydroid.sdp: Invalid data found when processing input


What version of the product are you using? On what operating system?

0.8 on ubuntu 11.10

Please provide any additional information below.

I'm writing a code that is decoding h264 packets or (the wrapped by rtp) using 
ffmpeg library, but still no luck..

1. directly access packets and decode them with avcodec_decode_video2..
2. find other way to use .sdp file which will be much more simple than #1 if 
it's possible..

I need to do the both on c code level..

can I get any advice?? thanks in advance


Original issue reported on code.google.com by [email protected] on 20 Feb 2012 at 2:05

prepare failed on vlc connection

i started app it said already in use then i change port to 9000 then it start 
again it start then i tried to connect vlc on this port it connects and app 
goes to check for support then prepare failed msg logs on screen, i am testing 
it on Moto attix

Original issue reported on code.google.com by [email protected] on 17 May 2012 at 7:24

VLC doesn't play video stream

Hi everybody,

I would really appreciate any video recorded on a phone spydroid doesn't seem 
to support. It will really help me find out what's going on by running some 
tests on it.

Of course set the output format to h.264 and the video encoder to mpeg4.

Regards,

Original issue reported on code.google.com by FyHertz on 26 Sep 2011 at 1:21

New Item Request

Just wondering if you can put in to change the port it streams to... so we can 
get through firewalls more easily?

Thanks

Original issue reported on code.google.com by [email protected] on 10 Oct 2011 at 4:33

Enhancement request - Android 2.2

What steps will reproduce the problem?
1. Tried this app using LG optimus one P500 - 2.2.1 version
2. Not able to stream the data may be because as u mentioned this code requires 
2.3 and above
3. This is enhancement request.

What is the expected output? What do you see instead?
Should stream from android 2.2 based phones, i have seen from the logs that it 
has H264 encoding support.

What version of the product are you using? On what operating system?
LG optimus one P500 - 2.2.1 version

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 Sep 2011 at 6:46

spydroi & ffmpeg

hi all 
i want to ask if some one can play the stream with ffmpeg ?? i try this command 
ffmpeg -i rtp:\\IP:ports video but in the commande line i can't see any thing 
is just blocked and the same thing with ffplay -i rtp://IP:ports

Original issue reported on code.google.com by [email protected] on 28 Mar 2012 at 10:43

no one app on play can to play stream from spydroid

What steps will reproduce the problem?
1. Use MXVideoPlayer and open network flow... nothin!
2. Use MoboPlayer and open network flow... nothin!
3. Use RTSP Player and open network flow... nothin!
..etc

VideoView API also can't play stream.

What is the expected output? What do you see instead?
-The video stream

What version of the product are you using? On what operating system?
Version 3.3.

Please provide any additional information below.
I only can get stream using VLC on PC.

Original issue reported on code.google.com by [email protected] on 7 Jun 2012 at 5:18

Stream to WOWza using Spydroid Version 3.3

What steps will reproduce the problem?
1. I want to stream to Wowza using Spydroid Version 3.3
2. But in Version 3.3 there is not concept of SDP file
3. For streaming to WOWza i require a SDP file. 
4. Please suggest how to do streaming to WOWza using version 3.3

What is the expected output? What do you see instead?
An SDP File

What version of the product are you using? On what operating system?
3.3, Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 7 Jun 2012 at 11:14

Follow up to issue 35

Here's the log from each of the devices I get now when connecting to VLC using 
v2.2. 

On the Samsung Tab10.1 running 3.1 (app compiled with Android 2.3.3) I get,
04-29 11:21:37.540: E/AndroidRuntime(947):  at 
android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1077)
04-29 11:21:37.540: E/AndroidRuntime(947):  at 
dalvik.system.BlockGuard$WrappedNetworkSystem.write(BlockGuard.java:290)
04-29 11:21:37.540: E/AndroidRuntime(947):  at 
org.apache.harmony.luni.net.PlainSocketImpl.write(PlainSocketImpl.java:462)
04-29 11:21:37.540: E/AndroidRuntime(947):  at 
org.apache.harmony.luni.net.SocketOutputStream.write(SocketOutputStream.java:55)
04-29 11:21:37.540: E/AndroidRuntime(947):  at 
net.majorkernelpanic.streaming.RtspServer.writeContent(RtspServer.java:325)

I believe this issue is Honeycomb related on the Tab10.1 (android 3.1). 
http://stackoverflow.com/questions/6976317/android-http-conncetion-exception


On Motorola Droid running 2.3.4 (app compiled with Android 2.3.3) I get,
04-29 11:36:17.915: I/MediaRecorderJNI(5044): prepare: surface=0x2c53d8 
(identity=40)
04-29 11:36:21.355: E/MediaRecorder(5044): stop called in an invalid state: 1
04-29 11:36:21.385: D/RTSPServer(5044): RTSP/1.0 200 OK
04-29 11:36:21.385: D/RTSPServer(5044): Cseq: 3
04-29 11:36:21.385: D/RTSPServer(5044): Content-Length: 294
04-29 11:36:21.385: D/RTSPServer(5044): Content-Base: 192.168.1.117:8087/
04-29 11:36:21.385: D/RTSPServer(5044): Content-Type: application/sdp
04-29 11:36:21.385: D/RTSPServer(5044): 
04-29 11:36:21.385: D/RTSPServer(5044): m=audio 5004 RTP/AVP 96
04-29 11:36:21.385: D/RTSPServer(5044): b=AS:128
04-29 11:36:21.385: D/RTSPServer(5044): b=RR:0
04-29 11:36:21.385: D/RTSPServer(5044): a=rtpmap:96 AMR/8000
04-29 11:36:21.385: D/RTSPServer(5044): a=fmtp:96 octet-align=1;
04-29 11:36:21.385: D/RTSPServer(5044): a=control:trackID=0
04-29 11:36:21.385: D/RTSPServer(5044): m=video 5006 RTP/AVP 96
04-29 11:36:21.385: D/RTSPServer(5044): b=RR:0
04-29 11:36:21.385: D/RTSPServer(5044): a=rtpmap:96 H264/90000
04-29 11:36:21.385: D/RTSPServer(5044): a=fmtp:96 
packetization-mode=1;profile-level-id=42801e;sprop-parameter-sets=Z0KAHpWgKA9fQA
==,aM48gA==;
04-29 11:36:21.385: D/RTSPServer(5044): a=control:trackID=1
04-29 11:36:21.445: I/MediaRecorderJNI(5044): prepare: surface=0x2c53d8 
(identity=40)
04-29 11:36:23.355: W/IMediaDeathNotifier(5044): media server died
04-29 11:36:26.685: D/RTSPServer(5044): SETUP 192.168.1.117:8087/trackID=0 
RTSP/1.0
04-29 11:36:26.685: D/RTSPServer(5044): CSeq: 4
04-29 11:36:26.685: D/RTSPServer(5044): User-Agent: LibVLC/2.0.1 (LIVE555 
Streaming Media v2011.12.23)
04-29 11:36:26.685: D/RTSPServer(5044): Transport: 
RTP/AVP;unicast;client_port=5004-5005
04-29 11:36:26.685: D/RTSPServer(5044): 
04-29 11:36:26.695: D/RTSPServer(5044): RTSP/1.0 200 OK
04-29 11:36:26.695: D/RTSPServer(5044): Cseq: 4
04-29 11:36:26.695: D/RTSPServer(5044): Content-Length: 0
04-29 11:36:26.695: D/RTSPServer(5044): Transport: 
RTP/AVP/UDP;unicast;client_port=5004-5005;server_port=54782-54783;ssrc=17a118bb;
mode=play
04-29 11:36:26.695: D/RTSPServer(5044): Session: 1185d20035702ca
04-29 11:36:26.695: D/RTSPServer(5044): Cache-Control: no-cache
04-29 11:36:26.695: D/RTSPServer(5044): 

I had to change to port 8087 on the droid for some reason. It always complains 
the port is already in use.

BTW, Is there a problem recompiling to use port 5006 for Wowza? That is, I see 
this line of code,


    public void h264TestResult(VideoQuality videoQuality, String[] params, SurfaceHolder holder) {
        streamingManager.addH264Track(MediaRecorder.VideoSource.CAMERA, 5006, params, videoQuality, holder);
        respondDescribe();

    }

Original issue reported on code.google.com by [email protected] on 2 May 2012 at 11:04

Problem of streaming to vlc

Hello, I am the new programmer of android and working on camera streaming 
project that is quite similar to your apps :)

However, unfortunately, I just can stream the first few frames to vlc and nth I 
can see in vlc(I used H264Packetizer but not H264Packetizer2 since I will get 
error in line 208 (len = fis.read(buffer, rtphl+4, naluLength);)

What is the expected output? What do you see instead?
I expect to see the smooth image just like using the supported devices but I 
just can see a first few frames only.

What version of the product are you using? On what operating system?
I am using the tablet made by myself and I know my tablet supports h264 
encoding. The parameter of getting h264 header is correct from the program too.

Hope that someone can have sparkling idea in order to solve this strange 
problem:)

Thank you very much.

Original issue reported on code.google.com by [email protected] on 5 Mar 2012 at 8:36

Installation

What steps will reproduce the problem?
1. Try to install (Droid X running 2.3) 

What is the expected output? What do you see instead?
Expected install, "There is a problem parsing the package."

What version of the product are you using? On what operating system?
1.0.1 and 1.1 on Android 2.3

Please provide any additional information below.

help!

Original issue reported on code.google.com by [email protected] on 27 Sep 2011 at 9:48

Sound is not working.

What steps will reproduce the problem?
1. It worked fine before
2. Some days latter sound starts not working
3. I'm currently using your 1.6 version

What is the expected output? What do you see instead?
Sound works

What version of the product are you using? On what operating system?
Android 2.2 with Galaxy tab

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 26 Apr 2012 at 4:30

New to sdp

Dear Developer,
  Hello I am a student from Hong Kong working on video chat. I am working hard on upstreaming to wowza. I see your post from stackoverflow and found this good project. Since i am so new to streaming, i dont understand how can i work with vlc and your apps. Should i Place sdp to webserver and then i click stream in apps and then i play it with VLC???But i dont work??
  So can you give any hints for me?Thank you very much and this project is very great and lovely:)
From Curtis 


Original issue reported on code.google.com by [email protected] on 15 Sep 2011 at 5:05

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.