[MPlayer-dev-eng] [PATCH] libdav1d support

Andrew Randrianasulu randrianasulu at gmail.com
Tue May 28 14:09:50 EEST 2019


Hello.

I tried to add libdav1d support into mplayer/ffmpeg.
It works as in - shows picture from webm/mp4 and allow me to seek around. 
But my check for header (like in ALSA check) may be not good (ffmpeg only 
supports libdav1d >=0.2.1)

MPlayer svn  38140
ffmpeg git commit 1eb54323c82ff6eff18553fd3f2788a695bdf812

MPlayer emit this warning, I assume for removing it whole interface between 
mplayer and  libavcodec's decoders must be upgraded?

./mplayer /dev/shm/av1_svt_0.5_2100frames-7.webm
MPlayer SVN-r38140-5.5.0 (C) 2000-2019 MPlayer Team
224 audio & 465 video codecs

Playing /dev/shm/av1_svt_0.5_2100frames-7.webm.
libavformat version 58.27.103 (internal)
libavformat file format detected.
[libdav1d @ 0x5774cb00]libdav1d 0.3.1
[lavf] stream 0: video (libdav1d), -vid 0
VIDEO:  [AV01]  1280x720  0bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.52.102 (internal)
[libdav1d @ 0x5774cb00]libdav1d 0.3.1
Selected video codec: [av1] vfm: ffmpeg (AV1)
==========================================================================
Clip info:
 ENCODER: Lavf58.27.103
Load subtitles in /dev/shm/
Audio: no sound
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x720 => 1280x720 Planar YV12
V:   0.2   0/  0 ??% ??% ??,?% 0 0
[libdav1d @ 0x5774cb00]The deprecated avcodec_decode_* API cannot return all the frames for this decoder. Some frames will be dropped. Update your code to the new decoding API to fix this.
V:  10.4   0/  0  5% 13%  0.0% 0 0

Exiting... (Quit)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdav1d_auto.diff
Type: text/x-diff
Size: 1396 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20190528/0d3170a2/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdav1d_codecs_conf.diff
Type: text/x-diff
Size: 574 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20190528/0d3170a2/attachment-0001.diff>


More information about the MPlayer-dev-eng mailing list