.264

264-fil

Raw H.264 / AVC Video Elementary Stream (DVR/CCTV export)
Stil et spørgsmål
HURTIGT SVAR

A .264 file is a raw H.264 (AVC) video stream, most commonly exported by a CCTV camera, DVR, or NVR. It contains video only - no audio, no container, no timing data - which is why most players refuse it or show no duration. VLC can usually play it directly. To make it work everywhere, remux it to MP4 with ffmpeg in seconds: ffmpeg -i in.264 -c copy out.mp4.

Udvikler: ITU-T / ISO-IEC (H.264/MPEG-4 AVC); files written by CCTV DVRs, NVRs, cameras and encoders Kategori: Videofiler Åben standard MIME: video/h264
ÅBNER PÅ Windows macOS Linux
Relateret: .DAV · .MKV · .MP4 · .H264

På denne side

19k+ filtyper indekseret
Sidst gennemset Aug 26, 2026

Er du ikke sikker på, hvad din fil er?

Træk en fil over i vores identifikator - vi læser kun de første bytes for at navngive formatet.

Identificer en fil

Hvad er 264-filformatet?

Files with the .264 extension contain raw H.264/AVC video data, typically exported by CCTV cameras, IP cameras, NVRs, or DVR devices. .264 files can also be produced as an intermediate output by video ripping or conversion tools; in those cases the files are typically temporary. Data in a .264 file is encoded using the H.264/AVC codec (MPEG-4 Part 10).

A .264 file is a raw elementary stream - it contains no container wrapper, no audio track, and no timing metadata. Each NAL unit is preceded by a start-code prefix (00 00 00 01). Because there is no container, many media players refuse to open .264 files directly or play them at incorrect frame rates.

.264 files can be transcoded and multiplexed - that is, converted into more widely supported formats such as AVI or MKV. FFmpeg handles this with: ffmpeg -i input.264 -c:v copy output.mp4. Files with the .264 extension can also be opened directly on the recording device or by using software supplied with the device by the manufacturer. The format is functionally identical to .h264 - DVR and NVR firmware simply tends to use .264 as the file extension.

Sikkerhed og tryghed

RISIKO: LOW

A raw .264 stream is inert video data, not executable, so it's safe to play and remux. Two practical notes: crafted streams have occasionally triggered decoder bugs, so keep VLC/ffmpeg updated; and because surveillance exports can be evidence, remux with '-c copy' (lossless) rather than re-encoding if you need to preserve the original frames. Online converters upload your footage to a third party - for CCTV/private video, remux locally with ffmpeg.

Formatdetaljer

kort fortalt
FULDSTÆNDIGT NAVNRaw H.264 / AVC Video Elementary Stream (DVR/CCTV export)
UDVIKLERITU-T / ISO-IEC (H.264/MPEG-4 AVC); files written by CCTV DVRs, NVRs, cameras and encoderssiden H.264/AVC standard finalized 2003 (ITU-T Rec. H.264 / ISO/IEC 14496-10)
KATEGORIVideofiler
MIME-TYPEvideo/h264
TYPERaw H.264 elementary stream (no container, no audio, no timing metadata) - same as .h264
STANDARDÅben · royaltyfri
MAGIC BYTES · FILSIGNATUR
OFFSET
00010203
HEX
00000001
ASCII
····
A raw .264 stream is a sequence of NAL units separated by the start-code prefix 00 00 00 01 (or the 3-byte 00 00 01). The first NAL is usually an SPS (byte 0x67) then PPS (0x68). This is NOT a container signature - there is no ftyp/RIFF/box header, no audio and no duration, which is why players that expect a container often refuse the file. Identical format to .h264; the .264 extension is the variant DVRs/NVRs tend to use.

Programmer der åbner 264-filer

