Page 1 of 1

Multiple modules by the same name

Posted: 14 Jan 2021 01:13
by llamafilm
If I look at the list of modules with vlc -l there are lots of duplicates. In most cases the descriptions are different. How do I specify the right one in the command-line? For example there are two different modules called mmal_vout. I try to get help with vlc -p mmal_vout --advanced --help-verbose but I don't know which one it's talking about.

Code: Select all

$ vlc -l | grep mmal VLC media player 3.0.11 Vetinari (revision 3.0.11-0-gdc0c5ced72) mmal_vout mmal_vout mmal_vout MMAL-based vout plugin for Raspberry Pi mmal_avcodec MMAL buffered avcodec mmal_deinterlace MMAL-based deinterlace filter plugin mmal_codec MMAL-based decoder plugin for Raspberry Pi mmal_codec MMAL resizing conversion filter mmal_codec Video pictures blending for MMAL mmal_codec Video pictures blending for neon mmal_converter MMAL OpenGL surface converter mmal_xsplitter MMAL x11 splitter for Raspberry Pi

Re: Multiple modules by the same name

Posted: 14 Jan 2021 14:45
by RĂ©mi Denis-Courmont
There should never be two modules with the same name and same capability. Otherwise there are no ways to specify which one.

Re: Multiple modules by the same name

Posted: 14 Jan 2021 16:18
by llamafilm
I found the --list-verbose option today. It looks like most of these have different capabilities, but I'm still not sure how to specify one. For example mmal_codec is both decoder, converter, blending (120), and blending (110). I'm not sure what the numbers mean here.
One of the mmal_vout entries shows no capabilities, so should I assume that one is not being used? The reason I'm asking is I'm trying to debug an issue where I sometimes get no video output, so I'm wondering if it's choosing the wrong one.

Code: Select all

mmal_vout mmal_vout mmal_vout MMAL-based vout plugin for Raspberry Pi c vout display (16) mmal_avcodec MMAL buffered avcodec c video decoder (80) mmal_deinterlace MMAL-based deinterlace filter plugin s deinterlace c video filter (900) mmal_codec MMAL-based decoder plugin for Raspberry Pi s mmal_decoder c video decoder (90) mmal_codec MMAL resizing conversion filter s mmal_converter c video converter (900) mmal_codec Video pictures blending for MMAL s mmal_blend c video blending (120) mmal_codec Video pictures blending for neon s neon_blend c video blending (110) mmal_converter MMAL OpenGL surface converter s mmal_gl_converter c glconv (900) mmal_xsplitter MMAL x11 splitter for Raspberry Pi s mmal_x11 c vout display (300)