<p>I'd bet cash money they don't know what they're talking about when they say h264 format. There is a raw h.264 bitstream format, with the file suffix .264, but it's pretty obscure (I can't duckduckgo any actual documentation on what it's for, possibly when dealing with live streams from cameras). </p>

<p>Give them an mp4 encoded with h.264 codec - it's a format you can be pretty certain anyone with software that's not completely obsolete can play. Conversely a .264 stream is fairly well guaranteed to be unplayable in all but rather specialist settings.</p>

<p>But if you have any doubts you could ask them if h.264 encoded mp4 is what they mean.</p>

CC BY-SA 3.0
2017-05-29T15:53:03.703Z
Theoretically, you could use the .264 file with a reference container. Like a Quicktime or MXF wrapper that doesn't contain any tracks within that file and just points to other files on the file system. Reference files have become far less common with the reductions in maximum file sizes.
Michael Liebman
CC BY-SA 3.0
2017-05-31T01:26:50.493Z
That's interesting. Do you know of any links? I liked reference files, they were really useful for post production workflows, but I guess dynamic linking in the Adobe universe does the same job.
stib
CC BY-SA 3.0
2017-05-31T02:35:43.133Z
(BTW, I meant *increases* in maximum file sizes, above.) I don't have anything specifically for H.264. All the work I did with MXF and QT reference files was with MPEG-2. A lot of the work with MXF EDL style files (OP-2 and OP-3) never really materialized into practical use, so there hasn't been much call for newer codecs in reference files. Maybe on the AAF or IMF side, but I don't deal with editing and mastering much.
Michael Liebman
CC BY-SA 3.0
2017-06-02T05:29:00.343Z
@Jakob Ringler - I like stib's answer, so I'll not add another for credit. Why the place doesn't ask for .mp4 and .png is another question. There is a ".264" (no h) file extension Format (Elementary Stream), to render modify this command line to suit you: ffmpeg -i file.extension -vcodec libx264 -f h264 test.264  [like stib said, it's unlikely they want what they are asking for].
Rob
CC BY-SA 3.0
2017-05-29T14:02:56.977Z
2017-05-29T14:02:56.977Z
stib
<p>Is there an actual H.264 file or is it just the codec that renders the video into an .mp4 or .mov file? </p>

<p>For an application, I have to hand in a portfolio with videos. Their website says that, "Videos have to be H264 format and pictures JPEG." Now, JPEG is a file format as well as a compression codec. But I've never heard of H.264 as a file format before. Is it possible to render video into an "H.264 file" or should I encode my videos as H.264 into an MP4 container?</p>

<video><mp4><h.264>
Is H264 an actual file format?
Jakob Ringler
# Is H264 an actual file format?

(Asked by: username_0 on 2017-05-29)

Is there an actual H.264 file or is it just the codec that renders the video into an .mp4 or .mov file?

For an application, I have to hand in a portfolio with videos. Their website says that, "Videos have to be H264 format and pictures JPEG." Now, JPEG is a file format as well as a compression codec. But I've never heard of H.264 as a file format before. Is it possible to render video into an "H.264 file" or should I encode my videos as H.264 into an MP4 container?

**Tags:** video, mp4, h.264


---

## 1 answers

### Answer by username_1 on 2017-05-29. Score: 3 | Accepted answer

I'd bet cash money they don't know what they're talking about when they say h264 format. There is a raw h.264 bitstream format, with the file suffix .264, but it's pretty obscure (I can't duckduckgo any actual documentation on what it's for, possibly when dealing with live streams from cameras).

Give them an mp4 encoded with h.264 codec - it's a format you can be pretty certain anyone with software that's not completely obsolete can play. Conversely a .264 stream is fairly well guaranteed to be unplayable in all but rather specialist settings.

But if you have any doubts you could ask them if h.264 encoded mp4 is what they mean.

> **Comments:**
> **username_2**: Theoretically, you could use the .264 file with a reference container. Like a Quicktime or MXF wrapper that doesn't contain any tracks within that file and just points to other files on the file system. Reference files have become far less common with the reductions in maximum file sizes.  
> **username_1**: That's interesting. Do you know of any links? I liked reference files, they were really useful for post production workflows, but I guess dynamic linking in the Adobe universe does the same job.  
> **username_2**: (BTW, I meant *increases* in maximum file sizes, above.) I don't have anything specifically for H.264. All the work I did with MXF and QT reference files was with MPEG-2. A lot of the work with MXF EDL style files (OP-2 and OP-3) never really materialized into practical use, so there hasn't been much call for newer codecs in reference files. Maybe on the AAF or IMF side, but I don't deal with editing and mastering much.  
> **username_3**: @username_0 - I like username_1's answer, so I'll not add another for credit. Why the place doesn't ask for .mp4 and .png is another question. There is a ".264" (no h) file extension Format (Elementary Stream), to render modify this command line to suit you: ffmpeg -i file.extension -vcodec libx264 -f h264 test.264  [like username_1 said, it's unlikely they want what they are asking for].  

---

