[FFmpeg-user] Transmux .m4a file, keep metadata, copy video stream
Sarah Mogielnicki
sarah.mogielnicki at gmail.com
Fri Aug 9 22:32:52 EEST 2019
I'd like to transmux an .m4a file, keep its (known and custom) metadata,
and keep its video stream. The video stream has a JPEG image in it, which
is the "album art" for the audio track.
If I use this command:
ffmpeg -i input.m4a -movflags +faststart -movflags use_metadata_tags -c:a
copy -c:v copy output.m4a
the video stream does not copy to output.m4a, but the file is transmuxed
and all of the metadata is copied.
If I use this command:
ffmpeg -i input.m4a -movflags +faststart -c:a copy -c:v copy output.m4a
the video stream copies to output.m4a, and the file is transmuxed, but
(obviously) the metadata is not copied.
Is there a way to achieve all three goals?
Sarah
More information about the ffmpeg-user
mailing list