-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FFmpeg on jetson #1894
Comments
Check the log for any warnings.
|
no warnings. it worked normally with cpu , not gpu. |
@saudet I installed nvidia ffmpeg on jetson nano and run ffmpeg -c:v hevc_nvv4l2dec -vf fps=1 image_%05d.jpg |
Hum, it just looks like CUDA wasn't enabled on that platform. |
We need a libnvcuvid.so.1 library that supports the GPU, yes. I suppose the version of FFmpeg they provide is a proprietary fork of the original project, and we don't have access to the source code, but if they provide binaries for its libraries as well, we can use those with JavaCV and JavaCPP by setting the "org.bytedeco.javacpp.pathsFirst" system property to "true". They need to be for the same exact version of FFmpeg though. If not, you'll need to build the JavaCPP Presets for FFmpeg from source: |
Thank you for your reply. I will continue to explore. This is difficult for me. |
hello, my server is jetson nano
--jetpack:5.0.1
--cuda:11.4.14
what dependencies do I need to get FFmpegFrameGrabber to work with gpu
i use h264_cuvid/hevc_cuvid, it still worked with cpu, this is my dependencies
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacv</artifactId>
<version>1.5.7</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>ffmpeg-platform</artifactId>
<version>5.0-1.5.7</version>
</dependency>
The text was updated successfully, but these errors were encountered: