You are not logged in.

#1 2016-06-29 17:44:52

drfrink
Member
Registered: 2016-06-29
Posts: 7

vlc h264

Hi Everyone,

Just a heads up right now I am new to arch linux as a native install. Only real experience has been with ssh with debian/centos. Also my first post big_smile.

so I tried to install vlc using pacman and it seemed to work out well until I tried to play a file. I got errors, fixed most of  them and this is the only error thats left. smplayer will play the file after I got most of the errors fixed but I prefer vlc.

VLC could not decode the format "h264" (H264 - MPEG-4 AVC (part 10))

I've already installed openh264 as well.

Offline

#2 2016-06-29 21:58:48

mpan
Member
Registered: 2012-08-01
Posts: 1,188
Website

Re: vlc h264

VLC plays h264 out of the box with no problems. There should be no errors at all. Haven’t you actually, by “fixing most of the errors”, broken it?

If reinstallation of the package doesn’t help, provide the file that causes the problem (no need for the whole file, the first few seconds are sufficient).

---edit

Also, what optional dependencies you have installed? It shouldn’t matter for h264 AFAIR, but just to be sure…

Last edited by mpan (2016-06-29 22:27:50)


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#3 2016-06-29 23:16:18

drfrink
Member
Registered: 2016-06-29
Posts: 7

Re: vlc h264

very good point. Actually used to have a52 audio issue before that was the main error I was getting. I used yaourt a52deb to fix that. Before and after every fix I would remove vlc,mplayer,smplayer and reinstall them.

I used pacman -Qk to make sure I didn't have any broken packages. The other codec I installed was openh264 and then smplayer started to play the video.

vlc can play the audio just not the video....

vlc installs without any errors. I checked the Optional Dependencies as well.

Optional dependencies for vlc
    avahi: for service discovery using bonjour protocol [installed]
    libnotify: for notification plugin [installed]
    gtk2: for notify plugin [installed]
    ncurses: for ncurses interface support [installed]
    libdvdcss: for decoding encrypted DVDs [installed]
    lirc: for lirc plugin [installed]
    libavc1394: for devices using the 1394ta AV/C [installed]
    libdc1394: for IEEE 1394 plugin [installed]
    kdelibs: KDE Solid hardware integration [installed]
    libva-vdpau-driver: vdpau back-end for nvidia [installed]
    libva-intel-driver: back-end for intel cards [installed]
    libbluray: for Blu-Ray support [installed]
    flac: for Free Lossless Audio Codec plugin [installed]
    portaudio: for portaudio support [installed]
    twolame: for TwoLAME mpeg2 encoder plugin [installed]
    projectm: for ProjectM visualisation plugin [installed]
    libcaca: for colored ASCII art video output [installed]
    libgme: for libgme plugin [installed]
    librsvg: for SVG plugin [installed]
    gnome-vfs: for GNOME Virtual File System support [installed]
    libgoom2: for libgoom plugin [installed]
    vcdimager: navigate VCD with libvcdinfo [installed]
    aalib: for ASCII art plugin [installed]
    libmtp: for MTP devices support [installed]
    smbclient: for SMB access plugin [installed]
    libcdio: for audio CD playback support [installed]
    ttf-freefont: for subtitle font 
    ttf-dejavu: for subtitle font [installed]
    opus: for opus support [installed]
    libssh2: for sftp support [installed]
    lua-socket: for http interface
    qt4: for the GUI [installed]

Offline

#4 2016-06-30 20:56:07

mpan
Member
Registered: 2012-08-01
Posts: 1,188
Website

Re: vlc h264

Install ffmpeg and see if this helps. Maybe I was wrong about VLC being able to play h264 ootb.


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#5 2016-07-05 13:32:38

drfrink
Member
Registered: 2016-06-29
Posts: 7

Re: vlc h264

actually already installed, ended up reinstalling it.

Offline

#6 2016-07-05 19:49:24

DrZaius
Member
Registered: 2008-01-02
Posts: 193

Re: vlc h264

Does it occur with many files or particular one(s)? A short sample file would be helpful so we could attempt to duplicate the issue.

Possibly the same issue as HD *.mkv [AVC] works with mplayer but not with vlc.

Last edited by DrZaius (2016-07-05 19:51:34)

Offline

#7 2016-07-06 21:31:36

drfrink
Member
Registered: 2016-06-29
Posts: 7

Re: vlc h264

It's with all files sadly

[drfrink@machine]$ vlc sample.mkv 
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[000000000074e148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f8bdcc40888] gstdecode decoder error: no suitable decoder found
[00007f8bdcc40888] core decoder error: Codec `h264' (H264 - MPEG-4 AVC (part 10)) is not supported.

smplayer plays the video fine though...

I'm starting to think vlc just hates linux...

Offline

#8 2016-07-06 21:46:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,410

Re: vlc h264

What's your graphics card? due to you having the broken bridge package (libva-vdpau-driver e.g.) that triggers VLC to try to use VDPAU hardware accel with capabilities your card doesn't have. Can you try to either uninstall that package or disable hardware decoding in VLC's settings and make sure that video output is set to OpenGL as opposed to VDPAU?

Offline

#9 2016-07-07 03:24:32

drfrink
Member
Registered: 2016-06-29
Posts: 7

Re: vlc h264

my graphics card is a nvidia 960m (laptop) vlc is set to opengl both xcb and experimental don't work.

Offline

#10 2017-01-05 10:51:27

kom-er
Member
Registered: 2014-12-20
Posts: 11

Re: vlc h264

Hello,

Just made an pacman -Syu and now I have quiet a similar issue.
VLC plays the tone but no video. 3 Days ago everything was fine.

[00007f977d531fe8] gstdecode decoder error: no suitable decoder found
[00007f977d531fe8] core decoder error: Codec `h264' (H264 - MPEG-4 AVC (part 10)) is not supported.

