Capture multiple synconized video streams and automated video editing with ffmpeg The 2019...
slides for 30min~1hr skype tenure track application interview
How to deal with fear of taking dependencies
How to type this arrow in math mode?
Loose spokes after only a few rides
What do the Banks children have against barley water?
A poker game description that does not feel gimmicky
Why is the maximum length of OpenWrt’s root password 8 characters?
Right tool to dig six foot holes?
Did 3000BC Egyptians use meteoric iron weapons?
Why is the Constellation's nose gear so long?
Time travel alters history but people keep saying nothing's changed
Protecting Dualbooting Windows from dangerous code (like rm -rf)
How to save as into a customized destination on macOS?
Did Section 31 appear in Star Trek: The Next Generation?
Where to refill my bottle in India?
Return to UK after having been refused entry years ago
How to answer pointed "are you quitting" questioning when I don't want them to suspect
Origin of "cooter" meaning "vagina"
What tool would a Roman-age civilization have for the breaking of silver and other metals into dust?
Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?
What do hard-Brexiteers want with respect to the Irish border?
What did it mean to "align" a radio?
Worn-tile Scrabble
Is flight data recorder erased after every flight?
Capture multiple synconized video streams and automated video editing with ffmpeg
The 2019 Stack Overflow Developer Survey Results Are InCapturing multiple RTSP streams simultaneously in syncffmpeg add two audio streams to videoHow to encode a video with timestamps in order to have audio/video syncCapturing multiple RTSP streams simultaneously in syncFFmpeg editing video on the flyffmpeg keeps crashing while playing with ffserver. Can anyone fix this?ffmpeg concat demuxer framerate changes from constant to variableCreating video from images with different SARs with FFMPEGMake a clip from a video with FFMPEGffmpeg settings for converting still images to video for archivalffmpeg slideshow with crossfade
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I have to capture the stream of several cameras (from 3 to 15) simultaneously so as to have for each camera a separate video file on which to make an automatic and predefined video editing.
The videos must have the same duration, same framerate, start time and end time unless there is a way with FFMPEG to save a synchronization timestamp for each file.
All connections are on the local network as it involves filming events in the same place.
Some cameras have wireless/radio connections as they are moving cameras (I thought I would use GoPro or similar with a video signal transmitter via radio), the other cameras will have a fixed location and can also be wired (in this case I thought I was using cameras IP).
The videos must be in high resolution and of variable size from HD (1280x720) to 4K (4096x2160) because the output of the final edited video will be in HD and in some videos (4K) will be automatically made default crop with pan effect and / or zoom.
QUESTION:
What is the best and fastest solution for managing so many cameras and being able to make a predefined video editing as fast as possible?
I thought of streaming by connecting the cameras to the 'Raspberry Pi' with ffserver, saving the videos on a server that with ffmpeg performs the editing.
Do you have suggestions or alternatives?
Thank you
video ffmpeg streaming camera
add a comment |
I have to capture the stream of several cameras (from 3 to 15) simultaneously so as to have for each camera a separate video file on which to make an automatic and predefined video editing.
The videos must have the same duration, same framerate, start time and end time unless there is a way with FFMPEG to save a synchronization timestamp for each file.
All connections are on the local network as it involves filming events in the same place.
Some cameras have wireless/radio connections as they are moving cameras (I thought I would use GoPro or similar with a video signal transmitter via radio), the other cameras will have a fixed location and can also be wired (in this case I thought I was using cameras IP).
The videos must be in high resolution and of variable size from HD (1280x720) to 4K (4096x2160) because the output of the final edited video will be in HD and in some videos (4K) will be automatically made default crop with pan effect and / or zoom.
QUESTION:
What is the best and fastest solution for managing so many cameras and being able to make a predefined video editing as fast as possible?
I thought of streaming by connecting the cameras to the 'Raspberry Pi' with ffserver, saving the videos on a server that with ffmpeg performs the editing.
Do you have suggestions or alternatives?
Thank you
video ffmpeg streaming camera
ffserver is deprecated; you can stream with ffmpeg itself. You can also receive and save these streams to files using ffmpeg, of course. In principle this should all be doable. Question is how you want the synchronization to be done. I don't see an obvious solution to that (c.f., superuser.com/questions/671380 and many others). You might get different encoding and streaming delays from different cameras and servers, respectively, so you'd have to synchronize based on the timestamps of the RTP packets…
– slhck
yesterday
See tools.ietf.org/html/rfc3550: "Instead, for each medium the RTP timestamp is related to the sampling instant by pairing it with a timestamp from a reference clock (wallclock) that represents the time when the data corresponding to the RTP timestamp was sampled. The reference clock is shared by all media to be synchronized."
– slhck
yesterday
Oh, and maybe check if your server has enough processing capabilities for handling 15 streams including 4K, if the whole thing has to be somewhat realtime.
– slhck
yesterday
add a comment |
I have to capture the stream of several cameras (from 3 to 15) simultaneously so as to have for each camera a separate video file on which to make an automatic and predefined video editing.
The videos must have the same duration, same framerate, start time and end time unless there is a way with FFMPEG to save a synchronization timestamp for each file.
All connections are on the local network as it involves filming events in the same place.
Some cameras have wireless/radio connections as they are moving cameras (I thought I would use GoPro or similar with a video signal transmitter via radio), the other cameras will have a fixed location and can also be wired (in this case I thought I was using cameras IP).
The videos must be in high resolution and of variable size from HD (1280x720) to 4K (4096x2160) because the output of the final edited video will be in HD and in some videos (4K) will be automatically made default crop with pan effect and / or zoom.
QUESTION:
What is the best and fastest solution for managing so many cameras and being able to make a predefined video editing as fast as possible?
I thought of streaming by connecting the cameras to the 'Raspberry Pi' with ffserver, saving the videos on a server that with ffmpeg performs the editing.
Do you have suggestions or alternatives?
Thank you
video ffmpeg streaming camera
I have to capture the stream of several cameras (from 3 to 15) simultaneously so as to have for each camera a separate video file on which to make an automatic and predefined video editing.
The videos must have the same duration, same framerate, start time and end time unless there is a way with FFMPEG to save a synchronization timestamp for each file.
All connections are on the local network as it involves filming events in the same place.
Some cameras have wireless/radio connections as they are moving cameras (I thought I would use GoPro or similar with a video signal transmitter via radio), the other cameras will have a fixed location and can also be wired (in this case I thought I was using cameras IP).
The videos must be in high resolution and of variable size from HD (1280x720) to 4K (4096x2160) because the output of the final edited video will be in HD and in some videos (4K) will be automatically made default crop with pan effect and / or zoom.
QUESTION:
What is the best and fastest solution for managing so many cameras and being able to make a predefined video editing as fast as possible?
I thought of streaming by connecting the cameras to the 'Raspberry Pi' with ffserver, saving the videos on a server that with ffmpeg performs the editing.
Do you have suggestions or alternatives?
Thank you
video ffmpeg streaming camera
video ffmpeg streaming camera
asked yesterday
PaperauzPaperauz
112
112
ffserver is deprecated; you can stream with ffmpeg itself. You can also receive and save these streams to files using ffmpeg, of course. In principle this should all be doable. Question is how you want the synchronization to be done. I don't see an obvious solution to that (c.f., superuser.com/questions/671380 and many others). You might get different encoding and streaming delays from different cameras and servers, respectively, so you'd have to synchronize based on the timestamps of the RTP packets…
– slhck
yesterday
See tools.ietf.org/html/rfc3550: "Instead, for each medium the RTP timestamp is related to the sampling instant by pairing it with a timestamp from a reference clock (wallclock) that represents the time when the data corresponding to the RTP timestamp was sampled. The reference clock is shared by all media to be synchronized."
– slhck
yesterday
Oh, and maybe check if your server has enough processing capabilities for handling 15 streams including 4K, if the whole thing has to be somewhat realtime.
– slhck
yesterday
add a comment |
ffserver is deprecated; you can stream with ffmpeg itself. You can also receive and save these streams to files using ffmpeg, of course. In principle this should all be doable. Question is how you want the synchronization to be done. I don't see an obvious solution to that (c.f., superuser.com/questions/671380 and many others). You might get different encoding and streaming delays from different cameras and servers, respectively, so you'd have to synchronize based on the timestamps of the RTP packets…
– slhck
yesterday
See tools.ietf.org/html/rfc3550: "Instead, for each medium the RTP timestamp is related to the sampling instant by pairing it with a timestamp from a reference clock (wallclock) that represents the time when the data corresponding to the RTP timestamp was sampled. The reference clock is shared by all media to be synchronized."
– slhck
yesterday
Oh, and maybe check if your server has enough processing capabilities for handling 15 streams including 4K, if the whole thing has to be somewhat realtime.
– slhck
yesterday
ffserver is deprecated; you can stream with ffmpeg itself. You can also receive and save these streams to files using ffmpeg, of course. In principle this should all be doable. Question is how you want the synchronization to be done. I don't see an obvious solution to that (c.f., superuser.com/questions/671380 and many others). You might get different encoding and streaming delays from different cameras and servers, respectively, so you'd have to synchronize based on the timestamps of the RTP packets…
– slhck
yesterday
ffserver is deprecated; you can stream with ffmpeg itself. You can also receive and save these streams to files using ffmpeg, of course. In principle this should all be doable. Question is how you want the synchronization to be done. I don't see an obvious solution to that (c.f., superuser.com/questions/671380 and many others). You might get different encoding and streaming delays from different cameras and servers, respectively, so you'd have to synchronize based on the timestamps of the RTP packets…
– slhck
yesterday
See tools.ietf.org/html/rfc3550: "Instead, for each medium the RTP timestamp is related to the sampling instant by pairing it with a timestamp from a reference clock (wallclock) that represents the time when the data corresponding to the RTP timestamp was sampled. The reference clock is shared by all media to be synchronized."
– slhck
yesterday
See tools.ietf.org/html/rfc3550: "Instead, for each medium the RTP timestamp is related to the sampling instant by pairing it with a timestamp from a reference clock (wallclock) that represents the time when the data corresponding to the RTP timestamp was sampled. The reference clock is shared by all media to be synchronized."
– slhck
yesterday
Oh, and maybe check if your server has enough processing capabilities for handling 15 streams including 4K, if the whole thing has to be somewhat realtime.
– slhck
yesterday
Oh, and maybe check if your server has enough processing capabilities for handling 15 streams including 4K, if the whole thing has to be somewhat realtime.
– slhck
yesterday
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1423245%2fcapture-multiple-synconized-video-streams-and-automated-video-editing-with-ffmpe%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1423245%2fcapture-multiple-synconized-video-streams-and-automated-video-editing-with-ffmpe%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
ffserver is deprecated; you can stream with ffmpeg itself. You can also receive and save these streams to files using ffmpeg, of course. In principle this should all be doable. Question is how you want the synchronization to be done. I don't see an obvious solution to that (c.f., superuser.com/questions/671380 and many others). You might get different encoding and streaming delays from different cameras and servers, respectively, so you'd have to synchronize based on the timestamps of the RTP packets…
– slhck
yesterday
See tools.ietf.org/html/rfc3550: "Instead, for each medium the RTP timestamp is related to the sampling instant by pairing it with a timestamp from a reference clock (wallclock) that represents the time when the data corresponding to the RTP timestamp was sampled. The reference clock is shared by all media to be synchronized."
– slhck
yesterday
Oh, and maybe check if your server has enough processing capabilities for handling 15 streams including 4K, if the whole thing has to be somewhat realtime.
– slhck
yesterday