rtsp

IP Camera - Streaming video with the basic authentication on Chrome

◇◆丶佛笑我妖孽 提交于 2019-12-06 12:43:28
问题 I have an Amcrest IP Camera. I would like to stream video to my web page. Its url is rtsp://mycamera.com:5554/stream In order to get the stream of the camera, the camera has a following API http://mycamera.com/video.mjpg It requires the basic authentication to work. By formatting the URL and putting it into the image tag like below, I can make it work on Firefox, Safari <img src="http://username:password@mycamera.com/video.mjpg" /> However, Chrome (v.40 on mine) does not allow this kind of

RTP/RTSP library usable in Java

核能气质少年 提交于 2019-12-06 11:16:49
I'm looking to write a voip application, I know JMF has RTP code but it's old and 32bit only. Is there a robust library that does RTP/RTSP that can be used with java? Thanks no way JMF - its 10 years out of date list java RTP RTSP packages: RTSPClientLib.tar.gz on code.google http://github.com/brunodecarvalho/efflux i used the efflux on a java project and it was worth the time learning his packages. The combined netty/efflux is very robust on the variety of RFC's involved in networking underlying RTSP/RTP. i think i have an eclipse project archived somewhere using efflux for alot of RTSP

Gstreamer rtsp playing (with sound)

穿精又带淫゛_ 提交于 2019-12-06 10:42:43
im newbie in gstreamer and simple try to wath rtsp video flow from Dlink 2103 camera. When i trying it (just video): gst-launch rtspsrc location=rtsp://192.168.0.20/live1.sdp ! \ rtph264depay ! \ h264parse ! capsfilter caps="video/x-h264,width=1280,height=800,framerate=(fraction)25/1" ! ffdec_h264 ! ffmpegcolorspace ! autovideosink Its ok. When i trying it (just audio): gst-launch rtspsrc location=rtsp://192.168.0.20/live1.sdp ! \ rtpg726depay ! ffdec_g726 ! audioconvert ! audioresample ! autoaudiosink Its also ok. Next i try play both audio and video. gst-launch man page was used for generate

RTSP server java implementation problems :(

旧街凉风 提交于 2019-12-06 10:39:36
I'm writing RTSP server and have some problems. I'm using VLC as client. Server receive OPTIONS, DESCRIBE, SETUP and PLAY commands from client (VLC player) and answers to that commands. By SETUP command client send ports numbers and I'm using that ports to send data. When my server receive PLAY command it's sending the answer and starting to stream data. I'm creating two DatagramSocket instances with the client ports. I'm trying to stream mp4 files. I'm using mp4parse java library to get audio and video tracks data to stream. So, when I click play on VLC it's connecting and starting waiting

Can't receive RTSP live stream from an IP cam

末鹿安然 提交于 2019-12-06 10:00:01
问题 I want to receive live streaming from an IP camera using RTSP, I'm getting 'Can't play this video' , and the following Exception: 07-16 14:06:26.945: D/MediaPlayer(19411): setDataSource IOException happend : 07-16 14:06:26.945: D/MediaPlayer(19411): java.io.FileNotFoundException: No content provider: rtsp://192.168.30.108:554 07-16 14:06:26.945: D/MediaPlayer(19411): at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1052) 07-16 14:06:26.945: D/MediaPlayer

How to send webcam video + audio to rtsp/rtmp server

不问归期 提交于 2019-12-06 09:53:43
I'm looking for a method to send video and audio to the rtsp/rtmp server. It should be compatible with notebook webcams and USB webcams. I would like to do it in C#. I found some library called rtmpclient, but it looks it can't send a message to the server. I found also a framework to support webcams that gives a posibility to do an action for every captured frame. But I can't find any similar solution to send a voice with the image. How can I send the video and audio to the server? Check out https://net7mma.codeplex.com/ ( I am the Author ) It supports Rtsp and Rtp and not Rtmp however it

Live555 OpenRTSP Client : How to delete current rtsp client properly and start new One

风格不统一 提交于 2019-12-06 07:28:08
Well, When my OpenRtsp Client lost connection with server, I dispose the old client and other parameters then re-create new client. The Client send Options,Describe request successfully but failed after that... I can not able create Session and Subsesions so I got Access Violations errors.. How to reset old OpenRtspClient properly so that get new "brand" RTSPClient? My Current Way to Reset Old Client: I just modify the "shutdown" method in playCommon class. I did not send Teardown... ... void ResetOurClient(){ if (env != NULL) { env->taskScheduler().unscheduleDelayedTask(sessionTimerTask); env

Stream low latency RTSP video to android with ffmpeg

三世轮回 提交于 2019-12-06 06:09:18
I am trying to stream live webcam video from Ubuntu 12.04 PC to android device with KitKat. So far I've written ffserver config file to receive ffm feed and broadcast it through a rtsp protocol. I am able to watch the stream on the other computer in the same LAN with ffplay. How to watch the stream on the android device? The following code works well when the webcam image is streamed with vlc but it doesn't with ffmpeg: public class MainActivity extends Activity implements MediaPlayer.OnPreparedListener, SurfaceHolder.Callback { final static String RTSP_URL = "rtsp://192.168.1.54:4424/test.sdp

How to stream video in android device via .sdp file from android device

不羁的心 提交于 2019-12-06 05:36:51
问题 I had anapplication to stream video(without audio) from android device(Blaze board) to PC. For that, I'm using vlc player to view streamed video by using the following command in command line vlc stream.sdp This .sdp file would be generated from my application. By using the above command, I can stream from blaze board to PC with the delay of 1 sec. Now, My problem is that, I have to stream from one blaze board to another blaze board. I have searched a lot. But, Nothing is worked. I have an

Cross-browser embed VLC plugin

六眼飞鱼酱① 提交于 2019-12-06 04:51:01
I have embedded vlc plugin for Google Chrome this way: <embed type='application/x-vlc-plugin' pluginspage='http://www.videolan.org' version='VideoLAN.VLCPlugin.2' width='800' height='600' id='vlc' loop='yes' autoplay='yes' target='rtsp://127.0.0.1:8554/realtime_1db07ff1-c5f9-4597-abf6-0d442454d06c'> </embed> But this approach doesn't work with Internet Explorer. Are any universal methods available to embed this player in all browsers? I posted examples for both IE and Mozilla on the VideoLan forum a while ago here . I wrote myself a switch that distinguishes between IE and "the rest" and