Reinstaled but still buggy

Optionale Abhängigkeiten für vlc
    avahi: for service discovery using bonjour protocol [Installiert]
    libnotify: for notification plugin [Installiert]
    gtk2: for notify plugin [Installiert]
    ncurses: for ncurses interface support [Installiert]
    libdvdcss: for decoding encrypted DVDs
    lirc: for lirc plugin
    libavc1394: for devices using the 1394ta AV/C [Installiert]
    libdc1394: for IEEE 1394 plugin
    kdelibs: KDE Solid hardware integration
    libva-vdpau-driver: vdpau back-end for nvidia
    libva-intel-driver: back-end for intel cards
    libbluray: for Blu-Ray support [Installiert]
    flac: for Free Lossless Audio Codec plugin [Installiert]
    portaudio: for portaudio support
    twolame: for TwoLAME mpeg2 encoder plugin [Installiert]
    projectm: for ProjectM visualisation plugin
    libcaca: for colored ASCII art video output
    libgme: for libgme plugin
    librsvg: for SVG plugin [Installiert]
    gnome-vfs: for GNOME Virtual File System support
    libgoom2: for libgoom plugin
    vcdimager: navigate VCD with libvcdinfo
    aalib: for ASCII art plugin
    libmtp: for MTP devices support [Installiert]
    smbclient: for SMB access plugin [Installiert]
    libcdio: for audio CD playback support [Installiert]
    ttf-freefont: for subtitle font 
    ttf-dejavu: for subtitle font [Installiert]
    opus: for opus support [Installiert]
    libssh2: for sftp support [Installiert]
    lua-socket: for http interface [Installiert]
    qt4: for the GUI [Installiert]

My graphics:

$ lspci | grep -e VGA -e 3D
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV530/M56 GL [Mobility FireGL V5200]
drfrink wrote:

It's with all files sadly

[drfrink@machine]$ vlc sample.mkv 
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[000000000074e148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f8bdcc40888] gstdecode decoder error: no suitable decoder found
[00007f8bdcc40888] core decoder error: Codec `h264' (H264 - MPEG-4 AVC (part 10)) is not supported.

smplayer plays the video fine though...

may someone help me out please?

Last edited by kom-er (2017-01-05 10:51:58)

Offline

#11 2017-01-05 13:19:55

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: vlc h264

kom-er wrote:

[00007f8bdcc40888] gstdecode decoder error: no suitable decoder found

I haven't used VLC in years, but it looks like you're using a gstreamer back end without with the needed gstreamer plugins.

Last edited by skottish (2017-01-05 13:20:14)

Offline

#12 2017-01-07 10:11:10

kom-er
Member
Registered: 2014-12-20
Posts: 11

Re: vlc h264

well I tried a bunch of stuff:
deinstall VLC, deinstall gstreamer and it's libarys reinstall all and still just audio.

$ pacman -Qs gst
local/gst-plugins-base 1.10.2-1
    GStreamer Multimedia Framework Base Plugins
local/gst-plugins-base-libs 1.10.2-1
    GStreamer Multimedia Framework Base Plugin libraries
local/gst-plugins-good 1.10.2-1
    GStreamer Multimedia Framework Good Plugins
local/gstreamer 1.10.2-1
    GStreamer Multimedia Framework

I also tried the libde265 package from AUR but no difference.

pacman -Qs h265
local/x265 2.2-1
    Open Source H265/HEVC video encoder

Offline

#13 2017-01-15 23:20:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,410

Re: vlc h264

VLC shouldn't be using the gstreamer backend by default anyway, why does it on your setup? Do you have anything defined in Settings -> Advanced -> Videocodecs (--> GstDecode) ? If so why? If not and it still does use that for some reason, remove your ~/.config/vlc directory and try again

Offline

#14 2017-01-21 17:01:14

kom-er
Member
Registered: 2014-12-20
Posts: 11

Re: vlc h264

V1del wrote:

VLC shouldn't be using the gstreamer backend by default anyway, why does it on your setup? Do you have anything defined in Settings -> Advanced -> Videocodecs (--> GstDecode) ?

No, there is nothing I have changed. And I do not have the knowledge about VLC using gstreamer what so ever. Well but I still try to understand.

V1del wrote:

If not and it still does use that for some reason, remove your ~/.config/vlc directory and try again

I did rename the VLC-directory, VLC itself then created a new one as expacted but that didn't help.

I am wayting now for the next VLC-update...

It feels wrong to reinstall the entire system, but i can not see any other way at the moment. sad

Offline

#15 2017-01-21 17:14:38

kom-er
Member
Registered: 2014-12-20
Posts: 11

Re: vlc h264

kom-er wrote:

I am wayting now for the next VLC-update...

issue is still there.

Offline

#16 2017-01-22 06:18:54

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: vlc h264

kom-er, do you have ffmpeg installed? Remove all gstreamer packages and install ffmpeg2.8, if it is not already installed.

Offline

#17 2017-01-23 00:50:33

kom-er
Member
Registered: 2014-12-20
Posts: 11

Re: vlc h264

x33a wrote:

kom-er, do you have ffmpeg installed? Remove all gstreamer packages and install ffmpeg2.8, if it is not already installed.

Can't remove gstreamer. There are dependences which I do not want to give up: qgis, evince, audacity. sry

ffmpeg2.8 is instaled; to reinstall doesn't help.

Offline

#18 2017-01-23 02:05:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,410

Re: vlc h264

Something is wrong on your setup, can you elaborate on the errors you did get and managed to fix? What errors and what you did to fix them? What's the output of

pacman -Qm

Offline

Board footer

Powered by FluxBB