Val Doroshchuk

Results 86 comments of Val Doroshchuk

> QGraphicsVideoItem::setRotation If QtAV worked for you and had some renderers, you could try to adapt it for QVideoFrame's ?

> Did you already test this kind of configuration. Tested wav, mp3 files, and never seen empty QAVPlayer::position(), also https://github.com/valbok/QtAVPlayer/blob/master/tests/auto/integration/qavplayer/tst_qavplayer.cpp#L249

> We can do it easily with Qt6:Multimedia or QtAV API, Ic you already use `QGraphicsVideoItem` for qtmm mediaplayer https://invent.kde.org/graphics/digikam/-/blob/development/qtavplayer/core/libs/video/player/qtmm/mediaplayerview.cpp?ref_type=heads#L223

> Screenshot of the AudioPlayer : > > https://i.imgur.com/Q7JIkbW.png > > Note that audio track length is well reported here. > added qDebug() player->position() and it works, Elapsed is also...

doing exactly there, where you mentioned.

strange that volume does not work, but this helps https://github.com/valbok/QtAVPlayer/pull/430

btw doing 1. Preview and set the volume 2. Start sliding, -> always max volume is used, it sets volume to 1.0, is it correct?

> Sure but this code is for the Qt6 version, not the Qt5... > All video frames will go to https://doc.qt.io/qt-5/qgraphicsvideoitem.html#videoSurface-prop the same idea as QVideoWidget.

> 2/3s delay before to take effect Right, looks bug, volume is changed only when new frame is arrived which is not nice. Thanks, will fix

> /home/gilles/Devel/8.x/core/libs/video/QtAVPlayer/qavvideoframe.cpp:192:9: note: by ‘virtual int PlanarVideoBuffer::map(QAbstractVideoBuffer::MapMode, int_, int_, uchar_*)’ 192 | int map(MapMode mode, int *numBytes, int bytesPerLine[4], uchar *data[4]) override | ^~~ [ 53%] Built target core_qtavplayer_obj >...