maikaochen / spydroid-ipcamera

Automatically exported from code.google.com/p/spydroid-ipcamera
GNU General Public License v3.0
0 stars 0 forks source link

The real-time video only appears on VCL for one sec. and then the picture on VCL freezes #87

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install the app from the source code via Eclipse
2. Run the app. Open the VLC, Ctrl-N, type: rtsp://192.168.3.159:8086, Click 
Play.
3. The screen on the VLC will have video stream for about one sec, then freeze. 
However, the audio keeps streaming.

What is the expected output? What do you see instead?
I expect the app streams the camera and microphone of my phone to VLC.

What version of the product are you using? On what operating system?
The spydroid-ipcamera is downloaded using "git clone 
https://code.google.com/p/spydroid-ipcamera/" on Mar. 7th, 2013. I do not find 
its version.
My mobile phone:  HTC EVO 4G Sprint, Android 2.3.5

Please provide any additional information below.

Original issue reported on code.google.com by CodingPo...@gmail.com on 8 Mar 2013 at 1:30

GoogleCodeExporter commented 8 years ago
If I use firefox to watch the streaming video, type http://192.168.3.159:8080, 
click "connect".
The app will show stream pictures on the preview window.
However, black on the firefox window.

Original comment by CodingPo...@gmail.com on 8 Mar 2013 at 1:33

GoogleCodeExporter commented 8 years ago
Hi !
What if you only stream video with audio disabled ?
Are you using cyanogen ?
Could you post the logs from logcat to see if an exception is thrown at some 
point, or if the MediaServer died.

Thanks !

Original comment by FyHertz on 8 Mar 2013 at 3:54

GoogleCodeExporter commented 8 years ago
From the device setting: Operating System
Shipped: Android™ 2.1 (Éclair); Current: Android 2.3 (Gingerbread); ROM 
version: 4.67.651.3

(1) Run the app. Open the VLC, 
Option: disable audio
Ctrl-N, type: rtsp://192.168.3.159:8086, Click Play.
Now the video works well!

(2) If able audio, the log is:
03-08 11:11:55.476: E/RtspServer(1272): OPTIONS rtsp://192.168.3.159:8086
03-08 11:11:55.526: E/RtspServer(1272): DESCRIBE rtsp://192.168.3.159:8086
03-08 11:11:55.546: E/RtspServer(1272): SETUP 192.168.3.159:8086/trackID=0
03-08 11:11:56.167: E/StagefrightRecorder(70): Failed to set frame rate to 10 
fps. The actual frame rate is 15
03-08 11:11:56.177: E/VENC_ENC(70): VENC_ERROR update_param_port_def::1657 
Frame rate is for input port (refer to OMX IL spec)
03-08 11:11:56.177: E/QualcommCameraHardware(70): num_buffers = 4
03-08 11:11:56.177: E/QualcommCameraHardware(70): num_buffers = 8
03-08 11:11:56.297: E/mm-camera 8x vfe(70): vfe_util_updaterollofftbl: sensor 
doesn't support rolloff correction by VFE
03-08 11:11:56.367: E/QualcommCameraHardware(70): frames in busy Q = 0
03-08 11:11:56.367: E/QualcommCameraHardware(70): frames in busy Q = 0 after 
deq and add to freeQ
03-08 11:11:56.377: E/VENC_ENC(70): ven_print_config::319 Config for video 
encoder 
03-08 11:11:56.377: E/VENC_ENC(70): ven_print_config::323 config standard=1, 
input_frame_height=240, input_frame_width=320 
03-08 11:11:56.377: E/VENC_ENC(70): ven_print_config::328 config 
output_frame_height=240, output_frame_width=320, rotation_angle=0 
03-08 11:11:56.377: E/VENC_ENC(70): ven_print_config::331 config 
intra_period=19 
03-08 11:11:56.377: E/VENC_ENC(70): ven_print_config::334 config rate_control=3 
03-08 11:11:56.377: E/VENC_ENC(70): ven_print_config::341 config mslice_mode=0, 
slice_size=0 
03-08 11:11:56.377: E/VENC_ENC(70): ven_print_config::348 config 
frame_numerator=10, fps_denominator=1, bitrate=200000 
03-08 11:11:56.377: E/VENC_ENC(70): ven_print_config::353 config iframe_qp=6, 
pframe_qp=6, min_qp=2 
03-08 11:11:56.377: E/VENC_ENC(70): ven_print_config::357 config max_qp=31
03-08 11:11:56.377: E/VENC_ENC(70): ven_print_config::382 config h263 
profile=0, level=1 
03-08 11:11:56.417: E/RtspServer(1272): SETUP 192.168.3.159:8086/trackID=1
03-08 11:11:56.608: E/RtspServer(1272): PLAY 192.168.3.159:8086/

Thanks!

Original comment by CodingPo...@gmail.com on 8 Mar 2013 at 5:16