คู่มือนี้แนะนำวิธีแปลงไฟล์เสียง .flac → .mp3 ใน Ubuntu ด้วย GUI Tool SoundConverter (ง่าย ไม่ต้อง CLI)
ติดตั้ง SoundConverter
- เปิด Ubuntu Software (หรือ Software Center)
- ค้นหา
soundconverter - กด Install
หรือ Terminal:
sudo apt update && sudo apt install soundconverter
ตั้งค่า SoundConverter
- เปิด SoundConverter จาก Application Menu
- กดปุ่ม Preferences (ไอคอนเฟือง/ค้อน)
- Where to place results? → เลือกโฟลเดอร์ Output (เช่น
~/Music/Converted) - How to name files? → ค่าเริ่มต้น "Save as input, but replace the suffix" (แนะนำ)
- Type of results? → เลือก MP3
- Bitrate mode: Constant / Variable (แนะนำ Variable)
- Quality: High / Medium / Low (แนะนำ High: 256-320 kbps)
- กด Close
แปลงไฟล์
- กด Add File (ไฟล์เดี่ยว) หรือ Add Folder (โฟลเดอร์ทั้งโฟลเดอร์)
- เลือกไฟล์ .flac หรือโฟลเดอร์ที่มี .flac
- กด Open
- กด Convert (Toolbar)
- ดู Progress ที่มุมซ้ายล่าง
- เสร็จแล้ว ไฟล์ .mp3 จะอยู่ใน Output Folder
ตัวเลือก CLI (สำหรับ Power User)
# ffmpeg (แนะนำ - ทรงพลังที่สุด)
ffmpeg -i input.flac -codec:a libmp3lame -qscale:a 2 output.mp3
# -qscale:a 2 = VBR ~190 kbps (High Quality)
# -b:a 320k = CBR 320 kbps
# แปลงหลายไฟล์
for f in *.flac; do
ffmpeg -i "$f" -codec:a libmp3lame -qscale:a 2 "${f%.flac}.mp3"
done
# parallel (เร็วขึ้น หลาย Core)
parallel ffmpeg -i {} -codec:a libmp3lame -qscale:a 2 {.}.mp3 ::: *.flac
คุณภาพเสียง (Bitrate Guide)
| Bitrate | คุณภาพ | ใช้งาน |
|---|---|---|
| 320 kbps CBR | สูงสุด | Archive, Audiophile |
| 256 kbps VBR | ดีมาก | General Music |
| 192 kbps VBR | ดี | Portable, Streaming |
| 128 kbps | พอใช้ | Voice, Low Storage |