[FFmpeg-user] MPEG: embedding metadata is not working

Nicolas George nicolas.george at normalesup.org
Tue Aug 7 14:27:41 CEST 2012


Le primidi 21 thermidor, an CCXX, Peter B. a écrit :
> I'd like to embed some metadata (title, archive signature, ...) into
> an existing .mpg file (mpeg-PS), using the following command:
> 
> //---------------------
> $ ffmpeg -i video.mpg -acodec copy -vcodec copy -metadata
> title="Title Test" output.mpg
> //---------------------
> 
> I've googled for any examples, and found examples in the "FFmpeg
> MultimediaWiki" [1], and the syntax shown there matches mine.
> 
> I would have expected that "output.mpg" now has the title metadata
> set to "Title Test", but no metadata is written to the generated
> file :(
> (I've verified using ffprobe and GSpot):

Does it work if you produce Matroska instead of MPEG-PS?

I have not looked into things closely, but I would not be surprised if
MPEG-PS was just not capable of storing arbitrary metadata.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120807/a66c1f6a/attachment.asc>


More information about the ffmpeg-user mailing list