Edit MP4 Metadata with exiftool

匿名 (未验证) 提交于 2019-12-03 01:34:02

问题:

I have an MP4 file with Title metadata:

exiftool movie.mp4 

Which gives:

Audio Bits Per Sample           : 16 Audio Sample Rate               : 48000 Handler Type                    : Metadata Handler Vendor ID               : Apple Title                           : Movie Title 

I want to completely remove this Title metadata. I have tried overwriting the title:

exiftool -Title="" movie.mp4 exiftool -Title= movie.mp4 exiftool -Title="" -overwrite_original movie.mp4 

The command takes awhile to execute, but exits with:

0 image files updated 1 image files unchanged 

What am I doing incorrectly? How can I view what the exiftool error is? How can I remove the Title attribute? According to the man page, MP4 seems to be a supported file type.

Thanks so much for your help!

回答1:

Unfortunately, exiftool only has limited support for writing video files other than XMP tags. Run this command exiftool -G1 -a -s -title movie.mp4. I'm guessing that the title will field will be in the Quicktime group. And Exiftool cannot write to the majority of Quicktime tags.

Edit: Some quick research and I think ffmpeg can do it for you. You should do some more research to double check but I think this command would work:
ffmpeg -i InputFile -c copy -metadata title= OutputFile

I believe that -c copy will copy the streams without re-encoding and -metadata title= will clear the title field.
See multimedia.cx for more info.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!