You are not logged in.
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 familyNow, whenever I play h264 file with Totem, all I get is white screen:
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/luggageI 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: GstPulseSinkClockHow can I determine, where lays the problem?
Last edited by PiotrPyclik (2014-09-02 20:09:43)
Offline
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
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
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
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
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
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