rtsp

Decoding unix time stamp from extended RTP packet header to calculate latency

你离开我真会死。 提交于 2020-01-05 08:07:16
问题 I am working on a project where I am trying to calculate the latency of the packets received between two android devices using RTP. So I went on to extend the RTP header with a unix time stamp in it's 12th-19th bytes. I've received the packets now and tried to extract the unix time from them. However, I am doing something wrong in the decoding process as you can see in the screenshot. On the left, is the time I decoded from the packet, and on the right is the time of arrival. Please ignore

Decoding unix time stamp from extended RTP packet header to calculate latency

回眸只為那壹抹淺笑 提交于 2020-01-05 08:07:05
问题 I am working on a project where I am trying to calculate the latency of the packets received between two android devices using RTP. So I went on to extend the RTP header with a unix time stamp in it's 12th-19th bytes. I've received the packets now and tried to extract the unix time from them. However, I am doing something wrong in the decoding process as you can see in the screenshot. On the left, is the time I decoded from the packet, and on the right is the time of arrival. Please ignore

Cannot play RTSP video in VideoView in Samsung Galaxy S2

╄→尐↘猪︶ㄣ 提交于 2020-01-03 12:05:46
问题 I'm trying to play a live RTSP video (from rtsp://media2.tripsmarter.com/LiveTV/BTV/ ) using VideoView , and here's my code: public class ViewTheVideo extends Activity { VideoView vv; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); vv = (VideoView) this.findViewById(R.id.VideoView); Uri videoUri = Uri.parse("rtsp://media2.tripsmarter.com/LiveTV/BTV/"); vv.setMediaController(new MediaController(this)); vv

RTSP & mms protocol implementation in PHP

六眼飞鱼酱① 提交于 2020-01-03 04:50:14
问题 Hi Is there any implementation of RTSP and/or MMS protocols in PHP to download streams from RTSP & MMS servers (RTSP/MMS client in PHP)? 回答1: You can use php curl to fetch the feed and then display/save it. 回答2: What you are trying to do is fundamentally not going to work. MMS is a real time multimedia streaming protocol - the client and the server have a conversation back and forth synchronizing the transfer of data (so the video and the audio are synchronized) and negotiating the bit rates

Cant get RTSP stream - nonmatching

青春壹個敷衍的年華 提交于 2020-01-03 03:54:13
问题 I'm using Raspberry Pi3 and I`m trying to get a RTSP stream through my wireless IP camera, but I'm getting this error: pi@raspberrypi:~ $ alprd -f INFO - Running OpenALPR daemon in the foreground. INFO - Using: /etc/openalpr/alprd.conf for daemon configuration Missing config value for company_id Missing config value for pattern INFO - Using: /home/pi/Database/pictures for storing valid plate images INFO - country: br -- config file: /etc/openalpr/openalpr.conf INFO - pattern: INFO - Stream 1:

MPEG4 extract from RTP payload

穿精又带淫゛_ 提交于 2020-01-02 09:19:37
问题 I'm trying to extract mpeg4 from an rtp payload , format of the rtsp media (video) is MP4V-ES but I'm not able to extract the mp4 from the payload . when I dump the extract into a raw file and use ffmpeg to convert it into .avi or .mpg its not working. I don't know what I'm missing here. the code is written in java. I want to extract each video frame from the rtp and save that in a file or retransmit it. Thanks Question UPDATED..... Thanks for the inputs, actually I'm able to extract bytes

Convert RTSP stream to virtual web camera

谁说胖子不能爱 提交于 2020-01-02 04:49:09
问题 I am trying to use a RTSP stream from an IP camera as video input source for various applications on Windows (eg. skype). The only solution I have found so far is using " webcam 7 ", an application that fetches RTSP stream and creates a virtual driver that registers in system as webcam and that any application can then use. Unfortunately, this application often becomes unstable and might crash randomly. Are there any alternative/better ways for achieving this? 回答1: Create your own DirectShow

Is there such a RTSP Ping?

我的梦境 提交于 2020-01-01 18:18:15
问题 I am currently working on a WinForm app to stream videos from IP camera using the RTSP protocol in C#. Everything worked fine. Part of the requirement for the app includes a function to check whether the IP camera is online or not. So I did a ping function using the System.Net.NetworkInformation.Ping class to ping the IP camera. Say if the RTSP url of the camera is as follows rtsp:// [CAMERA IP] :554/Master0-RTSP/1.0, I would only need to extract the [CAMERA IP] part and use the Ping class to

How to keep RTSP session alive?

ⅰ亾dé卋堺 提交于 2020-01-01 18:02:54
问题 I tried streaming on Google nexus S (2.3.7), HTC Desire (2.3.3), and Samsung Galaxy (3.2). And only Google Nexus has RTSP session timeout issue. I read up on some threads about this problem. It seems like I'll have to send RTCP request every second to keep the session alive, or I'll just send RTSP "OPTION" request which will basically do nothing but keep alive for my app. Could anyone give me a head start on how to generate that request? I have no experience dealing with RTCP before. 回答1:

Using VLC to host a stream of an infinite video loop

时光毁灭记忆、已成空白 提交于 2020-01-01 04:53:27
问题 I want to offer a video stream from my pc with a VLC player trough a WIFI network to smartphones for regression testing. The video should automatically restart at the beginning after being finished on the smartphone. I'm currently using rtsp as protocol and the loop option, but this is no mandatory. The problem is, that every time the video restarts a new rtsp handshake is necessary. Since most of the smartphone apps I tested don't support reconnecting the stream automatically after being