Totem does not play MOV file with x264 encoding

Bug #1810022 reported by preethi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory

(totem:9998): Totem-WARNING **: 14:48:03.615: Failed to acquire screensaver proxy: Error calling StartServiceByName for org.gnome.ScreenSaver: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.ScreenSaver exited with status 1
** Message: 14:48:03.709: Missing plugin: gstreamer|1.0|totem|H.264 (High Profile) decoder|decoder-video/x-h264, level=(string)5.1, profile=(string)high, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8 (H.264 (High Profile) decoder)
** Message: 14:48:03.811: PackageKit: xid = 18874384
** Message: 14:48:03.811: PackageKit: desktop_id = org.gnome.Totem.desktop
** Message: 14:48:03.812: PackageKit: Codec nice name: H.264 (High Profile) decoder
** Message: 14:48:03.812: PackageKit: ignoring field named level
** Message: 14:48:03.812: PackageKit: ignoring field named profile
** Message: 14:48:03.812: PackageKit: ignoring field named interlace-mode
** Message: 14:48:03.812: PackageKit: ignoring field named chroma-format
** Message: 14:48:03.812: PackageKit: ignoring field named bit-depth-luma
** Message: 14:48:03.812: PackageKit: ignoring field named bit-depth-chroma
** Message: 14:48:03.812: PackageKit: structure: gstreamer1(decoder-video/x-h264)()(64bit)
** Message: 14:48:03.860: PackageKit: Did not install codec: Error calling StartServiceByName for org.freedesktop.PackageKit: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.PackageKit exited with status 1
** Message: 14:48:03.864: No installation candidate for missing plugins found.

The gstreamer1.0* packages are installed and ubuntu-restricted-extras.

Description: Ubuntu 18.04.1 LTS
Release: 18.04
totem:
  Installed: 3.26.0-0ubuntu6.1
  Candidate: 3.26.0-0ubuntu6.1

Tags: bionic
tags: added: bionic
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I can't seem to reproduce this bug on 18.04 after installing ubuntu-restricted-extras.

1. What model of CPU do you have? (run lscpu)

2. Please run: dpkg -l > allpackages.txt
   and attach the resulting file 'allpackages.txt'.

Changed in totem (Ubuntu):
status: New → Incomplete
Revision history for this message
preethi (preethi1433) wrote : Re: [Bug 1810022] Re: Totem does not play MOV file with x264 encoding
  • lscpu.txt Edit (681 bytes, text/plain; charset="US-ASCII"; name="lscpu.txt")
  • allpackages.txt Edit (295.4 KiB, text/plain; charset="UTF-8"; name="allpackages.txt")

PFA the requested output files.

Thank you for your help.

Regards,
Preethi R

On Mon, 7 Jan 2019 at 16:20, Daniel van Vugt <email address hidden>
wrote:

