jocover / jetson-ffmpeg

ffmpeg support on jetson nano
Other
615 stars 197 forks source link

How to verify if installed correctly #14

Closed Tsopic closed 3 years ago

Tsopic commented 4 years ago

I'm not sure if everything is correct.

I'm not able to use the acceleration and want to know if there is a way to check if installion is done correctly.

my ffmpeg -hwaccels

ffmpeg -hwaccels
ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu/Linaro 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Hardware acceleration methods:
vdpau
vaapi
jocover commented 4 years ago

not support ffmpeg hardware acceleration now. because ffmpeg v4l2 request api not working now, need more test

Tsopic commented 4 years ago

Would it work with older ffmpeg version?

If that's the case, which version?

grantthomas commented 3 years ago

hello can i join here?

It'd probably be recommended to start a new issue / question instead of adding to this one that is closed.

Can anyone provide what looks like the load of his GPU utilization in jtop?

In your second picture, the NVENC and NVDEC are showing as running. https://snipboard.io/m6LOzP.jpg

The NVENC and NVDEC usage does not show up on the GPU view of jtop. Your ffmpeg is working, and you're using hardware acceleration for both decode and encode.

Is it normal? I'm disappointed with too low performance on my Jetson Nano.

What specifically are you disappointed with, and what were you expecting? framerate? encode quality? something else?