tce-load -i compiletc yasm coreutils sdl2-dev libass-dev faac-dev pulseaudio-dev libtheora-dev bzip2-dev libva2-dev libv4l2-dev libvpx18-dev perl5 lame-dev x264_148-dev libwebp1-dev libbluray-dev libcdio-dev libcdio-paranoia-dev xvid-dev opus-dev x265-dev openal-dev librsvg-dev gnutls35-dev wget http://ffmpeg.org/releases/ffmpeg-4.4.tar.xz cd ffmpeg-4.4 sed -i 's/-lflite"/-lflite -lasound"/' configure CFLAGS="-mtune=generic -Os -pipe" CXXFLAGS="-mtune=generic -Os -pipe" ./configure --prefix=/usr/local --disable-static --enable-gpl --enable-version3 --enable-shared --disable-debug --disable-doc --enable-bzlib --enable-fontconfig --enable-libass --enable-libfreetype --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-zlib --enable-libmp3lame --enable-libv4l2 --enable-libvpx --enable-vdpau --enable-libx264 --enable-libwebp --enable-libpulse --enable-libspeex --enable-libbluray --enable-libcdio --enable-libxvid --enable-libopus --enable-libx265 --enable-openal --enable-lto --enable-librsvg --enable-gnutls --enable-avresample [--enable-libfdk-aac --enable-openssl non-free] find . -name config.mak -type f -exec sed -i 's/-O3//g' {} \; make [9m 9.72s] gcc -flto -mtune=generic -Os -pipe tools/qt-faststart.c -o tools/qt-faststart sudo make install sudo install -m755 tools/qt-faststart /usr/local/bin $ ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi [-hwaccel_device /dev/dri/renderD128] -i /mnt/sdb1/media/video/cait* -c:v h264_vaapi output.mp4 $ ffmpeg -vaapi_device /dev/dri/renderD128 -i /mnt/sdb1/media/video/cait* -vf 'format=nv12,hwupload' -c:v h264_vaapi output.mp4 $ ffmpeg -vaapi_device /dev/dri/renderD128 -i /mnt/sdb1/media/video/*hevc* -vf 'format=nv12,hwupload' -c:v h264_vaapi output.mp4 [vaapi n/a for hevc on haswell) install prefix /usr/local source path . C compiler gcc C library glibc ARCH x86 (generic) big-endian no runtime cpu detection yes standalone assembly yes x86 assembler yasm MMX enabled yes MMXEXT enabled yes 3DNow! enabled yes 3DNow! extended enabled yes SSE enabled yes SSSE3 enabled yes AESNI enabled yes AVX enabled yes AVX2 enabled yes AVX-512 enabled yes XOP enabled yes FMA3 enabled yes FMA4 enabled yes i686 features enabled yes CMOV is fast yes EBX available yes EBP available yes debug symbols no strip symbols yes optimize for size no optimizations yes static no shared yes postprocessing support yes network support yes threading support pthreads safe bitstream reader yes texi2html enabled no perl enabled yes pod2man enabled yes makeinfo enabled no makeinfo supports HTML no External libraries: alsa libpulse libxcb_shape bzlib librsvg libxcb_shm gnutls libspeex libxcb_xfixes iconv libtheora libxvid libass libv4l2 lzma libbluray libvorbis openal libcdio libvpx sdl2 libfontconfig libwebp xlib libfreetype libx264 zlib libmp3lame libx265 libopus libxcb External libraries providing hardware acceleration: v4l2_m2m vdpau vaapi xvmc Libraries: avcodec avformat postproc avdevice avresample swresample avfilter avutil swscale Programs: ffmpeg ffplay ffprobe Enabled decoders: aac flashsv pcm_vidc aac_fixed flashsv2 pcx aac_latm flic pfm aasc flv pgm ac3 fmvc pgmyuv ac3_fixed fourxm pgssub acelp_kelvin fraps pgx adpcm_4xm frwu photocd adpcm_adx g2m pictor adpcm_afc g723_1 pixlet adpcm_agm g729 pjs adpcm_aica gdv png adpcm_argo gif ppm adpcm_ct gremlin_dpcm prores adpcm_dtk gsm prosumer adpcm_ea gsm_ms psd adpcm_ea_maxis_xa h261 ptx adpcm_ea_r1 h263 qcelp adpcm_ea_r2 h263_v4l2m2m qdm2 adpcm_ea_r3 h263i qdmc adpcm_ea_xas h263p qdraw adpcm_g722 h264 qpeg adpcm_g726 h264_v4l2m2m qtrle adpcm_g726le hap r10k adpcm_ima_alp hca r210 adpcm_ima_amv hcom ra_144 adpcm_ima_apc hevc ra_288 adpcm_ima_apm hevc_v4l2m2m ralf adpcm_ima_cunning hnm4_video rasc adpcm_ima_dat4 hq_hqa rawvideo adpcm_ima_dk3 hqx realtext adpcm_ima_dk4 huffyuv rl2 adpcm_ima_ea_eacs hymt roq adpcm_ima_ea_sead iac roq_dpcm adpcm_ima_iss idcin rpza adpcm_ima_moflex idf rscc adpcm_ima_mtf iff_ilbm rv10 adpcm_ima_oki ilbc rv20 adpcm_ima_qt imc rv30 adpcm_ima_rad imm4 rv40 adpcm_ima_smjpeg imm5 s302m adpcm_ima_ssi indeo2 sami adpcm_ima_wav indeo3 sanm adpcm_ima_ws indeo4 sbc adpcm_ms indeo5 scpr adpcm_mtaf interplay_acm screenpresso adpcm_psx interplay_dpcm sdx2_dpcm adpcm_sbpro_2 interplay_video sga adpcm_sbpro_3 ipu sgi adpcm_sbpro_4 jacosub sgirle adpcm_swf jpeg2000 sheervideo adpcm_thp jpegls shorten adpcm_thp_le jv simbiosis_imx adpcm_vima kgv1 sipr adpcm_xa kmvc siren adpcm_yamaha lagarith smackaud adpcm_zork libopus smacker agm librsvg smc aic libspeex smvjpeg alac libvorbis snow alias_pix libvpx_vp8 sol_dpcm als libvpx_vp9 sonic amrnb loco sp5x amrwb lscr speedhq amv m101 srgc anm mace3 srt ansi mace6 ssa ape magicyuv stl apng mdec subrip aptx metasound subviewer aptx_hd microdvd subviewer1 arbc mimic sunrast argo mjpeg svq1 ass mjpegb svq3 asv1 mlp tak asv2 mmvideo targa atrac1 mobiclip targa_y216 atrac3 motionpixels tdsc atrac3al movtext text atrac3p mp1 theora atrac3pal mp1float thp atrac9 mp2 tiertexseqvideo aura mp2float tiff aura2 mp3 tmv av1 mp3adu truehd avrn mp3adufloat truemotion1 avrp mp3float truemotion2 avs mp3on4 truemotion2rt avui mp3on4float truespeech ayuv mpc7 tscc bethsoftvid mpc8 tscc2 bfi mpeg1_v4l2m2m tta bink mpeg1video twinvq binkaudio_dct mpeg2_v4l2m2m txd binkaudio_rdft mpeg2video ulti bintext mpeg4 utvideo bitpacked mpeg4_v4l2m2m v210 bmp mpegvideo v210x bmv_audio mpl2 v308 bmv_video msa1 v408 brender_pix mscc v410 c93 msmpeg4v1 vb cavs msmpeg4v2 vble ccaption msmpeg4v3 vc1 cdgraphics msp2 vc1_v4l2m2m cdtoons msrle vc1image cdxl mss1 vcr1 cfhd mss2 vmdaudio cinepak msvideo1 vmdvideo clearvideo mszh vmnc cljr mts2 vorbis cllc mv30 vp3 comfortnoise mvc1 vp4 cook mvc2 vp5 cpia mvdv vp6 cri mvha vp6a cscd mwsc vp6f cyuv mxpeg vp7 dca nellymoser vp8 dds notchlc vp8_v4l2m2m derf_dpcm nuv vp9 dfa on2avc vp9_v4l2m2m dirac opus vplayer dnxhd paf_audio vqa dolby_e paf_video wavpack dpx pam wcmv dsd_lsbf pbm webp dsd_lsbf_planar pcm_alaw webvtt dsd_msbf pcm_bluray wmalossless dsd_msbf_planar pcm_dvd wmapro dsicinaudio pcm_f16le wmav1 dsicinvideo pcm_f24le wmav2 dss_sp pcm_f32be wmavoice dst pcm_f32le wmv1 dvaudio pcm_f64be wmv2 dvbsub pcm_f64le wmv3 dvdsub pcm_lxf wmv3image dvvideo pcm_mulaw wnv1 dxa pcm_s16be wrapped_avframe dxtory pcm_s16be_planar ws_snd1 dxv pcm_s16le xan_dpcm eac3 pcm_s16le_planar xan_wc3 eacmv pcm_s24be xan_wc4 eamad pcm_s24daud xbin eatgq pcm_s24le xbm eatgv pcm_s24le_planar xface eatqi pcm_s32be xl eightbps pcm_s32le xma1 eightsvx_exp pcm_s32le_planar xma2 eightsvx_fib pcm_s64be xpm escape124 pcm_s64le xsub escape130 pcm_s8 xwd evrc pcm_s8_planar y41p exr pcm_sga ylc fastaudio pcm_u16be yop ffv1 pcm_u16le yuv4 ffvhuff pcm_u24be zero12v ffwavesynth pcm_u24le zerocodec fic pcm_u32be zlib fits pcm_u32le zmbv flac pcm_u8 Enabled encoders: a64multi jpegls pcm_vidc a64multi5 libmp3lame pcx aac libopus pfm ac3 libspeex pgm ac3_fixed libtheora pgmyuv adpcm_adx libvorbis png adpcm_argo libvpx_vp8 ppm adpcm_g722 libvpx_vp9 prores adpcm_g726 libwebp prores_aw adpcm_g726le libwebp_anim prores_ks adpcm_ima_alp libx264 qtrle adpcm_ima_amv libx264rgb r10k adpcm_ima_apm libx265 r210 adpcm_ima_qt libxvid ra_144 adpcm_ima_ssi ljpeg rawvideo adpcm_ima_wav magicyuv roq adpcm_ms mjpeg roq_dpcm adpcm_swf mjpeg_vaapi rpza adpcm_yamaha mlp rv10 alac movtext rv20 alias_pix mp2 s302m amv mp2fixed sbc apng mpeg1video sgi aptx mpeg2_vaapi snow aptx_hd mpeg2video sonic ass mpeg4 sonic_ls asv1 mpeg4_v4l2m2m speedhq asv2 msmpeg4v2 srt avrp msmpeg4v3 ssa avui msvideo1 subrip ayuv nellymoser sunrast bmp opus svq1 cfhd pam targa cinepak pbm text cljr pcm_alaw tiff comfortnoise pcm_dvd truehd dca pcm_f32be tta dnxhd pcm_f32le ttml dpx pcm_f64be utvideo dvbsub pcm_f64le v210 dvdsub pcm_mulaw v308 dvvideo pcm_s16be v408 eac3 pcm_s16be_planar v410 exr pcm_s16le vc2 ffv1 pcm_s16le_planar vorbis ffvhuff pcm_s24be vp8_v4l2m2m fits pcm_s24daud vp8_vaapi flac pcm_s24le vp9_vaapi flashsv pcm_s24le_planar wavpack flashsv2 pcm_s32be webvtt flv pcm_s32le wmav1 g723_1 pcm_s32le_planar wmav2 gif pcm_s64be wmv1 h261 pcm_s64le wmv2 h263 pcm_s8 wrapped_avframe h263_v4l2m2m pcm_s8_planar xbm h263p pcm_u16be xface h264_v4l2m2m pcm_u16le xsub h264_vaapi pcm_u24be xwd hevc_v4l2m2m pcm_u24le y41p hevc_vaapi pcm_u32be yuv4 huffyuv pcm_u32le zlib jpeg2000 pcm_u8 zmbv Enabled hwaccels: av1_vaapi mpeg1_vdpau vc1_vaapi h263_vaapi mpeg1_xvmc vc1_vdpau h264_vaapi mpeg2_vaapi vp8_vaapi h264_vdpau mpeg2_vdpau vp9_vaapi hevc_vaapi mpeg2_xvmc vp9_vdpau hevc_vdpau mpeg4_vaapi wmv3_vaapi mjpeg_vaapi mpeg4_vdpau wmv3_vdpau Enabled parsers: aac dvd_nav opus aac_latm dvdsub png ac3 flac pnm adx g723_1 rv30 av1 g729 rv40 avs2 gif sbc avs3 gsm sipr bmp h261 tak cavsvideo h263 vc1 cook h264 vorbis cri hevc vp3 dca ipu vp8 dirac jpeg2000 vp9 dnxhd mjpeg webp dolby_e mlp xbm dpx mpeg4video xma dvaudio mpegaudio dvbsub mpegvideo Enabled demuxers: aa ico pcm_mulaw aac idcin pcm_s16be aax idf pcm_s16le ac3 iff pcm_s24be ace ifv pcm_s24le acm ilbc pcm_s32be act image2 pcm_s32le adf image2_alias_pix pcm_s8 adp image2_brender_pix pcm_u16be ads image2pipe pcm_u16le adx image_bmp_pipe pcm_u24be aea image_cri_pipe pcm_u24le afc image_dds_pipe pcm_u32be aiff image_dpx_pipe pcm_u32le aix image_exr_pipe pcm_u8 alp image_gif_pipe pcm_vidc amr image_j2k_pipe pjs amrnb image_jpeg_pipe pmp amrwb image_jpegls_pipe pp_bnk anm image_pam_pipe pva apc image_pbm_pipe pvf ape image_pcx_pipe qcp apm image_pgm_pipe r3d apng image_pgmyuv_pipe rawvideo aptx image_pgx_pipe realtext aptx_hd image_photocd_pipe redspark aqtitle image_pictor_pipe rl2 argo_asf image_png_pipe rm argo_brp image_ppm_pipe roq asf image_psd_pipe rpl asf_o image_qdraw_pipe rsd ass image_sgi_pipe rso ast image_sunrast_pipe rtp au image_svg_pipe rtsp av1 image_tiff_pipe s337m avi image_webp_pipe sami avr image_xbm_pipe sap avs image_xpm_pipe sbc avs2 image_xwd_pipe sbg avs3 ingenient scc bethsoftvid ipmovie sdp bfi ipu sdr2 bfstm ircam sds bink iss sdx binka iv8 segafilm bintext ivf ser bit ivr sga bmv jacosub shorten boa jv siff brstm kux simbiosis_imx c93 kvag sln caf live_flv smacker cavsvideo lmlm4 smjpeg cdg loas smush cdxl lrc sol cine luodat sox codec2 lvf spdif codec2raw lxf srt concat m4v stl data matroska str daud mca subviewer dcstr mcc subviewer1 derf mgsts sup dfa microdvd svag dhav mjpeg svs dirac mjpeg_2000 swf dnxhd mlp tak dsf mlv tedcaptions dsicin mm thp dss mmf threedostr dts mods tiertexseq dtshd moflex tmv dv mov truehd dvbsub mp3 tta dvbtxt mpc tty dxa mpc8 txd ea mpegps ty ea_cdata mpegts v210 eac3 mpegtsraw v210x epaf mpegvideo vag ffmetadata mpjpeg vc1 filmstrip mpl2 vc1t fits mpsub vividas flac msf vivo flic msnwc_tcp vmd flv msp vobsub fourxm mtaf voc frm mtv vpk fsb musx vplayer fwse mv vqf g722 mvi w64 g723_1 mxf wav g726 mxg wc3 g726le nc webm_dash_manifest g729 nistsphere webvtt gdv nsp wsaud genh nsv wsd gif nut wsvqa gsm nuv wtv gxf obu wv h261 ogg wve h263 oma xa h264 paf xbin hca pcm_alaw xmv hcom pcm_f32be xvag hevc pcm_f32le xwma hls pcm_f64be yop hnm pcm_f64le yuv4mpegpipe Enabled muxers: a64 hds pcm_s32be ac3 hevc pcm_s32le adts hls pcm_s8 adx ico pcm_u16be aiff ilbc pcm_u16le alp image2 pcm_u24be amr image2pipe pcm_u24le amv ipod pcm_u32be apm ircam pcm_u32le apng ismv pcm_u8 aptx ivf pcm_vidc aptx_hd jacosub psp argo_asf kvag rawvideo asf latm rm asf_stream lrc roq ass m4v rso ast matroska rtp au matroska_audio rtp_mpegts avi md5 rtsp avm2 microdvd sap avs2 mjpeg sbc bit mkvtimestamp_v2 scc caf mlp segafilm cavsvideo mmf segment codec2 mov singlejpeg codec2raw mp2 smjpeg crc mp3 smoothstreaming dash mp4 sox data mpeg1system spdif daud mpeg1vcd spx dirac mpeg1video srt dnxhd mpeg2dvd stream_segment dts mpeg2svcd streamhash dv mpeg2video sup eac3 mpeg2vob swf f4v mpegts tee ffmetadata mpjpeg tg2 fifo mxf tgp fifo_test mxf_d10 truehd filmstrip mxf_opatom tta fits null ttml flac nut uncodedframecrc flv oga vc1 framecrc ogg vc1t framehash ogv voc framemd5 oma w64 g722 opus wav g723_1 pcm_alaw webm g726 pcm_f32be webm_chunk g726le pcm_f32le webm_dash_manifest gif pcm_f64be webp gsm pcm_f64le webvtt gxf pcm_mulaw wtv h261 pcm_s16be wv h263 pcm_s16le yuv4mpegpipe h264 pcm_s24be hash pcm_s24le Enabled protocols: async http rtmpts bluray httpproxy rtp cache https srtp concat icecast subfile crypto md5 tcp data mmsh tee ffrtmphttp mmst tls file pipe udp ftp prompeg udplite gopher rtmp unix gophers rtmps hls rtmpt Enabled filters: abench deblock palettegen abitscope decimate paletteuse acompressor deconvolve pan acontrast dedot perms acopy deesser perspective acrossfade deflate phase acrossover deflicker photosensitivity acrusher deinterlace_vaapi pixdesctest acue dejudder pixscope addroi delogo pp adeclick denoise_vaapi pp7 adeclip derain premultiply adelay deshake prewitt adenorm despill procamp_vaapi aderivative detelecine pseudocolor adrawgraph dilation psnr aecho displace pullup aemphasis dnn_processing qp aeval doubleweave random aevalsrc drawbox readeia608 aexciter drawgraph readvitc afade drawgrid realtime afftdn drawtext remap afftfilt drmeter removegrain afifo dynaudnorm removelogo afir earwax repeatfields afirsrc ebur128 replaygain aformat edgedetect resample afreqshift elbg reverse agate entropy rgbashift agraphmonitor epx rgbtestsrc ahistogram eq roberts aiir equalizer rotate aintegral erosion sab ainterleave estdif scale alimiter exposure scale2ref allpass extractplanes scale_vaapi allrgb extrastereo scdet allyuv fade scroll aloop fftdnoiz select alphaextract fftfilt selectivecolor alphamerge field sendcmd amerge fieldhint separatefields ametadata fieldmatch setdar amix fieldorder setfield amovie fifo setparams amplify fillborders setpts amultiply find_rect setrange anequalizer firequalizer setsar anlmdn flanger settb anlms floodfill sharpness_vaapi anoisesrc format shear anull fps showcqt anullsink framepack showfreqs anullsrc framerate showinfo apad framestep showpalette aperms freezedetect showspatial aphasemeter freezeframes showspectrum aphaser fspp showspectrumpic aphaseshift gblur showvolume apulsator geq showwaves arealtime gradfun showwavespic aresample gradients shuffleframes areverse graphmonitor shufflepixels arnndn greyedge shuffleplanes aselect haas sidechaincompress asendcmd haldclut sidechaingate asetnsamples haldclutsrc sidedata asetpts hdcd sierpinski asetrate headphone signalstats asettb hflip signature ashowinfo highpass silencedetect asidedata highshelf silenceremove asoftclip hilbert sinc asplit histeq sine ass histogram smartblur astats hqdn3d smptebars astreamselect hqx smptehdbars asubboost hstack sobel asubcut hue spectrumsynth asupercut hwdownload speechnorm asuperpass hwmap split asuperstop hwupload spp atadenoise hysteresis sr atempo identity ssim atrim idet stereo3d avectorscope il stereotools avgblur inflate stereowiden axcorrelate interlace streamselect bandpass interleave subtitles bandreject join super2xsai bass kerndeint superequalizer bbox kirsch surround bench lagfun swaprect bilateral lenscorrection swapuv biquad life tblend bitplanenoise limiter telecine blackdetect loop testsrc blackframe loudnorm testsrc2 blend lowpass thistogram bm3d lowshelf threshold boxblur lumakey thumbnail bwdif lut tile cas lut1d tinterlace cellauto lut2 tlut2 channelmap lut3d tmedian channelsplit lutrgb tmidequalizer chorus lutyuv tmix chromahold mandelbrot tonemap chromakey maskedclamp tonemap_vaapi chromanr maskedmax tpad chromashift maskedmerge transpose ciescope maskedmin transpose_vaapi codecview maskedthreshold treble color maskfun tremolo colorbalance mcdeint trim colorchannelmixer mcompand unpremultiply colorcontrast median unsharp colorcorrect mergeplanes untile colorhold mestimate uspp colorize metadata v360 colorkey midequalizer vaguedenoiser colorlevels minterpolate vectorscope colormatrix mix vflip colorspace monochrome vfrdet colortemperature movie vibrance compand mpdecimate vibrato compensationdelay mptestsrc vif concat msad vignette convolution negate vmafmotion convolve nlmeans volume copy nnedi volumedetect cover_rect noformat vstack crop noise w3fdif cropdetect normalize waveform crossfeed null weave crystalizer nullsink xbr cue nullsrc xfade curves oscilloscope xmedian datascope overlay xstack dblur owdenoise yadif dcshift pad yaepblur dctdnoiz pal100bars yuvtestsrc deband pal75bars zoompan Enabled bsfs: aac_adtstoasc hapqa_extract pcm_rechunk av1_frame_merge hevc_metadata prores_metadata av1_frame_split hevc_mp4toannexb remove_extradata av1_metadata imx_dump_header setts chomp mjpeg2jpeg text2movsub dca_core mjpega_dump_header trace_headers dump_extradata mov2textsub truehd_core eac3_core mp3_header_decompress vp9_metadata extract_extradata mpeg2_metadata vp9_raw_reorder filter_units mpeg4_unpack_bframes vp9_superframe h264_metadata noise vp9_superframe_split h264_mp4toannexb null h264_redundant_pps opus_metadata Enabled indevs: alsa libcdio pulse fbdev openal v4l2 lavfi oss xcbgrab Enabled outdevs: alsa pulse xv fbdev sdl2 oss v4l2 License: GPL version 3 or later