Transmux .m4a file, keep metadata, copy video stream

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Transmux .m4a file, keep metadata, copy video stream

Sarah Mogielnicki
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
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Transmux .m4a file, keep metadata, copy video stream

Carl Eugen Hoyos-2
Am Fr., 9. Aug. 2019 um 21:38 Uhr schrieb Sarah Mogielnicki
<[hidden email]>:

> ffmpeg -i input.m4a -movflags +faststart -movflags use_metadata_tags -c:a
> copy -c:v copy output.m4a

Complete, uncut console output missing.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".