ffmpeg live transcoding faster alternative?
Is there any opensource alternative to ffmpeg
and VLC
to live video transcoding from HTTP streaming to RTMP or other?
ffmpeg
caused my CPU (AMD 4.0GHZ 8Core) is loaded 100% with only 8 SD streams.
Thanks for help.
PS.
I think I don't need to transcode my video, I can also stream with something like http video proxy. Source is in HTTP streaming format, also I am under Linux.
linux ffmpeg streaming dvb
add a comment |
Is there any opensource alternative to ffmpeg
and VLC
to live video transcoding from HTTP streaming to RTMP or other?
ffmpeg
caused my CPU (AMD 4.0GHZ 8Core) is loaded 100% with only 8 SD streams.
Thanks for help.
PS.
I think I don't need to transcode my video, I can also stream with something like http video proxy. Source is in HTTP streaming format, also I am under Linux.
linux ffmpeg streaming dvb
Are you encoding or just re-muxing?
– llogan
Jul 31 '14 at 18:24
add a comment |
Is there any opensource alternative to ffmpeg
and VLC
to live video transcoding from HTTP streaming to RTMP or other?
ffmpeg
caused my CPU (AMD 4.0GHZ 8Core) is loaded 100% with only 8 SD streams.
Thanks for help.
PS.
I think I don't need to transcode my video, I can also stream with something like http video proxy. Source is in HTTP streaming format, also I am under Linux.
linux ffmpeg streaming dvb
Is there any opensource alternative to ffmpeg
and VLC
to live video transcoding from HTTP streaming to RTMP or other?
ffmpeg
caused my CPU (AMD 4.0GHZ 8Core) is loaded 100% with only 8 SD streams.
Thanks for help.
PS.
I think I don't need to transcode my video, I can also stream with something like http video proxy. Source is in HTTP streaming format, also I am under Linux.
linux ffmpeg streaming dvb
linux ffmpeg streaming dvb
edited Aug 6 '14 at 9:41
Coconop
2,97322041
2,97322041
asked Jul 31 '14 at 17:05
ppoeasppoeas
286
286
Are you encoding or just re-muxing?
– llogan
Jul 31 '14 at 18:24
add a comment |
Are you encoding or just re-muxing?
– llogan
Jul 31 '14 at 18:24
Are you encoding or just re-muxing?
– llogan
Jul 31 '14 at 18:24
Are you encoding or just re-muxing?
– llogan
Jul 31 '14 at 18:24
add a comment |
2 Answers
2
active
oldest
votes
Your question should be: "Is there any opensource alternative faster than ffmpeg".
And the answer is No.
If you dont need to transcode, add -acodec copy -vcodec copy
to your command line
add a comment |
ffmpeg
is flexible encoder you can tweak it much you like , it's up to encoding algorithm and Size VS Quality battle , I think now days X264 are more efficacy than it was before , the important tweaks with ffmpeg to speedup encoding is -preset
the default is medium
you can use fast
or faster
and watch the quality of your output video . I have live steaming video and I use this command
ffmpeg -loglevel 0 -thread_queue_size 32768 -re -i "http://sorce" -vcodec libx264 -preset fast -break_non_keyframes 1 -profile:v high444 -x264-params "nal-hrd=cbr" -b:v 260k -acodec aac -b:a 32k -map_metadata -1 -s 480x360 -f flv rtmp://localhost/hls/live
That for very low quality video ,
ffmpeg -loglevel 0 -thread_queue_size 32768 -re -i "http://source" -vcodec libx264 -preset fast -break_non_keyframes 1 -b:v 665k -profile:v high444 -x264-params "nal-hrd=cbr" -acodec aac -b:a 32k -map_metadata -1 -s 854x480 -f flv rtmp://localhost/hls/live
you will get better quality and viewable picture when increase -b:v
value .
so it's up to you preferred network you can get much higher video quality with less CPU usage.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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%2fstackoverflow.com%2fquestions%2f25064938%2fffmpeg-live-transcoding-faster-alternative%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Your question should be: "Is there any opensource alternative faster than ffmpeg".
And the answer is No.
If you dont need to transcode, add -acodec copy -vcodec copy
to your command line
add a comment |
Your question should be: "Is there any opensource alternative faster than ffmpeg".
And the answer is No.
If you dont need to transcode, add -acodec copy -vcodec copy
to your command line
add a comment |
Your question should be: "Is there any opensource alternative faster than ffmpeg".
And the answer is No.
If you dont need to transcode, add -acodec copy -vcodec copy
to your command line
Your question should be: "Is there any opensource alternative faster than ffmpeg".
And the answer is No.
If you dont need to transcode, add -acodec copy -vcodec copy
to your command line
edited Aug 1 '14 at 15:11
answered Jul 31 '14 at 21:33
szatmaryszatmary
18.3k63041
18.3k63041
add a comment |
add a comment |
ffmpeg
is flexible encoder you can tweak it much you like , it's up to encoding algorithm and Size VS Quality battle , I think now days X264 are more efficacy than it was before , the important tweaks with ffmpeg to speedup encoding is -preset
the default is medium
you can use fast
or faster
and watch the quality of your output video . I have live steaming video and I use this command
ffmpeg -loglevel 0 -thread_queue_size 32768 -re -i "http://sorce" -vcodec libx264 -preset fast -break_non_keyframes 1 -profile:v high444 -x264-params "nal-hrd=cbr" -b:v 260k -acodec aac -b:a 32k -map_metadata -1 -s 480x360 -f flv rtmp://localhost/hls/live
That for very low quality video ,
ffmpeg -loglevel 0 -thread_queue_size 32768 -re -i "http://source" -vcodec libx264 -preset fast -break_non_keyframes 1 -b:v 665k -profile:v high444 -x264-params "nal-hrd=cbr" -acodec aac -b:a 32k -map_metadata -1 -s 854x480 -f flv rtmp://localhost/hls/live
you will get better quality and viewable picture when increase -b:v
value .
so it's up to you preferred network you can get much higher video quality with less CPU usage.
add a comment |
ffmpeg
is flexible encoder you can tweak it much you like , it's up to encoding algorithm and Size VS Quality battle , I think now days X264 are more efficacy than it was before , the important tweaks with ffmpeg to speedup encoding is -preset
the default is medium
you can use fast
or faster
and watch the quality of your output video . I have live steaming video and I use this command
ffmpeg -loglevel 0 -thread_queue_size 32768 -re -i "http://sorce" -vcodec libx264 -preset fast -break_non_keyframes 1 -profile:v high444 -x264-params "nal-hrd=cbr" -b:v 260k -acodec aac -b:a 32k -map_metadata -1 -s 480x360 -f flv rtmp://localhost/hls/live
That for very low quality video ,
ffmpeg -loglevel 0 -thread_queue_size 32768 -re -i "http://source" -vcodec libx264 -preset fast -break_non_keyframes 1 -b:v 665k -profile:v high444 -x264-params "nal-hrd=cbr" -acodec aac -b:a 32k -map_metadata -1 -s 854x480 -f flv rtmp://localhost/hls/live
you will get better quality and viewable picture when increase -b:v
value .
so it's up to you preferred network you can get much higher video quality with less CPU usage.
add a comment |
ffmpeg
is flexible encoder you can tweak it much you like , it's up to encoding algorithm and Size VS Quality battle , I think now days X264 are more efficacy than it was before , the important tweaks with ffmpeg to speedup encoding is -preset
the default is medium
you can use fast
or faster
and watch the quality of your output video . I have live steaming video and I use this command
ffmpeg -loglevel 0 -thread_queue_size 32768 -re -i "http://sorce" -vcodec libx264 -preset fast -break_non_keyframes 1 -profile:v high444 -x264-params "nal-hrd=cbr" -b:v 260k -acodec aac -b:a 32k -map_metadata -1 -s 480x360 -f flv rtmp://localhost/hls/live
That for very low quality video ,
ffmpeg -loglevel 0 -thread_queue_size 32768 -re -i "http://source" -vcodec libx264 -preset fast -break_non_keyframes 1 -b:v 665k -profile:v high444 -x264-params "nal-hrd=cbr" -acodec aac -b:a 32k -map_metadata -1 -s 854x480 -f flv rtmp://localhost/hls/live
you will get better quality and viewable picture when increase -b:v
value .
so it's up to you preferred network you can get much higher video quality with less CPU usage.
ffmpeg
is flexible encoder you can tweak it much you like , it's up to encoding algorithm and Size VS Quality battle , I think now days X264 are more efficacy than it was before , the important tweaks with ffmpeg to speedup encoding is -preset
the default is medium
you can use fast
or faster
and watch the quality of your output video . I have live steaming video and I use this command
ffmpeg -loglevel 0 -thread_queue_size 32768 -re -i "http://sorce" -vcodec libx264 -preset fast -break_non_keyframes 1 -profile:v high444 -x264-params "nal-hrd=cbr" -b:v 260k -acodec aac -b:a 32k -map_metadata -1 -s 480x360 -f flv rtmp://localhost/hls/live
That for very low quality video ,
ffmpeg -loglevel 0 -thread_queue_size 32768 -re -i "http://source" -vcodec libx264 -preset fast -break_non_keyframes 1 -b:v 665k -profile:v high444 -x264-params "nal-hrd=cbr" -acodec aac -b:a 32k -map_metadata -1 -s 854x480 -f flv rtmp://localhost/hls/live
you will get better quality and viewable picture when increase -b:v
value .
so it's up to you preferred network you can get much higher video quality with less CPU usage.
answered Nov 23 '18 at 9:23
SalemSalem
371215
371215
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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%2fstackoverflow.com%2fquestions%2f25064938%2fffmpeg-live-transcoding-faster-alternative%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
Are you encoding or just re-muxing?
– llogan
Jul 31 '14 at 18:24