[FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Edgar H
Thanks a lot for the help guys! The problem is now solved and it's working perfectly. Funny enough I was using a FFMPEG build from 2 days ago! Maybe it was erroneously compiled? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailma

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 15:01:41 +0100, Carl Eugen Hoyos wrote: > > Um, since the prompt tells us it's Windows/DOS, I'm sure the ffmpeg > > executable should be called with "ffmpeg\bin\ffmpeg" (i.e. backslaches > > as path separator). > > Or possibly "ffmpeg" alone which may explain the error mess

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Carl Eugen Hoyos
2017-12-04 14:30 GMT+01:00 Moritz Barsnick : > On Mon, Dec 04, 2017 at 13:04:57 +0100, Edgar H wrote: >> C:\Users\myuser\myproject>java -jar streamer/streamer.jar 6 53122 | >> ffmpeg/bin/ffmpeg -f s16le -ar 48000 -ac 2 -i - -f ogg >> icecast://hackme:hackme@localhost:8000/streaming.ogg > > Um, si

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 13:04:57 +0100, Edgar H wrote: > C:\Users\myuser\myproject>java -jar streamer/streamer.jar 6 53122 | > ffmpeg/bin/ffmpeg -f s16le -ar 48000 -ac 2 -i - -f ogg > icecast://hackme:hackme@localhost:8000/streaming.ogg Um, since the prompt tells us it's Windows/DOS, I'm sure th

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Carl Eugen Hoyos
2017-12-04 13:04 GMT+01:00 Edgar H : > Sorry for that, didn't understand it at first... > > The command I'm exeucting is the following one... > > C:\Users\myuser\myproject>java -jar streamer/strea > mer.jar 6 53122 | ffmpeg/bin/ffmpeg -f s16le -ar 48000 -ac 2 -i - -f ogg > icecast > ://hackme:hackm

[FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Edgar H
Sorry for that, didn't understand it at first... The command I'm exeucting is the following one... C:\Users\myuser\myproject>java -jar streamer/strea mer.jar 6 53122 | ffmpeg/bin/ffmpeg -f s16le -ar 48000 -ac 2 -i - -f ogg icecast ://hackme:hackme@localhost:8000/streaming.ogg And the output...

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 01:14:20 +0100, Edgar H wrote: > Now that I've changed the operator, the output shows again but it seems > that it's "Unable to find a suitable output format for '/bin/ffmpeg'", and > then it says "bin/ffmpeg: Invalid argument" > > Am I missing any parameter? Maybe just rem

[FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-03 Thread Edgar H
Thanks a lot for the quick reply Mortiz, really appreciate it. My god the > and | operator... And I wonder if this even worked back then like this! Thanks a lot for the heads up with that, totally forgot about it. Now that I've changed the operator, the output shows again but it seems that it's "

[FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-03 Thread Edgar H
Thanks a lot for the quick reply Mortiz, really appreciate it. My god the > and | operator... And I wonder if this even worked back then like this! Thanks a lot for the heads up with that, totally forgot about it. Now that I've changed the operator, the output shows again but it seems that it's "

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-03 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 00:42:50 +0100, Edgar H wrote: > Basically I'm using the > operator to send the stdout data to ffmpeg in the > following way... > > java -jar folder_in_project_root/streamer.jar > ffmpeg/bin/ffmpeg.exe -f > s16le -ar 48000 -ac 2 -i - -f ogg -content_type application/ogg ic

[FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-03 Thread Edgar H
Hey guys, I'm really struggling with the following problem, a problem I had solved few months ago and now that I revisit it, it doesn't work anymore... At the moment I have a Java desktop application which spits audio bytes through the stdout, bytes that ffmpeg must receive. I've done this using