使用ffmpeg传输自定义(所有)元数据 [英] Transfer custom (all) metadata using ffmpeg
问题描述
如何使用FFMPEG或其他带有CMD的工具传输元数据?
How to transfer metadata using FFMPEG or other tools with CMD ?
我正在尝试对视频/音频进行编码,因为它们显然已经具有元数据,所以我想将它们保存到我的新文件中
I'm trying to encode video/audio and since they already have metadata inside obviously i want to preserve them into my new file
顺便说一句,因为我使用mediamonkey作为主要播放器,所以还有一些自定义元数据.这是不会转移的人
btw since i'm using mediamonkey as main player, there's also some Custom metadata. this is the one who wont transfer
- 用于使用mp4/mkv(使用x264)的视频输出文件
- 对于使用m4a(使用neroAac)的音频输出文件
谢谢!
ps.哪个容器最适合 neroAac 和x264?由于我似乎无法编辑mkv元数据(当我从mediamonkey播放列表中删除时,它们全部消失了),虽然mp4很好,但我似乎无法播放AAC,尽管将其混频到视频中也很好
ps. which container is best for neroAac and x264? since i can't seem to edit mkv metadata (when i remove from mediamonkey playlist, they're all gone), mp4 is fine though and i can't seem to play AAC, although it's fine when muxed into video
推荐答案
使用以下命令复制所有自定义和全局元数据标记信息:
Copy all custom and global metadata tag information using the following command:
ffmpeg <inputfile> -movflags use_metadata_tags -c copy <outputfile>
这篇关于使用ffmpeg传输自定义(所有)元数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!