Hello,
Do you have any suggestions how to play video within WinCC OA 3.15 on OpenSuse? For Windows, I used ewo from this link, but it's not working on Linux.
Best regards,
Nedžad
Playing video within WinCCOA - Linux
- agruber
- Posts:147
- Joined: Tue Sep 07, 2010 2:52 pm
Re: Playing video within WinCCOA - Linux
Hello,
The source is included, you should be able to compile the EWO in Linux.
BR,
Andreas
The source is included, you should be able to compile the EWO in Linux.
BR,
Andreas
- cwelsch
- Posts:3
- Joined: Tue Aug 24, 2010 8:06 am
Re: Playing video within WinCCOA - Linux
Hello,
Of course, a windows ewo won't work on linux. You have to compile the EWO with our API yourself.
To save you the trouble, i've compiled the ewo for you. (see attachment).
Best regards,
Christoph https://www.winccoa.com/fileadmin/image ... CCOA_3.zip
Of course, a windows ewo won't work on linux. You have to compile the EWO with our API yourself.
To save you the trouble, i've compiled the ewo for you. (see attachment).
Best regards,
Christoph https://www.winccoa.com/fileadmin/image ... CCOA_3.zip
- Attachments
-
- WinCCOA_3.zip
- (220.54 KiB) Downloaded 240 times
- nedzad
- Posts:32
- Joined: Fri Feb 17, 2017 3:44 pm
Re: Playing video within WinCCOA - Linux
Thanks a lot.
Now I am able to run this ewo, but when I click on any button in panel I get the "Unable to pause" message in log, etc.:
WCCOAui (1), 2017.08.21 08:40:52.463, CTRL, WARNING, 5/ctrl, Location of the following log entry:
Module: _QuickTest_
Panel: /home/nedim/WinCC_OA_projects/Slovacka/panels/Pomocni paneli/VPlayerExample.xml []
Object: 19 named: "PUSH_BUTTON10" of type: PUSH_BUTTON
Script: Clicked
Line: 3
WCCOAui (1), 2017.08.21 08:40:52.463, SYS, WARNING, 54, Unexpected state, Qt, GStreamer; Unable to pause - "http://techslides.com/demos/sample-videos/small.mp4"
Now I am able to run this ewo, but when I click on any button in panel I get the "Unable to pause" message in log, etc.:
WCCOAui (1), 2017.08.21 08:40:52.463, CTRL, WARNING, 5/ctrl, Location of the following log entry:
Module: _QuickTest_
Panel: /home/nedim/WinCC_OA_projects/Slovacka/panels/Pomocni paneli/VPlayerExample.xml []
Object: 19 named: "PUSH_BUTTON10" of type: PUSH_BUTTON
Script: Clicked
Line: 3
WCCOAui (1), 2017.08.21 08:40:52.463, SYS, WARNING, 54, Unexpected state, Qt, GStreamer; Unable to pause - "http://techslides.com/demos/sample-videos/small.mp4"
- agruber
- Posts:147
- Joined: Tue Sep 07, 2010 2:52 pm
Re: Playing video within WinCCOA - Linux
I only have here virtual machines which do not even seem to be able to play video files, but maybe this gstreamer error only occurs on networked files. Try to download the file or use another local mp4 file for testing.
This EWO is just a simple wrapper for underlying QT functionality which seems to rely on gstreamer. Maybe it is a restriction of that.
This EWO is just a simple wrapper for underlying QT functionality which seems to rely on gstreamer. Maybe it is a restriction of that.
- nedzad
- Posts:32
- Joined: Fri Feb 17, 2017 3:44 pm
Re: Playing video within WinCCOA - Linux
I got the same error and when I try to play local file:
WCCOAui (1), 2017.08.22 08:46:27.825, CTRL, WARNING, 5/ctrl, Location of the following log entry:
Module: _QuickTest_
Panel: /home/nedim/WinCC_OA_projects/Slovacka/panels/Pomocni paneli/VPlayerExample.xml []
Object: 17 named: "PUSH_BUTTON8" of type: PUSH_BUTTON
Script: Clicked
Line: 3
WCCOAui (1), 2017.08.22 08:46:27.825, SYS, WARNING, 54, Unexpected state, Qt, GStreamer; Unable to pause - "file:///home/nedim/WinCC_OA_projects/Slovacka/videos/AID/SolidLineCross_10000_2017.08.22_06_24.22.mp4"
WCCOAui (1), 2017.08.22 08:46:27.828, SYS, WARNING, 54, Unexpected state, Qt, Error: "Could not initialise Xv output"
WCCOAui (1), 2017.08.22 08:46:27.825, CTRL, WARNING, 5/ctrl, Location of the following log entry:
Module: _QuickTest_
Panel: /home/nedim/WinCC_OA_projects/Slovacka/panels/Pomocni paneli/VPlayerExample.xml []
Object: 17 named: "PUSH_BUTTON8" of type: PUSH_BUTTON
Script: Clicked
Line: 3
WCCOAui (1), 2017.08.22 08:46:27.825, SYS, WARNING, 54, Unexpected state, Qt, GStreamer; Unable to pause - "file:///home/nedim/WinCC_OA_projects/Slovacka/videos/AID/SolidLineCross_10000_2017.08.22_06_24.22.mp4"
WCCOAui (1), 2017.08.22 08:46:27.828, SYS, WARNING, 54, Unexpected state, Qt, Error: "Could not initialise Xv output"