[FFmpeg-user] Removing a metadata tag from a specfic stream

Paul B Mahol onemda at gmail.com
Sun Feb 7 01:32:26 EET 2021


On Sun, Feb 7, 2021 at 12:23 AM MediaMouth <communque at gmail.com> wrote:

> On Feb 6, 2021, at 15:13, Paul B Mahol <onemda at gmail.com> wrote:
> >
> > I take random flac with cover art and converted it to flac with ffmpeg,
> > cover art is kept.
>
> Is there any way at all to get control over the per stream metadata --
> specifically the 1st video stream which seems to be the one holding the art?
>
> And would you know why it contains, by default, the key/value pair
> "comment:Other"?
>
>
Can you share file?

ffmpeg -i INPUT.png -i AUDIO.flac -map:v 0 -metadata comment=Other
-disposition:v:0 attached_pic -map:a 1 -metadata album=test FINAL.flac

Note that metadata order is important. The command above adds comment
metadata to video stream.



> Thanks.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list