2 problems with video playback

10 respuestas [Último envío]
spyfall
Desconectado/a
se unió: 09/05/2013

1. When I try to play 10-bit videos with Totem Movie Player, I always get this error message:

"Could not find GStreamer caps mapping for FFmpeg codec 'h264', and you are using an external libavcodec. This is most likely due to a packaging problem and/or libavcodec having been upgraded to a version that is not compatible with this version of gstreamer-ffmpeg. Make sure your gstreamer-ffmpeg and libavcodec packages come from the same source/repository."

2. Videos that I play sometimes experience lags. Sometimes the audio and video are desyncronised. Sometimes the images and colours are distorted. The problem occurs regardless of file type, video quality, and media player.

Any help will be appreciated.

lembas
Desconectado/a
se unió: 05/13/2010
spyfall
Desconectado/a
se unió: 09/05/2013

How can I get a newer version of GStreamer? What exactly do I have to do?

P.S. I never had these problems when I was using Windows on the same computer, so I think this is not a hardware issue.

lembas
Desconectado/a
se unió: 05/13/2010

Generally speaking you compile from source. And hope you've got new enough libraries on your system to support the newer version. (It's probably possible to have different versions of libraries on your system too but that's beyond my abilities.)

There might be a precompiled version somewhere. And it might or might not contain non-free software. So go to the home page and see what they say about the subject.

Hardware often needs firmware and a driver to work. Many pieces of hardware don't work on Trisquel at all because either is missing. Performance and features are entirely dependent on the firmware+driver.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

I would first try to get newer DEB packages from newer versions of Ubuntu. Here is the website where to search Ubuntu's repositories.

Good luck: you will probably enter "dependency hell"...

oralfloss
Desconectado/a
se unió: 06/20/2013

What codecs were you using to play 10-bit h264 videos on Windows? In my experience, SMPlayer has the least laggy 10-bit h264 codecs and plays smoothly, not to mention the good GUI and support for subtitles/FLAC audio.

spyfall
Desconectado/a
se unió: 09/05/2013

I don't know much about codecs, so I can't give you a precise answer (I'm a noob.). But I recall having downloaded Combined Community Codec Pack and Media Player Classic.

I share your observation that SMPlayer plays 10-bit videos quite smoothly (even better than VLC), but it still experiences some lags.

icarolongo
Desconectado/a
se unió: 03/26/2011

Simple: use VLC :-D
VLC support 10bit video since 2011[0].

[0] https://forum.videolan.org/viewtopic.php?f=7&t=93542

spyfall
Desconectado/a
se unió: 09/05/2013

OK. I downloaded gstreamer-1.1.4.tar.xz from the gstreamer.freedesktop.org and tried to compile it. I got this error message.

configure: No package 'glib-2.0' found
No package 'gobject-2.0' found
No package 'gmodule-no-export-2.0' found
configure: error: This package requires GLib >= 2.32.0 to compile.

How can I get the missing packages? I can't find them in the Synaptic Package manager.

I'm a complete Linux noob, so please explain like I'm five.

aloniv

I am a translator!

Desconectado/a
se unió: 01/11/2011

You need to install dependencies required to build gstreamer from source. Simply run
sudo apt-get build-dep libgstreamer0.10-0

Anyway, it's probably easier to just use the gstreamer PPA (which was last updated in July):
sudo add-apt-repository ppa:gstreamer-developers/ppa
sudo aptitude update
sudo aptitude install gstreamer1.0

spyfall
Desconectado/a
se unió: 09/05/2013

I ran the commands that you suggested, but I had a problem with the last command.

sudo aptitude install gstreamer1.0

I got this message from Terminal after running the command.

"Couldn't find package "gstreamer1.0", and more than 40
packages contain "gstreamer1.0" in their name.
Couldn't find package "gstreamer1.0", and more than 40
packages contain "gstreamer1.0" in their name.
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used."