{"id":232817,"date":"2021-12-26T08:31:18","date_gmt":"2021-12-26T00:31:18","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=232817"},"modified":"2021-12-22T16:32:11","modified_gmt":"2021-12-22T08:32:11","slug":"linux-burn-cd","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-burn-cd.html","title":{"rendered":"\u5728 Linux \u4e0a\u523b\u5f55\u97f3\u9891 CD"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5982\u679c\u5728\u60a8\u7684 Linux \u7cfb\u7edf\u4e0a\u6709\u4e00\u4e9b\u97f3\u4e50\u5e76\u60f3\u5c06\u5176\u523b\u5f55\u5230CD\u5149\u76d8\u4e2d\uff0c\u5219\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u6765\u5b8c\u6210\u3002\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u5c06\u5728 Linux \u547d\u4ee4\u884c\u4e2d\u523b\u5f55\u97f3\u9891\u5230 CD\u5149\u76d8\u4e2d\u3002 <\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u672c\u6587\u4ecb\u7ecd\u5982\u4f55\u89c4\u683c\u5316\u97f3\u4e50\u6587\u4ef6\u3001\u5e76\u4f7f\u7528wodim<\/code>\u70e7\u5f55\u97f3\u9891\u6587\u4ef6\u3002<\/p>\n

\u5b89\u88c5<\/strong><\/div>\n

\u672c\u6587\u5728Centos8\u4e2d\u70e7\u5f55CD\u3002\u6211\u4eec\u9700\u8981\u4e00\u4e9b\u4e0d\u540c\u7684\u7a0b\u5e8f\u6765\u4ece\u547d\u4ee4\u884c\u70e7\u5f55\u97f3\u9891 CD\u3002\u9700\u8981\u7528\u5230 wodim\u3001ffmpeg\u3002\u4e0b\u9762\u662f\u5b89\u88c5\u6b65\u9aa4\uff1a<\/p>\n

\u9996\u5148\u5b89\u88c5rpm fusion\u4ed3\u5e93\uff0c\u901a\u8fc7\u8be5\u4ed3\u5e93\u5b89\u88c5ffmpeg\uff1a<\/p>\n

\r\n[root@Master yum.repos.d]# dnf install --nogpgcheck https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-8.noarch.rpm\r\n[root@Master yum.repos.d]# dnf install --nogpgcheck https:\/\/mirrors.rpmfusion.org\/free\/el\/rpmfusion-free-release-8.noarch.rpm https:\/\/mirrors.rpmfusion.org\/nonfree\/el\/rpmfusion-nonfree-release-8.noarch.rpm\r\n[root@Master yum.repos.d]# sed -i 's|^#baseurl=http:\/\/download1.rpmfusion.org|baseurl=https:\/\/mirrors.aliyun.com\/rpmfusion|' \/etc\/yum.repos.d\/rpmfusion*\r\n[root@Master yum.repos.d]# sed -i 's|^mirrorlist|#mirrorlist|' \/etc\/yum.repos.d\/rpmfusion*\r\n[root@Master yum.repos.d]# yum -y install ffmpeg wodim\r\n<\/pre>\n

\u5b89\u88c5ffmpeg-normalize\uff1a<\/p>\n

\r\n[root@Master ~]# pip3 install ffmpeg-normalize\r\n<\/pre>\n
\u89c4\u683c\u5316\u97f3\u9891<\/strong><\/div>\n

\u7b2c\u4e00\u6b65<\/strong>\uff0c\u901a\u8fc7\u7528\u4e0b\u5212\u7ebf\u66ff\u6362\u7a7a\u683c\u6765\u6d88\u9664\u6587\u4ef6\u540d\u4e2d\u7684\u7a7a\u683c\u3002<\/p>\n

\r\n[root@Master data]# for f in *; do mv \"$f\" `echo $f | tr ' ' '_'`; done\r\n<\/pre>\n

\u7b2c\u4e8c\u6b65<\/strong>\uff0c\u7136\u540e\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5c06\u6240\u6709\u97f3\u4e50\u6587\u4ef6\u8f6c\u6362\u4e3a .wav\u3002<\/p>\n

\r\n[root@Master data]# for i in `ls`; do ffmpeg -i $i `echo $i | sed 's\/.mp3\/.wav\/'` ; done\r\n<\/pre>\n

\"\"<\/p>\n

\u70e7\u5f55CD<\/strong><\/div>\n

\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u5c06\u89c4\u8303\u5316\u7684 .wav \u97f3\u4e50\u66f2\u76ee\u523b\u5f55\u5230 CD\u3002\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u5c06\u7a7a\u767d CD-R \u5149\u76d8\u63d2\u5165\u8ba1\u7b97\u673a\u7684\u5149\u76d8\u6258\u76d8\u4e2d\u3002<\/p>\n

\u7b2c\u4e00\u6b65<\/strong>\uff0c\u4f7f\u7528 wodim --devices<\/code> \u547d\u4ee4\u8bc6\u522b\u6211\u4eec\u7684 CD\/DVD \u523b\u5f55\u673a\u5757\u8bbe\u5907\u6587\u4ef6\u540d\uff1a<\/p>\n

\r\n# wodim --devices\r\nwodim: Overview of accessible drives (1 found) :\r\n-------------------------------------------------------------------------\r\n 0  dev='\/dev\/scd0'     rwrw-- : 'TSSTcorp' 'CD\/DVDW SH-S183L'\r\n-------------------------------------------------------------------------\r\n<\/pre>\n

\u8bb0\u4e0b\u5757\u8bbe\u5907\u6587\u4ef6\u8def\u5f84\uff0c\u5728\u672c\u4f8b\u4e2d\u4e3a \/dev\/scd0\u3002
\n\u7b2c\u4e8c\u6b65<\/strong>\uff0c\u63a5\u4e0b\u6765\uff0c\u4f7f\u7528 wodim<\/code> \u547d\u4ee4\u5c06\u6240\u6709\u97f3\u9891 .wav \u6587\u4ef6\u523b\u5f55\u5230 CD\u4e2d\u3002<\/p>\n

\r\n# wodim -v -nofix -eject dev='\/dev\/scd0' -audio -pad *.wav\r\n<\/pre>\n

\u7b2c\u4e09\u6b65<\/strong>\uff0c\u5b8c\u6210\uff01\u8bf7\u6ce8\u610f\uff0c-nofix<\/code> \u9009\u9879\u5c06\u6307\u793a wodim \u4e0d\u5173\u95ed CD \u78c1\u76d8\u4f1a\u8bdd\uff0c\u8fd9\u5141\u8bb8\u6211\u4eec\u5728\u9700\u8981\u65f6\u5728\u5149\u76d8\u4e0a\u653e\u7f6e\u66f4\u591a\u66f2\u76ee\u3002\u5f53\u5b8c\u6210\u6dfb\u52a0\u66f2\u76ee\u5e76\u5e0c\u671b\u5173\u95ed CD \u4f1a\u8bdd\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528 -fix<\/code> \u9009\u9879\u6765\u5b8c\u6210\uff1a<\/p>\n

\r\n# wodim -v -fix -eject dev='\/dev\/scd0'\r\n<\/pre>\n
\u603b\u7ed3<\/strong><\/div>\n

\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u6211\u4eec\u5b66\u4e60\u4e86\u5982\u4f55\u4ece Linux \u547d\u4ee4\u884c\u523b\u5f55\u97f3\u9891 CD\u3002\u4ece\u547d\u4ee4\u884c\u523b\u5f55\u97f3\u9891 CD \u4e00\u70b9\u4e5f\u4e0d\u96be\uff0c\u751a\u81f3\u53ef\u80fd\u6bd4\u5728 GUI \u4e2d\u66f4\u5bb9\u6613\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u672c\u6587\u4ecb\u7ecd\u5982\u4f55\u89c4\u683c\u5316\u97f3\u4e50\u6587\u4ef6\u3001\u5e76\u4f7f\u7528wodim\u70e7\u5f55\u97f3\u9891\u6587\u4ef6\u3002 \u672c\u6587\u5728Centos8\u4e2d\u70e7\u5f55CD\u3002\u6211\u4eec\u9700\u8981\u4e00\u4e9b\u4e0d\u540c\u7684 […]<\/p>\n","protected":false},"author":309,"featured_media":232819,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-232817","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/232817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/309"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=232817"}],"version-history":[{"count":1,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/232817\/revisions"}],"predecessor-version":[{"id":232820,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/232817\/revisions\/232820"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/232819"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=232817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=232817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=232817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}