[FFmpeg-user] Faster vp9
Andrew Sinclair
ajsinclair at gmail.com
Tue Apr 7 06:10:06 CEST 2015
Hi,
Does anyone have any suggestions for faster vp9 encoding?
On a reasonable 4 core hyperthreaded machine I am getting <4fps encoding
speed using the following:
ffmpeg -i artofflight.mp4 -c:v libvpx-vp9 -threads 8 -b:v 1000k -speed 4
-tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -f webm
/dev/null
ffmpeg version N-69484-g6d1d036 Copyright (c) 2000-2015 the FFmpeg
developers
built with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-libass --enable-libfdk-aac --enable-libfreetype
--enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxvid
libavutil 54. 18.100 / 54. 18.100
libavcodec 56. 21.102 / 56. 21.102
libavformat 56. 19.100 / 56. 19.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 9.103 / 5. 9.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'artofflight.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.3.100
Duration: 00:06:16.77, start: 0.000000, bitrate: 2990 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 2857 kb/s, 29.97 fps, 29.97 tbr, 90k tbn,
59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 125 kb/s (default)
Metadata:
handler_name : SoundHandler
File '/dev/null' already exists. Overwrite ? [y/N] y
[libvpx-vp9 @ 0x7faf43894c00] v1.3.0
Output #0, webm, to '/dev/null':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.19.100
Stream #0:0(und): Video: vp9 (libvpx-vp9), yuv420p, 1920x1080 [SAR 1:1
DAR 16:9], q=-1--1, 1000 kb/s, 29.97 fps, 1k tbn, 29.97 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc56.21.102 libvpx-vp9
Stream #0:1(und): Audio: vorbis (libvorbis), 44100 Hz, stereo, fltp
(default)
Metadata:
handler_name : SoundHandler
encoder : Lavc56.21.102 libvorbis
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> vp9 (libvpx-vp9))
Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))
Press [q] to stop, [?] for help
frame=11290 fps=3.6 q=0.0 Lsize= 52799kB time=00:06:16.76
bitrate=1148.0kbits/s
video:48033kB audio:4557kB subtitle:0kB other streams:0kB global
headers:4kB muxing overhead: 0.397613%
More information about the ffmpeg-user
mailing list