I need to develope an application which can make a continuous recording of some video or audio streams.
Other than record, the application should:
let the user see the recordings selecting a stream and a date/time
cut some part of recordings regarding to some schedules
let the user cut a piece of recording selecting using the web interface
My doubt is how to record and save the piece of videos. I don't want to wait the file to be closed to let the user play it, so I would use a progressive file type.
The application must work on Linux.
Could you help me, please?
Thank you very much!
Related
I am trying to automate my video editing process and I have to synchronize a video with an audio recording. Manually, this is very easy to do because I can just highlight the two clips in the sequence and synchronize them.
Does anyone have any tips on how I can get extendscript to do this?
I asked ChatGPT for help but I don't think it knows either lol
I am trying to encode 2 videos side by side, sync'd by the audio of the 2 clips. I can successfully encode the 2 videos side by side and select the audio from one of the input streams. However the system we are using to record the 2 videos does not start and stop the recording at the same time (could be up to a second different between cameras). Basically we are using a CCTV system to capture what's going on in a room from multiple angles. We export the 2 cameras between 2 timestamps and due to the way the system records the videos the start of the 2 clips are not the same point in time.
e.g. Export videos between 09:00:00:000 and 09:10:00:000
Video 1 - exports from 08:59:59:123 to 09:10:00:123
Video 2 - exports from 08:59:59:789 to 09:10:00:789
Therefore when video 1 and video 2 are stitched together side by side, they are out of sync by 666ms (which is very noticeable in the encoded video)
Both input streams have (near) identical audio and are both in the exact same format. We are currently placing these videos into Premiere Pro and syncing these videos by the audio and exporting them side by side, however we have a project where we need to do a lot of these in quick succession and this is not really an option. We need to look at scripting this.
Does anyone know if FFMPEG can do this? Or anything else?
Any info would be greatly appreciated.
You can use audio-offset-finder in bash file to calculate offset, cut of the head from one of the video, stitch them together ( like stated here ).
You would need to extract audio streams into separate files and use finder to calculate offset.
offset=`audio-offset-finder --find-offset-of file1.wav --within file2.wav`
I am new to python. I have coded the endless loop which gives me a string every 2 seconds. Now, I have to use the strings coming every 2 seconds to trigger a video player software (Content management where videos can be played with a playlist). This more like an integration of the video media player and python.
For example, There are 10 videos saved in the media player and every video should be played once the player received the triggered from python.
Is it possible to trigger the media software to play video using the python output key? If yes then please advise me the procedure.
Note: the media player have many interfaces.
Is there something I shall check in media player?
I am looking forward to seeing the positive response on my query. Thanks in advance
Best Regards,
I am working on a film analysis program, which retrieves data in realtime from a movie, that is playing in the same sketch. For analysing the sound I tried the minim library, but I can't figure out, how to get the audio signal from the movie. All I could do was accessing an audio file, I was loading into the sketch manually, or the line-in through the mic.
Thanks a lot!
Although GStreamer (used by the processing-video library) has access to audio, the processing-video library itself doesn't expose that at the moment.
You will need to use workarounds at the moment:
Extract audio from your movie and load straight into minim. (you can trigger audio playback at the same time as movie playback if you need to)
or use a tool to use system audio output as an input (minim get line in). On OSX you can use Soundflower. Another option is JACK and it's patch interface.
I'm hoping to record the audio of some stories from remote study participants via web browsers. I would like to give them an option of anonymizing their voices before they submit their audio clips. Is there a way to do that in Javascript (or any other library--for example, Python--that I can invoke in the background on the server before serving it back to the participant to verify before they submit?
This youtube video comes really close to what I would like to accomplish. Thanks in advance for your suggestions and advice!
You can use the PitchShifter object of SoundTouchJS to change the 'key' of the input, and even the playback rate if necessary. It might be helpful to run further convolvers against the AudioNode as well, to futher anonamize it.