Extract Audio from FLV to M4B — Free Online Tool
Extract the audio track from an FLV (Flash Video) file and save it as an M4B audiobook file, encoding the audio as AAC in an MPEG-4 container with chapter and bookmarking support. Ideal for repurposing Flash-era video lectures, presentations, or recorded content into a portable audiobook format playable in Apple Books, Overcast, and podcast apps.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your FLV file here
or click to browse
Free — no uploads, no signups. Your files never leave your browser.
Settings
Note: Browser-based encoding uses approximate quality targets. For precise CRF compression, copy the FFmpeg command above and run it on your desktop.
Estimated output:
Conversion Complete!
DownloadHow It Works
FLV files typically carry AAC or MP3 audio alongside their video stream. During this conversion, the video stream is completely discarded using the -vn flag — no video decoding or encoding occurs. The audio is extracted and re-encoded as AAC (Advanced Audio Coding) at 128k bitrate, then wrapped in the MPEG-4 container with the .m4b extension. The -movflags +faststart flag rewrites the container's metadata index to the beginning of the file, which is required for progressive playback in audiobook apps. Because both FLV and M4B commonly use AAC audio, the re-encoding step is relatively lightweight, though it is not a lossless copy — the audio undergoes a decode-and-reencode pass that may introduce minor generational quality loss if the source was already AAC-compressed.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg binary — the open-source multimedia processing engine that handles all demuxing, decoding, encoding, and muxing operations in this conversion pipeline. |
-i input.flv
|
Specifies the input Flash Video file. FFmpeg reads the FLV container, identifies both the video stream (typically H.264/libx264) and the audio stream (typically AAC or MP3), and makes both available for the conversion pipeline. |
-vn
|
Disables video output entirely, discarding the H.264 or FLV video stream from the source. Since M4B is an audio-only format, this flag ensures no video encoding occurs, making the process faster and the output file audio-only. |
-c:a aac
|
Encodes the extracted audio using FFmpeg's native AAC encoder, producing the AAC audio stream that the M4B/MPEG-4 container requires. AAC is the standard codec for M4B and is natively supported by Apple Books, iOS, and all major audiobook players. |
-b:a 128k
|
Sets the AAC audio bitrate to 128 kilobits per second. For speech-heavy content like lectures, podcasts, and audiobooks extracted from FLV recordings, 128k AAC provides excellent intelligibility and is the standard quality level for most podcast distribution. |
-movflags +faststart
|
Relocates the MPEG-4 container's moov atom (the metadata index) to the beginning of the output .m4b file after encoding completes. This is required for compatibility with audiobook and podcast apps that need to read file structure metadata before beginning playback. |
output.m4b
|
Specifies the output filename with the .m4b extension, which tells FFmpeg to write an MPEG-4 audio container and signals to audiobook applications like Apple Books and Overcast that the file supports bookmarking and chapter navigation. |
Common Use Cases
- Convert a recorded Flash-based university lecture or webinar (saved as FLV) into an M4B audiobook so it can be listened to with chapter navigation in Apple Books or a podcast app during a commute.
- Transform archived FLV video tutorials from early YouTube or educational platforms into M4B files compatible with audiobook players that support bookmarking, so you can resume listening exactly where you left off.
- Extract the audio commentary track from an FLV screen recording or software demo to create a distributable audio guide in a format that podcast apps recognize natively.
- Convert FLV-format recorded conference talks or keynote speeches into M4B so they can be imported into Apple Podcasts or Overcast and consumed as audio content on mobile devices.
- Repurpose a collection of FLV video lessons from a legacy Flash-based e-learning system into M4B audiobooks for archival and offline listening after Flash Player reached end-of-life.
- Strip video from an FLV recording of a radio show or interview that was originally streamed via Flash Player and produce a self-contained M4B audio file that supports ID3-style metadata tagging.
Frequently Asked Questions
If your FLV source already contains AAC audio (which is common for FLV files encoded with libx264 video), the conversion involves decoding that AAC stream and re-encoding it to AAC at 128k — a lossy-to-lossy transcode that introduces a small degree of generational quality loss. If your source FLV used MP3 audio (encoded with libmp3lame), the same applies. At 128k AAC the result is generally transparent for speech content like lectures and podcasts, but if you want to minimize quality loss, you can raise the bitrate to 192k or 256k by changing the -b:a value in the FFmpeg command.
M4B natively supports chapters as part of the MPEG-4 container specification, which is why it is the standard format for audiobooks in Apple Books. However, this conversion only extracts the audio from your FLV file — it does not automatically generate chapter markers, because FLV files do not support chapters and there is no chapter data to carry over. The output M4B will be a single unbroken audio track. To add chapters, you would need a separate tool such as mp4chaps or Chaptered after the conversion.
Both .m4a and .m4b are AAC audio in an MPEG-4 container — the underlying format is identical. The .m4b extension is a convention that signals to audiobook-aware applications like Apple Books, Overcast, and Pocket Casts that the file should be treated as an audiobook, enabling bookmarking (resuming from where you left off) and chapter navigation. If you renamed the output to .m4a, the audio would still play, but apps might not offer bookmarking. Using .m4b ensures maximum compatibility with podcast and audiobook players.
The MPEG-4 container stores a metadata index called the 'moov atom' that describes the file's structure. By default, FFmpeg writes this atom at the end of the file after encoding is complete. The +faststart flag causes FFmpeg to move this atom to the beginning of the file in a post-processing step. For M4B audiobook files, this means the file can begin playback and be read by audiobook apps before the entire file is loaded, and it ensures compatibility with players that require the moov atom to be present at the start. Without it, some apps may fail to recognize the file correctly or refuse to import it.
Replace the -b:a 128k value in the command with your desired bitrate. For example, to produce a higher-quality M4B suitable for music or high-fidelity recordings, use -b:a 256k or -b:a 320k. For speech-only content like lectures and audiobooks, 128k AAC is generally indistinguishable from higher bitrates, and 96k is often sufficient. The full modified command for 192k would be: ffmpeg -i input.flv -vn -c:a aac -b:a 192k -movflags +faststart output.m4b
Yes. On Linux or macOS, you can loop over all FLV files in a directory with a shell one-liner: for f in *.flv; do ffmpeg -i "$f" -vn -c:a aac -b:a 128k -movflags +faststart "${f%.flv}.m4b"; done. On Windows Command Prompt, use: for %f in (*.flv) do ffmpeg -i "%f" -vn -c:a aac -b:a 128k -movflags +faststart "%~nf.m4b". Each FLV file will be processed sequentially and saved as a corresponding .m4b file in the same directory.
Technical Notes
FLV (Flash Video) was Adobe's primary streaming container format and typically encodes audio as either AAC or MP3. Because M4B uses the same default AAC codec, this conversion avoids a cross-codec transcode for the majority of modern FLV files, but FFmpeg still performs a decode-reencode cycle rather than a stream copy — a direct stream copy (-c:a copy) into M4B is technically possible when the source is AAC, and would avoid all quality loss, but requires that the source AAC parameters are compatible with the MPEG-4 container. FLV does not support chapters, subtitles, or multiple audio tracks, so none of these features can be carried into the M4B output from the source. M4B supports ID3-style metadata (title, artist, album, artwork) via the MPEG-4 container's udta and meta atoms, but FLV metadata is stored in onMetaData script tags that are not automatically mapped during conversion — metadata like title or author must be added manually using -metadata title="..." flags or a post-processing tool. The output file size will be significantly smaller than the source FLV because the video stream is entirely removed; for a 30-minute FLV at typical streaming quality, expect an M4B output of roughly 30–60 MB at 128k AAC.