Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Totem can't playback, throws: Internal Data Stream Error

Graphical Environments, Managers, Multimedia & Desktop questions.
Message
Author
manmath
Posts: 137
Joined: 2009-11-26 07:16
Location: Odisha, India

Totem can't playback, throws: Internal Data Stream Error

#1 Post by manmath »

Hi,

Totem can't play media files, if gstreamer1.0-vaapi is installed. If I purge gstreamer1.0-vaapi, it plays all the media files, but of course, the CPU spikes high as much as 50%. Please help me how I can play media files with proper video acceleration (i.e., with gstreamer1.0-vaapi installed).

FYI, my system is Debian Testing (Stretch), up-to-date to this date.

The gstreamer packages installed on my system are:

gir1.2-gstreamer-1.0
gstreamer1.0-clutter-3.0
gstreamer1.0-libav
gstreamer1.0-vaapi
gstreamer1.0-plugins-bad
gstreamer1.0-plugins-base
gstreamer1.0-plugins-good
gstreamer1.0-plugins-ugly
gstreamer1.0-pulseaudio
gstreamer1.0-x
libgstreamer-plugins-bad1.0-0
libgstreamer-plugins-base1.0-0
libgstreamer1.0-0

Vaapi packages I've installed are:

libva-drm1
libva-wayland1
libva-x11-1
libva1
i965-va-driver

The Totem packages I've installed are:

libtotem-plparser-common
libtotem-plparser18
libtotem0
totem
totem-common

When I run totem in commandline, it shows:

manmath@debian:~/Windows/Videos/Movies$ totem Alexander_and_the_Terrible_Horrible.mp4
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0

(totem:8543): libpeas-WARNING **: Type not found in introspection: 'PeasActivatable'

(totem:8543): libpeas-WARNING **: Method 'PeasActivatable.deactivate' was not found

My system configuration:

Devices:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
02:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0)

Motherboard: H61M-DS2 Gigabyte board
CPU: Intel(R) Pentium(R) CPU G620 @ 2.60GHz
Memory: Kingston 8GB DDR3 (2x4)

PS: Don't suggest me to use VLC. I want it to work with Totem only.
Last edited by manmath on 2017-05-28 13:16, edited 3 times in total.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Totem can't playback, throws: Internal Data Stream Error

#2 Post by arochester »

It might help to know something about the specs of your computer...

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Totem can't playback, throws: Internal Data Stream Error

#3 Post by phenest »

I don't use vaapi for the same reason, but the high CPU usage without it suggests you not using proper video hardware acceleration.
Please post the output of:

Code: Select all

lspci -k | grep -iEA3 "display|3d|vga"
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

manmath
Posts: 137
Joined: 2009-11-26 07:16
Location: Odisha, India

Re: Totem can't playback, throws: Internal Data Stream Error

#4 Post by manmath »

arochester wrote:It might help to know something about the specs of your computer...
Updated the question with the specs.
Last edited by manmath on 2017-05-28 11:38, edited 1 time in total.

manmath
Posts: 137
Joined: 2009-11-26 07:16
Location: Odisha, India

Re: Totem can't playback, throws: Internal Data Stream Error

#5 Post by manmath »

phenest wrote:I don't use vaapi for the same reason, but the high CPU usage without it suggests you not using proper video hardware acceleration.
Please post the output of:

Code: Select all

lspci -k | grep -iEA3 "display|3d|vga"
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Subsystem: Gigabyte Technology Co., Ltd 2nd Generation Core Processor Family Integrated Graphics Controller
Kernel driver in use: i915
Kernel modules: i915

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Totem can't playback, throws: Internal Data Stream Error

#6 Post by phenest »

manmath wrote:the CPU spikes high as much as 50%
Does it stay at 50%? What CPU do you have?

Code: Select all

lscpu | grep -i "model name"
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

manmath
Posts: 137
Joined: 2009-11-26 07:16
Location: Odisha, India

Re: Totem can't playback, throws: Internal Data Stream Error

#7 Post by manmath »

phenest wrote:
manmath wrote:the CPU spikes high as much as 50%
Does it stay at 50%? What CPU do you have?

Code: Select all

lscpu | grep -i "model name"
Model name: Intel(R) Pentium(R) CPU G620 @ 2.60GHz

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Totem can't playback, throws: Internal Data Stream Error

#8 Post by phenest »

Although 2.6GHz, you only have 2 cores. Have you ever used another OS on your computer, i.e. Windows, to have a comparison of CPU usage? That is, did you expect lower usage?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

manmath
Posts: 137
Joined: 2009-11-26 07:16
Location: Odisha, India

Re: Totem can't playback, throws: Internal Data Stream Error

#9 Post by manmath »

