You are not logged in.

#1 2014-09-02 20:09:23

PiotrPyclik
Member
From: Szczecin, Poland
Registered: 2014-08-24
Posts: 16
Website

Totem won't play any video, despite of working GStreamer

Hi,
I have a problem with Totem, that I can't solve, because the program won't give any useful output. Below is the list of relevant, installed packages:

 pacman -Qs totem
local/totem 3.12.1-2 (gnome)
    GNOME3 movie player based on GStreamer
local/totem-plparser 3.10.2-1
    Totem playlist parser library

~ pacman -Qs gstreamer
local/clutter-gst 2.0.12-1
    GStreamer bindings for clutter
local/gnome-video-effects 0.4.1-1
    A collection of GStreamer effects
local/gst-libav 1.4.1-1
    Gstreamer libav Plugin
local/gst-plugins-bad 1.4.1-1
    GStreamer Multimedia Framework Bad Plugins
local/gst-plugins-base 1.4.1-1
    GStreamer Multimedia Framework Base Plugins
local/gst-plugins-base-libs 1.4.1-1
    GStreamer Multimedia Framework Base Plugin libraries
local/gst-plugins-good 1.4.1-1
    GStreamer Multimedia Framework Good Plugins
local/gst-plugins-ugly 1.4.1-1
    GStreamer Multimedia Framework Ugly Plugins
local/gst-vaapi 0.5.9-1
    GStreamer Multimedia Framework VA Plugins
local/gstreamer 1.4.1-1
    GStreamer Multimedia Framework
local/totem 3.12.1-2 (gnome)
    GNOME3 movie player based on GStreamer

~ pacman -Qs libva 
local/libva 1.3.1-2
    Video Acceleration (VA) API for Linux
local/libva-intel-driver 1.3.2-1
    VA-API implementation for Intel G45 and HD Graphics family

Now, whenever I play h264 file with Totem, all I get is white screen:
rEdB0NXl.png
and following output in terminal:

run/media/piotr/luggage totem 0001.mp4
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
/run/media/piotr/luggage

I can't see anything wrong here. The strange part is, that the same video plays correctly with gst-launch-1.0 playbin:

/run/media/piotr/luggage gst-launch-1.0 playbin uri=file:///run/media/piotr/luggage/0001.mp4
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
Got context from element 'vaapidecode0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock

How can I determine, where lays the problem?

Last edited by PiotrPyclik (2014-09-02 20:09:43)

Offline

#2 2014-09-03 12:00:39

fredbezies
Member
Registered: 2011-07-28
Posts: 372

Re: Totem won't play any video, despite of working GStreamer

On my computer :

[fred@fredo-arch ~]$ pacman -Ss totem | grep install
extra/totem 3.12.1-2 (gnome) [installed]
extra/totem-plparser 3.10.2-1 [installed]

Gstreamer ?

[fred@fredo-arch ~]$ pacman -Ss gst | grep install
extra/clutter-gst 2.0.12-1 [installed]
extra/gnome-video-effects 0.4.1-1 [installed]
extra/gst-libav 1.4.1-1 [installed]
extra/gst-plugins-bad 1.4.1-1 [installed]
extra/gst-plugins-base 1.4.1-1 [installed]
extra/gst-plugins-base-libs 1.4.1-1 [installed]
extra/gst-plugins-good 1.4.1-1 [installed]
extra/gst-plugins-ugly 1.4.1-1 [installed]
extra/gstreamer 1.4.1-1 [installed]
extra/gstreamer0.10 0.10.36-4 [installed]
extra/gstreamer0.10-bad 0.10.23-8 [installed]
extra/gstreamer0.10-bad-plugins 0.10.23-8 (gstreamer0.10-plugins) [installed]
extra/gstreamer0.10-base 0.10.36-3 [installed]
extra/gstreamer0.10-base-plugins 0.10.36-3 (gstreamer0.10-plugins) [installed]
extra/gstreamer0.10-ffmpeg 0.10.13-2 (gstreamer0.10-plugins) [installed]
extra/gstreamer0.10-good 0.10.31-6 [installed]
extra/gstreamer0.10-good-plugins 0.10.31-6 (gstreamer0.10-plugins) [installed]
extra/gstreamer0.10-ugly 0.10.19-12 [installed]
extra/gstreamer0.10-ugly-plugins 0.10.19-12 (gstreamer0.10-plugins) [installed]
    submits a list of installed packages to the Arch Linux project
extra/totem 3.12.1-2 (gnome) [installed]

So, I don't understand what's going on.

Last edited by fredbezies (2014-09-03 12:01:17)

Offline

#3 2014-09-03 15:53:39

