Questions tagged [stream]

29 questions
1
vote
1 answer

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/LicenseServer/services/ServerImpl?wsdl But I can open…
1
vote
1 answer

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.com will receive data from the 192.168.9.5…
Justin
  • 222
  • 4
  • 12
1
vote
2 answers

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 transcoding and it must be restarted…
funkdoobiest
  • 140
  • 2
  • 7
1
vote
0 answers

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 stops. User reports as well the on other browser and…
kspacja
  • 111
  • 1
0
votes
0 answers

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 users but using only 1 stream thread to the URL…
Bert
  • 1,028
  • 1
  • 16
  • 33
0
votes
1 answer

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 it returns a 404. The link I access simply returns…
0
votes
6 answers

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, pass each of them via the filter, and concatenate…
user13185
0
votes
1 answer

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 the following error. [root@server1 red5]# ant…
Alex
  • 1
  • 1
  • 3
0
votes
1 answer

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 update it each day? Any advice on how to achieve…
fabrizioM
  • 101
  • 2
0
votes
2 answers

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 () { 6 @tokens = split /\s+/; 7 print $tokens[$i] . "\n"; 8 } typical usage would be something…
Min
  • 31
  • 4
0
votes
0 answers

Nginx: could not build map_hash, you should increase map_hash_bucket_size: 64 even when its set under http (stream module used)

since I can only ask questions here but its more of a solution for other people that have this issues I hope its still fine to be posting here, I didnt know a better place since I don't own a website or anything. After updating our nginx we use with…
0
votes
0 answers

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 following using netcat: nc -k -d -l -p 9999 >…
0
votes
1 answer

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/live Now I want to push it with rtsp…
showkey
  • 115
  • 1
  • 4
  • 19
0
votes
1 answer

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 then forward the "rest" to a different IP on the…
Questi
  • 13
  • 5
1
2