[Libav-user] Album art retrieval
William Seemann
wseemann at gmail.com
Mon Oct 29 20:24:32 CET 2012
I have a follow up question. Once I've obtained the AVPacket with the
associated album art how to I actually generate an image from the packet?
I'm using the commit found here as a guide, FYI:
https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2012-March/047616.html
On Mon, Oct 29, 2012 at 12:43 PM, William Seemann <wseemann at gmail.com>wrote:
> Great, I'll try that. Thank you for the responses.
>
>
> On Mon, Oct 29, 2012 at 12:39 PM, Don Moir <donmoir at comcast.net> wrote:
>
>> ----- Original Message ----- From: "Michael Bradshaw" <
>> mbradshaw at sorensonmedia.com>
>> To: "This list is about using libavcodec, libavformat,
>> libavutil,libavdevice and libavfilter." <libav-user at 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 <wseemann at 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 at ffmpeg.org
>> http://ffmpeg.org/mailman/**listinfo/libav-user<http://ffmpeg.org/mailman/listinfo/libav-user>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20121029/a1ceecc9/attachment.html>
More information about the Libav-user
mailing list