Skip to content
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

Change video decoder from omx*dec to nvv4l2decoder. #89

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Aug 22, 2021

  1. Change video decoder from omx*dec to nvv4l2decoder. Because, for some…

    … video files, the video shrinks vertically when decoded.
    
    ---
    Maybe need dlopen/dlclose to deal with link errors.
    
    ex.)
    int main(int ac, char *av[])
    {
    	// [ad hoc] dynamic load for nvv4l2decoder.
    	void *dl_handle_libnvmmlite_utils = dlopen("libnvmmlite_utils.so", RTLD_LAZY | RTLD_GLOBAL);
    	void *dl_handle_libnvmmlite_video = dlopen("libnvmmlite_video.so", RTLD_LAZY | RTLD_GLOBAL);
    
    	...
    
    	// [ad hoc] dynamic load for nvv4l2decoder.
    	dlclose(dl_handle_libnvmmlite_utils);
    	dlclose(dl_handle_libnvmmlite_video);
    
    	return EXIT_SUCCESS;
    }
    HiroshiYAMA committed Aug 22, 2021
    Configuration menu
    Copy the full SHA
    2007d7b View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2021

  1. ex. python)

    from ctypes import *
    ...
    cdll.LoadLibrary("libnvmmlite_utils.so")
    cdll.LoadLibrary("libnvmmlite_video.so")
    ...
    HiroshiYAMA committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    7b01158 View commit details
    Browse the repository at this point in the history