[MPlayer-users] can't play av1 codec video
max muster
steyding at yahoo.de
Tue Nov 30 18:51:27 EET 2021
Hello Masaru ,
it seems libdav1d library is unavailable and not compiled in mplayer binary.
This is my output:
--snip---
Kommandozeile: '-v' 'test.mp4'
Using Windows native timing
get_path('input.conf') -> 'd:/internet-ordner/mplayer/input.conf'
Reading optional input config file d:/internet-ordner/mplayer/input.conf: No such file or directory
Reading optional input config file /mplayer/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('test.mp4.conf') -> 'd:/internet-ordner/mplayer/test.mp4.conf'
Spiele test.mp4.
get_path('sub/') -> 'd:/internet-ordner/mplayer/sub/'
WINSOCK2 init: 0
WINSOCK2 init: 0
[file] File size is 13816950 bytes
STREAM: [file] test.mp4
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 59.9.101 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: QuickTime / MOV
libavformat-Dateiformat erkannt!
[mov,mp4,m4a,3gp,3g2,mj2 @ 02c36ca0]ISO: File Type Major Brand: dash
[mov,mp4,m4a,3gp,3g2,mj2 @ 02c36ca0]Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 02c36ca0]found tfdt time 0, using it for dts
[mov,mp4,m4a,3gp,3g2,mj2 @ 02c36ca0]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[mov,mp4,m4a,3gp,3g2,mj2 @ 02c36ca0]Before avformat_find_stream_info() pos: 2568 bytes read:32768 seeks:0 nb_streams:1
[libdav1d @ 02d92ae0]libdav1d 0.9.2-64-g692c0ce
[libdav1d @ 02d92ae0]Using 1 threads, 0 max_frame_delay
--snip---
Regards,
Mark
Am Dienstag, 30. November 2021, 01:12:05 MEZ hat Masaru Nomiya <nomiya at galaxy.dti.ne.jp> Folgendes geschrieben:
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 --
_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
More information about the MPlayer-users
mailing list