为什么Linux里中文歌曲信息是乱码?
00:26 中文歌曲乱码
01:05 元数据 Metadata
01:58 id3v2
03:17 exiftool
04:05 ANSI 转义序列
06:50 UTF-8
07:35 Latin1 (cp1252, ISO 8859-1)
08:13 iconv 转换字符编码
09:37 python-mutagen
10:08 mid3v2
12:16 for in 循环批量修改
16:10 结语
补充:
1. UTF-8 对所有 ASCII 字符(0-127)使用单字节编码,与 Latin1 完全兼容,所以英文歌曲不受影响
2. 未完成的管道可以是: `| cut -d' ' -f5-`
参考:
github.com/MusicPlayerDaemon/MPD/issues/504
datafix.com.au/BASHing/2019-10-18.html
the-roberts-family.net/metadata/mp3.html
自由软件之歌(Public Domain):
gnu.org/music/free-software-song.html
配置文件:
codeberg.org/unixchad/dotfiles
github.com/gnuunixchad/dotfiles
本视频使用自由软件(Free Software)制作:
录制: wf-recorder + slurp
录音: pw-record + noise-suppression-for-voice
剪辑: kdenlive + ffmpeg
截图: grim + slurp
封面: gimp + imagemagick
立即观看