Results 1 to 2 of 2

Thread: What is way to record a .mp4 file in QML?

  1. #1
    Join Date
    Apr 2011
    Posts
    231
    Thanks
    141
    Thanked 6 Times in 5 Posts

    Default What is way to record a .mp4 file in QML?

    QMediaRecorder is a class of Qt. What would be the way to implement the same in QML w.r.t https://doc.qt.io/qt-5/qml-qtmultime...iaplayer.html?

    There is a camera recorder but can we pass a .mp4 file here and let it be recorded?
    https://doc.qt.io/qt-5/qml-qtmultime...arecorder.html

    What is way to record a .mp4 file in QML?

  2. #2
    Join Date
    Jun 2019
    Posts
    3
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: What is way to record a .mp4 file in QML?

    I had a similar challenge in a project. We tried using QMediaRecorder directly for .mp4 files, but it was kind of tricky. It turned out that using the camera recorder for this purpose in QML wasn't the most straightforward path.

    So, we had to get a bit creative. We ended up dabbling with some lower-level APIs to handle and record the media files. It took some extra coding, but it gave us the control we needed. And for more detailed video editing, we often looked outside of QML for solutions.

    Actually, for advanced video editing, I find tips on *spam link deleted by moderator*, really useful. They have a bunch of tools and guides that might help you out, especially if you're dealing with tricky formats like .mp4.

    Moderator comment: @rwahdan: Do not post links to sites offering non-Qt or commercial applications. Spamming is not tolerated on this forum.
    Last edited by d_stranz; 12th January 2024 at 01:45.

Similar Threads

  1. Replies: 1
    Last Post: 29th August 2018, 12:25
  2. Record Speaker Output to a file
    By vinothrajendran in forum Qt Programming
    Replies: 1
    Last Post: 29th November 2014, 10:30
  3. QMediaPlayer record radio stream to file?
    By gadlol in forum Qt Programming
    Replies: 0
    Last Post: 1st June 2013, 17:33
  4. How to record and play an audio file in qml?
    By harish in forum Qt Quick
    Replies: 2
    Last Post: 17th February 2012, 15:42
  5. Replies: 3
    Last Post: 26th March 2010, 05:32

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.