Page 1 of 1

Saving to file

Posted: Sun Aug 30, 2015 8:41 am
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.

Posted: Mon Aug 31, 2015 10:13 am
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.

Posted: Mon Aug 31, 2015 10:52 am
by JimHawkins
Thanks, Sergey

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

Jim

Posted: Mon Aug 31, 2015 11:13 am
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.

Posted: Sun Sep 06, 2015 7:13 am
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?

Posted: Wed Oct 07, 2015 10:39 pm
by Avrelio
try use opencv for delphi it have exempls on use ffmpeg