mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
Questions about cross-compilation #37
Labels
No labels
bug
enhancement
help wanted
invalid
pull-request
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/ffmpeg-rockchip#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kevin111369 on GitHub (Mar 26, 2024).
Cross-compilation Error for ffmpeg-rockchip
libdrm and rockchip_mpp pkg-config Not Found
Build files for mpp, rga, and drm have been successfully generated through cross-compilation. Using the following commands, pkg-config files have been imported, and pkg-config information has been successfully queried, as shown below:
Then, attempting to compile ffmpeg with the following command:
Encountering the following errors:
@nyanmisaka commented on GitHub (Mar 26, 2024):
It seems to be an environment variable or configure setting issue. Please refer to the official documentation, as well as BtbN/FFmpeg-Builds to learn how to cross-compile FFmpeg correctly.
@jian263994241 commented on GitHub (Mar 27, 2024):
sudo apt install pkg-config
@jacobbtbailey commented on GitHub (Apr 3, 2024):
@Kevin111369 You can try something like this. I tested on WSL2 (Ubuntu 22.04).
@Kevin111369 commented on GitHub (Apr 3, 2024):
@jacobbtbailey I added the paths to libdrm and mpp when configuring configure, and then successfully compiled ffmpeg-rockchip. The compilation script is as follows:
Thank you for your reply!
@zjd1988 commented on GitHub (Jun 27, 2024):
@Kevin111369 will you post all the build script (contain rkmpp and libdrm cross compile steps)
@Kevin111369 commented on GitHub (Jun 27, 2024):
Sorry, I won't post these scripts, because I didn't use ffmpeg-rockchip in video development, but used ffmpeg+mpp
@zjd1988 commented on GitHub (Jun 27, 2024):
@Kevin111369 Thanks for your reply. Did you cross compile rkmpp and libdrm, can you provide steps?