ffmpeg h264_vaapi video encodingFFmpeg extract clip - stream frame rate differs from container frame rate...
What are the exceptions to Natural Selection?
Cookies - Should the toggles be on?
Why did Luke use his left hand to shoot?
What is a good reason for every spaceship to carry a weapon on board?
What's a good word to describe a public place that looks like it wouldn't be rough?
Can I make estimated tax payments instead of withholding from my paycheck?
Why wasn't TEventArgs made contravariant in the standard event pattern in the .NET ecosystem?
Is it a fallacy if someone claims they need an explanation for every word of your argument to the point where they don't understand common terms?
What would be the rarity of this magic item(s)?
Is it possible to grant users sftp access without shell access? If yes, how is it implemented?
Why exactly do action photographers need high fps burst cameras?
Graph with overlapping labels
Can we harness gravitational potential energy?
Citing paywalled articles accessed via illegal web sharing
Has any human ever had the choice to leave Earth permanently?
Slow While Loop, Query Improvment Assistance
Is there a feather fall weight limit?
What is the most fuel efficient way out of the Solar System?
Why did Democrats in the Senate oppose the Born-Alive Abortion Survivors Protection Act (2019 S.130)?
How much mayhem could I cause as a sentient fish?
Do authors have to be politically correct in article-writing?
Non-Cancer terminal illness that can affect young (age 10-13) girls?
False written accusations not made public - is there law to cover this?
using 'echo' & 'printf' in bash function calls
ffmpeg h264_vaapi video encoding
FFmpeg extract clip - stream frame rate differs from container frame rate (x264, aac)Time of splitting and encoding video with ffmpeg increases exponentiallyProblems with frame rate on video conversion using ffmpeg with libx264ffmpeg error when encoding h264 mp4 videoFFMPEG / x264: Single pass: how do you raise start time bitrates?FFMPEG encoding issue with “mp42” video (conversion to H264 mp4)How can I reduce the size of video created from FFmpegUploading FFmpeg Video to Twitter, First Few Seconds Quality is TerribleHow to convert (broken) MPEG1 video to format that can be viewed by most peopleffmpeg drawtext filter box jittery issue
it look like ffmpeg and h264_vaapi codec are broken in the newest version 4 because they don’t honor the -qp setting. -qp with any value don’t change the bitrate which is terrible high. Only setting the bitrate option directly -b works. Does someone know a way around it.
Problem could be replicated with simple command:
ffmpeg -vaapi_device /dev/dri/renderD128 -i input.mp4 -vf ‘format=nv12,hwupload’ -c:v h264_vaapi -qp 30 output.mp4
linux video ffmpeg h.264
add a comment |
it look like ffmpeg and h264_vaapi codec are broken in the newest version 4 because they don’t honor the -qp setting. -qp with any value don’t change the bitrate which is terrible high. Only setting the bitrate option directly -b works. Does someone know a way around it.
Problem could be replicated with simple command:
ffmpeg -vaapi_device /dev/dri/renderD128 -i input.mp4 -vf ‘format=nv12,hwupload’ -c:v h264_vaapi -qp 30 output.mp4
linux video ffmpeg h.264
add a comment |
it look like ffmpeg and h264_vaapi codec are broken in the newest version 4 because they don’t honor the -qp setting. -qp with any value don’t change the bitrate which is terrible high. Only setting the bitrate option directly -b works. Does someone know a way around it.
Problem could be replicated with simple command:
ffmpeg -vaapi_device /dev/dri/renderD128 -i input.mp4 -vf ‘format=nv12,hwupload’ -c:v h264_vaapi -qp 30 output.mp4
linux video ffmpeg h.264
it look like ffmpeg and h264_vaapi codec are broken in the newest version 4 because they don’t honor the -qp setting. -qp with any value don’t change the bitrate which is terrible high. Only setting the bitrate option directly -b works. Does someone know a way around it.
Problem could be replicated with simple command:
ffmpeg -vaapi_device /dev/dri/renderD128 -i input.mp4 -vf ‘format=nv12,hwupload’ -c:v h264_vaapi -qp 30 output.mp4
linux video ffmpeg h.264
linux video ffmpeg h.264
asked Feb 7 at 6:40
nx01nx01
11
11
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
This was repaired in ffmpeg's commit f4d7bd6cdbcf9027a36a73531baf7e3885644ee6 and unfortunately that commit is still only available in the git master branch. Hopefully it will be part of ffmpeg-4.1.2; backporting that commit to earlier versions looks like a huge undertaking.
Until ffmpeg-4.1.2 you can either compile the git master yourself, or install a nightly build from the ffmpeg site.
add a comment |
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%2f1402987%2fffmpeg-h264-vaapi-video-encoding%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
This was repaired in ffmpeg's commit f4d7bd6cdbcf9027a36a73531baf7e3885644ee6 and unfortunately that commit is still only available in the git master branch. Hopefully it will be part of ffmpeg-4.1.2; backporting that commit to earlier versions looks like a huge undertaking.
Until ffmpeg-4.1.2 you can either compile the git master yourself, or install a nightly build from the ffmpeg site.
add a comment |
This was repaired in ffmpeg's commit f4d7bd6cdbcf9027a36a73531baf7e3885644ee6 and unfortunately that commit is still only available in the git master branch. Hopefully it will be part of ffmpeg-4.1.2; backporting that commit to earlier versions looks like a huge undertaking.
Until ffmpeg-4.1.2 you can either compile the git master yourself, or install a nightly build from the ffmpeg site.
add a comment |
This was repaired in ffmpeg's commit f4d7bd6cdbcf9027a36a73531baf7e3885644ee6 and unfortunately that commit is still only available in the git master branch. Hopefully it will be part of ffmpeg-4.1.2; backporting that commit to earlier versions looks like a huge undertaking.
Until ffmpeg-4.1.2 you can either compile the git master yourself, or install a nightly build from the ffmpeg site.
This was repaired in ffmpeg's commit f4d7bd6cdbcf9027a36a73531baf7e3885644ee6 and unfortunately that commit is still only available in the git master branch. Hopefully it will be part of ffmpeg-4.1.2; backporting that commit to earlier versions looks like a huge undertaking.
Until ffmpeg-4.1.2 you can either compile the git master yourself, or install a nightly build from the ffmpeg site.
answered 19 mins ago
Patrice LevesquePatrice Levesque
66549
66549
add a comment |
add a comment |
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%2f1402987%2fffmpeg-h264-vaapi-video-encoding%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