[FFmpeg-user] ffserver config for HLS

Moritz Barsnick barsnick at gmx.net
Tue Oct 7 10:32:32 CEST 2014


On Tue, Oct 07, 2014 at 14:10:49 +0800, ajay parashar wrote:
> >   Stream #0:0 -> #1:0 (ac3 (native) -> ac3 (native))
> >   Stream #0:2 -> #1:1 (h264 (native) -> h264 (libx264))
> > Error while opening encoder for output stream #1:0 - maybe incorrect
> > parameters such as bit_rate, rate, width or height

> I played this video in VLC and confirm Video width, height , video
> frame rate and use the same value in above mentioned ffserver config
> file.

But as you can see from the message, something is wrong with the AC3
audio track (output stream #1:0). Have you tried stream-copying input
#0:0 or #0:1 instead of re-encoding it?

By the way, you have two outputs:
out%03d.ts (segment)
and
http://10.125.133.31:8080/feed1.ffm

and you are not specifying any parameters for the second one. Are you
sure this is what you are trying to achieve?

Moritz


More information about the ffmpeg-user mailing list