{"id":2171,"date":"2024-08-29T12:43:49","date_gmt":"2024-08-29T03:43:49","guid":{"rendered":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/?p=2171"},"modified":"2024-08-29T12:43:49","modified_gmt":"2024-08-29T03:43:49","slug":"post-2171","status":"publish","type":"post","link":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/archives\/2171","title":{"rendered":"mp3\u3092\u7d50\u5408\u3059\u308b"},"content":{"rendered":"<p>\u6700\u8fd1\u306e\u82f1\u8a9e\u306e\u53c2\u8003\u66f8(\u5358\u8a9e\u5e33)\u306b\u306f\u97f3\u58f0\u30c7\u30fc\u30bf\u304c\u4ed8\u5c5e\u3059\u308b\u3082\u306e\u304c\u591a\u3044\u3002\u305d\u308c\u3092mp3\u30d7\u30ec\u30fc\u30e4\u30fc\u3067\u805e\u3051\u308b\u3088\u3046\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3068\u3053\u308d\u3001\u5358\u8a9e\u5e33\u306e\u6570\u30da\u30fc\u30b8\u3054\u3068\u306b\u5206\u304b\u308c\u3066\u3044\u3066\u30012-3\u5206\u306e\u30d5\u30a1\u30a4\u30eb\u304c60\u500b\u3050\u3089\u3044\u3082\u3042\u3063\u305f\u3002\u305d\u306e\u307e\u307e\u30d7\u30ec\u30fc\u30e4\u30fc\u306b\u3044\u308c\u308b\u3068\u518d\u751f\u30ea\u30b9\u30c8\u304c\u81a8\u5927\u306b\u306a\u3063\u3066\u4f7f\u3044\u306b\u304f\u3044\u306e\u3067\u3001\u30bb\u30af\u30b7\u30e7\u30f3\u3054\u3068\u306b\u307e\u3068\u3081\u3066\u4e00\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u306e\u304cWindows11\u3060\u3063\u305f\u306e\u3067\u3001\u305d\u306e\u307e\u307eWSL\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u3001ffmpeg\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<h4>WSL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>\u305d\u306e\u3046\u3061\u3069\u3053\u304b\u306b\u304d\u3061\u3093\u3068\u66f8\u3044\u3066\u304a\u3053\u3046\u3068\u601d\u3046\u3002<\/p>\n<ol>\n<li>Windows\u306e\u30b9\u30bf\u30fc\u30c8\u30dc\u30bf\u30f3\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30bf\u30fc\u30df\u30ca\u30eb(\u7ba1\u7406\u8005)\u3092\u8d77\u52d5\u3059\u308b\u3002<\/li>\n<li>wsl &#8211;install \u3092\u5b9f\u884c\u3059\u308b\u3002\u3053\u306e\u3068\u304d\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u306e\u3067\u3059\u304c\u3001\u4ed6\u306e\u30e6\u30fc\u30b6\u30fc\u3092\u30ed\u30b0\u30aa\u30d5\u3057\u3066\u3084\u308a\u76f4\u3057\u305f\u3068\u3053\u308d\u6210\u529f\u3057\u307e\u3057\u305f\u3002<\/li>\n<li>\u30bf\u30fc\u30df\u30ca\u30eb\u306e\u30bf\u30d6\u306e\u3068\u3053\u308d\u304b\u3089Ubuntu\u3092\u9078\u3076\u3002\u521d\u3081\u3066\u306e\u3068\u304d\u306fUnix\u7528\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u8a2d\u5b9a\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/li>\n<li>\u7d42\u4e86\u3059\u308b\u3068\u304d\u306f exit \u3068\u5165\u529b\u3057\u307e\u3057\u3087\u3046\u3002<\/li>\n<\/ol>\n<h4>ffmpeg\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u64cd\u4f5c\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>sudo apt-get update \u3092\u5b9f\u884c\u3059\u308b\u3002<\/li>\n<li>sudo apt-get install ffmpeg \u3092\u5b9f\u884c\u3059\u308b\u3002<\/li>\n<li>ffmpeg &#8211;help \u3092\u5b9f\u884c\u3057\u3066\u4f55\u304b\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6210\u529f\u3002<\/li>\n<\/ol>\n<h4>mp3\u30d5\u30a1\u30a4\u30eb\u3092\u7d50\u5408\u3059\u308b<\/h4>\n<pre class='console'>\r\n$ cd \/mnt\/c\/Users\/account\/Downloads\/eigo # \u3054\u81ea\u5206\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3001mp3\u30d5\u30a1\u30a4\u30eb\u306e\u3042\u308b\u5834\u6240\u306b\u8aad\u307f\u66ff\u3048\u3066\u304f\u3060\u3055\u3044\u3002\r\n$ for F in *.mp3 ; do echo \"file '$F'\" ; done >mp3list.txt\r\n$ ffmpeg -f concat -safe 0 -i mp3list.txt -c copy output.mp3\r\n<\/pre>\n<p>mp3list.txt\u306e\u4e2d\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u4e26\u3073\u9806\u3067\u7d50\u5408\u3055\u308c\u308b\u306e\u3067\u3001ffmpeg\u3092\u5b9f\u884c\u3059\u308b\u524d\u306b\u9806\u756a\u3092\u78ba\u8a8d\u3057\u3066\u4e26\u3073\u66ff\u3048\u308b\u3068\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>2\u6642\u9593\u3092\u8d85\u3048\u308b\u82f1\u8a9e\u5b66\u7fd2\u7528\u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u3057\u3063\u304b\u308a\u52c9\u5f37\u3057\u3066\u304f\u3060\u3055\u3044 &gt;\u606f\u5b50<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u306e\u82f1\u8a9e\u306e\u53c2\u8003\u66f8(\u5358\u8a9e\u5e33)\u306b\u306f\u97f3\u58f0\u30c7\u30fc\u30bf\u304c\u4ed8\u5c5e\u3059\u308b\u3082\u306e\u304c\u591a\u3044\u3002\u305d\u308c\u3092mp3\u30d7\u30ec\u30fc\u30e4\u30fc\u3067\u805e\u3051\u308b\u3088\u3046\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3068\u3053\u308d\u3001\u5358\u8a9e\u5e33\u306e\u6570\u30da\u30fc\u30b8\u3054\u3068\u306b\u5206\u304b\u308c\u3066\u3044\u3066\u30012-3\u5206\u306e\u30d5\u30a1\u30a4\u30eb\u304c60\u500b\u3050\u3089\u3044\u3082\u3042\u3063\u305f\u3002\u305d\u306e\u307e\u307e\u30d7\u30ec\u30fc\u30e4\u30fc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"_links":{"self":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts\/2171"}],"collection":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/comments?post=2171"}],"version-history":[{"count":3,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts\/2171\/revisions"}],"predecessor-version":[{"id":2175,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts\/2171\/revisions\/2175"}],"wp:attachment":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/media?parent=2171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/categories?post=2171"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/tags?post=2171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}