phenest wrote:Although 2.6GHz, you only have 2 cores. Have you ever used another OS on your computer, i.e. Windows, to have a comparison of CPU usage? That is, did you expect lower usage?
Of course, it never exceeds 10% while play HD video on Windows in another partition. Interestingly, cpu usage on VLC while playing HD video content never spikes over 15%. Is it that vaapi implementation in gstreamer is incomplete or it's just me? Would anybody on your Debian Stretch test playing HD video with gstreamer1.0-vaapi package installed, and please let me know.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Totem can't playback, throws: Internal Data Stream Error

#10 Post by phenest »

I play DVD's with Totem. I've just installed the gstreamer vaapi package, and it still plays. But how would I know if it's using vaapi?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

manmath
Posts: 137
Joined: 2009-11-26 07:16
Location: Odisha, India

Re: Totem can't playback, throws: Internal Data Stream Error

#11 Post by manmath »

phenest wrote:I play DVD's with Totem. I've just installed the gstreamer vaapi package, and it still plays. But how would I know if it's using vaapi?
Did you play that on Testing (Stretch)? If so, please share me the list of totem, gstreamer and vaapi packages you've installed on your system. So that I can check that with mine and may be able to fix it.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Totem can't playback, throws: Internal Data Stream Error

#12 Post by phenest »

Have you get the i965-va-driver installed?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

manmath
Posts: 137
Joined: 2009-11-26 07:16
Location: Odisha, India

Re: Totem can't playback, throws: Internal Data Stream Error

#13 Post by manmath »

phenest wrote:Have you get the i965-va-driver installed?
Yes, I've that installed. BTW, would you please tell the cpu usage on your system while playing a HD video?

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Totem can't playback, throws: Internal Data Stream Error

#14 Post by phenest »

Not much point as my computer is much more recent with a lot more power than yours. And I use nVidia for video, not Intel.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

manmath
Posts: 137
Joined: 2009-11-26 07:16
Location: Odisha, India

Re: Totem can't playback, throws: Internal Data Stream Error

#15 Post by manmath »

phenest wrote:Not much point as my computer is much more recent with a lot more power than yours. And I use nVidia for video, not Intel.
Yes, exactly. In that case, video acceleration is done by vdpau (vdpau-va-driver, nvidia-vdpau-driver, libvdpau1 and libvdpau-va-gl1, but not vaapi). I too don't have any problem with video acceleration on my Sony Y Series netbook that came with AMD APU E-350.

Would somebody using vaapi on intel gpu (not discrete nVidia or ATi) please check if video acceleration works with gstreamer vaapi package?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Totem can't playback, throws: Internal Data Stream Error

#16 Post by stevepusser »

Sorry,I don't have much interest in gstreamer or Totem, and don't have Stretch installed as of yet. I can get full vaapi acceleration with my sixth-generation Skylake graphics using a backported mpv or a homebrewed QMPlay2; 4K h.264 mp4 videos show the same 3% cpu use as do 320x240 videos. This is with a lot of backports on top of a Jessie base, so I suppose a Stretch system should behave in the same way.
MX Linux packager and developer

manmath
Posts: 137
Joined: 2009-11-26 07:16
Location: Odisha, India

Re: Totem can't playback, throws: Internal Data Stream Error

#17 Post by manmath »

stevepusser wrote:Sorry,I don't have much interest in gstreamer or Totem, and don't have Stretch installed as of yet. I can get full vaapi acceleration with my sixth-generation Skylake graphics using a backported mpv or a homebrewed QMPlay2; 4K h.264 mp4 videos show the same 3% cpu use as do 320x240 videos. This is with a lot of backports on top of a Jessie base, so I suppose a Stretch system should behave in the same way.
I also installed mpv. With hwdec=vaapi option in the mpv.conf, video acceleration works as desired, cpu usage swings from 2% to 6% no matter what type of video I play ranging from 240p to 1080p. CPU is a lot cooler now.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Totem can't playback, throws: Internal Data Stream Error

#18 Post by phenest »

MPV is awesome! I use OpenGL for acceleration as vdpau causes intermittent flickering. I only use Totem for interactive DVD's.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

manmath
Posts: 137
Joined: 2009-11-26 07:16
Location: Odisha, India

Re: Totem can't playback, throws: Internal Data Stream Error

#19 Post by manmath »

phenest wrote:MPV is awesome! I use OpenGL for acceleration as vdpau causes intermittent flickering. I only use Totem for interactive DVD's.
I will do the same. But it puzzles me why such a shitty media player Totem is still bundled as the default media player in the major distributions.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Totem can't playback, throws: Internal Data Stream Error

#20 Post by phenest »

It's developed by Gnome.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

Post Reply