Versioni confrontate

Chiave

  • Questa linea è stata aggiunta.
  • Questa linea è stata rimossa.
  • La formattazione è stata modificata.
Excerpt

You need to set buff_size = max_buffer_size = * 1.5, min_buffer_size = max_buffer_size * 0.92, avg_buffer_size = max_buffer_size * 0.96, gop=60, fps=30 in ffmpeg to avoid MUST fix issues with Apple meadiastreamvalidator.

...

You will need to set minrate:avgrate:maxrate:buffsize = 1:10.92:0.96:1:1.5 with ffmpeg to avoid above case. The ffmpeg options you should do is something like below:

Code Block
ffmpeg -i "/tmp/ck_ffmpeg/2021-09-22_305fde4e/src.mp4" \
	.
	.
	.
	-g 60
	-filter:v:0 "scale=iw*sar*min(1920/(iw*sar)\,1080/ih):ih*min(1920/(iw*sar)\,1080/ih), pad=1920:1080:(ow-iw)/2:(oh-ih)/2, format=yuv420p, fps=30" \
	-b:v:0 9M9.6M \
	-maxrate:v:0 9M10M \
	-minrate:v:0 9M9.2M \
	-bufsize:v:0 9M15M \
	-b:a:0 192k \
	-muxdelay 0 \
	-muxpreload 0 \
	.
	.
	.