[FFmpeg-user] Streaming Syntax error
Mettavihari D
tv.lists at gmail.com
Tue Jul 25 11:41:42 EEST 2017
Greetings
Thank you for the note.
>> Reading option 'b:a' ... matched as output url.
>> Reading option '128k' ... matched as output url.
>>
>
> The dash before b:a is missing.
That is so certainly an error.
However this did not work either
There is something I do wrong in this command line
Please have a look below
/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
ffmpeg version N-86069-ga453f55 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-11)
configuration: --prefix=/root/ffmpeg_build
--extra-cflags=-I/root/ffmpeg_build/include
--extra-ldflags='-L/root/ffmpeg_build/lib -ldl' --bindir=/root/bin
--pkg-config-flags=--static --enable-gpl --enable-nonfree
--enable-libfdk_aac --enable-libfreetype --enable-libmp3lame
--enable-libvorbis --enable-libvpx --enable-libx264
libavutil 55. 62.100 / 55. 62.100
libavcodec 57. 95.101 / 57. 95.101
libavformat 57. 72.101 / 57. 72.101
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 89.100 / 6. 89.100
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Splitting the commandline.
Reading option '-i' ... matched as input url with argument
'/media/data/video/yupptv/sutta/satipattana-15m.mp4'.
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-vcodec'.
This option is not taken as an audio option but as a video option,
Perhaps because the above is taken as
(force audio codec ('copy' to copy stream))
Reading option 'libx264' ... matched as output url.
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.
Thank you
Mettavihari
More information about the ffmpeg-user
mailing list