Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Daniel O'Neill
    @danieloneill
    Howdy!
    Sergey Radionov
    @RSATom
    @danieloneill, any question?
    Daniel O'Neill
    @danieloneill
    Not yet. I did discover an interesting issue when using qmlvlc from a Qt quick implementation which is loaded as a plugin into a program which already links against (a different version of) VLC.
    It's a simple fix though.
    In my case I just rebuilt both pieces to link against the same libvlc.
    Sergey Radionov
    @RSATom
    You should know, QmlVlc should have performance issue with VLC 3.x, but I didn't test it thought...
    Daniel O'Neill
    @danieloneill
    What did they change?
    Sergey Radionov
    @RSATom
    they added frame copy to vmem plugin..
    QmlVlc based on it
    Daniel O'Neill
    @danieloneill
    🤔 I'll have to look that up. Vmem isn't usually touched much by those developers.
    Sergey Radionov
    @RSATom
    they had to change it, due to internal changes...
    Paran0
    @Paran0
    Hi, sorry for stupid question but when i'm trying to build the QmlVlc( Qt 5.12.2, MinGW 730-64) I'm getting lots of "undefined referenced to 'libvlc_* ' " how can i resolve this ?
    I think its a linker issue ...
    Paran0
    @Paran0
    it's solved ... now i wonder why the CPU utilization is so high ( i disabled the three frames interlacing and just the video itself just remained ) the QmlVlc cpu utilization is about 11% on my machine and VLC is 3% for the same media ( maximized)
    Sergey Radionov
    @RSATom
    The most possible reason vmem plugin (used internally by QmlVlc) from latest VLC versions uses additional memcpy for every video frame.
    @Paran0
    Paran0
    @Paran0
    Thank you for your answer ... does the performance issue have any correlation with QML rendering engine ?
    Sergey Radionov
    @RSATom
    Don't think so. I did QmlVlc very similar to how vanilla VideoOutput component works.
    @Paran0
    Paran0
    @Paran0
    Thank you again ... one last question ... is it possible to access each frame .... I want to apply some preprocessing on them using OpenCV ...
    Sergey Radionov
    @RSATom
    @Paran0, I think you could try attach VlcPlayer to VideoOutput from QtMultimedia and use https://doc.qt.io/qt-5/qml-qtmultimedia-videooutput.html#filters-prop
    Or you can try intercept frames here: https://github.com/RSATom/QmlVlc/blob/master/QmlVlcVideoOutput.cpp#L236
    But I didn't try something like this myself