PiotrPyclik
Member
From: Szczecin, Poland
Registered: 2014-08-24
Posts: 16
Website

Re: Totem won't play any video, despite of working GStreamer

Problem got resolved by removing gst-vaapi, which is not really satisfactory, since I'd prefer to use hardware decoding. Is there any option, to make Totem's console output more verbose?

Last edited by PiotrPyclik (2014-09-03 15:54:25)

Offline

#4 2014-09-03 17:00:20

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Totem won't play any video, despite of working GStreamer

 I do not see any verbose switches on the man pages on the net, but just try '-vvvv' or '--verbose', maybe it is not documented. Strace might be a bit excessive, but might help define your problem more precisely. Search for the i965_drv_video.so in combination with h264, totem and such. Could have anything to do with acceleration methods in X, since intel is involved?

Offline

#5 2014-09-03 18:23:28

PiotrPyclik
Member
From: Szczecin, Poland
Registered: 2014-08-24
Posts: 16
Website

Re: Totem won't play any video, despite of working GStreamer

To my understanding, there is a bug with Totem. Relevant bugs and threads:
https://bugzilla.gnome.org/show_bug.cgi?id=674083
http://gstreamer-devel.966125.n4.nabble … 55188.html
https://bugs.launchpad.net/totem/+bug/997370
which only confirms, that Totem for the long time has been and still is... a poopoo. Sigh :-/

Last edited by PiotrPyclik (2014-09-03 18:23:42)

Offline

#6 2014-09-03 18:37:01

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Totem won't play any video, despite of working GStreamer

 Why do you use Totem? Is there a special feature other players do not have? I recommend trying out mpv. Try GST_DEBUG variable for more verbose output.

Offline

#7 2014-09-03 19:11:32

PiotrPyclik
Member
From: Szczecin, Poland
Registered: 2014-08-24
Posts: 16
Website

Re: Totem won't play any video, despite of working GStreamer

Well, I use mpv and it's great. But beacuse Totem integrates with GNOME so nicely, I thought, I would use it from time to time.

With GST_DEBUG=1 and gst-vaapi installed, there is something informative:

/run/media/piotr/luggage totem 0001.mp4
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
0:00:01.191829975  2225 0x7f7b700a9b20 ERROR            vaapidecode ../../../gstreamer-vaapi-0.5.9/gst/vaapi/gstvaapidecode.c:397:gst_vaapidecode_push_decoded_frame: video sink rejected the video buffer (error -1)

And with GST_DEBUG=3:

/run/media/piotr/luggage totem 0001.mp4    
0:00:00.778999773  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:00.779146545  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:00.835112343  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:00.835241110  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:00.867064804  2446      0x16920f0 WARN                 basesrc gstbasesrc.c:3460:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.868267302  2446      0x16920f0 WARN                 basesrc gstbasesrc.c:3460:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.868667831  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:00.868723978  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:00.871518146  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:00.872650718  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:00.937628693  2446 0x7f014c0dd230 WARN                 qtdemux qtdemux_types.c:200:qtdemux_type_get: unknown QuickTime node type TIM
0:00:00.938205614  2446 0x7f014c0dd230 WARN                 qtdemux qtdemux_types.c:200:qtdemux_type_get: unknown QuickTime node type TSC
0:00:00.938253232  2446 0x7f014c0dd230 WARN                 qtdemux qtdemux_types.c:200:qtdemux_type_get: unknown QuickTime node type TSZ
0:00:00.938696437  2446 0x7f014c0dd230 WARN                 qtdemux qtdemux.c:8243:qtdemux_parse_trak:<qtdemux0> unknown version 00000000
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
0:00:01.041873965  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:01.041954877  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:01.053938639  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:01.054114550  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:01.054859181  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:01.054918181  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:01.055540992  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:01.055597791  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:01.148430809  2446 0x7f0148070a80 WARN                GST_PADS gstpad.c:3742:gst_pad_peer_query:<sink:proxypad10> could not send sticky events
0:00:01.246108505  2446 0x7f01480a9b20 ERROR            vaapidecode ../../../gstreamer-vaapi-0.5.9/gst/vaapi/gstvaapidecode.c:397:gst_vaapidecode_push_decoded_frame: video sink rejected the video buffer (error -1)
0:00:01.296521994  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:01.296674163  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:01.296741011  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:01.296784167  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:01.296819473  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
0:00:01.297095664  2446      0x16920f0 FIXME                    bin gstbin.c:4023:gst_bin_query: implement duration caching in GstBin again
/run/media/piotr/luggage 

On higher levels output gets really long and I don't know, if it useful.

Offline

Board footer

Powered by FluxBB