Stream Video using Netcat and VLCSetting up multiple video streams with publishing points for clientsshell...
Have the writers and actors of GOT responded to its poor reception?
Why didn't Daenerys' advisers suggest assassinating Cersei?
Does the usage of mathematical symbols work differently in books than in theses?
Why is the S-duct intake on the Tu-154 uniquely oblong?
How to draw pentagram-like shape in Latex?
Alternative classical explanation of the Stern-Gerlach Experiment?
Parse a C++14 integer literal
When did Britain learn about the American Declaration of Independence?
How can sister protect herself from impulse purchases with a credit card?
Have GoT's showrunners reacted to the poor reception of the final season?
Will this series of events work to drown the Tarrasque?
Windows reverting changes made by Linux to FAT32 partion
Why does string strummed with finger sound different from the one strummed with pick?
Are there any crystals that are theoretically possible, but haven't yet been made?
Why does a table with a defined constant in its index compute 10X slower?
Is there any deeper thematic meaning to the white horse that Arya finds in The Bells (S08E05)?
What were the "pills" that were added to solid waste in Apollo 7?
Divisor Rich and Poor Numbers
Referring to a character in 3rd person when they have amnesia
Is it standard to have the first week's pay indefinitely withheld?
Good examples of "two is easy, three is hard" in computational sciences
Is my homebrew Awakened Bear race balanced?
Sort a section of a file
Lock out of Oracle based on Windows username
Stream Video using Netcat and VLC
Setting up multiple video streams with publishing points for clientsshell script to batch convert M4V to MP3 using VLC?how to play video with vlc via terminal to view on webpage?Netcat (nc6) - Minimal IPv6 only TCP Server and Clientnetcat from ubuntuplaying video on ancient computerStreaming realtime videoInstall VLC on Qubes OS/Fedora 23What is the efficient way/environmental requirements to stream a 1080p file via Hotspot in Ubuntu?How to run vlc stream in background on raspbian?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm trying to use netcat
on Linux server to stream video to my windows client using VLC
I started running netcat
on Linux:
cat /media/HD1/myMovie.mkv | nc -l 8668
In VLC Windows Client I tried to:
Open VLC > Open network stream vlc > rtp://@serverIP:8668
Without success.
raspberry-pi vlc netcat
add a comment |
I'm trying to use netcat
on Linux server to stream video to my windows client using VLC
I started running netcat
on Linux:
cat /media/HD1/myMovie.mkv | nc -l 8668
In VLC Windows Client I tried to:
Open VLC > Open network stream vlc > rtp://@serverIP:8668
Without success.
raspberry-pi vlc netcat
VLC
has a server mode that you can use in Linux do this. Usingcat
to netcat won't make it speak the RTP protocol.
– jordanm
Jun 12 '13 at 5:12
Someone told me that VLC server is heavy and i could try to use mplayer instead. Do you agree? (i'm using Raspberry pi)
– Makah
Jun 13 '13 at 22:02
nc -l -p 5001 | mplayer -fps 31 -cache 1024 -
on the receiving side.
– Piotr Kula
Nov 14 '13 at 9:27
@ppumkinnc: address already in use
– Braden Best
Oct 19 '17 at 7:29
Port is in use by something else? try another port number
– Piotr Kula
Oct 19 '17 at 14:39
add a comment |
I'm trying to use netcat
on Linux server to stream video to my windows client using VLC
I started running netcat
on Linux:
cat /media/HD1/myMovie.mkv | nc -l 8668
In VLC Windows Client I tried to:
Open VLC > Open network stream vlc > rtp://@serverIP:8668
Without success.
raspberry-pi vlc netcat
I'm trying to use netcat
on Linux server to stream video to my windows client using VLC
I started running netcat
on Linux:
cat /media/HD1/myMovie.mkv | nc -l 8668
In VLC Windows Client I tried to:
Open VLC > Open network stream vlc > rtp://@serverIP:8668
Without success.
raspberry-pi vlc netcat
raspberry-pi vlc netcat
edited Jun 12 '13 at 3:36
Anthon
62.3k17109173
62.3k17109173
asked Jun 12 '13 at 3:18
MakahMakah
12315
12315
VLC
has a server mode that you can use in Linux do this. Usingcat
to netcat won't make it speak the RTP protocol.
– jordanm
Jun 12 '13 at 5:12
Someone told me that VLC server is heavy and i could try to use mplayer instead. Do you agree? (i'm using Raspberry pi)
– Makah
Jun 13 '13 at 22:02
nc -l -p 5001 | mplayer -fps 31 -cache 1024 -
on the receiving side.
– Piotr Kula
Nov 14 '13 at 9:27
@ppumkinnc: address already in use
– Braden Best
Oct 19 '17 at 7:29
Port is in use by something else? try another port number
– Piotr Kula
Oct 19 '17 at 14:39
add a comment |
VLC
has a server mode that you can use in Linux do this. Usingcat
to netcat won't make it speak the RTP protocol.
– jordanm
Jun 12 '13 at 5:12
Someone told me that VLC server is heavy and i could try to use mplayer instead. Do you agree? (i'm using Raspberry pi)
– Makah
Jun 13 '13 at 22:02
nc -l -p 5001 | mplayer -fps 31 -cache 1024 -
on the receiving side.
– Piotr Kula
Nov 14 '13 at 9:27
@ppumkinnc: address already in use
– Braden Best
Oct 19 '17 at 7:29
Port is in use by something else? try another port number
– Piotr Kula
Oct 19 '17 at 14:39
VLC
has a server mode that you can use in Linux do this. Using cat
to netcat won't make it speak the RTP protocol.– jordanm
Jun 12 '13 at 5:12
VLC
has a server mode that you can use in Linux do this. Using cat
to netcat won't make it speak the RTP protocol.– jordanm
Jun 12 '13 at 5:12
Someone told me that VLC server is heavy and i could try to use mplayer instead. Do you agree? (i'm using Raspberry pi)
– Makah
Jun 13 '13 at 22:02
Someone told me that VLC server is heavy and i could try to use mplayer instead. Do you agree? (i'm using Raspberry pi)
– Makah
Jun 13 '13 at 22:02
nc -l -p 5001 | mplayer -fps 31 -cache 1024 -
on the receiving side.– Piotr Kula
Nov 14 '13 at 9:27
nc -l -p 5001 | mplayer -fps 31 -cache 1024 -
on the receiving side.– Piotr Kula
Nov 14 '13 at 9:27
@ppumkin
nc: address already in use
– Braden Best
Oct 19 '17 at 7:29
@ppumkin
nc: address already in use
– Braden Best
Oct 19 '17 at 7:29
Port is in use by something else? try another port number
– Piotr Kula
Oct 19 '17 at 14:39
Port is in use by something else? try another port number
– Piotr Kula
Oct 19 '17 at 14:39
add a comment |
2 Answers
2
active
oldest
votes
I had been looking for such a solution this weekend.
Since i found one i thought to share it for future researchers.
PC 1 = Server. The PC in my lan having my movie stored
$ netcat -l -p 8111 <mymovie.mp4 # -p 8111 :port 8111. Can be any port
#OR
$ cat mymovie.mp4 |netcat -l -p 8111 # -l : listening mode
PC 2 = Client. The PC connected to my TV
$ netcat 192.168.1.116 8111 |vlc - # Change IP accordingly to find PC1
#OR
$ cat </dev/tcp/192.168.1.116/8111 |vlc - # in Bash
Instead of vlc
you can use mpv
or any other video player as soon as read from standard input is supported.
Next Weekend Task:
Serve mymovie.mp4
to client alongside with subtitles srt
file
add a comment |
vlc
has a stream feature to redirect video by network.
You need execute this command on server:
vlc -vvv zzx.rmvb --sout '#std{access=mmsh,mux=asfh,dst=:8080}'
And then,you can execute this command on client:
mms://server_ip_address:8080
As the above,I use mms/mmsh to redirect video by network. Vlc support other stream methods. For example:http,udp,rtp/rtsp and so on.
Please take a look at the document of vlc.
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%2f79103%2fstream-video-using-netcat-and-vlc%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
I had been looking for such a solution this weekend.
Since i found one i thought to share it for future researchers.
PC 1 = Server. The PC in my lan having my movie stored
$ netcat -l -p 8111 <mymovie.mp4 # -p 8111 :port 8111. Can be any port
#OR
$ cat mymovie.mp4 |netcat -l -p 8111 # -l : listening mode
PC 2 = Client. The PC connected to my TV
$ netcat 192.168.1.116 8111 |vlc - # Change IP accordingly to find PC1
#OR
$ cat </dev/tcp/192.168.1.116/8111 |vlc - # in Bash
Instead of vlc
you can use mpv
or any other video player as soon as read from standard input is supported.
Next Weekend Task:
Serve mymovie.mp4
to client alongside with subtitles srt
file
add a comment |
I had been looking for such a solution this weekend.
Since i found one i thought to share it for future researchers.
PC 1 = Server. The PC in my lan having my movie stored
$ netcat -l -p 8111 <mymovie.mp4 # -p 8111 :port 8111. Can be any port
#OR
$ cat mymovie.mp4 |netcat -l -p 8111 # -l : listening mode
PC 2 = Client. The PC connected to my TV
$ netcat 192.168.1.116 8111 |vlc - # Change IP accordingly to find PC1
#OR
$ cat </dev/tcp/192.168.1.116/8111 |vlc - # in Bash
Instead of vlc
you can use mpv
or any other video player as soon as read from standard input is supported.
Next Weekend Task:
Serve mymovie.mp4
to client alongside with subtitles srt
file
add a comment |
I had been looking for such a solution this weekend.
Since i found one i thought to share it for future researchers.
PC 1 = Server. The PC in my lan having my movie stored
$ netcat -l -p 8111 <mymovie.mp4 # -p 8111 :port 8111. Can be any port
#OR
$ cat mymovie.mp4 |netcat -l -p 8111 # -l : listening mode
PC 2 = Client. The PC connected to my TV
$ netcat 192.168.1.116 8111 |vlc - # Change IP accordingly to find PC1
#OR
$ cat </dev/tcp/192.168.1.116/8111 |vlc - # in Bash
Instead of vlc
you can use mpv
or any other video player as soon as read from standard input is supported.
Next Weekend Task:
Serve mymovie.mp4
to client alongside with subtitles srt
file
I had been looking for such a solution this weekend.
Since i found one i thought to share it for future researchers.
PC 1 = Server. The PC in my lan having my movie stored
$ netcat -l -p 8111 <mymovie.mp4 # -p 8111 :port 8111. Can be any port
#OR
$ cat mymovie.mp4 |netcat -l -p 8111 # -l : listening mode
PC 2 = Client. The PC connected to my TV
$ netcat 192.168.1.116 8111 |vlc - # Change IP accordingly to find PC1
#OR
$ cat </dev/tcp/192.168.1.116/8111 |vlc - # in Bash
Instead of vlc
you can use mpv
or any other video player as soon as read from standard input is supported.
Next Weekend Task:
Serve mymovie.mp4
to client alongside with subtitles srt
file
answered Mar 26 '18 at 0:01
George VasiliouGeorge Vasiliou
5,89531130
5,89531130
add a comment |
add a comment |
vlc
has a stream feature to redirect video by network.
You need execute this command on server:
vlc -vvv zzx.rmvb --sout '#std{access=mmsh,mux=asfh,dst=:8080}'
And then,you can execute this command on client:
mms://server_ip_address:8080
As the above,I use mms/mmsh to redirect video by network. Vlc support other stream methods. For example:http,udp,rtp/rtsp and so on.
Please take a look at the document of vlc.
add a comment |
vlc
has a stream feature to redirect video by network.
You need execute this command on server:
vlc -vvv zzx.rmvb --sout '#std{access=mmsh,mux=asfh,dst=:8080}'
And then,you can execute this command on client:
mms://server_ip_address:8080
As the above,I use mms/mmsh to redirect video by network. Vlc support other stream methods. For example:http,udp,rtp/rtsp and so on.
Please take a look at the document of vlc.
add a comment |
vlc
has a stream feature to redirect video by network.
You need execute this command on server:
vlc -vvv zzx.rmvb --sout '#std{access=mmsh,mux=asfh,dst=:8080}'
And then,you can execute this command on client:
mms://server_ip_address:8080
As the above,I use mms/mmsh to redirect video by network. Vlc support other stream methods. For example:http,udp,rtp/rtsp and so on.
Please take a look at the document of vlc.
vlc
has a stream feature to redirect video by network.
You need execute this command on server:
vlc -vvv zzx.rmvb --sout '#std{access=mmsh,mux=asfh,dst=:8080}'
And then,you can execute this command on client:
mms://server_ip_address:8080
As the above,I use mms/mmsh to redirect video by network. Vlc support other stream methods. For example:http,udp,rtp/rtsp and so on.
Please take a look at the document of vlc.
edited 1 hour ago
Pablo Bianchi
543612
543612
answered Aug 19 '13 at 8:43
Edward ShenEdward Shen
69237
69237
add a comment |
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%2f79103%2fstream-video-using-netcat-and-vlc%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
VLC
has a server mode that you can use in Linux do this. Usingcat
to netcat won't make it speak the RTP protocol.– jordanm
Jun 12 '13 at 5:12
Someone told me that VLC server is heavy and i could try to use mplayer instead. Do you agree? (i'm using Raspberry pi)
– Makah
Jun 13 '13 at 22:02
nc -l -p 5001 | mplayer -fps 31 -cache 1024 -
on the receiving side.– Piotr Kula
Nov 14 '13 at 9:27
@ppumkin
nc: address already in use
– Braden Best
Oct 19 '17 at 7:29
Port is in use by something else? try another port number
– Piotr Kula
Oct 19 '17 at 14:39