> I can't seem to reproduce this bug on 18.04 after installing ubuntu-
> restricted-extras.
>
> 1. What model of CPU do you have? (run lscpu)
>
> 2. Please run: dpkg -l > allpackages.txt
> and attach the resulting file 'allpackages.txt'.
>
> ** Changed in: totem (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1810022
>
> Title:
> Totem does not play MOV file with x264 encoding
>
> Status in totem package in Ubuntu:
> Incomplete
>
> Bug description:
> AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device
> 'default': No such file or directory
>
> (totem:9998): Totem-WARNING **: 14:48:03.615: Failed to acquire
> screensaver proxy: Error calling StartServiceByName for
> org.gnome.ScreenSaver:
> GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> org.gnome.ScreenSaver exited with status 1
> ** Message: 14:48:03.709: Missing plugin: gstreamer|1.0|totem|H.264
> (High Profile) decoder|decoder-video/x-h264, level=(string)5.1,
> profile=(string)high, interlace-mode=(string)progressive,
> chroma-format=(string)4:2:0, bit-depth-luma=(uint)8,
> bit-depth-chroma=(uint)8 (H.264 (High Profile) decoder)
> ** Message: 14:48:03.811: PackageKit: xid = 18874384
> ** Message: 14:48:03.811: PackageKit: desktop_id =
> org.gnome.Totem.desktop
> ** Message: 14:48:03.812: PackageKit: Codec nice name: H.264 (High
> Profile) decoder
> ** Message: 14:48:03.812: PackageKit: ignoring field named level
> ** Message: 14:48:03.812: PackageKit: ignoring field named profile
> ** Message: 14:48:03.812: PackageKit: ignoring field named interlace-mode
> ** Message: 14:48:03.812: PackageKit: ignoring field named chroma-format
> ** Message: 14:48:03.812: PackageKit: ignoring field named bit-depth-luma
> ** Message: 14:48:03.812: PackageKit: ignoring field named
> bit-depth-chroma
> ** Message: 14:48:03.812: PackageKit: structure:
> gstreamer1(decoder-video/x-h264)()(64bit)
> ** Message: 14:48:03.860: PackageKit: Did not install codec: Error
> calling StartServiceByName for org.freedesktop.PackageKit:
> GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> org.freedesktop.PackageKit exited with status 1
> ** Message: 14:48:03.864: No installation candidate for missing plugins
> found.
>
>
> The gstreamer1.0* packages are installed and ubuntu-restricted-extras.
>
> Description: Ubuntu 18.04.1 LTS
> Release: 18.04
> totem:
> Installed: 3.26.0-0ubuntu6.1
> Candidate: 3.26.0-0ubuntu6.1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1810022/+subscriptions
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

Does it work if you move away the ~/.cache/gstreamer-1.0 directory? (similar to https://askubuntu.com/questions/300645/cant-play-videos-in-totem-error-says-that-were-missing-plugins-that-should-n)

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It appears you have a Sandy Bridge CPU and the required packages installed for hardware video decoding (https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video#Hardware_decoding_and_encoding). So that should work. Maybe Seb has a point...

Can you please also:

1. Run 'vainfo' and send us the output.

2. Try playing the video with 'mpv' and send us the output that 'mpv' prints to the terminal when playing the video.

Revision history for this message
preethi (preethi1433) wrote :
  • output.txt Edit (2.1 KiB, text/plain; charset="US-ASCII"; name="output.txt")

Hi Sebastien and Daniel,

PFA the output of the commands you requested.

Regards,
Preethi R

On Tue, 8 Jan 2019 at 09:00, Daniel van Vugt <email address hidden>
wrote:

> It appears you have a Sandy Bridge CPU and the required packages
> installed for hardware video decoding
> (
> https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video#Hardware_decoding_and_encoding
> ).
> So that should work. Maybe Seb has a point...
>
> Can you please also:
>
> 1. Run 'vainfo' and send us the output.
>
> 2. Try playing the video with 'mpv' and send us the output that 'mpv'
> prints to the terminal when playing the video.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1810022
>
> Title:
> Totem does not play MOV file with x264 encoding
>
> Status in totem package in Ubuntu:
> Incomplete
>
> Bug description:
> AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device
> 'default': No such file or directory
>
> (totem:9998): Totem-WARNING **: 14:48:03.615: Failed to acquire
> screensaver proxy: Error calling StartServiceByName for
> org.gnome.ScreenSaver:
> GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> org.gnome.ScreenSaver exited with status 1
> ** Message: 14:48:03.709: Missing plugin: gstreamer|1.0|totem|H.264
> (High Profile) decoder|decoder-video/x-h264, level=(string)5.1,
> profile=(string)high, interlace-mode=(string)progressive,
> chroma-format=(string)4:2:0, bit-depth-luma=(uint)8,
> bit-depth-chroma=(uint)8 (H.264 (High Profile) decoder)
> ** Message: 14:48:03.811: PackageKit: xid = 18874384
> ** Message: 14:48:03.811: PackageKit: desktop_id =
> org.gnome.Totem.desktop
> ** Message: 14:48:03.812: PackageKit: Codec nice name: H.264 (High
> Profile) decoder
> ** Message: 14:48:03.812: PackageKit: ignoring field named level
> ** Message: 14:48:03.812: PackageKit: ignoring field named profile
> ** Message: 14:48:03.812: PackageKit: ignoring field named interlace-mode
> ** Message: 14:48:03.812: PackageKit: ignoring field named chroma-format
> ** Message: 14:48:03.812: PackageKit: ignoring field named bit-depth-luma
> ** Message: 14:48:03.812: PackageKit: ignoring field named
> bit-depth-chroma
> ** Message: 14:48:03.812: PackageKit: structure:
> gstreamer1(decoder-video/x-h264)()(64bit)
> ** Message: 14:48:03.860: PackageKit: Did not install codec: Error
> calling StartServiceByName for org.freedesktop.PackageKit:
> GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> org.freedesktop.PackageKit exited with status 1
> ** Message: 14:48:03.864: No installation candidate for missing plugins
> found.
>
>
> The gstreamer1.0* packages are installed and ubuntu-restricted-extras.
>
> Description: Ubuntu 18.04.1 LTS
> Release: 18.04
> totem:
> Installed: 3.26.0-0ubuntu6.1
> Candidate: 3.26.0-0ubuntu6.1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1810022/+subscriptions
>

Revision history for this message
preethi (preethi1433) wrote :
Download full text (3.2 KiB)

Also, the i965-va-driver is installed in Ubuntu.

Preethi R

On Tue, 8 Jan 2019 at 09:56, Preethi Rajasekaran <email address hidden>
wrote:

> Hi Sebastien and Daniel,
>
> PFA the output of the commands you requested.
>
> Regards,
> Preethi R
>
>
> On Tue, 8 Jan 2019 at 09:00, Daniel van Vugt <
> <email address hidden>> wrote:
>
>> It appears you have a Sandy Bridge CPU and the required packages
>> installed for hardware video decoding
>> (
>> https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video#Hardware_decoding_and_encoding
>> ).
>> So that should work. Maybe Seb has a point...
>>
>> Can you please also:
>>
>> 1. Run 'vainfo' and send us the output.
>>
>> 2. Try playing the video with 'mpv' and send us the output that 'mpv'
>> prints to the terminal when playing the video.
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1810022
>>
>> Title:
>> Totem does not play MOV file with x264 encoding
>>
>> Status in totem package in Ubuntu:
>> Incomplete
>>
>> Bug description:
>> AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device
>> 'default': No such file or directory
>>
>> (totem:9998): Totem-WARNING **: 14:48:03.615: Failed to acquire
>> screensaver proxy: Error calling StartServiceByName for
>> org.gnome.ScreenSaver:
>> GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
>> org.gnome.ScreenSaver exited with status 1
>> ** Message: 14:48:03.709: Missing plugin: gstreamer|1.0|totem|H.264
>> (High Profile) decoder|decoder-video/x-h264, level=(string)5.1,
>> profile=(string)high, interlace-mode=(string)progressive,
>> chroma-format=(string)4:2:0, bit-depth-luma=(uint)8,
>> bit-depth-chroma=(uint)8 (H.264 (High Profile) decoder)
>> ** Message: 14:48:03.811: PackageKit: xid = 18874384
>> ** Message: 14:48:03.811: PackageKit: desktop_id =
>> org.gnome.Totem.desktop
>> ** Message: 14:48:03.812: PackageKit: Codec nice name: H.264 (High
>> Profile) decoder
>> ** Message: 14:48:03.812: PackageKit: ignoring field named level
>> ** Message: 14:48:03.812: PackageKit: ignoring field named profile
>> ** Message: 14:48:03.812: PackageKit: ignoring field named
>> interlace-mode
>> ** Message: 14:48:03.812: PackageKit: ignoring field named chroma-format
>> ** Message: 14:48:03.812: PackageKit: ignoring field named
>> bit-depth-luma
>> ** Message: 14:48:03.812: PackageKit: ignoring field named
>> bit-depth-chroma
>> ** Message: 14:48:03.812: PackageKit: structure:
>> gstreamer1(decoder-video/x-h264)()(64bit)
>> ** Message: 14:48:03.860: PackageKit: Did not install codec: Error
>> calling StartServiceByName for org.freedesktop.PackageKit:
>> GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
>> org.freedesktop.PackageKit exited with status 1
>> ** Message: 14:48:03.864: No installation candidate for missing plugins
>> found.
>>
>>
>> The gstreamer1.0* packages are installed and ubuntu-restricted-extras.
>>
>> Description: Ubuntu 18.04.1 LTS
>> Release: 18.04
>> totem:
>> Installed: 3.26.0-0ubuntu6.1
>> Candidate: 3.26.0-0ubuntu6.1
>>
>> To manage notifications about this bug ...

Read more...

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. It appears you have an Nvidia graphics driver installed, so that prevents hardware-accelerated video decoding via VAAPI from working. :(

It looks like mpv did work, is that correct? If so then to get Totem working please try this:

  sudo apt remove gstreamer1.0-vaapi:amd64

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Also possibly related, but unlikely, is bug 1770725.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Also since you get this after following Seb's advice:

  totem 1.MOV
  double free or corruption (!prev)
  Aborted (core dumped)

we next need to get some information about that crash. Please follow these instructions to find the crash details and send them to us:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

3. If step 2 also failed then apply the workaround from bug 994921, reboot, reproduce the crash, and retry step 1.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

And I don't mean to imply Seb's advice was bad. It was very good advice. We still need to debug the crash...

Revision history for this message
preethi (preethi1433) wrote :

The newly created private bug with crash information is

 #1810929 totem crashed with SIGSEGV

In spite of removing gstreamer1.0-vaapi, totem failed with the last error.
And yes - mpv plays the video and totem does not.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The new report is a duplicate of bug #1730241 which seems to be cogl not handling well the video drivers being in a buggy state

Revision history for this message
Sebastien Bacher (seb128) wrote :

Upstream report is https://gitlab.gnome.org/GNOME/cogl/issues/1, resolving the segfault wouldn't fix the problem that the xorg stack hits errors though.

If the other bugs is hinting right, uninstalling the nvidia driver should resolve the issue (why do you have those installed on an intel system?)

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

preethi,

Please run:

  lspci -k

and send us the output, so that we can see what GPUs (and drivers) you are using.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Moving to bug 1810929.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.