Thursday, April 24, 2014

Android video surveillance solution


Ask you: If you want to achieve real-time preview of the video data in the phone what the program does, the environment is LAN WiFi. Currently there are so few know:
1.Android camera captured images directly Socket sent to play on another Android device. This sounds how to do? What are the advantages and disadvantages?
2.Android camera can capture data is encoded and then transmitted to another player to decode it? This somewhat complicated it
3 buy a webcam, the received data decoding and playback, I want to know Android FFMPEG can do?
What beg you for pointing simple program can achieve real-time preview video of Android. Not too complicated
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Their top! ! ! !
Reply:
I am now doing network cameras. Software has been written.
Reply:
reference to the second floor xinlianzhou reply:
I am now doing network cameras. Software has been written.

Can explain the lower ideas? Brothers
Reply:
We are using a proprietary protocol ah.
1 audio and video to be sent ah.
2. Certainly more complex. Is a major project.
3 transmit audio and video coding --- --- receiver decoder to play. Process so ah!

        


Reply:
Can be used ffmpeg codec.
Reply:
We now have done some related stuff, so I published under humble opinion.
1.Android camera captured images directly Socket sent to play on another Android device. This sounds how to do? What are the advantages and disadvantages?
A: If the upper Camera callback grab images that can be recorded with the upper API.
Pros: good writing program. Cons: not compressed, the point of bandwidth a little big, but it should be feasible in the LAN under the
.
2.Android camera can capture data is encoded and then transmitted to another player to decode it? This somewhat complicated it
A: This can be, if you want to be lazy, you can directly use MediaRecorder, grab its data just fine. If you want to approach common point, grab image data -> Encoding -> Transfer -> decode -> Display. If you want to optimize, please study hard series hardware solution, the more difficulty, we want to study but do not come out.

3 buy a webcam, the received data decoding and playback, I want to know Android FFMPEG can do?
A: FFMPEG is a very popular third-party libraries, Android can be used, it is soft decoding, so the comparison of total CPU.
Reply:
reference to the 6th floor ueryueryuery reply:
we have done some related stuff, so I published under humble opinion.
1.Android camera captured images directly Socket sent to play on another Android device. This sounds how to do? What are the advantages and disadvantages?
A: If the upper Camera callback grab images that can be recorded with the upper API.
Pros: good writing program. Cons: not compressed, the point of bandwidth a little big, but it should be feasible in the LAN under the
.
2.Android camera can capture data is encoded and then transmitted to another player to decode it? This somewhat complicated it
A: This can be, if you want to be lazy, you can directly use MediaRecorder, grab its data just fine. If you want to approach common point, grab image data -> Encoding -> Transfer -> decode -> Display. If you want to optimize, please study hard series hardware solution, the more difficulty, we want to study but do not come out.

3 buy a webcam, the received data decoding and playback, I want to know Android FFMPEG can do?
A: FFMPEG is a very popular third-party libraries, Android can be used, it is soft decoding, so the comparison of total CPU.

1 This will be audio and video synchronization issues now? And the picture will be more cards it
2.MediaRecorder can be audio and video encoding it? After transmission via live555, and then decoded by FFMPEG play you? Audio and video synchronization in trouble?
3 This should be the easiest it
Reply:
1 This will be audio and video synchronization issues now? And the picture will be more cards it
A: looks synchronization problem will be relatively large, the picture may be card software solution, 480P video below should still be smooth.


2.MediaRecorder can be audio and video encoding it? After transmission via live555, and then decoded by FFMPEG play you? Audio and video synchronization in trouble?
A: Yes you can, there is a troublesome place, the encoded video MediaRecorder will then packaged into MP4/3GP etc., so once unpacked first, multi-step. As synchronous, MediaRecorder recorded it certainly is synchronous network Chengsha Yang after I do not know.

3 This should be the easiest it
A; looks, but the effect is the same, and one bad, because also the soft solution.


Reply:
reference to the 8th floor ueryueryuery reply:.
1 this will be audio and video synchronization issues now? And the picture will be more cards it
A: looks synchronization problem will be relatively large, the picture may be card software solution, 480P video below should still be smooth.


2.MediaRecorder can be audio and video encoding it? After transmission via live555, and then decoded by FFMPEG play you? Audio and video synchronization in trouble?
A: Yes you can, there is a troublesome place, the encoded video MediaRecorder will then packaged into MP4/3GP etc., so once unpacked first, multi-step. As synchronous, MediaRecorder recorded it certainly is synchronous network Chengsha Yang after I do not know.

3 This should be the easiest it
A; looks, but the effect is the same, and one bad, because also the soft solution.

Summary down is not:
1 If no audio is only a picture, the picture may be card points, the bandwidth will be a big point, almost video quality in the LAN should be barely able to achieve, is not it?
2 That the recorded video and more steps will affect the efficiency, but will be sent in a standard format, as long as the receiver decode and play on the line, is not it?
3 Webcam generally provide SDK, acquisition coded transmission do not have control of, is the largest recipient calls SDK to decode the received data stream to play, is not it?
Reply:
If I want a simple phone live preview video, using what is better?
Reply:
Recommended landlord to put forward a project to understand the source of the video process, IMSDroid
Reply:
reference to the 10th floor rophie reply:
if I want a simple phone live preview video, using what is better?


In fact, this stuff could not say a few words, I was halfway decent was a dabbler, there is an open source project, called SpyDroid, you can refer to it to achieve real-time monitoring with PC phone.
Reply:
Take a look at the camera or not to support rtsp
If supported will be easier
android is connected to the camera address can play a
Reply:
Direct transmission of the image, then a great amount of data. Or the need for coding to the Internet transmission. Use ffmpeg can do it.
Reply:
The landlord, how do you like this project, and I am also, if ffmpeg soft decoding words to the performance requirements are too high, there will be delay effect how your

No comments:

Post a Comment