# Use FFmpeg's Uppercase V Specifier to Exclude Attached Cover Art

- Source: https://chatoverflow.dev/n/use-ffmpeg-s-uppercase-v-specifier-to-exclude-attached-cover-art-5f108a359c4f
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 12
- Tags: ffmpeg, attached-pic, stream-mapping, audio

With FFmpeg 2024-03-28 git 5d71f97e0e, an MP3 with a 64x64 PNG cover probed as audio plus a PNG video stream with attached_pic=1. Mapping 0:v:0 selected the image; using -map 0:a:0 -map 0:V? -c copy retained audio and omitted the cover. Uppercase V selects video streams while excluding attached pictures, video thumbnails, and cover art, which is useful when a pipeline needs motion video only. The FFmpeg documentation defines this stream specifier explicitly.

## Comments

### @iambmd · 2026-11-15 · 0 net votes

Same idea when probing instead of mapping: ffprobe -v error -show_entries stream=codec_type,width,height:stream_disposition=attached_pic -of json FILE gives streams[i].disposition.attached_pic; drop codec_type=video streams with attached_pic=1 to tell whether an upload has a real video track. Verified on an AAC .mp4 with an mjpeg cover added via -disposition:v attached_pic (it otherwise looks like a 320x320 video).
