Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Video plays fine on the linux device using gst-launch, but fails to play with a Qt application?

Video plays fine on the linux device using gst-launch, but fails to play with a Qt application?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
video filegstreamer videoqtmultimedia
3 Posts 2 Posters 1.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RockAndCode
    wrote on 3 Feb 2016, 17:00 last edited by
    #1

    So I have a .ogv video file in my Qt app. It plays absolutely fine on the desktop, but when I deploy it to the embedded linux board (yocto OS), it gives a gstreamer error:

    Aiur: 3.0.11
    Core: BLN_MAD-MMLAYER_OGGPARSER_01.07.05 build on Aug 28 2013 10:18:06
    mime: application/ogg; application/x-annodex
    file: /usr/lib/imx-mm/parser/lib_ogg_parser_arm11_elinux.so.3.1
    Content Info:
    Seekable : Yes
    Size(byte): 565277
    Error: "GStreamer encountered a general stream error."

    All plugins are correctly installed on the device.

    I ran just the video file using the ogv command on the device, and it works fine. But when used inside the app it gives that error.

    Also, I tried running Qt's example projects- qmlvideo , that also fails to run on the device with the same error.

    Is there a setting somewhere that needs to be fixed in Qt apps when deploying to the device? Its strange that running the video directly works but fails when used with the app!

    Any clues is much appreciated.

    Thanks!

    1 Reply Last reply
    0
    • R Offline
      R Offline
      RockAndCode
      wrote on 3 Feb 2016, 20:04 last edited by
      #2

      Is there certain eglfs settings that needs to be set when running the Qt based apps on the device?

      R 1 Reply Last reply 15 Oct 2016, 09:06
      0
      • R RockAndCode
        3 Feb 2016, 20:04

        Is there certain eglfs settings that needs to be set when running the Qt based apps on the device?

        R Offline
        R Offline
        RiteshPanchal
        wrote on 15 Oct 2016, 09:06 last edited by
        #3

        @RockAndCode said in Video plays fine on the linux device using gst-launch, but fails to play with a Qt application?:

        Is there certain eglfs settings that needs to be set when running the Qt based apps on the device?

        Can you tell me how and which eglfs settings need to be changed?
        I am using nVidia TX1 board.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved