You are not logged in.

#1 2011-10-02 07:13:21

MaTachi
Member
From: Göteborg, Sweden
Registered: 2011-06-07
Posts: 52
Website

Can't play H264 videos

Hi!

I have a video in H264/mkv format and I can't play it. In VLC the image is completely green, but I get audio, and this output:

MKV/Ebml Parser: m_el[mi_level] == NULL
MKV/Ebml Parser: Up cannot escape itself
MKV/Ebml Parser: m_el[mi_level] == NULL
MKV/Ebml Parser: Up cannot escape itself
[0x20c2268] avcodec decoder error: don't know how to convert chroma 72

If I try to start it with Totem Media Player it says "Could not find GStreamer caps mapping for FFmpeg codec 'h264'" and in the terminal it returns:

** Message: Error: Could not find GStreamer caps mapping for FFmpeg codec 'h264'.
gstffmpegdec.c(1326): gst_ffmpegdec_negotiate (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_h264:ffdec_h2640


 (\_/)
(o.o)
(___)0

Offline

#2 2011-10-02 08:21:40

MaTachi
Member
From: Göteborg, Sweden
Registered: 2011-06-07
Posts: 52
Website

Re: Can't play H264 videos

In the comments for the video they wrote that it's "10-bit" and "better than the old 8-bit". I don't know much about video codecs and such, but maybe I have to update codecs for playback? Are there any playback decoders from the AUR that I can try?


UPDATE: I tried to play it with vlc-git (version 1.2 of VLC) from the AUR, and it didn't work there either. mplayer2 from Community didn't play it. But mplayer from Extra is able to play it. So I went and downloaded gnome-mplayer too, to get a better GUI.
So I'm able to play the video now. But it would be nice if somebody here could say what VLC, Totem and mplayer2 miss, which mplayer has.

Last edited by MaTachi (2011-10-02 08:38:02)


 (\_/)
(o.o)
(___)0

Offline

#3 2011-10-02 12:22:53

igndenok
Member
From: Sidoarjo, Indonesia
Registered: 2010-06-07
Posts: 160

Re: Can't play H264 videos

Because it's "10-bit" not the old "8-bit", so you can guess that your media player need decoder that can decode 10-bit.
AFAIK many modern (by modern I mean present time) anime use H264 with 10-bit.


Ask, and it shall be given you.
Seek, and ye shall find.
Knock, and it shall be opened unto you.

Offline

#4 2011-10-02 13:17:14

sva_h4cky0
Member
From: Surabaya, Indonesia
Registered: 2009-03-25
Posts: 109
Website

Re: Can't play H264 videos

For 10-bit encoding playback, i'm using SMplayer with Mplayer2-git from AUR, for some reason mplayer and mplayer2 (from official repo) fail to playing the same videos.


"Am I not good enough for you?"

Offline

#5 2011-10-02 14:03:32

Cilph
Member
Registered: 2011-05-01
Posts: 28

Re: Can't play H264 videos

Regular mplayer works just fine for 10bit H264 MKV's. I have successfully watched more than several 1080p anime series in 10bit. Not entirely sure why many people (regardless of OS) have so many issues with 10bit. Support for it is fairly recent (maybe a year?) but that is just a matter of updating. I can highly recommend mplayer + smplayer as a GUI though.

Last edited by Cilph (2011-10-02 14:04:43)

Offline

#6 2011-10-02 16:08:55

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

Re: Can't play H264 videos

If you don't have mediainfo installed, install it and post the output of mediainfo <your_video>.

Offline

#7 2011-10-02 17:22:31

MaTachi
Member
From: Göteborg, Sweden
Registered: 2011-06-07
Posts: 52
Website

Re: Can't play H264 videos

Cilph wrote:

Regular mplayer works just fine for 10bit H264 MKV's. I have successfully watched more than several 1080p anime series in 10bit. Not entirely sure why many people (regardless of OS) have so many issues with 10bit. Support for it is fairly recent (maybe a year?) but that is just a matter of updating. I can highly recommend mplayer + smplayer as a GUI though.

I understand that. That's why I'm wondering what I'm supposed to install/update. But as I wrote in my second post, I managed to play it with mplayer.


skottish wrote:

If you don't have mediainfo installed, install it and post the output of mediainfo <your_video>.

Awesome. I didn't know that there was a program like that. Here is my output:

[20:38] daniel@arch $ mediainfo \[Commie\]\ Fate\ ⁄\ Zero\ -\ 01\ \[3A0CCD6B\].mkv 
General
Unique ID                        : 231909159080836160226700912909260265300 (0xAE78145295B79873BB11E452BD399754)
Complete name                    : [Commie] Fate ⁄ Zero - 01 [3A0CCD6B].mkv
Format                           : Matroska
Format version                   : Version 2
File size                        : 321 MiB
Duration                         : 47mn 39s
Overall bit rate                 : 940 Kbps
Encoded date                     : UTC 2011-10-01 21:44:22
Writing application              : mkvmerge v4.1.1 ('Bouncin' Back') built on Jul  3 2010 22:54:08
Writing library                  : libebml v1.0.0 + libmatroska v1.0.0
Attachment                       : Yes / Yes / Yes / Yes

Video
ID                               : 2
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High 10@L5.0
Format settings, CABAC           : Yes
Format settings, ReFrames        : 10 frames
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 47mn 39s
Width                            : 1 280 pixels
Height                           : 720 pixels
Display aspect ratio             : 16:9
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 10 bits
Scan type                        : Progressive
Writing library                  : x264 core 116 r2074+606 19545c2
Encoding settings                : cabac=1 / ref=10 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / fade_compensate=0.70 / psy_rd=0.60:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=5 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=10 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:0.80
Language                         : English

Audio
ID                               : 3
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format profile                   : LC
Codec ID                         : A_AAC
Duration                         : 47mn 39s
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Compression mode                 : Lossy

Text
ID                               : 1
Format                           : ASS
Codec ID                         : S_TEXT/ASS
Codec ID/Info                    : Advanced Sub Station Alpha
Compression mode                 : Lossless

Menu
00:00:00.033                     : en:Part A
00:23:37.917                     : en:Part B
00:44:54.817                     : en:OP
00:47:24.842                     : en:Preview

Last edited by MaTachi (2011-10-02 18:04:13)


 (\_/)
(o.o)
(___)0

Offline

#8 2011-10-02 18:03:34

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: Can't play H264 videos

MaTachi, you might want to use "code" tags instead of "quote" tags for large blocks of output like that.


I laugh, yet the joke is on me

Offline

#9 2011-10-02 18:04:49

MaTachi
Member
From: Göteborg, Sweden
Registered: 2011-06-07
Posts: 52
Website

Re: Can't play H264 videos

the sad clown wrote:

MaTachi, you might want to use "code" tags instead of "quote" tags for large blocks of output like that.

I apologize. I have updated the post and it looks much better now. Thanks.


 (\_/)
(o.o)
(___)0

Offline

#10 2011-10-03 01:23:22

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

Re: Can't play H264 videos

I'm hardly an expert at this stuff, but I can't see anything wrong with the stream. It was incoded with an up to date x264, but the mkvmerge version is a bit older. I doubt that it's a problem though. What happens if you play the video through ffplay?

ffplay <your_video>

Offline

#11 2011-10-03 19:23:27

MaTachi
Member
From: Göteborg, Sweden
Registered: 2011-06-07
Posts: 52
Website

Re: Can't play H264 videos

ffplay works without a problem.


 (\_/)
(o.o)
(___)0

Offline

#12 2011-10-04 09:33:12

ShionjiYuuko
Member
Registered: 2011-07-31
Posts: 64

Re: Can't play H264 videos

the question is an expected one from a user with such kind of avatar smile

mplayer from repo can play 10-bit, but it lacks support for ordered-chapter. in the meantime I use mplayer2 official build repo with libass replaced by a newer version (my internet is too slow for downloading the git source).

[oot]
commie released f/z for just 321MB? screw!!  already halfway downloading UTW's 500MB++
[/oot]


始まりの荒野を独り もう歩き出してるらしい、僕は灰になるまで僕で有り続けたい
http://about.me/nnhnkn | http://identi.ca/nnhzkn

Offline

#13 2011-10-05 18:50:48

MaTachi
Member
From: Göteborg, Sweden
Registered: 2011-06-07
Posts: 52
Website

Re: Can't play H264 videos

ShionjiYuuko wrote:

the question is an expected one from a user with such kind of avatar smile

smile

ShionjiYuuko wrote:

mplayer from repo can play 10-bit, but it lacks support for ordered-chapter. in the meantime I use mplayer2 official build repo with libass replaced by a newer version (my internet is too slow for downloading the git source).

Okey, I don't even know what ordered-chapter is, but as long as it works I'm happy. tongue So you mean that mplayer2 doesn't run it by itself either, but with a newer version of the package libass it does?

ShionjiYuuko wrote:

[oot]
commie released f/z for just 321MB? screw!!  already halfway downloading UTW's 500MB++
[/oot]

Hehe. ^^ I have installed FlexGet, which automatically downloads torrents and add them to Deluge for me, so I didn't make that choice. wink
If you are interested in how to get FlexGet running on Arch, you can check out this guide that I wrote the other day: http://danielj.se/2011/10/02/guide-to-m … -on-linux/

Last edited by MaTachi (2011-10-05 18:52:33)


 (\_/)
(o.o)
(___)0

Offline

Board footer

Powered by FluxBB