How to stream a local video file over Internet using avconv/avserver?
As FFmpeg is going to be dropped from Ubuntu, it will be important to know how to broadcast videos over Intrnet using avconv. An official guide is available, but it doesn't give much information how to work it out, step by step...
I have tried several times, but no luck.
Your simple & complete instructions are highly appreciated....!
Thanks!
streaming ffmpeg video-streaming avconv
add a comment |
As FFmpeg is going to be dropped from Ubuntu, it will be important to know how to broadcast videos over Intrnet using avconv. An official guide is available, but it doesn't give much information how to work it out, step by step...
I have tried several times, but no luck.
Your simple & complete instructions are highly appreciated....!
Thanks!
streaming ffmpeg video-streaming avconv
FFmpeg has returned and Libav (avconv) has been dropped.
– llogan
Nov 4 '16 at 17:08
add a comment |
As FFmpeg is going to be dropped from Ubuntu, it will be important to know how to broadcast videos over Intrnet using avconv. An official guide is available, but it doesn't give much information how to work it out, step by step...
I have tried several times, but no luck.
Your simple & complete instructions are highly appreciated....!
Thanks!
streaming ffmpeg video-streaming avconv
As FFmpeg is going to be dropped from Ubuntu, it will be important to know how to broadcast videos over Intrnet using avconv. An official guide is available, but it doesn't give much information how to work it out, step by step...
I have tried several times, but no luck.
Your simple & complete instructions are highly appreciated....!
Thanks!
streaming ffmpeg video-streaming avconv
streaming ffmpeg video-streaming avconv
asked Oct 22 '12 at 13:13
NaveenNaveen
6,65593764
6,65593764
FFmpeg has returned and Libav (avconv) has been dropped.
– llogan
Nov 4 '16 at 17:08
add a comment |
FFmpeg has returned and Libav (avconv) has been dropped.
– llogan
Nov 4 '16 at 17:08
FFmpeg has returned and Libav (avconv) has been dropped.
– llogan
Nov 4 '16 at 17:08
FFmpeg has returned and Libav (avconv) has been dropped.
– llogan
Nov 4 '16 at 17:08
add a comment |
1 Answer
1
active
oldest
votes
Using a line like this will get you moving:
avconv -f video4linux2 -s 640×360 -r 30 -b 350k -i /dev/video0 -f flv rtmp://live.twitch.tv/app/live
Where
- -s is your resolution (640×360)
- -r is your frame-rate
- -b is your max bitrate (k= Kbps)
- -i is your webcam or input video stream (your webcam will usually be something like /dev/video0)
- -f flv is the output codec (in this case, we'll use Flash video)
Just replace the "rtmp://live.twitch.tv/app/live" without your output URL, and dont forget to add your stream key to the end :)
avconv
has been dropped from Debian & Ubuntu.
– llogan
Nov 4 '16 at 17:07
Yes, but it was in answer to the question. He asked specifically aboutavconv
.
– ThatGuy
Nov 4 '16 at 17:36
More than 4 years ago.
– llogan
Nov 4 '16 at 17:38
True, but was unanswered. Thought I'd just pick up an old question and provide an answer. Interestingly,avconv
is still in Ubuntu as of 16.04 LTS. It's just not the tool of choice anymore. When you installlibav-tools
, it's there. Right along sideffmpeg
– ThatGuy
Nov 4 '16 at 17:45
That's a transitional package.
– llogan
Nov 4 '16 at 19:08
|
show 1 more comment
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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%2faskubuntu.com%2fquestions%2f204640%2fhow-to-stream-a-local-video-file-over-internet-using-avconv-avserver%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
Using a line like this will get you moving:
avconv -f video4linux2 -s 640×360 -r 30 -b 350k -i /dev/video0 -f flv rtmp://live.twitch.tv/app/live
Where
- -s is your resolution (640×360)
- -r is your frame-rate
- -b is your max bitrate (k= Kbps)
- -i is your webcam or input video stream (your webcam will usually be something like /dev/video0)
- -f flv is the output codec (in this case, we'll use Flash video)
Just replace the "rtmp://live.twitch.tv/app/live" without your output URL, and dont forget to add your stream key to the end :)
avconv
has been dropped from Debian & Ubuntu.
– llogan
Nov 4 '16 at 17:07
Yes, but it was in answer to the question. He asked specifically aboutavconv
.
– ThatGuy
Nov 4 '16 at 17:36
More than 4 years ago.
– llogan
Nov 4 '16 at 17:38
True, but was unanswered. Thought I'd just pick up an old question and provide an answer. Interestingly,avconv
is still in Ubuntu as of 16.04 LTS. It's just not the tool of choice anymore. When you installlibav-tools
, it's there. Right along sideffmpeg
– ThatGuy
Nov 4 '16 at 17:45
That's a transitional package.
– llogan
Nov 4 '16 at 19:08
|
show 1 more comment
Using a line like this will get you moving:
avconv -f video4linux2 -s 640×360 -r 30 -b 350k -i /dev/video0 -f flv rtmp://live.twitch.tv/app/live
Where
- -s is your resolution (640×360)
- -r is your frame-rate
- -b is your max bitrate (k= Kbps)
- -i is your webcam or input video stream (your webcam will usually be something like /dev/video0)
- -f flv is the output codec (in this case, we'll use Flash video)
Just replace the "rtmp://live.twitch.tv/app/live" without your output URL, and dont forget to add your stream key to the end :)
avconv
has been dropped from Debian & Ubuntu.
– llogan
Nov 4 '16 at 17:07
Yes, but it was in answer to the question. He asked specifically aboutavconv
.
– ThatGuy
Nov 4 '16 at 17:36
More than 4 years ago.
– llogan
Nov 4 '16 at 17:38
True, but was unanswered. Thought I'd just pick up an old question and provide an answer. Interestingly,avconv
is still in Ubuntu as of 16.04 LTS. It's just not the tool of choice anymore. When you installlibav-tools
, it's there. Right along sideffmpeg
– ThatGuy
Nov 4 '16 at 17:45
That's a transitional package.
– llogan
Nov 4 '16 at 19:08
|
show 1 more comment
Using a line like this will get you moving:
avconv -f video4linux2 -s 640×360 -r 30 -b 350k -i /dev/video0 -f flv rtmp://live.twitch.tv/app/live
Where
- -s is your resolution (640×360)
- -r is your frame-rate
- -b is your max bitrate (k= Kbps)
- -i is your webcam or input video stream (your webcam will usually be something like /dev/video0)
- -f flv is the output codec (in this case, we'll use Flash video)
Just replace the "rtmp://live.twitch.tv/app/live" without your output URL, and dont forget to add your stream key to the end :)
Using a line like this will get you moving:
avconv -f video4linux2 -s 640×360 -r 30 -b 350k -i /dev/video0 -f flv rtmp://live.twitch.tv/app/live
Where
- -s is your resolution (640×360)
- -r is your frame-rate
- -b is your max bitrate (k= Kbps)
- -i is your webcam or input video stream (your webcam will usually be something like /dev/video0)
- -f flv is the output codec (in this case, we'll use Flash video)
Just replace the "rtmp://live.twitch.tv/app/live" without your output URL, and dont forget to add your stream key to the end :)
edited Nov 4 '16 at 2:41
answered Nov 4 '16 at 2:35
ThatGuyThatGuy
3,55311033
3,55311033
avconv
has been dropped from Debian & Ubuntu.
– llogan
Nov 4 '16 at 17:07
Yes, but it was in answer to the question. He asked specifically aboutavconv
.
– ThatGuy
Nov 4 '16 at 17:36
More than 4 years ago.
– llogan
Nov 4 '16 at 17:38
True, but was unanswered. Thought I'd just pick up an old question and provide an answer. Interestingly,avconv
is still in Ubuntu as of 16.04 LTS. It's just not the tool of choice anymore. When you installlibav-tools
, it's there. Right along sideffmpeg
– ThatGuy
Nov 4 '16 at 17:45
That's a transitional package.
– llogan
Nov 4 '16 at 19:08
|
show 1 more comment
avconv
has been dropped from Debian & Ubuntu.
– llogan
Nov 4 '16 at 17:07
Yes, but it was in answer to the question. He asked specifically aboutavconv
.
– ThatGuy
Nov 4 '16 at 17:36
More than 4 years ago.
– llogan
Nov 4 '16 at 17:38
True, but was unanswered. Thought I'd just pick up an old question and provide an answer. Interestingly,avconv
is still in Ubuntu as of 16.04 LTS. It's just not the tool of choice anymore. When you installlibav-tools
, it's there. Right along sideffmpeg
– ThatGuy
Nov 4 '16 at 17:45
That's a transitional package.
– llogan
Nov 4 '16 at 19:08
avconv
has been dropped from Debian & Ubuntu.– llogan
Nov 4 '16 at 17:07
avconv
has been dropped from Debian & Ubuntu.– llogan
Nov 4 '16 at 17:07
Yes, but it was in answer to the question. He asked specifically about
avconv
.– ThatGuy
Nov 4 '16 at 17:36
Yes, but it was in answer to the question. He asked specifically about
avconv
.– ThatGuy
Nov 4 '16 at 17:36
More than 4 years ago.
– llogan
Nov 4 '16 at 17:38
More than 4 years ago.
– llogan
Nov 4 '16 at 17:38
True, but was unanswered. Thought I'd just pick up an old question and provide an answer. Interestingly,
avconv
is still in Ubuntu as of 16.04 LTS. It's just not the tool of choice anymore. When you install libav-tools
, it's there. Right along side ffmpeg
– ThatGuy
Nov 4 '16 at 17:45
True, but was unanswered. Thought I'd just pick up an old question and provide an answer. Interestingly,
avconv
is still in Ubuntu as of 16.04 LTS. It's just not the tool of choice anymore. When you install libav-tools
, it's there. Right along side ffmpeg
– ThatGuy
Nov 4 '16 at 17:45
That's a transitional package.
– llogan
Nov 4 '16 at 19:08
That's a transitional package.
– llogan
Nov 4 '16 at 19:08
|
show 1 more comment
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f204640%2fhow-to-stream-a-local-video-file-over-internet-using-avconv-avserver%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
FFmpeg has returned and Libav (avconv) has been dropped.
– llogan
Nov 4 '16 at 17:08