Rtsp

RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
Sergey Tkachenko
Site Admin
Posts: 17520
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Almost ready (we reduced CPU usage from 80% to 0.3% in our test project :)) - we just need to prepare the files to release...
Avrelio
Posts: 16
Joined: Thu Apr 10, 2014 9:27 pm

Post by Avrelio »

Finally thx i will help you to test it)
Avrelio
Posts: 16
Joined: Thu Apr 10, 2014 9:27 pm

Post by Avrelio »

how much time left?)
Sergey Tkachenko
Site Admin
Posts: 17520
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

The trial just updated:
http://www.trichview.com/rvfiles/rvmedia/rvmedia.zip

TRVCamera.DeviceType has new options, including H.264 via RTSP and MPEG-4 via HTTP.

These options require GStreamer from http://www.gstreamer.com , with codecs that use patented technologies (because H.264 and MPEG-4 contain patented algorithms). They may require licensing in countries that acknowledge software algorithm patents.
RVMedia itself does not contain decoders, it only may use decoders from GStreamer.

Currently, RVMedia supports only 32-bit applications, so install 32-bit runtime.
Note that you must add GStreamer's "bin" subdirectory to PATH environment variable manually.

GStreamer for Windows runtime is large. It is possible to distribute only part of files needed for H.264 and/or MPEG-4, however, you need to find which files are needed manually, see http://docs.gstreamer.com/display/GstSD ... deployment
Avrelio
Posts: 16
Joined: Thu Apr 10, 2014 9:27 pm

Post by Avrelio »

i try this
RVCamera.DeviceType:= rvdtRTSP;
RVCamera.CameraPort:= 554;
RVCamera.CameraHost:= '10.0.0.221';
RVCamera.UserName:= admin;
RVCamera.UserPassword:= admin;
RVCamera.PlayVideoStream;
and
RVCamera.DeviceType:= rvdtRTSP;
RVCamera.CameraUrl:= rtsp://10.0.0.221:554/;
RVCamera.UserName:= admin;
RVCamera.UserPassword:= admin;
RVCamera.PlayVideoStream;
and
RVCamera.DeviceType:= rvdtRTSP;
RVCamera.CameraUrl:= rtsp://admin:admin@10.0.0.221:554/;
RVCamera.PlayVideoStream;
What is wrong?
Avrelio
Posts: 16
Joined: Thu Apr 10, 2014 9:27 pm

Post by Avrelio »

Note:
Tools>Options>environment variable>add>
Gstream
Path E:\gstreamer-sdk\0.10\x86\bin

is done but not work maybe i do somting wrong?
Avrelio
Posts: 16
Joined: Thu Apr 10, 2014 9:27 pm

Post by Avrelio »

IF RVCam.IsSupportedGStreamer THEN
BEGIN
SHOWMESSAGE('YES');
END;
IS false .....
Sergey Tkachenko
Site Admin
Posts: 17520
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

What if you copy exe-file of your project to this "bin" folder?
Avrelio
Posts: 16
Joined: Thu Apr 10, 2014 9:27 pm

Post by Avrelio »

i try in demo project 6 cams and is not working
i try add only exe file and gstreamer is not avaliable if i add all files from bin folder to project directory gstream is avaliable but not work
Sergey Tkachenko
Site Admin
Posts: 17520
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Code: Select all

 try add only exe file and gstreamer is not avaliable 
Probably the directory of GStreamer was not added correctly to PATH

Code: Select all

add all files from bin folder to project directory gstream is avaliable but not work
Probably necessary codecs were not installed. They are not included by default, they can be installed only when Full or Custom installer options are chosen.

I asked Ilya (the main RVMedia developer) to contact you by email.
Avrelio
Posts: 16
Joined: Thu Apr 10, 2014 9:27 pm

Post by Avrelio »

i install full instalation
if you can say me please name of codecs and related dlls
Sergey Tkachenko
Site Admin
Posts: 17520
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You should receive email from Ilya, if not please post here.
Vyacheslav
Posts: 3
Joined: Thu Mar 19, 2015 4:57 pm
Location: Russia

RSTP

Post by Vyacheslav »

Hello, Sergey! I am very interested in the possibility of a video stream through RSTP. But unfortunately I did not get a picture in your example "Switch8Cams".
GStreamer is available. I tried to use several options for settings, but they do not work correctly with my cam and with demo url. I see only "No video" text.
In VLC Player I can get picture from my camera via URL like this: "rtsp://192.168.1.246/live0.264"

Something's wrong with my hands? Or maybe demo url isn't available now?
Sergey Tkachenko
Site Admin
Posts: 17520
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

To support H264, you need to install GStreamer from www.gstreamer.com , and you must do full install (or, in custom install, choose the options with "possible patent issues").
The current version of RVMedia can only detect GStreamer presence, it cannot tell if the files necessary for H264 are installed.
For 32-bit applications, you need 32 bit version of GStreamer, even if you use 64-bit Windows.

However, it is possible that you installed GStreamer correctly, but a video stream source was offline when you trying it.
Try GStreamer demo with another URL, for example rtsp://128.2.10.151:80/004/MLtalk2_10-17.mov
(do not forget to choose H264 in the video format combobox)

PS: I cannot access rtsp://192.168.1.246/live0.264 even in VLC
PPS: we are making a final testing of the next update that supports ffmpeg in addition to GStreamer. Ffmpeg is the library used by VLC.
Vyacheslav
Posts: 3
Joined: Thu Mar 19, 2015 4:57 pm
Location: Russia

Post by Vyacheslav »

Thank you very much!
I just didn't install full version of GStreamer. Now I can view capture from my camera througth rstp :)

PS: rtsp://192.168.1.246/live0.264 is URL in my local network with my own camera.
PSS: ffmpeg in additional to GStreamer is a good news, but GStreamel works great in my mind! :)
Post Reply