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 <[email protected]> on behalf of Alfredo Di Napoli <[email protected]> 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 <[email protected]> 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. ;) > > > Peter > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". Thanks Peter! _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
