Answer the question
In order to leave comments, you need to log in
Correct ffmpeg options for online streaming?
Good afternoon, I would like to know from experts what ffmpeg parameters should be used when formatting video for online streaming, without a strong loss of quality.
The following lines are currently used:
-vcodec libx264
-vpre lossless_medium
-threads 0
-r 25 -g 50 -crf 20
-me_method hex
-trellis 0
-bf 8
-directpred auto
-acodec libfaac -ar 44100 -ab 128k
-f mp4
-vf "scale=1024:576"
configuration: --prefix=/usr/local --mandir=/usr/local/man --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-pthreads --enable-memalign -hack --enable-runtime-cpudetect --cc=cc --extra-cflags='-I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/ usr/local/lib'--extra-libs=-pthread --disable-debug --disable-libaacplus --disable-indev=alsa --disable-outdev=alsa --enable-libopencore-amrnb --enable-libopencore-amrwb --disable- libcelt --disable-libdirac --enable-libfaac --disable-ffserver --enable-libfreetype --enable-frei0r --enable-libgsm --enable-libmp3lame --enable-libopencv --disable-libopenjpeg --disable- librtmp --enable-libschroedinger --disable-ffplay --disable-libspeex --enable-libtheora --disable-vaapi --disable-vdpau --disable-libvo-aacenc --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-nonfree --enable-version3
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question