-
Notifications
You must be signed in to change notification settings - Fork 25
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 6.0 on Jetson TX2 NX #4
Comments
Hi! |
Thanks, for the reply! I compiled libnvmpi with debugging symbols and ran over gdb:
Basically all I'm trying to do is decode the input file (Big Buck Bunny) and reencode with standard CPU libx264. For some reason, ffmpeg itself did not compile with debugging symbols even though I did add '--enable-debug' to the configure command line. My TX2 NX box is a bit restricted because of some issues so I'm actually doing the entire build and testing in a docker container running Ubuntu 18.04 with the nvidia runtime enabled. However, I am able to run on the native host as well after building and I get the same output. |
I actually recompiled the older ffmpeg4 and ran over strace. when ffmpeg gets stuck and dmesg shows the arm-smmu errors, the last thing strace shows is this:
When it gets stuck I kill it but it takes a while for the signal to get handled... So looks like errors when trying to open the Any ideas? Thanks! |
What version of L4T are you using? Is it the latest version available? |
Hey, so because of some constraints, I'm not using the nvidia Ubuntu but rather a community maintained OS for the TX2 NX boxes. The manually installed libs break the image's APT system and the entire dependency tree but ffmpeg finally works 🤷♂️ In any case, thanks for following up! |
Hey,
I previously used jocover's original work with ffmpeg 4 on the TX2 NX and it worked just fine.
However, I wish to move to ffmpeg 6.0 and trying your updated code but getting some errors (it DOES work like a charm on my Orin Dev Kit).
When I run ffmpeg using nvmpi as the input codec, ffmpeg simply gets stuck and there's no debug output to indicate why. I can't even kill ffmpeg (-9 or -15). I do see an endless stream of smmu power errors in dmesg and the only thing I can do is reboot the TX2 NX:
Any idea what is going on? Can your code actually work on the TX2 NX or does it use Orin features that are not available or have been changed from the TX2 NX?
Thanks!
The text was updated successfully, but these errors were encountered: