vlc-qt

Python QT Application with vlc does not show fullscreen

守給你的承諾、 提交于 2021-02-08 06:44:24
问题 I am working on an application where several vlc streams (rtsp) are shown and by double-clicking one of them, the stream should be displayed fullscreen. The application is python 3.7 using pyqt5 and vlc-qt. Code as follows: import sys import vlc from PyQt5.QtCore import * from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtWebEngineWidgets import * from PyQt5.QtPrintSupport import * class MainWindow(QMainWindow): def __init__(self, *args, **kwargs): super(MainWindow, self)._

How to stream the video using VLC-QT wrapper

孤人 提交于 2021-01-05 07:05:07
问题 I want to stream the video using RTSP, HTTP and UDP as they are supported by vlc . I am using Qt5 and as Qt don't have that much good media libraries so I go for open source and now using libvlc through VLC-Qt wrapper. I am able to receive the stream videos in my program, The source code for receiving the streaming video is given below void player::on_actionNETWORK_STREAM_triggered() { QString url= QInputDialog::getText(this,tr("Open Url"),tr("Enter the URL you want to play")); if(url.isEmpty

How to draw on the top of an inherited widget (VlcVideoWidget)?

别说谁变了你拦得住时间么 提交于 2019-12-08 05:59:20
问题 How can I draw something on a VLC Video Widget? I'm using VLC-Qt library to play video on a widget in my Qt application. My application requires drawing a text (or something like) on all videos. I already tried subclassing VlcWidgetVideo and reimplementing paintEvent . The method works when no video is playing. Though immadiately after starting to play, my paintings disappear. It looks like they are under VLC's video... The code: class TrackerWidgetVideo : public VlcWidgetVideo{ // Blah blah

How to draw on the top of an inherited widget (VlcVideoWidget)?

ぃ、小莉子 提交于 2019-12-06 20:34:25
How can I draw something on a VLC Video Widget? I'm using VLC-Qt library to play video on a widget in my Qt application. My application requires drawing a text (or something like) on all videos. I already tried subclassing VlcWidgetVideo and reimplementing paintEvent . The method works when no video is playing. Though immadiately after starting to play, my paintings disappear. It looks like they are under VLC's video... The code: class TrackerWidgetVideo : public VlcWidgetVideo{ // Blah blah blah protected: void paintEvent(QPaintEvent *); } // ....... void TrackerWidgetVideo::paintEvent