Saving to file

RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
Post Reply
JimHawkins
Posts: 16
Joined: Thu Sep 02, 2010 9:21 am
Location: England
Contact:

Saving to file

Post by JimHawkins »

Is it possible to save a camera video + audio to a file? This is vital for my system and would enhance RVMedia enormously.
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

1) In the current version, TRVCamera cannot receive any sound from cameras, it receives only video data. Sound can be received by TRVCamReceiver from TRVCamSender, but the source of sound can be only TRVCamMicrophone (that can read sound from a microphone or a WAV file). Sound from cameras and video files cannot be sent or received.

2) The only saving format supported is MJPEG, a very simple format containing all frames as JPEG images. It does not even have information about speed of displaying, so any synchronization with audio is not possible. Because of this, we did not implement saving sound to WAV file, because such sound is useless without video.

3) We have plans to record video files containing audio data using GStreamer and FFMpeg. However, these plans have low priority, there are many things that should be implemented before.
JimHawkins
Posts: 16
Joined: Thu Sep 02, 2010 9:21 am
Location: England
Contact:

Post by JimHawkins »

Thanks, Sergey

I'll have to use different components for recording and yours for streaming. That's very sad.

Jim
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

If you are interested in recording sound received by TRVCamReceiver, we can add an event on receiving sound containing raw sound data.
JimHawkins
Posts: 16
Joined: Thu Sep 02, 2010 9:21 am
Location: England
Contact:

Post by JimHawkins »

If we can save the audio and an MHPEG stream it's easy to build an AVI using FFMPEG. So how do we save the video?
Avrelio
Posts: 16
Joined: Thu Apr 10, 2014 9:27 pm

Post by Avrelio »

try use opencv for delphi it have exempls on use ffmpeg
Post Reply