-
Notifications
You must be signed in to change notification settings - Fork 205
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
Unable to compile ffmpeg in new l4t 34.1 ubuntu 20.04 #115
Comments
From the 34.1 Developer Preview Release Notes:
Likely the case. I'm checking out the migration guide now.... I'm not a programmer, but the migration seems pretty straight forward. |
@russ-go I am looking forward for your progress, on the same page as you. |
Same issue on jetson xavier nx with the latest version (Jetpack 5.0.1, ubuntu 20.04 with l4t 34.1.1). Attaching config.log |
Has anyone done this conversion yet? So I don't redo all their work. |
@aimaicai I'm wondering how you solved this problem |
Apparently nvidia has added hardware jetson decoder support to ffmpeg, 2 years ago, already. There's also this fork, which has nvidia's method and this method (for encoding support mainly) + ported to ffmpeg 4.4: |
You can build it by adding "-L/usr/lib/aarch 64 -linux-gnu/tegra-lnvbufsurface" to Libs in jetson-ffmeg/nvmpi.pc.in.
It works on ffmpeg-4.2.7, Ubuntu 20.04.04 LTS/Orin (JetPack 5.0.2). |
os: ubuntu 20.04 LTS, I follow @HTani 's suggestion, but has new errors ----- from ./ffbuild/config.log ----------- |
P.S.: (2) here is my config cmd: |
@HTani It works after I modified nvmpi.pc file. You save my life!! Thank you. |
@shunguang |
@HTani and @minghaohsu410168 Thanks for your kindly reply. it was a silly mistake when interpreted your following message.
at here "-Libs" and "+Libs" came from your git diff, notthe contents in your nvmpi.pc.in file. When i changed them as
in my nvmpi.pc.in, it passed. but still have some minor issues. Anyway, here is my build note |
Hi, I've recently upgrade my jetson agx to the latest version (ubuntu 20.04 with l4t 34.1). I follow the guide to enable the nvmpi codec for ffmpeg (4.2.2), but it fail on configure:
ERROR: nvmpi not found using pkg-config
The package is present, so i check the configure.log in the ffbuild folder and I get this:
/usr/bin/ld: /usr/local/lib/libnvmpi.so: undefined reference to
NvBufSurfaceMap' /usr/bin/ld: /usr/local/lib/libnvmpi.so: undefined reference to
NvBufSurfaceFromFd'/usr/bin/ld: /usr/local/lib/libnvmpi.so: undefined reference to `NvBufSurfaceUnMap'
Have anyone been able to compile ffmpeg with the nvmpi codecs enabled?
Thanks
The text was updated successfully, but these errors were encountered: