H.264 decoder

If none of the more specific forums is the right place to ask

H.264 decoder

Postby pawRoot » 2017-02-25 03:17

As above, trying to play some videos, but im missing a H.264 codecs.

I tried installing ffmpeg and x264 , but still not working.
OS: Debian testing stretch
Kernel: x86_64 Linux 4.8.0-2-amd64
DE: Gnome
CPU: Intel Core i5-4690K CPU @ 3.9GHz
GPU: GeForce GTX 970/PCIe/SSE2
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 125
Joined: 2016-12-28 18:26
Location: Poland

Re: H.264 decoder

Postby deborah-and-ian » 2017-02-25 12:09

Package
Code: Select all
libx264-142


Otherwise, if you quickly want most codecs, just install:

Code: Select all
gstreamer1.0-plugins-good
gstreamer1.0-plugins-bad
gstreamer1.0-plugins-ugly


Should cover most of it. mpv and vlc are, in my experience, the best when dealing with strange files (i.e. poorly encoded or strange format).
Image
deborah-and-ian
 
Posts: 75
Joined: 2016-07-13 08:40

Re: H.264 decoder

Postby Segfault » 2017-02-25 12:21

pawRoot wrote:As above, trying to play some videos, but im missing a H.264 codecs.

I tried installing ffmpeg and x264 , but still not working.

What player? BTW, x264 is for encoding, not needed for decoding.
Segfault
 
Posts: 412
Joined: 2005-09-24 12:24

Re: H.264 decoder

Postby pawRoot » 2017-02-25 16:00

deborah-and-ian wrote:Package
Code: Select all
libx264-142


Otherwise, if you quickly want most codecs, just install:

Code: Select all
gstreamer1.0-plugins-good
gstreamer1.0-plugins-bad
gstreamer1.0-plugins-ugly


Should cover most of it. mpv and vlc are, in my experience, the best when dealing with strange files (i.e. poorly encoded or strange format).


libx264-142 doesn't exist in Stretch repository, and the rest is already installed.

Segfault wrote:
pawRoot wrote:As above, trying to play some videos, but im missing a H.264 codecs.

I tried installing ffmpeg and x264 , but still not working.

What player? BTW, x264 is for encoding, not needed for decoding.


Default Gnome 3 video player "Videos" , i dont know exact package name.
Ofc i can play videos in VLC, but i want codecs so i can use whatever package i want.

Also there is no thumbnails for videos in Nautilus, i guess it's lacking codecs fault?
OS: Debian testing stretch
Kernel: x86_64 Linux 4.8.0-2-amd64
DE: Gnome
CPU: Intel Core i5-4690K CPU @ 3.9GHz
GPU: GeForce GTX 970/PCIe/SSE2
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 125
Joined: 2016-12-28 18:26
Location: Poland

Re: H.264 decoder

Postby Segfault » 2017-02-25 16:17

Default Gnome 3 video player "Videos" , i dont know exact package name.

That's the best you can do? Does this player have About in Help menu?
Some players use FFmpeg, some use GStreamer, some Libav. Sometimes it is a build-time option which one will be used. Some players have bundled codecs, some use system codecs. Again, this can be a build-time option. As you can see it depends on package maintainer how exactly the files are decoded.
Segfault
 
Posts: 412
Joined: 2005-09-24 12:24

Re: H.264 decoder

Postby pawRoot » 2017-02-25 16:35

Segfault wrote:
Default Gnome 3 video player "Videos" , i dont know exact package name.

That's the best you can do? Does this player have About in Help menu?
Some players use FFmpeg, some use GStreamer, some Libav. Sometimes it is a build-time option which one will be used. Some players have bundled codecs, some use system codecs. Again, this can be a build-time option. As you can see it depends on package maintainer how exactly the files are decoded.


I hope you forgive me my laziness, here it is:

totem (>= 3.20)
Simple media player for the GNOME desktop based on GStreamer
OS: Debian testing stretch
Kernel: x86_64 Linux 4.8.0-2-amd64
DE: Gnome
CPU: Intel Core i5-4690K CPU @ 3.9GHz
GPU: GeForce GTX 970/PCIe/SSE2
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 125
Joined: 2016-12-28 18:26
Location: Poland

Re: H.264 decoder

Postby stevepusser » 2017-02-25 17:28

Good old Totem--if you had done a web search for why it couldn't play x264 content, you would have more hits with the answer than you could ever read.

Anyway, as stated above, install those gstreamer1.0 plugin packages--they contain extra codecs for Gstreamer-based players. There aren't that many of those players--most players like Kodi, mpv, vlc, mplayer, qmplay2, etc. don't need any outside help to play just about any unencrypted media.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.2.1, Liquorix kernel 4.10-2, mpv 0.24, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8064
Joined: 2009-10-06 05:53

Re: H.264 decoder

