[FFmpeg-user] Streaming Syntax error

Mettavihari D tv.lists at gmail.com
Tue Jul 25 12:09:10 EEST 2017


Greetings

Thank you for having such sharp eyes.

> The space between 128k and -vcodec is now omitted. Please proof your
> commands for these trivial issues before trying.

That cleared the present problem.
Now it is working with this command.
but is seems the two -b commands are not implemented.
pls see below.

What I really need in to have a stream with a fixed bitrate output.
my client does not want the stream to vary up and down.
my thinking was that if I use this command
-b:v 1500k -minrate 1500k -maxrate 1500k -bufsize 1500k
Then I could generate a fixed bitrate stream of 1500K

Please give your advice on this.

Mettavihari

/root/bin/ffmpeg -i /media/data/video/yupptv/sutta/satipattana-15m.mp4
-report -acodec libfdk_aac -b:a 128k -vcodec libx264 -b:v 1500k -f flv
-metadata "streamName=xlarge" rtmp://site

Splitting the commandline.
Reading option '-i' ... matched as input url with argument '/media/data/FILE
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Reading option '-acodec' ... matched as option 'acodec' (force audio
codec ('copy' to copy stream)) with argument 'libfdk_aac'.
Reading option '-b:a' ... matched as option 'b' (video bitrate (please
use -b:v)) with argument '128k'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video
codec ('copy' to copy stream)) with argument 'libx264'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please
use -b:v)) with argument '1500k'.
Reading option '-f' ... matched as option 'f' (force format) with
argument 'flv'.
Reading option '-metadata' ... matched as option 'metadata' (add
metadata) with argument 'streamName=xlarge'.
Reading option 'rtmp://SITE' ... matched as output url.
Finished splitting the commandline.


More information about the ffmpeg-user mailing list