Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples not working #2

Open
hei5enbrg opened this issue May 9, 2015 · 6 comments
Open

Examples not working #2

hei5enbrg opened this issue May 9, 2015 · 6 comments

Comments

@hei5enbrg
Copy link

gstreamer-1.4.5
gst-plugins-base-1.4.5
installed from tarballs
then, installed qt-gstreamer-1.2.0 :
$ mkdir build && cd build
$ cmake .. -DQTGSTREAMER_EXAMPLES=[ON] -DCMAKE_INSTALL_PREFIX=/path/to/installation/prefix
$ make
$ make install

the examples are built successfully, but there is no video playback when runnig

@detrout
Copy link
Owner

detrout commented May 28, 2015

Since its been a while. I wanted to say I saw your report I just haven't had a chance to investigate.

@detrout
Copy link
Owner

detrout commented Jun 16, 2015

I had a chance to look. The examples run in the build tree. Do they work for you in the build tree?

@vdehors
Copy link

vdehors commented Jun 16, 2015

As examples for player (player & qmlplayer) uses playbin element, you need all elements required to decode your video, which can be provided by others packages than gst-plugins-base-1.4.5 (depending on your video). Having the element "playbin" may not be enough to decode it.

Does the playback works using gst-launch ?

@hei5enbrg
Copy link
Author

@detrout : Nope, It didn't work in the build tree. I might missed some dependency?? Thank you for your help. I will try again.
@vdehors : I didn't aware of gst-launch. what should I do to make this work with gst-launch ? I assume apt-get install gstreamer-tools will provide gst-launch. Or should I compile it from source ?
Thank you very much.

@vdehors
Copy link

vdehors commented Jun 29, 2015

I think gst-launch is provided by your tarball of gstreamer1.0. To check the playback of your video, you can launch :

gst-launch-1.0 playbin uri="file://[path to your video]"

Note that if you give an absolute path, there is three '/' after "file:". Ex: file:///home/user/video.avi.

If the playback failed because of a gstreamer element missing, you should have an error. If the playback works, it may be a issue related to qtgstreamer.

@detrout
Copy link
Owner

detrout commented Jun 29, 2015

Also abhi94, what OS are your running? Did you try both qmlplayer and player? Did you build against Qt4 or Qt5?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants