H.264 decoder

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

Re: H.264 decoder

Postby pawRoot » 2017-02-25 20:47

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:
OS: Debian unstable sid
Kernel: x86_64 Linux 4.13.0-1-amd64
WM: Gnome3
CPU: Intel Core i5-4690K CPU @ 3.9GHz
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 187
Joined: 2016-12-28 18:26
Location: Poland

Re: H.264 decoder

Postby stevepusser » 2017-02-25 22:19

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
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.2, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0.2, QMPlay2 17.12.12
User avatar
stevepusser
 
Posts: 8943
Joined: 2009-10-06 05:53

Re: H.264 decoder

Postby phenest » 2017-02-25 23:22

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.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: H.264 decoder

Postby deborah-and-ian » 2017-03-02 09:28

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/Gnome 3.22

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
deborah-and-ian
 
Posts: 173
Joined: 2016-07-13 08:40

Re: H.264 decoder

Postby phenest » 2017-03-03 18:40

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?
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: H.264 decoder

Postby shaoiken » 2017-04-17 14:02

Hello there,

I have the same problem, so here it goes:
Code: Select all
ffmpeg --version
ffmpeg: symbol lookup error: /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY

Code: Select all
apt-cache policy ffmpeg
ffmpeg:
  Installiert:           7:3.2.4-1
  Installationskandidat: 7:3.2.4-1
  Versionstabelle:
 *** 7:3.2.4-1 500
        500 http://ftp.de.debian.org/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status

Code: Select all
inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://ftp.de.debian.org/debian/ sid main contrib non-free
           deb-src http://ftp.de.debian.org/debian/ sid main contrib non-free

deborah-and-ian wrote: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

I did that, but it didn't fix it. The error message remains the same.
phenest wrote: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?

No h264 are playing, neither in totem nor mpv. They are playing in VLC, however I get another error message regarding SSA subtitles when I'm trying to open a file that contains them:
Code: Select all
Codec wird nicht unterstützt:
VLC konnte das Format „ssa “ (SubStation Alpha subtitles) nicht dekodieren

Which would be
Code: Select all
Codec not supported:
VLC could not decode the format "ssa " (SubStation Alpha subtitles)
in english I guess.
Since both errors are regarding SSA subtitles, could it be that I'm missing some specific font or something like that?

I'm running debian sid with all the latest updates and the latest standard debian kernel.

I'm thankful for any help.
shaoiken
 
Posts: 3
Joined: 2017-04-17 13:51

Re: H.264 decoder

Postby phenest » 2017-04-17 14:20

shaoiken wrote:No h264 are playing, neither in totem nor mpv.

Do you get any error messages if you run them from a terminal?
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: H.264 decoder

Postby shaoiken » 2017-04-17 16:05

phenest wrote:
shaoiken wrote:No h264 are playing, neither in totem nor mpv.

Do you get any error messages if you run them from a terminal?

Code: Select all
mpv *01*.mkv
mpv: symbol lookup error: /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY

Code: Select all
totem *01*.mkv
** Message: Missing plugin: gstreamer|1.0|totem|H.264 (High Profile)-Decoder|decoder-video/x-h264, level=(string)5, profile=(string)high (H.264 (High Profile)-Decoder)

But I have gstreamer1.0-plugins-good, gstreamer1.0-plugins-bad and gstreamer1.0-plugins-ugly installed. :?

I get no video outpot whatsoever in both cases. Funnily enough totem is able to play some x265 files I've got flying around ... :lol:
shaoiken
 
Posts: 3
Joined: 2017-04-17 13:51

Re: H.264 decoder

Postby phenest » 2017-04-17 17:29

shaoiken wrote:Hello there,
...
I'm running debian sid with all the latest updates and the latest standard debian kernel.

I think that's your answer. If you're gonna run the unstable version of Debian, then expect trouble. Report it as a bug.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: H.264 decoder

Postby shaoiken » 2017-04-17 18:01

phenest wrote:I think that's your answer. If you're gonna run the unstable version of Debian, then expect trouble. Report it as a bug.

Yeah sure, I'm aware of that. Right now I'm just trying to pinpoint what is causing the bug. So far I guess it has something to do with libass5 or SSA support in general.

phenest wrote: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.

Could you do me a favor and tell my which version of libass5 you have installed?

EDIT:
Alright my hunch was correct! I replaced libass5 with the latest git version and it works now im mpv which is all I ever wanted.

I compiled it with:
Code: Select all
git clone https://github.com/libass/libass
cd libass
sh autogen.sh
./configure
make
sudo checkinstall

In checkinstall I changed the package name from libass to libass5 and the version number from 0.13.6 to 1:0.13.6.
After that I had to link the new installed libraries so ffmpeg could find them:
Code: Select all
sudo ln -s /usr/local/lib/libass.so.9 /usr/lib/x86_64-linux-gnu/libass.so.5
sudo ln -s /usr/local/lib/libass.so.9.0.0 /usr/lib/x86_64-linux-gnu/libass.so.5.3.2


And now it works.

EDIT 2:
Also handed in a bug report so the package can be updated in the repositories.

EDIT 3:
Apparently it is a known bug: https://bugs.debian.org/cgi-bin/bugrepo ... bug=842522
But it only occurs when you use freetype-infinality for font rendering which isn't officially supported by Debian and therefore not a bug with the packages from the repository. My "fix" works with infinality but is a really dirty hack which could break other packages that use libass5 or ffmpeg. But since it works with mpv it is good enough for me.
shaoiken
 
Posts: 3
Joined: 2017-04-17 13:51

Previous

Return to General Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable