Hi guys, I'm investigating how to insert/keep video cover art with ffmpeg.
Could any one give me help on these 2 questions. 1. Of all these formats asf, avi, dv, flv, mkv, mov, mp4, m4v, mpeg, ogg, rm. swf, webm, which ones support cover art. I know a cover art will/can be added as a video stream into target file. By "Support" I mean standard has a definition and the existence of cover art can be viewed/verified by some tools? 2. Of all above formats that support cover art, which of them are supported by ffmpeg so that we can add cover art with ffmpeg? I used following ffmpeg command line to add an image into a MP4, but in Win10 folder preview doesn't show that image *$ ffmpeg -i big10.mp4 -i Untitled.png -c:a copy -c:v copy -map 0 -map 1:0 aaa.mp4* ffprobe you can see it does have 3 streams * Duration: 00:01:00.19, start: 0.000000, bitrate: 805 kb/s* * Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 727 kb/s, 23.91 fps, 23.98 tbr, 19168 tbn, 38336 tbc (default)* * Metadata:* * handler_name : VideoHandler* * Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, stereo, fltp, 76 kb/s (default)* * Metadata:* * handler_name : SoundHandler* * Stream #0:2(und): Video: png (mp4v / 0x7634706D), rgb24(pc), 640x360 [SAR 3779:3779 DAR 16:9], 912 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc* * Metadata:* * handler_name : VideoHandler* But if I add cover art via AtomicParsley, generated file can show preview in Win explorer. Bellow is the ffprobe output of AtomicParsley generated file *[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000eb98e0] stream 0, timescale not set* *Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'big11-temp-25498.mp4':* * Metadata:* * major_brand : isom* * minor_version : 512* * compatible_brands: isomiso2avc1mp41* * encoder : Lavf55.33.100* * Duration: 00:01:00.19, start: 0.000000, bitrate: 805 kb/s* * Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 727 kb/s, 23.91 fps, 23.98 tbr, 19168 tbn, 38336 tbc (default)* * Metadata:* * handler_name : VideoHandler* * Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, stereo, fltp, 76 kb/s (default)* * Metadata:* * handler_name : SoundHandler* * Stream #0:2: Video: png, rgb24(pc), 640x360 [SAR 3779:3779 DAR 16:9], 90k tbr, 90k tbn, 90k tbc* Thanks for help
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
