reassign 781812 libav,ffmpeg
retitle 781812 Set AV_DISPOSITION_ATTACHED_PIC for MKV Cover Art
forwarded 781812 https://trac.ffmpeg.org/ticket/4423#ticket
tags 781812 upstream
affects 781812 src:minidlna
thanks

minidlna currently uses the following piece of code to find Cover Art:

https://sourceforge.net/p/minidlna/git/ci/master/tree/libav.h#l171
[...]

if (s->disposition & AV_DISPOSITION_ATTACHED_PIC &&

s->codec->codec_id == AV_CODEC_ID_MJPEG)

[...]

However the flag AV_DISPOSITION_ATTACHED_PIC is never set on MKV. Steps:

Go here for MKV details on Cover Art mecanism:
http://matroska.org/technical/cover_art/index.html

Download sample:

$ wget https://sourceforge.net/projects/matroska/files/test_files/cover_art.mkv
$ ffprobe/avprobe -show_streams cover_art.mkv
[...]
DISPOSITION:attached_pic=0


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to