[FFmpeg-user] Adding metadata at the stream level for a multi-stream media file
Karl E. Fitzke
karl.fitzke at cornell.edu
Mon Jul 25 20:01:56 EEST 2016
Might the metadata "stick" if you used .mov format (wrapper) for the mp4 instead of .mp4 extension in the command line? I'm no expert either, but I believe that could be helpful to try.
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> on behalf of Alfredo Di Napoli <alfredo.dinapoli at gmail.com>
Sent: Monday, July 25, 2016 11:09:42 AM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] Adding metadata at the stream level for a multi-stream media file
On 25 July 2016 at 14:45, Peter White <peter.white at posteo.net> wrote:
> Alfredo Di Napoli wrote:
> > Hey guys,
> > Suppose I have a media file composed by 1 video stream and 2 audio
> > streams (both AAC).
> > Is it possible to add metadata at the stream level, for each of the
> > two audio?
> It most certainly is. But maybe the answer is that it depends.
> Apparently the file format plays a part in this.
> > Here is the command I tried:
> > ffmpeg-3.1.1 -i multi.mp4 -y -map 0:v -map 0:a -codec copy
> > -metadata:s:a:0
> > title="Foo" -metadata:s:a:1 title="bar" multi2.mp4
> > But the metadata does not show in the output probe:
> It is the same for me. I just reproduced this here. But when I use
> matroska (.mkv) as output format, it does work.
> So, if you are not dependent on mp4 as container format you can at
> least work around this. I don't know why it does not work with mp4. I
> think it should but I know too little about this format.
> > What am I doing wrong? Is this even possible or am I flogging a dead
> > horse?
> Not necessarily a dead but perhaps the wrong horse. ;)
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> 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
To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user