Windows2 apps
VLC media player Open-source Drag the .264/.h264 onto VLC; if it won't play, set Preferences → Input/Codecs → Demuxers → 'H264 video demuxer'.
FFmpeg Open-source Remux losslessly: 'ffmpeg -i in.264 -c copy out.mp4' (add '-r 25' if there's no timing). Use out.mkv if MP4 errors.
macOS2 apps
VLC media player Open-source Drag the .264/.h264 onto VLC; if it won't play, set Preferences → Input/Codecs → Demuxers → 'H264 video demuxer'.
FFmpeg Open-source Remux losslessly: 'ffmpeg -i in.264 -c copy out.mp4' (add '-r 25' if there's no timing). Use out.mkv if MP4 errors.
Linux2 apps
VLC media player Open-source Drag the .264/.h264 onto VLC; if it won't play, set Preferences → Input/Codecs → Demuxers → 'H264 video demuxer'.
FFmpeg Open-source Remux losslessly: 'ffmpeg -i in.264 -c copy out.mp4' (add '-r 25' if there's no timing). Use out.mkv if MP4 errors.

Tekniske detaljer

dyb specifikation
Container typeRaw elementary stream - no container wrapper, no audio, no duration metadata
CodecH.264/AVC (MPEG-4 Part 10 / ITU-T H.264)
MIME typevideo/h264
File magic (offset 0)00 00 00 01 (4-byte NAL start code) or 00 00 01 (3-byte variant)
First NAL unit sequenceSPS (0x67) → PPS (0x68) → IDR slice (0x65) → non-IDR slices (0x41)
AudioNone - video only; audio must be added separately when muxing into a container
Timing metadataAbsent - frame rate must be supplied externally at mux or playback time
Supported profilesBaseline, Main, High (High Profile most common in modern DVR/NVR hardware)
Typical export frame rates15, 25, or 30 fps (standard DVR/NVR recording rates)
Equivalent extension.h264 - identical bitstream; .264 is the convention used by DVR/NVR firmware
Common recording resolutions720p (1280×720) to 4K (3840×2160), depending on the recording device
Primary originCCTV cameras, IP cameras, DVRs, NVRs, and hardware H.264 encoders
UdgivetH.264/AVC standard finalized 2003 (ITU-T Rec. H.264 / ISO/IEC 14496-10)
Åben standardJa · royaltyfri
Specifikationwww.itu.int

264-konverteringer

Fællesskabets Q&A

spurgt af brugere
Stil et hurtigt spørgsmål
Få hjælp fra folk, der arbejder med 264-filer. Vær specifik - medtag dit system og din softwareversion.
Ingen konto nødvendig · svar normalt inden for en dag

Ingen spørgsmål endnu - vær den første til at spørge om 264-filer.

Ofte stillede spørgsmål

How do I play a .264 file?
Use VLC media player - it plays raw H.264 streams directly (if needed, pick the 'H264 video demuxer' in Preferences). Most other players fail because the file has no container.
How do I convert a .264 file to MP4?
Remux it with ffmpeg: 'ffmpeg -i input.264 -c copy output.mp4'. This wraps the existing video in an MP4 container with no re-encoding and no quality loss. Add '-framerate 25' if playback speed is wrong.
Is .264 the same as .h264?
Yes - both are the same raw H.264 elementary stream, just different file extensions. DVRs and CCTV systems tend to write '.264'; encoders often write '.h264'. Treat them identically: play in VLC, remux to MP4 with ffmpeg.
Why is there no sound in my .264 file?
A raw H.264 stream is video only - it carries no audio track by design. If your CCTV recording had audio, it was either a separate file or in a different container export.
Why won't my .264 file open in Windows Media Player?
It's a raw elementary stream with no container, which WMP can't read. Open it in VLC, or remux it to MP4 with ffmpeg first; then it plays in any player.
My converted .264 plays too fast or too slow - how do I fix it?
The raw stream has no timing info, so the muxer guessed the frame rate. Re-remux specifying it: 'ffmpeg -framerate 25 -i in.264 -c copy out.mp4' (use your camera's actual fps).

Referencer

1ITU-T H.264 - Advanced video codingwww.itu.int
2VideoLAN - VLC media playerwww.videolan.org

Udforsk mere

på tværs af databasen

Populære filtyper i denne uge

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.RPMSGRestricted Permission Message
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.ICSiCalendar data file

Relaterede filtyper

.DAVDVR365 / Dahua DVR Video File (DHAV stream)
.MKVMatroska Video
.MP4MPEG-4 Part 14 Video File
.H264Raw H.264 / AVC Video Elementary Stream
.VOBDVD Video Object File
.SWFSmall Web Format (Shockwave Flash)

Gratis filværktøjer

En fil-identifikator og billedkonverter direkte i browseren - alt kører på din enhed.

Åbn værktøjskassen

Gennemse filtyper A-Å