----- Original Message ----- From: "Michael Bradshaw" <mbrads...@sorensonmedia.com>
To: "This list is about using libavcodec, libavformat, libavutil,libavdevice and 
libavfilter." <libav-user@ffmpeg.org>
Sent: Monday, October 29, 2012 1:24 PM
Subject: Re: [Libav-user] Album art retrieval


On Mon, Oct 29, 2012 at 11:09 AM, William Seemann <wseem...@gmail.com> wrote:
Hello, Is it possible to retrieve album art from a track programmatically
(i.e NOT using the ffmpeg command, using actual code) with FFmpeg?

Possibly (it depends on what the file is and how the album art is
embedded in the track). Try opening and reading the file and look for
a video stream that has one frame.

Check for video stream and then check if (pVideoStream->disposition & 
AV_DISPOSITION_ATTACHED_PIC)
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to