{"id":4365,"date":"2026-05-21T12:21:03","date_gmt":"2026-05-21T09:21:03","guid":{"rendered":"https:\/\/demensdeum.com\/blog\/2026\/05\/21\/flac2mp3\/"},"modified":"2026-05-21T14:15:48","modified_gmt":"2026-05-21T11:15:48","slug":"flac2mp3","status":"publish","type":"post","link":"https:\/\/demensdeum.com\/blog\/ja\/2026\/05\/21\/flac2mp3\/","title":{"rendered":"flac2mp3 \u2013 FLAC\u304b\u3089MP3\u3078\u306e\u30d0\u30c3\u30c1\u30b3\u30f3\u30d0\u30fc\u30bf"},"content":{"rendered":"<p>\u30ed\u30b9\u30ec\u30b9 FLAC \u5f62\u5f0f\u306e\u81a8\u5927\u306a\u97f3\u697d\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u308a\u3001\u30dd\u30fc\u30bf\u30d6\u30eb MP3 \u30b3\u30d4\u30fc\u304c\u5fc5\u8981\u306a\u5834\u5408\u3001\u624b\u52d5\u3067\u30b3\u30d4\u30fc\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002 <strong>flac2mp3<\/strong> \u306f\u3001\u3059\u3079\u3066\u306e FLAC \u30d5\u30a1\u30a4\u30eb\u3092\u518d\u5e30\u7684\u306b\u691c\u7d22\u3057\u3001<strong>ffmpeg<\/strong> \u3092\u4f7f\u7528\u3057\u3066\u9ad8\u54c1\u8cea\u306e MP3 \u306b\u5909\u63db\u3059\u308b\u30af\u30ea\u30fc\u30f3\u306a Python \u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3059\u3002<\/p>\n<h2>flac2mp3 \u3092\u4f7f\u7528\u3059\u308b\u7406\u7531<\/h2>\n<p>\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001<strong>libmp3lame<\/strong> \u30a8\u30f3\u30b3\u30fc\u30c0\u3092 <strong>-q:a 0<\/strong> (\u6700\u9ad8\u306e\u53ef\u5909\u30d3\u30c3\u30c8 \u30ec\u30fc\u30c8\u54c1\u8cea\u8a2d\u5b9a) \u3067\u4f7f\u7528\u3057\u307e\u3059\u3002\u30aa\u30ea\u30b8\u30ca\u30eb\u306e FLAC \u3068\u306e\u8074\u899a\u7684\u306a\u9055\u3044\u306f\u4e8b\u5b9f\u4e0a\u5b58\u5728\u3057\u307e\u305b\u3093\u304c\u3001\u30d5\u30a1\u30a4\u30eb \u30b5\u30a4\u30ba\u306f\u5927\u5e45\u306b\u5c0f\u3055\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u6a5f\u80fd<\/h2>\n<li><strong>\u518d\u5e30\u7684\u691c\u7d22<\/strong>: \u3059\u3079\u3066\u306e\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8abf\u3079\u3066\u3001\u3059\u3079\u3066\u306e .flac \u30d5\u30a1\u30a4\u30eb\u3092\u81ea\u52d5\u7684\u306b\u691c\u7d22\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u8907\u6570\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8 \u30e2\u30fc\u30c9<\/strong>: \u30a4\u30f3\u30d7\u30ec\u30fc\u30b9\u5909\u63db\u3001\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u3055\u308c\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea \u30c4\u30ea\u30fc\u3001\u307e\u305f\u306f\u30d5\u30e9\u30c3\u30c8\u5316\u3055\u308c\u305f\u5358\u4e00\u30d5\u30a9\u30eb\u30c0\u30fc \u30c0\u30f3\u30d7\u3002 1 \u56de\u306e\u5b9f\u884c\u3067\u30e2\u30fc\u30c9\u3092\u7d50\u5408\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><strong>\u4e26\u5217\u51e6\u7406<\/strong>: <strong>&#8211;Parallel-run=4<\/strong> \u3092\u6e21\u3057\u3066\u8907\u6570\u306e CPU \u30b3\u30a2\u3092\u5229\u7528\u3057\u3001\u30d0\u30c3\u30c1\u5909\u63db\u3092\u5927\u5e45\u306b\u9ad8\u901f\u5316\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30af\u30ea\u30fc\u30f3\u306a\u51e6\u7406<\/strong>: \u30b9\u30da\u30fc\u30b9\u3084\u7279\u6b8a\u6587\u5b57\u3092\u542b\u3080\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d5\u30a9\u30eb\u30c0\u540d\u3092\u9069\u5207\u306b\u51e6\u7406\u3057\u307e\u3059\u3002<\/li>\n<h2>\u4f7f\u7528\u6cd5<\/h2>\n<p>\u6700\u3082\u5358\u7d14\u306a\u30b1\u30fc\u30b9 \u2014 \u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u3059\u3079\u3066\u306e FLAC \u3092\u30a4\u30f3\u30d7\u30ec\u30fc\u30b9\u3067\u5909\u63db\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>python flac2mp3.py\n<\/code><\/pre>\n<\/div>\n<p>\u3088\u308a\u9ad8\u5ea6\u306a\u5b9f\u969b\u306e\u4f8b \u2014 \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3092\u7dad\u6301\u3057\u306a\u304c\u3089\u30014 \u3064\u306e\u4e26\u5217\u30b9\u30ec\u30c3\u30c9\u3067\u3059\u3079\u3066\u306e FLAC \u3092 D:\\Downloads \u304b\u3089 D:\\mp3s \u306b\u5909\u63db\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>python flac2mp3.py D:\\Downloads\\ --output-directory-save-directories-tree=D:\\mp3s\\ --parallel-run=4\n<\/code><\/pre>\n<\/div>\n<h2>\u30dc\u30f3\u30cd\u30c3\u30c8\u306e\u4e0b\u3067<\/h2>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4e2d\u6838\u3067\u306f\u3001\u30d5\u30a1\u30a4\u30eb \u30b7\u30b9\u30c6\u30e0\u3092\u63a2\u7d22\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u3054\u3068\u306b ffmpeg \u30b3\u30de\u30f3\u30c9\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ffmpeg -i \"song.flac\" -c:a libmp3lame -q:a 0 \"song.mp3\"\n<\/code><\/pre>\n<\/div>\n<p>\u307e\u305f\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u540c\u6642\u5b9f\u884c\u306e\u305f\u3081\u306b\u30b9\u30ec\u30c3\u30c9 \u30d7\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u5909\u63db\u3092\u5b9f\u884c\u3059\u308b\u30b5\u30d6\u30d7\u30ed\u30bb\u30b9\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<li><strong>Python 3.x<\/strong><\/li>\n<li><strong>ffmpeg<\/strong> \u304c\u30b7\u30b9\u30c6\u30e0\u306e PATH \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001\u5229\u7528\u53ef\u80fd<\/li>\n<p>\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u306f\u8ffd\u52a0\u306e Python \u4f9d\u5b58\u95a2\u4fc2\u306f\u306a\u304f\u3001\u7d14\u7c8b\u306a\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/zefir1990\/flac2mp3\" rel=\"noopener\" target=\"_blank\">https:\/\/github.com\/zefir1990\/flac2mp3<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30ed\u30b9\u30ec\u30b9 FLAC \u5f62\u5f0f\u306e\u81a8\u5927\u306a\u97f3\u697d\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u308a\u3001\u30dd\u30fc\u30bf\u30d6\u30eb MP3 \u30b3\u30d4\u30fc\u304c\u5fc5\u8981\u306a\u5834\u5408\u3001\u624b\u52d5\u3067\u30b3\u30d4\u30fc\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002 flac2mp3 \u306f\u3001\u3059\u3079\u3066\u306e FLAC \u30d5\u30a1\u30a4\u30eb\u3092\u518d\u5e30\u7684\u306b\u691c\u7d22\u3057\u3001ffmpeg \u3092\u4f7f\u7528\u3057\u3066\u9ad8\u54c1\u8cea\u306e MP3 \u306b\u5909\u63db\u3059\u308b\u30af\u30ea\u30fc\u30f3\u306a Python \u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3059\u3002 flac2mp3 \u3092\u4f7f\u7528\u3059\u308b\u7406\u7531 \u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001libmp3lame \u30a8\u30f3\u30b3\u30fc\u30c0\u3092 -q:a 0 (\u6700\u9ad8\u306e\u53ef\u5909\u30d3\u30c3\u30c8 \u30ec\u30fc\u30c8\u54c1\u8cea\u8a2d\u5b9a) \u3067\u4f7f\u7528\u3057\u307e\u3059\u3002\u30aa\u30ea\u30b8\u30ca\u30eb\u306e FLAC \u3068\u306e\u8074\u899a\u7684\u306a\u9055\u3044\u306f\u4e8b\u5b9f\u4e0a\u5b58\u5728\u3057\u307e\u305b\u3093\u304c\u3001\u30d5\u30a1\u30a4\u30eb \u30b5\u30a4\u30ba\u306f\u5927\u5e45\u306b\u5c0f\u3055\u304f\u306a\u308a\u307e\u3059\u3002 \u6a5f\u80fd \u518d\u5e30\u7684\u691c\u7d22: \u3059\u3079\u3066\u306e\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8abf\u3079\u3066\u3001\u3059\u3079\u3066\u306e .flac \u30d5\u30a1\u30a4\u30eb\u3092\u81ea\u52d5\u7684\u306b\u691c\u7d22\u3057\u307e\u3059\u3002 \u8907\u6570\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8 \u30e2\u30fc\u30c9: \u30a4\u30f3\u30d7\u30ec\u30fc\u30b9\u5909\u63db\u3001\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u3055\u308c\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea \u30c4\u30ea\u30fc\u3001\u307e\u305f\u306f\u30d5\u30e9\u30c3\u30c8\u5316\u3055\u308c\u305f\u5358\u4e00\u30d5\u30a9\u30eb\u30c0\u30fc \u30c0\u30f3\u30d7\u3002 1 \u56de\u306e\u5b9f\u884c\u3067\u30e2\u30fc\u30c9\u3092\u7d50\u5408\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002 \u4e26\u5217\u51e6\u7406: &#8211;Parallel-run=4 \u3092\u6e21\u3057\u3066\u8907\u6570\u306e CPU \u30b3\u30a2\u3092\u5229\u7528\u3057\u3001\u30d0\u30c3\u30c1\u5909\u63db\u3092\u5927\u5e45\u306b\u9ad8\u901f\u5316\u3057\u307e\u3059\u3002 \u30af\u30ea\u30fc\u30f3\u306a\u51e6\u7406: \u30b9\u30da\u30fc\u30b9\u3084\u7279\u6b8a\u6587\u5b57\u3092\u542b\u3080\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d5\u30a9\u30eb\u30c0\u540d\u3092\u9069\u5207\u306b\u51e6\u7406\u3057\u307e\u3059\u3002 \u4f7f\u7528\u6cd5 \u6700\u3082\u5358\u7d14\u306a\u30b1\u30fc\u30b9 \u2014 \u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u3059\u3079\u3066\u306e FLAC \u3092\u30a4\u30f3\u30d7\u30ec\u30fc\u30b9\u3067\u5909\u63db\u3057\u307e\u3059\u3002 python flac2mp3.py \u3088\u308a\u9ad8\u5ea6\u306a\u5b9f\u969b\u306e\u4f8b \u2014<a class=\"more-link\" href=\"https:\/\/demensdeum.com\/blog\/ja\/2026\/05\/21\/flac2mp3\/\">Continue reading <span class=\"screen-reader-text\">&#8220;flac2mp3 \u2013 FLAC\u304b\u3089MP3\u3078\u306e\u30d0\u30c3\u30c1\u30b3\u30f3\u30d0\u30fc\u30bf&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[84,61],"tags":[],"class_list":["post-4365","post","type-post","status-publish","format-standard","hentry","category-software","category-techie","entry"],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"ja","enabled_languages":["en","ru","zh","de","fr","ja","pt","hi"],"languages":{"en":{"title":true,"content":true,"excerpt":false},"ru":{"title":true,"content":true,"excerpt":false},"zh":{"title":true,"content":true,"excerpt":false},"de":{"title":true,"content":true,"excerpt":false},"fr":{"title":true,"content":true,"excerpt":false},"ja":{"title":true,"content":true,"excerpt":false},"pt":{"title":true,"content":true,"excerpt":false},"hi":{"title":true,"content":true,"excerpt":false}}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/posts\/4365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/comments?post=4365"}],"version-history":[{"count":2,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/posts\/4365\/revisions"}],"predecessor-version":[{"id":4367,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/posts\/4365\/revisions\/4367"}],"wp:attachment":[{"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/media?parent=4365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/categories?post=4365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/tags?post=4365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}