[FFmpeg-user] Streaming Syntax error

Mettavihari D tv.lists at gmail.com
Tue Jul 25 10:33:43 EEST 2017


Greetings,

Thank you for the suggestion.

>> Reading option '-b:a 128k' ... matched as option 'b' (video bitrate
>> (please use -b:v)) with argument '-vcodec'.
>> Reading option 'libx264' ... matched as output url.

> Remove the quotes surrounding the whole of -b:a 128k and quote them
> separately.

I tried what you said but it did not seem to work.
It looks like there is a lot to learn about the way the attributes in
ffmpeg are given.
The log file is given below.

Thank you for your support.

Mettavihari

ffmpeg started on 2017-07-25 at 12:39:02
Report written to "ffmpeg-20170725-123902.log"
Command line:
/root/bin/ffmpeg -re -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 '-re' ... matched as option 're' (read input at native
frame rate) with argument '1'.
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 output url.
Reading option '128k' ... matched as output url.

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://entrypointsg.yuppcdn.net/yupptv/dharmavahini'
... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url
/media/data/video/yupptv/sutta/satipattana-15m.mp4.
Applying option re (read input at native frame rate) with argument 1.
Successfully parsed a group of options.
Opening an input file: /media/data/video/yupptv/sutta/satipattana-15m.mp4.
[file @ 0x2698320] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2697aa0] Format mov,mp4,m4a,3gp,3g2,mj2
probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2697aa0] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2697aa0] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2697aa0] Offset DTS by ctts[0].duration: 2
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2697aa0] Processing st: 0, edit list 0 -
media time: 2, duration: 109194
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2697aa0] shifted frame pts, curr_cts: 0 @
0, ctts: 2, ctts_count: 60872
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2697aa0] shifted frame pts, curr_cts: 1 @
0, ctts: 2, ctts_count: 60872


More information about the ffmpeg-user mailing list