Postby pawRoot » 2017-02-25 17:43

I installed all gstreamer packages/plugins available in repo, and it still doesn't work.
OS: Debian testing stretch
Kernel: x86_64 Linux 4.8.0-2-amd64
DE: Gnome
CPU: Intel Core i5-4690K CPU @ 3.9GHz
GPU: GeForce GTX 970/PCIe/SSE2
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 125
Joined: 2016-12-28 18:26
Location: Poland

Re: H.264 decoder

Postby stevepusser » 2017-02-25 18:25

pawRoot wrote:I installed all gstreamer packages/plugins available in repo, and it still doesn't work.


Are there any errors when you try it in the terminal, as in

totem somevideo.mp4

Ubuntu users that upgraded to 16.04 seemed to get a similar error that was fixed by deleting the .cache/gstreamer-1.0 folder in their home folder. https://bugs.launchpad.net/ubuntu/+sour ... ug/1562875
Last edited by stevepusser on 2017-02-25 18:30, edited 1 time in total.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.2.1, Liquorix kernel 4.10-2, mpv 0.24, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8064
Joined: 2009-10-06 05:53

Re: H.264 decoder

Postby pawRoot » 2017-02-25 18:26

Code: Select all
(totem:12218): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY

(totem:12218): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY

(totem:12218): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY
** Message: Missing plugin: gstreamer|1.0|totem|H.264 (High Profile) decoder|decoder-video/x-h264, level=(string)3.1, profile=(string)high (H.264 (High Profile) decoder)

(totem:12218): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)
OS: Debian testing stretch
Kernel: x86_64 Linux 4.8.0-2-amd64
DE: Gnome
CPU: Intel Core i5-4690K CPU @ 3.9GHz
GPU: GeForce GTX 970/PCIe/SSE2
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 125
Joined: 2016-12-28 18:26
Location: Poland

Re: H.264 decoder

Postby stevepusser » 2017-02-25 18:49

Hmmm--that could be a bug that needs to be fixed before Stretch gets released. Congratulations for finding it! Make sure it gets reported.

Is there some reason you are married to Totem instead of better (IMO) players?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.2.1, Liquorix kernel 4.10-2, mpv 0.24, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8064
Joined: 2009-10-06 05:53

Re: H.264 decoder

Postby pawRoot » 2017-02-25 19:02

stevepusser wrote:Hmmm--that could be a bug that needs to be fixed before Stretch gets released. Congratulations for finding it! Make sure it gets reported.

Is there some reason you are married to Totem instead of better (IMO) players?


What did i win?

Im not married to Totem, im using VLC, but i want thumbnails for videos, and broken codecs are probably the reason i dont have them.

I tried to report the bug now, and in Report Bug GUI i type in totem as application name, then it asks me to select a bug from the list, but the bug isn't there, no idea how to report it.
OS: Debian testing stretch
Kernel: x86_64 Linux 4.8.0-2-amd64
DE: Gnome
CPU: Intel Core i5-4690K CPU @ 3.9GHz
GPU: GeForce GTX 970/PCIe/SSE2
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 125
Joined: 2016-12-28 18:26
Location: Poland

Re: H.264 decoder

Postby pawRoot » 2017-02-25 19:07

Also not sure if it has anything to do with it, but just in case

pablo@debian:~$ ffmpeg --version
ffmpeg: symbol lookup error: /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY
OS: Debian testing stretch
Kernel: x86_64 Linux 4.8.0-2-amd64
DE: Gnome
CPU: Intel Core i5-4690K CPU @ 3.9GHz
GPU: GeForce GTX 970/PCIe/SSE2
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 125
Joined: 2016-12-28 18:26
Location: Poland

Re: H.264 decoder

Postby stevepusser » 2017-02-25 19:17

I really can't tell why you are getting those errors, since I don't know how you performed the Stretch install. Other Stretch users would have to chime in to see if they have the same errors.

I know it's possible to have working, recent versions of multimedia on Debian stable with the use of backports, and that your system would also be fine with Jessie plus backports.

Code: Select all
ffmpeg --version
ffmpeg version 3.2.2-1mx15+1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.2.1, Liquorix kernel 4.10-2, mpv 0.24, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8064
Joined: 2009-10-06 05:53

Re: H.264 decoder

Postby Segfault » 2017-02-25 20:40

pawRoot wrote:Also not sure if it has anything to do with it, but just in case

pablo@debian:~$ ffmpeg --version
ffmpeg: symbol lookup error: /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY

You get an error like this when the application is not rebuilt when dependencies are upgraded. Say, you have an application A which depends on B. After B is upgraded A needs to be rebuilt against new B. Failure to rebuild will give you ... the error you get. In other words, your installation is out of sync.
Segfault
 
Posts: 412
Joined: 2005-09-24 12:24

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable