-
Notifications
You must be signed in to change notification settings - Fork 3
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
Building TASM - nvUtils.h #1
Comments
Thanks for your interest in the project! I apologize that it isn't in a very user-friendly state at the moment, I'm going to put some time into that this week. It looks like that import is an old external resource that isn't part of more recent NVIDIA distributions, so I removed it. Let me know if you still have trouble building. Just as a heads up, I introduced some performance bugs when I extracted TASM from LightDB that I haven't resolved yet. If you are interested in using the C++ interface through LightDB, let me know and I'll put together some documentation for how to do that! |
Great, thank you so much for your help! No worries at all about the documentation, I can work with what you have here. One more question about the build: the compiler complains about these lines, saying it can't convert flags to type GF_ISONaluExtractMode. I am not familiar with the gpac library, but it seems it is because the resulting bit-wise oring is not a "valid enum" value based on the source code for GF_ISONaluExtractMode. Based on this, is it sufficient to just pass the GF_ISOM_NALU_EXTRACT_ANNEXB_FLAG flag since if I am understanding it correctly, it will also apply the GF_ISOM_NALU_EXTRACT_INBAND_PS_FLAG flag? Passing just the GF_ISOM_NALU_EXTRACT_ANNEXB_FLAG flag gets me through the whole build, and I will test some runs next. Thanks again for all your help with this! |
Yes, I think that should be fine! I'll fix that in a new commit. |
Actually, now that I've tried it on my end, I'm not sure whether that will work. We may have different gpac versions because I don't get that error, and when I drop If, when you try to do a selection, you see a line printed like |
Makes sense! I apologize for my lack of familiarity with gpac, but if this helps, here is the version I see when I run the binary associated with the gpac build: To run, I was using your example, and it seems that I can import tasm correctly, but it doesn't find the TASM() attribute. I assume this is because some installation of packages escaped me (after make, I did run make install, but perhaps I missed something python-specific). (I can also move this to a different thread if you prefer.) |
I'm not 100% sure which gpac version I'm using, but it's definitely older than that. MP4Box is using all the way back from GPAC version 0.5.2-DEV-revVersion. I should probably update to at least 1.0.0. For the issue importing tasm, I don't think I'm adding the library to the python path. Does it work if you try to run from |
Regarding gpac: no problem, if this doesn't work out, I can downgrade to something around the version you specified. |
That's progress! I'm using Protobuf version: 2.6.1 |
If you are interested, I put together a Docker file to make it easier to get the right dependencies installed (and I upgraded to python3). It's currently available on the |
I am very interested, thanks for putting that together! I will give it a go. |
Hello,
I am interested in trying out your prototype of TASM; I am getting tripped up on the build not finding nvUtils.h in tasm/encoding/include/EncodeAPI.h. Is this header from an NVIDIA library that needs to be installed, or is this a part of your source code that I am missing/am not pointing to properly?
Thanks for your help in advance!
The text was updated successfully, but these errors were encountered: