Using ffmpeg to Compressed a Two Frame VideoIs it possible the get the original (best) audio quality when...
What are good ways to improve as a writer other than writing courses?
How can a surrogate pass on genes to a fertilized embryo?
Can I call myself an assistant professor without a PhD?
Is it really ~648.69 km/s delta-v to "land" on the surface of the Sun?
Team goes to lunch frequently, I do intermittent fasting but still want to socialize
Why did the RAAF procure the F/A-18 despite being purpose-built for carriers?
Want to draw this commutative diagram
Why "ch" pronunciation rule doesn't occur for words such as "durch", "manchmal"?
Accidentals - some in brackets, some not
Senior dev discreetly remoting in to computer and watching a coworker
Word or idiom defining something barely functional
Dropdowns & Chevrons for Right to Left languages
Is refreshing multiple times a test case for web applications?
Why isn’t SHA-3 in wider use?
Does two puncture wounds mean venomous snake?
Why are Gatwick's runways too close together?
Why couldn't soldiers sight their own weapons without officers' orders?
Is it incorrect to write "I rate this book a 3 out of 4 stars?"
Why aren’t emergency services using callsigns?
Y2K... in 2019?
Invert bits of binary representation of number
Non-OR journals which regularly publish OR research
The pronunciation of "protester"
What is my malfunctioning AI harvesting from humans?
Using ffmpeg to Compressed a Two Frame Video
Is it possible the get the original (best) audio quality when using avconv?Converting PNG frames to video at 1 FPSPiping Sox and FFMPEG togetherHow to convert a VOB file to avi?FFmpeg - Split video multiple partsffmpeg output.mp4 with size 0avconv commandline for downsampling HD video to SDFFMPEG glue MPEG TSCreate splitscreen video using ffmpegfind command fails in jenkins, but not in terminal
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm trying to use Ubuntu Linux 19.04 to convert an OpenShot video into a more efficient file-size.
The video only contains two still images, and 20 minutes of audio, but for each file-type I save-as, the output-file is larger than 600MB.
Apparently I'm choosing the wrong lossless output file-type; you'd think a video like this would only be 10MB, since almost all the frames, in the entire video, are one of two frames.
Using ffmpeg, how can I convert this video to a format that understands how to compress all the duplicate frames efficiently?
ffmpeg compression video-encoding video-editing
add a comment |
I'm trying to use Ubuntu Linux 19.04 to convert an OpenShot video into a more efficient file-size.
The video only contains two still images, and 20 minutes of audio, but for each file-type I save-as, the output-file is larger than 600MB.
Apparently I'm choosing the wrong lossless output file-type; you'd think a video like this would only be 10MB, since almost all the frames, in the entire video, are one of two frames.
Using ffmpeg, how can I convert this video to a format that understands how to compress all the duplicate frames efficiently?
ffmpeg compression video-encoding video-editing
add a comment |
I'm trying to use Ubuntu Linux 19.04 to convert an OpenShot video into a more efficient file-size.
The video only contains two still images, and 20 minutes of audio, but for each file-type I save-as, the output-file is larger than 600MB.
Apparently I'm choosing the wrong lossless output file-type; you'd think a video like this would only be 10MB, since almost all the frames, in the entire video, are one of two frames.
Using ffmpeg, how can I convert this video to a format that understands how to compress all the duplicate frames efficiently?
ffmpeg compression video-encoding video-editing
I'm trying to use Ubuntu Linux 19.04 to convert an OpenShot video into a more efficient file-size.
The video only contains two still images, and 20 minutes of audio, but for each file-type I save-as, the output-file is larger than 600MB.
Apparently I'm choosing the wrong lossless output file-type; you'd think a video like this would only be 10MB, since almost all the frames, in the entire video, are one of two frames.
Using ffmpeg, how can I convert this video to a format that understands how to compress all the duplicate frames efficiently?
ffmpeg compression video-encoding video-editing
ffmpeg compression video-encoding video-editing
edited 2 hours ago
Lonniebiz
asked 3 hours ago
LonniebizLonniebiz
2,3344 gold badges13 silver badges21 bronze badges
2,3344 gold badges13 silver badges21 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Your question is answered in the ffmpeg examples. You can use something like this:
ffmpeg -loop 1 -framerate 1 -i banner.png -i audio.wav -map 0 -map 1 -c:v libx264 -crf 16 -c:a aac -b:a 92k -shortest -movflags +faststart ready_to_upload.mp4
Detailed explanation:
-loop 1repeat image potentially forever
-framerate 1have a low frame-rate
-i banner.png -i audio.wavinput image and audio
-map 0 -map 1use both stream
-c:v libx264 -crf 16have high-quality image
-c:a libfdk_aac -b:a 92khave high-quality
-shorteststop repeating banner image when audio is finished
-movflags +faststartinclude index at beginning of MP4 container for early start
It compresses to approximately 1 MB per minute.
Note: YouTube is likely (but not guaranteed) to re-encode your video. Image quality will degrade.
Sorry, my mistake, there are actually two images in the video. The image changes near the end.
– Lonniebiz
2 hours ago
1
Same thing, do two videos, one for each image, and concatenate them...
– xenoid
2 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f534935%2fusing-ffmpeg-to-compressed-a-two-frame-video%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Your question is answered in the ffmpeg examples. You can use something like this:
ffmpeg -loop 1 -framerate 1 -i banner.png -i audio.wav -map 0 -map 1 -c:v libx264 -crf 16 -c:a aac -b:a 92k -shortest -movflags +faststart ready_to_upload.mp4
Detailed explanation:
-loop 1repeat image potentially forever
-framerate 1have a low frame-rate
-i banner.png -i audio.wavinput image and audio
-map 0 -map 1use both stream
-c:v libx264 -crf 16have high-quality image
-c:a libfdk_aac -b:a 92khave high-quality
-shorteststop repeating banner image when audio is finished
-movflags +faststartinclude index at beginning of MP4 container for early start
It compresses to approximately 1 MB per minute.
Note: YouTube is likely (but not guaranteed) to re-encode your video. Image quality will degrade.
Sorry, my mistake, there are actually two images in the video. The image changes near the end.
– Lonniebiz
2 hours ago
1
Same thing, do two videos, one for each image, and concatenate them...
– xenoid
2 hours ago
add a comment |
Your question is answered in the ffmpeg examples. You can use something like this:
ffmpeg -loop 1 -framerate 1 -i banner.png -i audio.wav -map 0 -map 1 -c:v libx264 -crf 16 -c:a aac -b:a 92k -shortest -movflags +faststart ready_to_upload.mp4
Detailed explanation:
-loop 1repeat image potentially forever
-framerate 1have a low frame-rate
-i banner.png -i audio.wavinput image and audio
-map 0 -map 1use both stream
-c:v libx264 -crf 16have high-quality image
-c:a libfdk_aac -b:a 92khave high-quality
-shorteststop repeating banner image when audio is finished
-movflags +faststartinclude index at beginning of MP4 container for early start
It compresses to approximately 1 MB per minute.
Note: YouTube is likely (but not guaranteed) to re-encode your video. Image quality will degrade.
Sorry, my mistake, there are actually two images in the video. The image changes near the end.
– Lonniebiz
2 hours ago
1
Same thing, do two videos, one for each image, and concatenate them...
– xenoid
2 hours ago
add a comment |
Your question is answered in the ffmpeg examples. You can use something like this:
ffmpeg -loop 1 -framerate 1 -i banner.png -i audio.wav -map 0 -map 1 -c:v libx264 -crf 16 -c:a aac -b:a 92k -shortest -movflags +faststart ready_to_upload.mp4
Detailed explanation:
-loop 1repeat image potentially forever
-framerate 1have a low frame-rate
-i banner.png -i audio.wavinput image and audio
-map 0 -map 1use both stream
-c:v libx264 -crf 16have high-quality image
-c:a libfdk_aac -b:a 92khave high-quality
-shorteststop repeating banner image when audio is finished
-movflags +faststartinclude index at beginning of MP4 container for early start
It compresses to approximately 1 MB per minute.
Note: YouTube is likely (but not guaranteed) to re-encode your video. Image quality will degrade.
Your question is answered in the ffmpeg examples. You can use something like this:
ffmpeg -loop 1 -framerate 1 -i banner.png -i audio.wav -map 0 -map 1 -c:v libx264 -crf 16 -c:a aac -b:a 92k -shortest -movflags +faststart ready_to_upload.mp4
Detailed explanation:
-loop 1repeat image potentially forever
-framerate 1have a low frame-rate
-i banner.png -i audio.wavinput image and audio
-map 0 -map 1use both stream
-c:v libx264 -crf 16have high-quality image
-c:a libfdk_aac -b:a 92khave high-quality
-shorteststop repeating banner image when audio is finished
-movflags +faststartinclude index at beginning of MP4 container for early start
It compresses to approximately 1 MB per minute.
Note: YouTube is likely (but not guaranteed) to re-encode your video. Image quality will degrade.
edited 1 hour ago
Lonniebiz
2,3344 gold badges13 silver badges21 bronze badges
2,3344 gold badges13 silver badges21 bronze badges
answered 2 hours ago
HermannHermann
1,6087 silver badges17 bronze badges
1,6087 silver badges17 bronze badges
Sorry, my mistake, there are actually two images in the video. The image changes near the end.
– Lonniebiz
2 hours ago
1
Same thing, do two videos, one for each image, and concatenate them...
– xenoid
2 hours ago
add a comment |
Sorry, my mistake, there are actually two images in the video. The image changes near the end.
– Lonniebiz
2 hours ago
1
Same thing, do two videos, one for each image, and concatenate them...
– xenoid
2 hours ago
Sorry, my mistake, there are actually two images in the video. The image changes near the end.
– Lonniebiz
2 hours ago
Sorry, my mistake, there are actually two images in the video. The image changes near the end.
– Lonniebiz
2 hours ago
1
1
Same thing, do two videos, one for each image, and concatenate them...
– xenoid
2 hours ago
Same thing, do two videos, one for each image, and concatenate them...
– xenoid
2 hours ago
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f534935%2fusing-ffmpeg-to-compressed-a-two-frame-video%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