Video plays fine on the linux device using gst-launch, but fails to play with a Qt application?
-
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!
-
Is there certain eglfs settings that needs to be set when running the Qt based apps on the device?
-
@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.