Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Add external subtitle to video

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22247

    Barazi Ala

    Hi,

    Is there a way to add external subtitles to a video? Is this supported by Felgo?

     

    #22259

    Alex
    Felgo Team

    Hi Barazi,

    you can overlay the QML video output with custom QML components to display your subtitles. What format are the subtitles provided as?

    Cheers,
    Alex

    #22261

    Barazi Ala

    Hi Alex,

    I will use srt format. Is there a way to import ready made javascript library to parse srt files or other subtitle format?

    Could you please explain how to access the current duration/time of QML video output? I have tried to use runPlayerScript(“getDuration”) as explained in https://felgo.com/doc/felgo-youtubewebplayer/ but got an error

    #22268

    Thomas

    Hi Barazi,
    If you are using the Video QML Type you can access the duration of the media with the duration property. The position property holds the current playback position in milliseconds.

    Cheers,
    Thomas

    #22271

    Barazi Ala

    Hi Thomas,

    Thank you for your support. Is it possible to do the same for Youtube videos? (I am still having the bug explained in my question )

    Cheers,

    Alaa

    #22311

    Alex
    Felgo Team

    Hi Alaa,

    the youtube player uses a WebView, which cannot be overlayed with QML items. This is currently a limitation by Qt. We’d recommend using the QtMultimedia module to display your videos, in order to overlay it with custom QML items.

    Best,
    Alex

Viewing 6 posts - 1 through 6 (of 6 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded