Questions tagged [stream]
The stream tag has no usage guidance.
28
questions
0
votes
0
answers
39
views
listen and redirect TCP stream to file with multi client support in the background
is there any tool I can listen on some port and accept any client and redirect the stream to a file. I know it can be done using netcat but it seems netcat cannot keep running in the background.
I did ...
1
vote
0
answers
167
views
Stream from Icecast interputed after few seconds
I have a stream based on Icecast server. It works on most of devices and browsers, but there is an issue for example on android mobile chrome - I can run stream, but it lasts 2 few seconds and it ...
0
votes
1
answer
3k
views
Why can push mp4 into a rtmp stream instead of rtsp stream?
I build stream server with nginx, and can push the MP4 into a rtmp stream with :
ffmpeg -re -i /mnt/hls/m7.mp4 -vcodec libx264 -vprofile baseline -g 30 -acodec aac -strict -2 -f flv rtmp://127.0.0.1/...
0
votes
1
answer
1k
views
nginx Reverse-Proxy: using stream module for passthrough and reverse proxy
I use the stream module in order to passthrough tls traffic where I cannot reverse proxy, e.g. because I dont have the certificate (local 3CX install) or it breaks stuff (ssl vpn with client cert).
I ...
2
votes
0
answers
1k
views
nginx differences between stream module and http module
I'm try to understand nginx http and stream module, so far I learn that http module is for L7 operations and stream module is for L4 operations? Is that all or is much more here?
With Regards
Boris
0
votes
0
answers
509
views
Stream an m3u8 URL to LAN
I have a stream from the web in the form of an m3u8 file. Since everybody in the office watches the same stream, it is not effective in terms of network traffic.
How can I spread the stream among the ...
28
votes
3
answers
74k
views
unknown directive "stream" in /etc/nginx/nginx.conf:86
I have nginx/1.12.0 and as per document it contains stream module. I have installed nginx with the following commands.
sudo add-apt-repository ppa:nginx/stable
sudo apt-get update
sudo apt-get ...
2
votes
2
answers
8k
views
How to forward non-http requests on port 80 to another port?
There is an nginx web server listening to both 80 and 443 ports. I would like to process all the http requests as usual and forward all the non-http requests to another port (say, 1234).
My question ...
4
votes
2
answers
8k
views
nginx reverse stream proxy with multiple ports to the same server
I'm trying to use nginx as a reverse proxy to two different servers. The servers require the use of client-side certificates for authentication, which means nginx is configured as a stream proxy ...
1
vote
1
answer
2k
views
Interacting with a program running as part of a systemd service
I've got a systemd service set up with the following configuration (in /etc/systemd/system/my-service.service):
[Unit]
Description=My service
[Service]
WorkingDirectory=/path/to/my/service
User=some-...
1
vote
1
answer
3k
views
How to send a continuous stream through ssh
Given a named pipe, how can I send a continuous stream of this pipe through ssh?
The netcat equivalent of what I am looking for is
from client
dd if=myfifo | nc -l 12345
from server
nc <...
12
votes
3
answers
34k
views
How to proxy multiple tcp streams on one port with nginx
With nginx http directive, you can have multiple servers on the same port with different names:
server {
listen 80;
server_name server1.example.com;
location / {
proxy_pass ...
1
vote
0
answers
456
views
Dump a tcp stream (tcpdump/tpick?) and save to file only if RST happen
I'm looking for a way to capture a whole tcp stream, but save it into the file only if
1) error happens (like RST)
2) not sure if possible - analyze the http response, store if HTTP 500 happen is a ...
0
votes
1
answer
1k
views
error 404 in curl/file_get_contents/get_headers: “failed to open stream”
After isolating my problem, I am testing my API with the following code:
$url = 'http://example.com/api/myendpoint;
print_r(get_headers($url));die();
Sometimes it does works, but sometimes ...
1
vote
0
answers
4k
views
nginx proxy cache mp4 streaming
Sorry for my question,
the schema like this:
there are upstream which is a IIS server where locates video files.
my nginx is an proxy caching server, I need to cache mp4 file when client starts ...
4
votes
3
answers
31k
views
OpenSSL connection Error called stream_socket_enable_crypto()
in my php coding i have following line which uses by SWIFT MAILER Class
if(!stream_socket_enable_crypto($this->smtp_conn, true, STREAM_CRYPTO_METHOD_TLS_CLIENT)) {
return false;
}
however ...
7
votes
1
answer
192
views
Is there a tool that can top-ify an input stream?
I come across quite a few use cases where it would be very useful to take input from a (usually newline-delimited) stream and summarise it in a top-like fashion (see top, iotop, etc). A kind of on-...
0
votes
1
answer
3k
views
Red5 install on CentOS build.xml does not exist?
http://nocreativity.com/blog/how-to-install-red5-on-centos-5-the-complete-guide
I have followed this tutorial for installing Red5 line by line however I have just got to compiling the Red5 code I get ...
1
vote
1
answer
674
views
Got Permission denied with JAX-WS client on tomcat6 server
I have a strange behaviour with a java client that uses webservice stubs generated by wsimport.
The client says sth about
Got Permission denied: connect while opening stream from http://dev:8080/...
2
votes
1
answer
360
views
mirror STDOUT and STDERR to file by default
How I can accomplish STDOUT to be to logged in a file (appending), but preserving the flow (leave STDOUT to STDOUT) ?
STDOUT should work transparently, but should be logged also into a file, without ...
5
votes
1
answer
9k
views
How do I set up a basic IPv6 video stream using VLC
I'm teaching a class IPv6 and would like to create a lab for them to see the true benefit of ipv6 multicasting in action.
I created a multicast address for myself
ff15::1 (where ff is multicast, 1 ...
3
votes
1
answer
9k
views
USB Webcam to IP Webcam on UBUNTU Server 11.04
I am wanting to install some security and surveillence in the room my ubuntu server occupies.
I have already sorted out the security but was thinking about installing a camera of some sort. I don't ...
0
votes
1
answer
96
views
How to dump a stream for a defined amount of time on a schedule basis
I have a video stream from a video4linux device
/dev/dsp/adapter0/dvr0
I want to programmatically dump this stream for a predefined amount of time.
I think to schedule the jobs I might use cron and ...
0
votes
2
answers
561
views
command line tool to extract a token out of stdin stream?
I've been using this perl script to get a token out of stream on command line
1 #!/usr/bin/perl
2
3 $i = $ARGV[0];
4
5 while (<STDIN>) {
6 @tokens = split /\s+/;
7 print $...
1
vote
1
answer
465
views
Route requests to IPs depending on the (sub)domain the server was accessed from
Example:
1) The server is running Ubuntu and is on a LAN (192.168.9.*)
2) The server is running several services on local IPs (Eg: 192.168.9.5 VPS (OpenVZ))
3) A client connecting from vps1.mydomain....
1
vote
2
answers
4k
views
Check if a RTMP-Stream is running and start ffmpeg to transcode the stream
I'm using ffmpeg to transcode a rtmp-stream and re-stream it with ffmpeg.
I have 2 problems:
how can I check if the remote rtmp-stream is running and then start ffmpeg
sometimes ffmpeg breaks up ...
2
votes
1
answer
3k
views
How can I use scp without providing a password
I have asked a question before in here. My question was that I tried to give my password to scp via piping
echo mypassword | scp tim@xxx.xxx.xxx.xxx:project/* ~/project/
However it still asks me ...
0
votes
6
answers
2k
views
How to run command on parts of input file
I have ~ 40GB file, and a filter command that for some reason breaks when I try to run it on the file (even when passed via pipe).
But. It doesn't fail when I split input file into many small files, ...