Questions tagged [stream]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
219 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 ...
10
votes
3answers
20k 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
2answers
4k 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 ...
1
vote
1answer
3k 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
1answer
172 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
2answers
3k views

FFMPEG Stream a Live Radio Streaming URL [closed]

How is it possible to stream from a live radio streaming URL? In other words, consider a site streaming something from http://www.domain.tld/liveRadioStreamingAddress, and I need to stream this ...
1
vote
1answer
1k 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 <...
6
votes
2answers
14k 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
0answers
313 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
1answer
661 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
0answers
2k 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
1answer
85 views

Urgent help please [closed]

im in a pickle, My domain that is set to ovh nameservers on a ovh server ip: 151.80.104.45 is throwing me this http error No address associated with hostname HTTP CRITICAL - Unable to open TCP ...
4
votes
2answers
10k 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
1answer
187 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
1answer
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
1answer
584 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
1answer
266 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
1answer
7k 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
1answer
7k 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
1answer
89 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
2answers
499 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
1answer
463 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
2answers
3k 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
1answer
879 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
6answers
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, ...