[Libav-user] API Settings
arosner at alsysinc.biz
Fri Jan 19 18:31:09 EET 2018
My company's media server provider has reported that our buffering issues
are related to inconsistent chunk sizes, video frame rates, audio frame
rates and number of key frames.
The media server support group sent a suggested ffmpeg command line that
could establish constant chunk sizes, video frame rates, audio frame rates
and number of key frames.
The suggested command line is:
ffmpeg -i [input-source -pix_fmt yuv420p -deinterlace -vf "scale=640:360"
-vsync 1 -vcodec libx264 -r 29.970 -threads 0 -b:v: 1024k -bufsize 1216k
-maxrate 1280k -preset medium -profile:v main -tune film -g 60
-x264opts no-scenecut -acodec aac -b:a 192k -ac 2 -ar 48000
-f flv "rtmp://192.168.1.2:1935/live/myStream
1) Do you agree that the above mentioned command line would produce
the constant parameters mentioned above?
2) It appears as though all command line options are executed using
the av_dict_set or av_opt_set API functions. Is there a document that
states how to set the equivalent command line options using the API?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user