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

Paul B Mahol onemda at gmail.com
Sun Feb 7 01:23:00 EET 2021


Here is full command:

ffmpeg -i COVER.png -i AUDIO.flac -map:v 0 -disposition:v:0 attached_pic
-map:a 1 FINAL.flac

On Sat, Feb 6, 2021 at 6:01 PM Thibeau <vercruyssen.thibeau at gmail.com>
wrote:

> >Ugh.  Always coming back as "comment=other"?
> Yea, but I'm not sure the value of tag is other and not just a value ffmpeg
> doesn't  recognise and theirfor defaults to showing Other.
>
> > I'm hoping one of the FFmpeg devs can shed some light on this
> Same, I'm a real noob at ffmpeg. Trying to learn it but it's really hard
> with the limited time I have to do it.
>
> >That would be great.  Thanks.  I haven't found one that works for .flac
> yet.
> Disclaimer the commands are all for the file I uploaded if it's another
> file don't forget to rename it in the commands.
>
> > ffmpeg -i '29 My Girl.flac' -an -vcodec copy '29 My Girl.png'
>
> This removes the art along with the associated metadata (comment=other)
> > ffmpeg -i '29 My Girl.flac' -map 0 -map -0:v:0 -c copy '29 My
> Girl-NoArt.flac'
>
> Reattach the image:
> ffmpeg -i 29\ My\ Girl-NoArt.flac -i 29\ My\ Girl.png -map 1 -map 0 -c copy
> -disposition:0 attached_pic out.flac (refrence:
>
> https://stackoverflow.com/questions/54717175/how-do-i-add-a-custom-thumbnail-to-a-mp4-file-using-ffmpeg
> )
>
> Hope this helps!
>
>
>
> On Sat, 6 Feb 2021 at 16:34, MediaMouth <communque at gmail.com> wrote:
>
> >
> > lOn Feb 6, 2021, at 07:44, Thibeau <vercruyssen.thibeau at gmail.com>
> wrote:
> > >
> > > I indeed figured out how to extract the cover art than remove it from
> > the song.
> > >
> > > I already know how to place it back too. The problem is I don’t know
> > what the metadata comment tag is.
> > > I can’t find it on the image after extracting with exiftools or any
> > other tool for that matter.
> > I saw the same. It seems to be metadata associated with that video
> stream.
> >
> >
> > > If I reattach the cover afterwards with ffmpeg, the metadata tag is
> > still there.
> > Ugh.  Always coming back as "comment=other"?
> >
> > > I guess it must be stored somewhere, but I have no idea how to acces or
> > change
> > I'm hoping one of the FFmpeg devs can shed some light on this
> >
> >
> > >
> > > P.S the commands I used to split/extract/... just came from
> > stackoverflow answers, happy to send to commands here if you need them.
> > That would be great.  Thanks.  I haven't found one that works for .flac
> > yet.
> >
> >
> > _______________________________________________
> > 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".
> _______________________________________________
> 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