Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. qmediaplayer
    Log in to post

    • UNSOLVED There is a ghost widget!!!!!!
      General and Desktop • widget qmediaplayer qvideowidget • • surfzoid  

      4
      0
      Votes
      4
      Posts
      66
      Views

      @Christian-Ehrlicher in the same strange way, i have an void : void QtVsPlayer::FullScr() { if (QtVsPlayer::isFullScreen()) { QtVsPlayer::showNormal(); this->ui->menubar->setVisible(true); if (!Zoomed) this->ui->statusbar->setVisible(true); } else { QtVsPlayer::showFullScreen(); this->ui->menubar->setVisible(false); this->ui->statusbar->setVisible(false); } return; } this void work, i have fullscreen video. now in mousemove event i have if (!this->ui->actionMasquer_les_controles->isChecked() and WVideoCtrls->isHidden() and this->ui->actionAuto_hide_controls->isChecked()) { if(!Zoomed and QtVsPlayer::isFullScreen() == false) ui->statusbar->setVisible(true); WVideoCtrls->show(); WVideoCtrls->activateWindow(); WVideoCtrls->raise(); this->centralWidget()->lower(); this->centralWidget()->stackUnder(WVideoCtrls); } if (QtVsPlayer::cursor() == Qt::BlankCursor) { QtVsPlayer::unsetCursor(); } return; the goal is to display videocontrols, like play, pause and so on, but not the status bar in full screen, but it is shown, zoomed is false but isfullscreen is no such value
    • UNSOLVED Getting Slow Motion Video while using QML Media Player
      QML and Qt Quick • qml qmediaplayer video gstreamer • • alizadeh91  

      2
      0
      Votes
      2
      Posts
      149
      Views

      I have the same issue. It's soo slow with rtsp and buggy.
    • UNSOLVED QMediaPlayer not looping
      General and Desktop • qmediaplayer qaudiooutput • • tjktak1002  

      7
      0
      Votes
      7
      Posts
      168
      Views

      I have the same problem on Ubuntu 22.04 with Qt 6.4.2. I have (re)opened a bug report.
    • UNSOLVED Customize QVideoWidget and QMediaPlayer Metadata problems
      General and Desktop • qmediaplayer transparency qvideowidget transparent qmediametadata • • TheEnigmist  

      9
      0
      Votes
      9
      Posts
      353
      Views

      @jsulm In Qt Creator and in VS 2022 as well. Qt Creator: VS 2022: EDIT: I found the problem... QAbstractVideoSurface has been replaced by the QVideoSink class in Qt6: https://doc.qt.io/qt-6/qtmultimedia-changes-qt6.html EDIT2: I think i will open two different topic since I found different "bug?"
    • SOLVED QMediaplayer randomly plays part of the audio in a loop
      General and Desktop • qmediaplayer audio loop glitch • • Andrey Vasilyev  

      3
      0
      Votes
      3
      Posts
      258
      Views

      The problem was in the Windows firewall. I still don't understand why this was affecting the sound, but disabling the firewall did the trick.
    • UNSOLVED Always display frame of QVideoWidget
      General and Desktop • qmediaplayer gridlayout qvideowidget listwidget • • James Whiteley  

      9
      0
      Votes
      9
      Posts
      917
      Views

      Great ! The please mark the thread as solved using the "Topic Tools" button or the three doted menu beside the answer you deem correct so that other forum users may know a solution has been found :-)
    • UNSOLVED Qtmediaplayer and custom gstreamer pipeline
      Tools • qt5 qmediaplayer gstreamer1.0 • • vicky_mac  

      15
      0
      Votes
      15
      Posts
      3628
      Views

      @SGaist I'll try to cross compile qt again and let you know the error . Meanwhile can you please share any link where i can get the procedure about how to cross compile qt for zynq mpsoc devices. Thanx.
    • UNSOLVED QMediaPlayer stream data from a self signed https server
      General and Desktop • qmediaplayer https streaming • • Vagabond  

      10
      0
      Votes
      10
      Posts
      698
      Views

      @Pablo-J-Rogina thanks. Just looked into it. As the docs for QNetworkConfiguration state: QNetworkConfiguration encapsulates a single access point or service network. In most cases a single access point configuration can be mapped to one network interface. I deduce from that, that any call to QMediaPlayer::setNetworkConfigurations(QList<QNetworkConfiguration>) will not fix my problem. In fact, I gather from the information, that QNetworkConfiguration deals more with hardware-side networking & routing configurations than it does with specifics for transmission protocols. This notion is strengthened by the fact, that there is no accessible public members for QNetworkConfiguration and the only available constructors are copy and default. Therefore, the only way accessible way to provide valid values to setNetworkConfigurations is by filtering QNetworkConfigurationManager::allConfigurations()). Then again, this method produces a list dependent on the host system, which indicates hardware specific settings. Still, I got curious while reading the desciption for QNetworkConfiguration::ServiceSpecificPurpose, which states: The configuration can be used for operator specific services (e.g. receiving MMS messages or content **streaming**). For experimental purposes I filtered all available configurations of that type, which again didn't change anything for me. (Also, be sure to check out my latest edit up top, if you care for more info)
    • UNSOLVED QMediaPlayer MetaData Unavailable?
      General and Desktop • qmediaplayer audio • • wumpus7  

      7
      0
      Votes
      7
      Posts
      976
      Views

      It seems remarkable to me that the QMediaPlayer can know whether I'm playing back audio with 1, 2, or more channels, but I cannot get that information from it, but I guess that's just the way it is? It seems like some people can get this to work, and others can't, so I wonder if this is another issue of platform differences? (For reference, this is playback either via a wired connection to an MFi device, or directly on an iPad/iPhone, so iOS under the hood.) Anyway, I've given up on displaying mono/stereo channel information in our implementation. (The player will fail to play back audio with three or more channels, so I can at least flag that. It'd be nice to label, but it's not required.) I'll report a bug if I get the time at some point.
    • SOLVED QMediaplayer plugin - no service found for - "org.qt-project.qt.mediaplayer"
      General and Desktop • qmediaplayer qtmultimedia • • TomHat  

      12
      0
      Votes
      12
      Posts
      2136
      Views

      Hey, Sorry for late answer. Yes everything seemed fine. No error report at least. But I'm guessing that this might not actually be linked with this topic anymore. So I'll just look into this issue on my own from there. Anyway, thanks a lot for the support ! Best regards, TomHat
    • SOLVED Split a video into two separate clips
      General and Desktop • qmediaplayer video split qmediaplaylist • • mgalkissa  

      4
      0
      Votes
      4
      Posts
      587
      Views

      Hi @SGaist , Thanks for your response. Just wanted to know for sure if there was a way to do it with Qt itself. Will start looking at other options. Thanks.
    • UNSOLVED Two durations of QMediaPlayer file
      General and Desktop • qmediaplayer problem • • Nvie  

      3
      1
      Votes
      3
      Posts
      501
      Views

      Thank you for the greeting. The file is working fine with the other players (VLC, Windows 10 player).
    • UNSOLVED QVideoWidget does not hold latest frame
      General and Desktop • qmediaplayer c++ qt qt5.11 qvideowidget • • magicstar  

      2
      0
      Votes
      2
      Posts
      446
      Views

      @magicstar I have the same problem. Have you find a solution ?
    • UNSOLVED QMediaPlayer stays in UnknownMediaStatus on Windows 7
      General and Desktop • qmediaplayer video windows 7 windows7 • • QuentinJanuel  

      4
      0
      Votes
      4
      Posts
      620
      Views

      Here is pretty much the commands I use to deploy the app: qmake videoplayer/videoplayer.pro -o build/MakeFile -r -spec win32-msvc2010 -nocache jom -f Makefile -s windeployqt --release release
    • SOLVED Playing udp stream using QMediaPlayer
      General and Desktop • linux qmediaplayer udp stream • • gsharma  

      2
      0
      Votes
      2
      Posts
      2867
      Views

      Hi @gsharma , I see you solved your problem. I have similar problem. I use qt-5.10 and IP camera. I want to stream with rtsp. Also want to see at QMediaPlayer. Could you please help me. How did you solve problem. Also do you know tutorial about this.
    • SOLVED QVideoProbe causes the video to rotate 180 degrees with MinGW.
      General and Desktop • qmediaplayer mingw qmultimedia qt5.9.2 qvideoprobe • • dprmsi  

      9
      0
      Votes
      9
      Posts
      1939
      Views

      IIRC, the two builds are not using the same backend.
    • SOLVED QMediaPlayer set playing device
      General and Desktop • qmediaplayer • • arsinte_andrei  

      5
      0
      Votes
      5
      Posts
      2518
      Views

      Glad you found out and thanks for the feedback !
    • UNSOLVED Stream videos over UDP using Qmediaplayer
      General and Desktop • qmediaplayer • • samforqt  

      6
      0
      Votes
      6
      Posts
      2252
      Views

      You can take a look at that article.
    • UNSOLVED Problem with Qt Multimedia
      General and Desktop • c++ qmediaplayer multimedia qt 5.8 logout • • 6EQUJ5  

      65
      0
      Votes
      65
      Posts
      28959
      Views

      @SGaist New output (after getting logged out): https://pastebin.com/yJK4tFeQ Output of diff dmesgOutputBeforeLogout.txt dmesgOutputAfterLogout.txt: https://pastebin.com/5jGtEiUd (differences between two outputs)
    • SOLVED QMediaPlayer (dsengine.dll) problem.
      General and Desktop • qmediaplayer qt5.8 • • someoneinthebox  

      5
      0
      Votes
      5
      Posts
      2976
      Views

      Problem solved. It was bug in Inno setup, which corruped Qt5Multimedia.dll somehow.
    • QMediaPlayer on Ubuntu 16.04 GStreamer error
      General and Desktop • qmediaplayer video ubuntu gstreamer • • lpares12  

      8
      0
      Votes
      8
      Posts
      6412
      Views

      Solved, gstreamer-0.10-ffmpeg was missing. sudo add-apt-repository ppa:mc3man/gstffmpeg-keep sudo apt-get update sudo apt-get install gstreamer0.10-ffmpeg UPDATE: Not really solved, using this plugin breaks GStreamer: $ export GST_DEBUG=2 $ ./RPIStreamer 0:00:01.232878440 29169 0x7f0414007320 WARN qtdemux qtdemux_types.c:191:qtdemux_type_get: unknown QuickTime node type iods 0:00:01.233010807 29169 0x7f0414007320 WARN qtdemux qtdemux_types.c:191:qtdemux_type_get: unknown QuickTime node type avc1 0:00:01.233055875 29169 0x7f0414007320 WARN qtdemux qtdemux_types.c:191:qtdemux_type_get: unknown QuickTime node type avcC 0:00:01.233095592 29169 0x7f0414007320 WARN qtdemux qtdemux_types.c:191:qtdemux_type_get: unknown QuickTime node type btrt 0:00:01.235499777 29169 0x7f0414007320 WARN qtdemux qtdemux.c:6006:qtdemux_parse_segments:<qtdemux0> streaming; discarding edit list segments 0:00:01.235563181 29169 0x7f0414007320 WARN qtdemux qtdemux.c:7044:qtdemux_parse_trak:<qtdemux0> unknown version 00000000 0:00:01.236318578 29169 0x7f0414007320 WARN qtdemux qtdemux.c:6006:qtdemux_parse_segments:<qtdemux0> streaming; discarding edit list segments 0:00:01.264479125 29169 0x7f0414007680 WARN playsinkconvertbin gstplaysinkconvertbin.c:481:gst_play_sink_convert_bin_cache_converter_caps:<GstPlaySinkAudioConvert@0x7f03f801a050> No conversion elements 0:00:01.290541635 29169 0x7f04140071e0 WARN ffmpeg gstffmpegdec.c:2299:gst_ffmpegdec_frame:<ffdec_h2640> ffdec_h264: decoding error (len: -1, have_data: 0) 0:00:01.297533958 29169 0xba4d40 WARN basesrc gstbasesrc.c:2625:gst_base_src_loop:<source> error: Internal data flow error. 0:00:01.297562286 29169 0xba4d40 WARN basesrc gstbasesrc.c:2625:gst_base_src_loop:<source> error: streaming task paused, reason not-negotiated (-4) Error: "Internal data flow error."
    • SOLVED QMediaPlayer positionChanged not precise
      General and Desktop • qmediaplayer qtime • • UnitScan  

      11
      0
      Votes
      11
      Posts
      3814
      Views

      [SOLVED] MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { //… display = new QLabel(this); display->setGeometry(4,4,88,23); display->setText("00:00:00"); //… player = new QMediaPlayer; connect(player, SIGNAL(mediaStatusChanged(QMediaPlayer::MediaStatus)), this, SLOT(playerOnMediaStatusChanged(QMediaPlayer::MediaStatus))); //… timer = new QTimer; timer->setTimerType(Qt::PreciseTimer); connect(timer, SIGNAL(timeout()), this, SLOT(timerSlot())); //… } void MainWindow::playerOnMediaStatusChanged(QMediaPlayer::MediaStatus status) { if (status == QMediaPlayer::BufferedMedia) { pos = -1; //int pos declared on .h file timer->start(1000); } } void MainWindow::timerSlot() { pos = pos + 1; QTime time((pos/3600)%60, (pos/60)%60, pos%60); display->setText(time.toString("hh:mm:ss")); }
    • UNSOLVED QMediaPlayer::setPosition(qint64) funny behavior
      General and Desktop • qmediaplayer mac os x • • RegisPower  

      1
      0
      Votes
      1
      Posts
      779
      Views

      No one has replied

    • SOLVED Extract media duration from metadata
      General and Desktop • qmediaplayer qmediaplaylist • • UnitScan  

      9
      0
      Votes
      9
      Posts
      4670
      Views

      [SOLVED] I had to resort to the help of TagLibs library. And since the documentation available how to build this library to make it interact with Qt are very confusing and outdated, I proceeded to make available the library that I managed, with great difficulty, to compile by my hand: http://www.unitscan.org/archives/301 I hope will be usefull
    • SOLVED Slider position update
      General and Desktop • qmediaplayer qslider • • UnitScan  

      5
      0
      Votes
      5
      Posts
      2027
      Views

      [SOLVED] To make thumb slider jump directly at mouse click, use this subclass: header file: https://nopaste.me/view/c38f6570 source file: https://nopaste.me/view/ee7b9450 EDIT: line 4 in .cpp file is useless, you can delete this
    • UNSOLVED QMediaPlayer - "Internal data flow error."
      General and Desktop • qmediaplayer video • • redevil5k  

      1
      0
      Votes
      1
      Posts
      737
      Views

      No one has replied

    • SOLVED QMedialPlayer on Android in service playing audio streaming.
      Mobile and Embedded • android qmediaplayer qt5.7 • • christophorus  

      3
      0
      Votes
      3
      Posts
      1595
      Views

      Hi and welcome to devnet ! Thanks for sharing the report link ! It has been marked as solved for Qt 5.7.1. So please mark this thread as solved using the "Topic Tools" button so other forum users may know a solution has been found :)
    • UNSOLVED A2DP and QMediaPlayer issue
      General and Desktop • bluetooth qmediaplayer a2dp • • Mark81  

      1
      0
      Votes
      1
      Posts
      705
      Views

      No one has replied

    • SOLVED display image in qvideowidget qmediaplayer possible?
      General and Desktop • qwidget qmediaplayer image display qvideowidget qt5.6.1 • • pauledd  

      12
      0
      Votes
      12
      Posts
      8856
      Views

      thank you for the tip, I will try this in another project since I currently have a lot of problems getting qmediaplayer or qcamera working on the RaspberryPi. I wrote my code on amd64 on which everything worked fine but on the actual device (RPi) a LOT of problems came in (qt-gstreamer-v4l2-bcm2835-v4l2,MMAL, w.t.h.) but thats worth another thread.
    • SOLVED qmediaplayer no video
      General and Desktop • linux qmediaplayer gstreamer qvideowidget qt 5.6.1 • • pauledd  

      6
      0
      Votes
      6
      Posts
      3766
      Views

      Don't think this is solved, uninstalling gst-plugins-vaapi is a workaround at best. Bug: Qt Multimedia GStreamer backend doesn't support HW-accelerated video decoding https://bugreports.qt.io/browse/QTBUG-23761
    • QMediaPlayer - function setPlaybackRate(qreal r)
      Mobile and Embedded • qmediaplayer setplaybackrate • • kralpavel  

      7
      0
      Votes
      7
      Posts
      2308
      Views

      Thank you for tip..I will check it..
    • UNSOLVED Codec returns RGB32 even though I list NV12 and other YUV formats first
      General and Desktop • qmediaplayer codec videosurface yuv k-lite • • GeorgePTVS  

      1
      0
      Votes
      1
      Posts
      772
      Views

      No one has replied

    • UNSOLVED QMediaPlayer cause UI freezes while buffering - Android
      General and Desktop • qmediaplayer bug freeze streaming stuck • • AllanE  

      1
      0
      Votes
      1
      Posts
      635
      Views

      No one has replied

    • UNSOLVED QMediaPlayer not playing from IODevice
      General and Desktop • qmediaplayer qbytearray qiodevice streaming qbuffer • • onek24  

      16
      1
      Votes
      16
      Posts
      8796
      Views

      @hariny , @onek24 Since this thread was not resolved; the buffer is not open !!! your are missing two lines of code: buffer->open(QIODevice::ReadOnly); buffer->seek(0);
    • UNSOLVED Freeze video in QMediaPlayer
      General and Desktop • qmediaplayer qt 5.5.1 freeze • • Mathias  

      2
      0
      Votes
      2
      Posts
      1341
      Views

      Hi and welcome to devnet, QtMultimedia uses Apple's Media Foundation for it's OS X backend so the format supported depends on what Media Foundation can support. Can you try the same application using the latest version of Qt ?
    • UNSOLVED QMediaPlayer eats the initial part of audio files
      Mobile and Embedded • qmediaplayer audio qmultimedia delay buffer • • Mark81  

      2
      0
      Votes
      2
      Posts
      1009
      Views

      Hi, Usually, to play sound effect, the QSoundEffect class is used. Wouldn't that fill your need ?
    • UNSOLVED QMediaPlayer can't play mp3 mounted over CIFS
      General and Desktop • linux qmediaplayer qtmultimedia network share • • Hazzl  

      1
      0
      Votes
      1
      Posts
      596
      Views

      No one has replied