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

 

 

 

H.264 decoder

If none of the specific sub-forums seem right for your thread, ask here.
Message
Author
User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

H.264 decoder

#1 Post by pawRoot »

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

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

deborah-and-ian
Posts: 182
Joined: 2016-07-13 08:40

Re: H.264 decoder

#2 Post by deborah-and-ian »

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).
Debian GNU/Linux 9 Stretch w/Openbox

Acer Aspire E5-521G
AMD A8-6410 APU
4 GB RAM
integrated AMD Mullins
dedicated AMD Hainan Radeon R5 M240 2 GB
240 GB Toshiba Q300 SSD
Realtek RTL8111/8168/8411 ethernet
Qualcomm Atheros QCA9565 wireless

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: H.264 decoder

#3 Post by Segfault »

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.

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: H.264 decoder

#4 Post by pawRoot »

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?

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: H.264 decoder

#5 Post by Segfault »

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.

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: H.264 decoder

#6 Post by pawRoot »

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

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

Re: H.264 decoder

#7 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: H.264 decoder

#8 Post by pawRoot »

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

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

Re: H.264 decoder

#9 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: H.264 decoder

#10 Post by pawRoot »

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)

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

Re: H.264 decoder

#11 Post by stevepusser »

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?
MX Linux packager and developer

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: H.264 decoder

#12 Post by pawRoot »

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.

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: H.264 decoder

#13 Post by pawRoot »

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

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

Re: H.264 decoder

#14 Post by stevepusser »

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)
MX Linux packager and developer

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: H.264 decoder

#15 Post by Segfault »

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.

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: H.264 decoder

#16 Post by pawRoot »

Then what should i do? i have no idea

Also i was installing it all from Synaptic, so why the hell did it happen :shock:

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

Re: H.264 decoder

#17 Post by stevepusser »

What do you have for the output of

Code: Select all

apt-cache-policy ffmpeg
Your software sources also might be interesting--one way to show them is to install inxi and show the output of

Code: Select all

inxi -r
MX Linux packager and developer

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

Re: H.264 decoder

#18 Post by phenest »

I'm also running Stretch with Totem/Videos installed and it plays all my h264 encoded videos perfectly. Sounds like you have a broken Debian installation somehow.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

deborah-and-ian
Posts: 182
Joined: 2016-07-13 08:40

Re: H.264 decoder

#19 Post by deborah-and-ian »

Sounds like some packages had data damage or something? Try to reinstall them.

Code: Select all

apt-get --reinstall install totem vlc ffmpeg gstreamer gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
Debian GNU/Linux 9 Stretch w/Openbox

Acer Aspire E5-521G
AMD A8-6410 APU
4 GB RAM
integrated AMD Mullins
dedicated AMD Hainan Radeon R5 M240 2 GB
240 GB Toshiba Q300 SSD
Realtek RTL8111/8168/8411 ethernet
Qualcomm Atheros QCA9565 wireless

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

Re: H.264 decoder

#20 Post by phenest »

Another thought is what the source of the encoded h264 video is that doesn't play. Do all h264 videos not play? What happens if you encode a video snippet with say ffmpeg? Does that play? What about containers, i.e, MP4, MKV, etc?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

Post Reply