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

Moritz Barsnick barsnick at gmx.net
Mon Dec 4 15:30:58 EET 2017

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 the ffmpeg
executable should be called with "ffmpeg\bin\ffmpeg" (i.e. backslaches
as path separator).

I still don't understand where your error message comes from though...
Might be Windows messing up the argument order.

> ffmpeg version N-50911-g9efcfbe Copyright (c) 2000-2013 the FFmpeg

As Carl Eugen mentioned: This is quite old (but not the issue - yet).

> Input #0, s16le, from 'pipe:':
>   Duration: N/A, bitrate: 1536 kb/s
>     Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s

Upto here, everything's fine, AFAICS. The piped input is seen.


More information about the ffmpeg-user mailing list