Questions tagged [openrtsp]

command-line RTSP client part of live555 library

openRTSP is a command-line program that can be used to open, stream, receive, and (optionally) record media streams that are specified by a RTSP URL - i.e., an URL that begins with rtsp://

openRTSP is one of the test programs of LIVE555 Streaming Media libraries. Live555 is free and open source. It's a set of C++ libraries for multimedia streaming. MPlayer is also part of that suite. VLC uses it for its RTSP client implementation.

15 questions
4
votes
1 answer

Record multiple RTSP streams into a single file

I need to record 4 RTSP streams into a single file. Streams must be placed into the video in this way: ---------- ---------- | | | | STREAM 1 | STREAM 2 | | | | |----------|----------| | | | |…
John
  • 375
  • 1
  • 17
3
votes
0 answers

How to implement circular buffer where data to be written to the buffers is an RTSP stream from camera?

I have a camera which is streaming data in h.264 format. I want to implement circular buffer. The content of each buffer will be RTSP stream from camera. Question is - How to save camera streaming data to the circular buffer? later upon certain…
1
vote
0 answers

openRTSP file per frame timing information

I have IP 3 cameras that I am recording h264 video feed using RTSP/RTP. I am using openRTSP, on Ubuntu 20.04, to record the video feed using the -m option which allows me to get a h264 file/frame. The filename includes a UNIX time stamp so that…
Paul King
  • 11
  • 1
1
vote
1 answer

FFMPEG: 'Nonmatching transport in server reply' But openRTSP works

I bought a cheap chinese ip camera (GWIPC-26xxx/Yoosee). I want to record its stream with ffmpeg. On FFMPEG I manage to make it work only using the RTSP/UDP transport protocol, like bellow. It also plays flawlessly on VLC. ffmpeg -rtsp_transport udp…
imbr
  • 6,226
  • 4
  • 53
  • 65
1
vote
2 answers

How to check if rtsp url is up/down using python script

I have a camera running on rtsp link. I want to write python code to check if the camera is live or dead. Similar to using curl to check http if url is working or not. What is a similar command can one use to check rtsp url status? I have tried…
Lawrence
  • 35
  • 1
  • 9
1
vote
1 answer

RTSP stream to ffmpeg problems

I'm writing a web application for managing and viewing streams from ONVIF ip-cameras. It's written in nodejs. The idea is to run a child process in node and pipe output to node, then send the buffer to client and render it on canvas. I have a…
maeek
  • 68
  • 1
  • 8
1
vote
1 answer

Pipe video and audio to ffmpeg from OpenRTSP

I am trying to record rtsp stream in HLS format using openRTSP and ffmpeg. openRTSP receives rtsp and pipe to ffmpeg to record, Here is the command I used and which works fine openRTSP -D 10 -v -t -c -b 800000…
Haris
  • 13,645
  • 12
  • 90
  • 121
0
votes
0 answers

RTSP using ffmpeg

I wanted to stream a video file from one computer to another using FFmPEG. What I tried is: RTSP server from here: https://github.com/revmischa/rtsp-server transmitted a video file a1.mp4 using ffmpeg with the following command: ffmpeg -re -i…
pretty
  • 1
  • 3
0
votes
0 answers

Error while saving RTSP to .mp4 from a Hikvision using cvlc, openRTSP or ffmpeg

I'm trying to save an RTSP streaming from a hikvion camera to a .mp4 file in a USB pen drive in a raspberry pi 3. I'm using raspbian, I read a lot from the internet, and I'm using different programs to try to save the video. I used cvlc, openRTSP…
Rui Martins
  • 3,337
  • 5
  • 35
  • 40
0
votes
1 answer

How can I optimize MP4 file encoding in openRTSP to the same level as FFmpeg?

I currently receive and store a RTSP stream from a camera with openRTSP with a command like this: openRTSP -4 "rtsp://192.168.41.185/rtsp_tunnel?h26x=4&line=1&inst=2" > movie.mp4 I can do the same using FFmpeg: ffmpeg -i…
0
votes
1 answer

Record Video using openRTSP and ffmpeg

I am trying to record the rtsp stream using openRTSP and ffmpeg using below command, and which works fine. But there are some issue in the duration of the video. I am always getting output video file with duration less than the actual record…
Haris
  • 13,645
  • 12
  • 90
  • 121
0
votes
0 answers

Weird output files with openrtsp

I have stumbled across openrtsp and it's exactly what I need for capturing footage from my security cameras. I seem to be having a weird problem when I output the video to files. This is the command I'm using: openRTSP -D 2 -B 10000000 -b 10000000…
Joe
  • 1
  • 1
0
votes
1 answer

Why RTSP over TCP does not work well when RTT is large

I'm using live555 to stream H264 video from On-demand RTSP server using RTSP over TCP as follows: ./openRTSP -F tcp-test -Q -d 60 -b 500000 -4 -P 62 -w 3840 -h 2160 -f 30 rtsp://ip-address:8554/h264ESVideoTest It works well when RTT is less than…
earslan
  • 1
  • 3
0
votes
0 answers

Android Mediaplayer gives error while it is trying to play mp4 file which is recorded by LIVE555 QuickPlayerFilesink

I am facing below error on Android Kitkat when I am trying to play recorded video which is recorded by LIVE555. Following is my source code to play video on App: player = new MediaPlayer(); player.setDataSource(filePath); <------…
-1
votes
1 answer

Can't get an Opencv, cv2.VideoCapture rtsp steam to work from IP camera

I am trying to read a rtsp stream from my Ip camera using Opencv and running Linux. The camera is a Floureon IPC 360 from China. I am trying to develop some facial recognition code. I am using the following code: import numpy as np import…