<div dir="ltr"><div>Hi,</div><div><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>---------- Forwarded message ----------<br>From: "<a href="mailto:jdd@dodin.org" target="_blank">jdd@dodin.org</a>" <<a href="mailto:jdd@dodin.org" target="_blank">jdd@dodin.org</a>><br>To: <a href="mailto:digikam-users@kde.org" target="_blank">digikam-users@kde.org</a><br>Cc: <br>Bcc: <br>Date: Mon, 8 Oct 2018 14:35:15 +0200<br>Subject: Re: [digiKam-users] MTS video metadata<br>Le 08/10/2018 à 13:49, Guy Rutenberg a écrit :<br>
<br>
> I've tried:<br>
> ffmpeg -i video.mts -c copy video.mp4<br>
<br>
copy do only what is said, copy exactly, same as rename...<br>
<br>
converting to mp4 may dio the job, but I never tested for metadata<br>
<br>
<a href="http://dodin.org/wiki/pmwiki.php?n=Doc.UsingHtml5" rel="noreferrer" target="_blank">http://dodin.org/wiki/pmwiki.php?n=Doc.UsingHtml5</a><br>
<br>
jdd<br>
<br></blockquote><div><br></div><div>copy isn't the same as rename, as the container format itself changes. If I understand correctly, the metadata is stored by the container and not in the actual video stream. By using "-c copy" I copy the video stream as-is to the new container (without the quality loss from re-encoding). The problem is that it seems that ffmpeg does very poor job in metadata handling.</div><div><br></div><div>Thanks,</div><div>Guy<br></div></div></div></div>