Testing RVCamera - Video blurred
-
- Posts: 6
- Joined: Mon Jul 17, 2017 10:02 am
Testing RVCamera - Video blurred
Hi!
I'm testing TRVCamera component for delphi seattle, using RVMedia 501 - unregistered version yet.
I am able to stream a live video from a camera (product of dallmeier in germany) by using rtsp protocoll. This works fine. But if I move the camera, i get blurred sections in the bottom area of my picture. The same effect occurs on displaying the video stream and doing nothing. It seems like picture "runs away". Please see the attached screenshot.
Thanks, Heike
I'm testing TRVCamera component for delphi seattle, using RVMedia 501 - unregistered version yet.
I am able to stream a live video from a camera (product of dallmeier in germany) by using rtsp protocoll. This works fine. But if I move the camera, i get blurred sections in the bottom area of my picture. The same effect occurs on displaying the video stream and doing nothing. It seems like picture "runs away". Please see the attached screenshot.
Thanks, Heike
- Attachments
-
- kamera.jpg (114.43 KiB) Viewed 62293 times
-
- Site Admin
- Posts: 17554
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Testing RVCamera - Video blurred
As I understand, you use FFmpeg.
Please test this compiled demo:
It uses newer version of RVMedia (unreleased yet) allowing to configure FFmpeg parameters:
http://www.trichview.com/support/files/ ... ffmpeg.zip
Try changing protocol in this demo.
Please test this compiled demo:
It uses newer version of RVMedia (unreleased yet) allowing to configure FFmpeg parameters:
http://www.trichview.com/support/files/ ... ffmpeg.zip
Try changing protocol in this demo.
-
- Posts: 6
- Joined: Mon Jul 17, 2017 10:02 am
Re: Testing RVCamera - Video blurred
Yes, I use FFmpeg.
On testing with your program, I found out, that the problem only occurs, if I use h.264 encoding format for the camera stream, whatever protocol is selected. If I chance encoding format to MJPG, everything works fine. Ofcourse the quality is worse.
It's my first time handling with video stream in my programs, I didn't really unterstand the difference between FFmpeg an GStreamer. Maybe I have to use GStreamer to show h.264 quality?
Thanks a lot for your help!
On testing with your program, I found out, that the problem only occurs, if I use h.264 encoding format for the camera stream, whatever protocol is selected. If I chance encoding format to MJPG, everything works fine. Ofcourse the quality is worse.
It's my first time handling with video stream in my programs, I didn't really unterstand the difference between FFmpeg an GStreamer. Maybe I have to use GStreamer to show h.264 quality?
Thanks a lot for your help!
-
- Site Admin
- Posts: 17554
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Testing RVCamera - Video blurred
Did you try the demo in my previous reply? I am quite sure that the problem must gone away if you will use TCP instead of UDP.
As for GStreamer. Please note that, unlike FFmpeg, it has a huge size. And, unfortunately, gstreamer.com is no longer available (it contained Windows version of GStreamer supported by RVMedia).
You can download that version of GStreamer from our web site:
http://www.trichview.com/resources/thir ... 2013.6.msi (for 32-bit projects)
http://www.trichview.com/resources/thir ... 2013.6.msi (for 64-bit projects).
But I still recommend to play with FFmpeg parameters.
As for GStreamer. Please note that, unlike FFmpeg, it has a huge size. And, unfortunately, gstreamer.com is no longer available (it contained Windows version of GStreamer supported by RVMedia).
You can download that version of GStreamer from our web site:
http://www.trichview.com/resources/thir ... 2013.6.msi (for 32-bit projects)
http://www.trichview.com/resources/thir ... 2013.6.msi (for 64-bit projects).
But I still recommend to play with FFmpeg parameters.
-
- Posts: 6
- Joined: Mon Jul 17, 2017 10:02 am
Re: Testing RVCamera - Video blurred
Yes, tested with your program. Unfortunately same problem with TCP. Please see enclosed screenshots.
Thanks for your help.
Maybe I should change some parameter in the stream configuration on the camera? Would you take a look on them and give me your opinion?
As you reccomend, I will use FFmpeg.Thanks for your help.
-
- Site Admin
- Posts: 17554
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Testing RVCamera - Video blurred
Try reducing "Frames/Second" in the camera settings. 50 fps is too much for sending via Inet, try 14
-
- Posts: 6
- Joined: Mon Jul 17, 2017 10:02 am
Re: Testing RVCamera - Video blurred
Tested with 6.25 Frames/sec and changed resolution to 320 x 240 -> works fine
changed resolution to 640 x 480 (Frames/sec still 6.25) - in camera settings and in your program -> bad Picture
Further tests with resolution and frames/sec: only resolution 320x240 works, independently from the other parameters like frames/sec, bitrate, bitrate mode (camera settings) or protocol (your program)-
- Site Admin
- Posts: 17554
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Testing RVCamera - Video blurred
Please test with higher resolution and lower bitrate and smaller GOP size.
-
- Posts: 6
- Joined: Mon Jul 17, 2017 10:02 am
Re: Testing RVCamera - Video blurred
Tested with higher Resolution and lower Bitrate and smaller GOP size => picture is worse than before
-
- Site Admin
- Posts: 17554
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Testing RVCamera - Video blurred
Please test the same with TCP protocol
-
- Posts: 6
- Joined: Mon Jul 17, 2017 10:02 am
Re: Testing RVCamera - Video blurred
TCP doesn't change the result.
May you have any other ideas?
May you have any other ideas?
-
- Site Admin
- Posts: 17554
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Testing RVCamera - Video blurred
Try using the latest available version of FFmpeg DLLs, download it from http://ffmpeg.zeranoe.com/builds/
(choose 32-bit / shared)
There are two versions there, try both.
(choose 32-bit / shared)
There are two versions there, try both.
-
- Posts: 1
- Joined: Tue Oct 24, 2017 7:36 pm
Re: Testing RVCamera - Video blurred
Hello, im a developer system in Brazil . Using DELPHI Berlin 10.1 ...
Someone can help me, how can i use the methods RVCamera1.GetSnapShot to take a photo.
Im trying to do the typeCast but is not working.
Help me please, and sorry some words wrongs rs
thanks... i ll wait a help
Syntax
function GetSnapShot: TRVImageWrapper;
returns:
Unit MRVImg;
Syntax
TRVImageWrapper = class(TObject);
returs:
Unit MRVBitmap;
Syntax
TRVMBitmap = class(TPersistent);
hmtoggle_arrow1 Hierarchy
TObject
TPersistent
I want get the photo, but dont have idea...
SEE YOU...
Someone can help me, how can i use the methods RVCamera1.GetSnapShot to take a photo.
Im trying to do the typeCast but is not working.
Help me please, and sorry some words wrongs rs
thanks... i ll wait a help
Syntax
function GetSnapShot: TRVImageWrapper;
returns:
Unit MRVImg;
Syntax
TRVImageWrapper = class(TObject);
returs:
Unit MRVBitmap;
Syntax
TRVMBitmap = class(TPersistent);
hmtoggle_arrow1 Hierarchy
TObject
TPersistent
I want get the photo, but dont have idea...
SEE YOU...
Re: Testing RVCamera - Video blurred
Hi!
I have the same problem with rtsp and ffmpeg.
I am able to get streaming video from vlc (playing file and streaming it) by using rtsp protocoll. But if some scene changes quickly, I get blurred or corrupted sections in the bottom area of frames. ffmpeg libraries are up to date.
Video is in the following coedc: H264 - MPEG-4 AVC (part 10) (avc1)
Video resolution: 1280x720
Frame rate: 23.976023
I wanted to try GStreamer, but I failed to open rtsp://:8554/stream.sdp with gstreamer (I have a full installation and it works fine without any corruption via gst-play-1.0.exe rtsp://:8554/stream.sdp). But using RVMedia I can't play video stream via gstreamer version 1.0
Can you help me get rid of this problem using ffmpeg and explain how to open it via gstreamer?
Thanks a lot!
I have the same problem with rtsp and ffmpeg.
I am able to get streaming video from vlc (playing file and streaming it) by using rtsp protocoll. But if some scene changes quickly, I get blurred or corrupted sections in the bottom area of frames. ffmpeg libraries are up to date.
Video is in the following coedc: H264 - MPEG-4 AVC (part 10) (avc1)
Video resolution: 1280x720
Frame rate: 23.976023
I wanted to try GStreamer, but I failed to open rtsp://:8554/stream.sdp with gstreamer (I have a full installation and it works fine without any corruption via gst-play-1.0.exe rtsp://:8554/stream.sdp). But using RVMedia I can't play video stream via gstreamer version 1.0
Can you help me get rid of this problem using ffmpeg and explain how to open it via gstreamer?
Thanks a lot!
-
- Site Admin
- Posts: 17554
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Testing RVCamera - Video blurred
RVMedia supports GStreamer 0.1, not 1.0:
https://www.trichview.com/forums/viewto ... =17&t=9285
https://www.trichview.com/forums/viewto ... =17&t=9285