What is the F4F file format?
An .f4f file is a video segment generated and used by Adobe Media Server - a timed fragment of an F4V-based stream rather than a partial FLV file. Each .f4f stores a short portion of a Flash movie, typically a few seconds of H.264 video with AAC audio.
F4F file purpose
The F4F format is used for breaking larger video clips into smaller segments for easier adaptive-bitrate distribution between client machines streaming multimedia data. This HTTP Dynamic Streaming (HDS) approach let players switch quality levels mid-stream by fetching different .f4f segment files on demand.
Merging F4F parts
To recreate the original video file, all .f4f parts must be merged. Fragments can be combined using FFmpeg or the open-source AdobeHDS PHP script; the companion .f4x index file maps fragment numbers to byte offsets for fast seeking.
Additional information
- F4F is built on the ISO Base Media File Format (ISO 14496-12), the same foundation as MP4 - not a proprietary structure.
- F4F synchronizes H.264 video and AAC audio; optional Adobe Flash Access DRM encrypts content per-fragment.
- F4F is a legacy format: Adobe Flash Player reached end-of-life on 31 December 2020, making HDS/F4F obsolete and superseded by HLS and MPEG-DASH.
Security & safety
RISK: LOWF4F is pure binary media data (H.264/AAC inside ISO BMFF); it does not execute code and is not a Flash SWF file. Processing stray F4F files with FFmpeg or MP4Box is safe. The main hazard is downloading malicious files disguised as .f4f from untrusted sources - download recovery tools (FFmpeg, yt-dlp) only from their official sites. DRM-encrypted F4F segments (Adobe Flash Access) may not be recoverable without valid license keys from the now-defunct Flash Access servers.
Format details
in a nutshell- Shockwave Flash projector cache - Some old Flash-related tools used .f4f as a generic data extension; unrelated to HDS.
Programs that open F4F files
Technical details
deep spec| Magic bytes | `abst` at offset 4 (bootstrap info box); ISO BMFF `ftyp`/`moof` box tags also present |
| Byte order | Big-endian (ISO BMFF standard) |
| Container | ISO Base Media File Format (MP4 box structure) with HDS-specific boxes: `abst`, `asrt`, `afra`, `moof` |
| Video codec | H.264/AVC |
| Audio codec | AAC, typically 44.1 kHz or 48 kHz |
| Encryption | Optional Adobe Flash Access DRM (AES-128 per-fragment) |
| Typical segment size | 100 KB - 10 MB per segment (covers a few seconds of video) |
| Key box types | `abst` (bootstrap info), `asrt` (segment-run table), `moof` + `mdat` (fragment data) |
| Companion file | `.f4x` index mapping fragment numbers to byte offsets for fast seeking |
| Naming convention | Segments named per bitrate, e.g. `stream_Seg1-Frag1` |
| Color depth | 8 bpc per channel, 4:2:0 YCbCr (per H.264 stream) |
| Resolution | Typically up to 1920×1080; bound by H.264 profile/level |
| Status | Obsolete since Adobe Flash Player EOL on 31 December 2020; superseded by HLS and MPEG-DASH |
| Released | 2010 (Adobe HTTP Dynamic Streaming specification, built on F4V/ISO BMFF) |
| Latest version | HDS Specification Version 3.0 (c. 2013, frozen after Flash EOL) |
| Open standard | Yes · royalty-free |
| Specification | ossrs.io |
F4F conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about F4F files.