[MPlayer-users] can't play av1 codec video

Masaru Nomiya nomiya at galaxy.dti.ne.jp
Tue Nov 30 02:11:45 EET 2021


Hello,

In the Message; 

  Subject    : Re: [MPlayer-users] can't play av1 codec video
  Message-ID : <61A4E88E.1050204 at fastmail.fm>
  Date & Time: Mon, 29 Nov 2021 09:49:50 -0500

The Wanderer <wanderer at fastmail.fm> has written:

[...]
> > I tested with the file which I got from;
> > 
> > https://youtu.be/feSVtC1BSeQ
> > 
> > But, vlc, ffplay, xine-lib, and kodi can play this flawlessly,

> When I download that URL with youtube-dl, by default it gives me a file
> which has a video stream with the fourcc '462H', which read backwards is
> 'H264', or the H.264 video codec.

> By fiddling with youtube-dl options, I've managed to get it to give me
> an AV1 version of the video. (I'd be a little curious how you did your
> downloading, that it gave you the AV1 version by default; if you can't
> get that format working, you might be able to work around the problem by
> finding a way to get YouTube to give you a different one.)

> My local copy of MPlayer (compiled from SVN, and from FFmpeg git, about
> a month ago) is able to recognize the AV1 codec, and play the file
> without issues.

> I haven't done an exhaustive investigation, but the little digging I've
> done so far seems to indicate that this AV1 support is being provided
> via FFmpeg by libaom, which I have installed (on Debian) via the libaom3
> and libaom-dev packages.

> I don't know what platform you're on, but if you can get this codec to
> be available (either by installing a version that already has it
> compiled in, or by installing the necessary libraries and compiling
> MPlayer and FFmpeg yourself), you should be able to have this work.

My OS is openSUSE Leap 15.3 (x86_64).

And, I got the file by;

  $ youtube-dl https://youtu.be/feSVtC1BSeQ

As you know, the file name is Japanese, so I converted the file name

  $ mv FILE.mp4 3,mp4

But, this conversion is just for the posting mail to this mailing
list.

Anyway,

 $ mediainfo 3.mp4

General
Complete name                            : 3.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/av01/iso2/mp41)
File size                                : 16.2 MiB
Duration                                 : 3 min 13 s
Overall bit rate                         : 703 kb/s
Writing application                      : Lavf58.79.100

Video
ID                                       : 1
Format                                   : AV1
Format/Info                              : AOMedia Video 1
Format profile                           : Main at L3.1
Codec ID                                 : av01
Duration                                 : 3 min 13 s
Bit rate                                 : 568 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 (30000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 0.021
Stream size                              : 13.1 MiB (81%)
Title                                    : ISO Media file produced by Google Inc.
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Codec configuration box                  : av1C
[...]

I've installed;

libaom3-3.2.0-lp153.19.2.x86_64
aom-tools-3.2.0-lp153.19.2.x86_64
libaom0-1.0.0-3.6.1.x86_64
libaom-devel-doc-3.2.0-lp153.19.2.noarch
libaom-devel-3.2.0-lp153.19.2.x86_64

And,

 $ ldd /usr/bin/mplayer | grep aom

  libaom.so.3 => /usr/lib64/libaom.so.3 (0x00007f5f9a3e6000)

As, I wrote before, ffplay can play this file flawlessly.

In my environment, the version of ffmpeg is 4.4.1.
I compiled the mplayer with this ffmpeg (4.4.1).

Thanks.

---
┏━━┓彡     Masaru Nomiya              mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛  "Tim Cook, the C.E.O. of Apple, said earlier this year that he would
	   not let his nephew join social networks.
	   Bill Gates banned cellphone until his children were teenagers, and
	   Melinda Gates wrote that she wished they had waited even longer.
	   Steve Jobs would not let his young children near iPads."
                                                      -- The New York Times --


More information about the MPlayer-users mailing list