rtsp

Recording RTSP stream

我是研究僧i 提交于 2019-12-23 04:31:32
问题 I want to record video data coming from Camera(through RTSP H.264). Can anybody help me how to record rtsp stream using gstreamer?(Please provide gstreamer command line details). Recording will be in MPEG4 formate Regards Kiran 回答1: This will stream the video and output to your screen. gst-launch rtspsrc location=rtsp://some.server/url ! decodebin ! xvimagesink gst-launch uridecodebin uri=rtsp://some.server/url ! xvimagesink To record the stream to your drive using MPEG4: gst-launch rtspsrc

Recording RTSP stream

纵饮孤独 提交于 2019-12-23 04:31:05
问题 I want to record video data coming from Camera(through RTSP H.264). Can anybody help me how to record rtsp stream using gstreamer?(Please provide gstreamer command line details). Recording will be in MPEG4 formate Regards Kiran 回答1: This will stream the video and output to your screen. gst-launch rtspsrc location=rtsp://some.server/url ! decodebin ! xvimagesink gst-launch uridecodebin uri=rtsp://some.server/url ! xvimagesink To record the stream to your drive using MPEG4: gst-launch rtspsrc

stream live video from IP Cams in iPhone SDK?

荒凉一梦 提交于 2019-12-23 02:51:03
问题 I have to develop plug-in module which will allow us to stream live video from IP Cams if the IP of the cameras are available. The format and encoding for the same is: MPEG4 RTSP/RTP but I dont know from where to start. I have search in many site, unable to find any thing related. while browsing the Apples doc's, I found AVFoundation is used to stream live video from IP Cam's. UPDATE I found this from GITHUB but dont know How to implement it in my App. Please help me by sample code or related

Output of ffmpeg into HDFS directly

巧了我就是萌 提交于 2019-12-22 16:35:01
问题 I have a requirement in which I have to convert a RTSP stream into mp4 video or frames (as the case may be) & want to save them in HDFS (Hadoop Filesystem). For this I have tried using ffmpeg to convert the RTSP stream into mp4 video/frames & saving the video/frames in local filesystem. Like below - ffmpeg -i rtsp://10.0.37.150:8554/big_bunny.mkv -r 1 -f image2 frames/big_frame-%3d.bmp ffmpeg -i rtsp://10.0.37.150:8554/big_bunny.mkv big_bunny.mp4 And then saving the video/frames (stored in

How to set start time of video saved from RTSP stream with FFMPEG

偶尔善良 提交于 2019-12-22 08:19:37
问题 I use FFMPEG to record video from a RTSP stream. What my code does is get current day time, create a folder with this format year/month/day/hour/minute and save the video to that folder. When a new minute arrive, I create the new folder base on the new minute and run the record again to the new folder. Basically It works, but the next video start time is continue the end of previous video. For example: video1: 00:00 -> 00:55 video2: 00:56 -> ... I hope I can set for all videos start from 00

Too small ffmpeg rtsp decoding buffer

☆樱花仙子☆ 提交于 2019-12-22 07:59:10
问题 I'm decoding rtsp on Android with ffmpeg, and I quickly see pixelization when the image updates quickly or with a high resolution: After googling, I found that it might be correlated to the UDP buffer size. I have then recompiled the ffmpeg library with the following parameters inside ffmpeg/libavformat/udp.c #define UDP_TX_BUF_SIZE 327680 #define UDP_MAX_PKT_SIZE 655360 It seems to improve but it still starts to fail at some point. Any idea which buffer I should increase and how? 回答1: For my

RTSP Authentication : digest issue

泪湿孤枕 提交于 2019-12-21 20:29:38
问题 I need to authenticate my RTSP stream to a streaming server, here is the challenge : RTSP/1.0 401 Unauthorized WWW-Authenticate: Digest realm="Streaming Server", nonce="76bfe6986d3e766424de9bd6e7d3ccc1" Session: 1845562184;timeout=60 Cseq: 1 ... Wirecast manage to successfully authenticate with those settings : Host name : 192.168.33.9:1935/live/my_stream.sdp location : live/my_stream.sdp username : user password : test its response is : e1dff363b9763df0c7615429af79715c So according to

Using Gstreamer or ffmpeg to create rtsp client on Android

我怕爱的太早我们不能终老 提交于 2019-12-21 17:14:05
问题 I want to stream a rtsp stream on android and I finally have come to conclusion that I can't use android API's MediaPlayer,Videoview etc because latency is big issue for me. I need an latency of <500 ms. Now I am planning to use Gstreamer or ffmpeg to create an android rtsp client. I just have few doubts Will the Gstreamer or ffmpeg client be able to provide latency <500ms. I read there are some parameters which I can tweak to get very low latency. Just want to confirm. I have very good

Using Gstreamer or ffmpeg to create rtsp client on Android

别说谁变了你拦得住时间么 提交于 2019-12-21 17:09:22
问题 I want to stream a rtsp stream on android and I finally have come to conclusion that I can't use android API's MediaPlayer,Videoview etc because latency is big issue for me. I need an latency of <500 ms. Now I am planning to use Gstreamer or ffmpeg to create an android rtsp client. I just have few doubts Will the Gstreamer or ffmpeg client be able to provide latency <500ms. I read there are some parameters which I can tweak to get very low latency. Just want to confirm. I have very good

How to use MediaCodec to decode data from RTSP server?

社会主义新天地 提交于 2019-12-21 15:04:58
问题 I tried setDataSource() in MediaExtractor class but it doesn't work with RTSP path. I can use the same path with MediaPlayer class and it works but it is very important for me to use MediaCodec class instead. I think Android doesn't have any RTSP API I could use nor I can find any RTSP libraries for Android. Is there a relatively easy way of feeding video stream from RTSP server into MediaCodec class? 回答1: No easy way. I ended up using this project: https://code.google.com/p/android-rtsp