"I want to play h.264 file in VLC. some people suggested me to make changes in .x264 video codec, still, it is not working. Anyone has ideas about how to play h.264 file with VLC?"

"I try to open h264 files that I got from an IP camera on VLC. Files name is < >.h264. Please give me some instructions on how to make it work."

If you also wonder how to use VLC to play H.264 codec files from your CCTV cameras or DVR/NVR security systems, or want to convert h264 files to mp4 format, keep reading!

WAIT! Check out these Special Deals before you leave:

Right now, you can get EXCLUSIVE & BIG discounts on a wide range of Reolink security cameras & systems, wire-free & plugged-in, indoors & outdoors.

Part 1: What Is an H.264 File

Before we tap on the detailed steps about how to play H.264 on the VLC media player, let's first figure out what an H.264 file is.

Simply put, an H.264 file is a video file encoded with H.264 compression, which can provide high quality videos in relatively lower bitrates.

Due to a high compression rate, H.264 codec is widely used in the AVCHD camcorders, HDTV, Blu-ray, and HD DVD.

Part 2: How to Play H.264 Files on VLC

So if you have the CCTV camera footage that is in .h264 format, how can you play the H.264 videos in VLC player via Windows 7/10 or Mac?

Taking Reolink security cameras with very old firmware for example, below are the step-by-step guide (with videos) for you to stream H.264 codec videos on VLC layer.

Step 1: Download the latest VLC version here to get prepared.

Step 2: Launch VLC media player and click "Preferences" under the "Tools" menu.

Tools Preference

Step 3: Hit "All" to show all settings, and select "H264 video demuxer" from "Input/Codecs" > "Demuxers" > "Demux module", next click the "Save" button.

H.264 Video Dumuxer

Step 4: Now you can open and view the H.264 files in VLC media player.

Play H.264 Files on VLC

Watch the video below to learn the detailed steps about how to play H.264 files in VLC.

Part 3: How to Convert H.264 Files to MP4 Supported by VLC

Another effective method to play H.264 videos on VLC is to convert H.264 files to MP4 format first, and then play your CCTV security camera videos on the VLC media player.

Important Note: If you buy Reolink security cameras and systems with the latest firmware versions, the video files will be in .mp4 format. So you don't need to go through the trouble to convert H.264 files to MP4 online.

Here are the simple steps to convert H.264 files to MP4:

Step 1: Download a free H.264 codec file converter for VLC player, such as VSDC Video Converter.

Step 2: Click "Add files" to open the H.264 files you need to convert.

Step 3: Choose "MP4" as the video format you want to convert to.

Step 4: Convert your H.264 files to MP4 and click "save".

After you successfully convert the H.264 files to MP4 format, you will be able to play and view the videos in VLC.

If you find the above instructions helpful to play H.264 codec in VLC player, share the infographic below with your friends or family who might have the same problems.

Play H264 Files on VLC

Part 4: Troubleshooting Tips for VLC Not Playing H.264 Files

"I have a CCTV camera footage that is in .h264 format. The h.264 files not playing in VLC because of some issues. Kindly pls help me out to play this video."

"When I download my security camera video files, it comes in a .264 file but I can't seem to find any video players that can play the .264 file type. VLC could not decode the format h264 either."

In the unfortunate case that the VLC media player doesn't play H.264 codec videos, try out the following troubleshooting tips to fix your issues:

  • Upgrade your VLC media player to the latest version and update VLC codecs.
  • Force H.264 demuxer in VLC preferences: Tools > Preferences > Show settings = All > Input/Codecs \ Demuxers: Demux module [H264 video demuxer].
  • Convert H.264 files to VLC supported codec, like the MP4 format mentioned above. If the VLC won't play after the conversion, download the H.264 plugin as well.
  • Rename the file extension to .mpg and try playing it in VLC to see if it works.

If you have any more questions about how to play or open H.264 format videos in VLC or your VLC won't play H.264 files, please feel free to leave your comment below and we'd love to help.

  • Carol DeLis

    I got the latest update just now and the Preference screens are entirely different from what they were, and these instructions seems to be based on the old version of screens. Help!

  • Barry Piper

    The video converter software mentioned above (Program4Pc Video Converter) is free, but converts only 30% of your file unless you PAY for the full version. That's like a ”free” taxi ride where the driver dumps you on the side of the road at the half-way point unless you pay the full fare.

    • Jenny Hu

      Hi Barry, the software mentioned above is among the most useful tools to convert H.264 files to MP4 format but not the only one choice. You can also try out these online & free converters https://acethinker.com/h264-converter as well. Hope this helps.

    • Jean-Claude Royer

      I use subler (https://subler.org/)

      it seems to work perfectly and it is free
      enjoy
      But I can't directly read .264 file and I try it with various version from two year ago, your trick with the demux h264
      does not work on Mac

  • Dhwani Shah Mehta

    Hi, i tried all the steps mentioned above, but still am unable to play .h264 on vlc

    • Jenny Hu

      Hi, there, could you please specify the problem that you have encountered with screenshots of the error information. We will come back to you in no time after we figure out possible solutions.

      • Justin Bowness

        oh i wish you could help me with playing 264 files its driving me mad on 2 different laptops. 🙁

        Ive followed your guide above step by step and when finally converting the file from 264 to mp4; when opening the file with VLC or one of the 264 free file converters it either just doesnt open the file or if im lucky plays a grey blur screen with no clear image.

        I really dont know what to do...

        • Jenny Hu

          Hello, Justin, please make sure that you are able to play the videos without any problems during live viewing. You may customize video format settings to download h.264 files in MP4 directly. Also, try several other media players to see if they work. Hope this helps.

      • David Gibson

        I did exactly what you said and also am still unable to play
        H.264 files with VLC. With VLC open, I go to the ”Media->Open
        file” menu item. I change the ”Media Files” option on the
        ”Select one or more files to open” window to ”All Files”
        because .h264 files are not shown with the default option (”Media
        Files”). I then double click the file I want to see and the ”Select
        one . . . ” window closes. The VLC screen is still back with the orange
        cone on it. I hit the play icon (right pointing triangle at the bottom left of
        the screen) and the play time briefly goes to 00:00 and an orange flare moves
        quickly across the bar at the bottom (less than a second) intended to show
        where you are in the playing of the video. Can you hep me fix this?

        • Jenny Hu

          Hello, David, please make sure that you have followed step 2 & step 3 and selected h.264 video demuxer in the preference settings. Remember to click "all" at the bottom of the interface to show all settings. Then you may drag and drop the h.264 files directly to VLC and start watching the video. Hope this helps.

          • David Gibson

            https://uploads.disquscdn.com/images/86fb836bbcd38b2455e2681352ec53e4de38ec4da0deb510d003dd3671069ef4.jpg

            Yes, I have done steps two and three as you can see in the captured image above. I tried dragging and dropping files (rather than selecting with a click) and I still get the same result. Any suggestions?

          • Jenny Hu

            Hello, David, you may download the video footage in MP4 format or convert the h.264 files to MP4 before playing the video in VLC player. Also try to play h.264 files on other media players like PotPlayer (we have tested this one and it works). Hope this helps.

          • Lighting

            I have to same issue of play .264 files of from my ftp server. I haven tried PotPlayer for windows 10 and it stating file does not contain any video. Any help here, I only got the system for 2 weeks and I might think of taking the whole NVR and camera and return back to Amazon.

          • Jenny Hu

            Hi there, test if you are able to play the videos without any problems via Reolink Client or FTP server first. You may also try to play h.264 files on different video players like the default media player for windows 10 and VLC player. If this won't work, customize video format settings in the Client to download h.264 files in MP4 format directly. Please let me know if you have any other questions.

  • keyur

    True, as with LibreOffice and Gimp. On those one has to temporarily disable folder protection of windows defender just to install without a hassle.

    https://www.filehippoz.com/vlc-filehippo-free-download/

  • BOBO BEAn

    When I hit
    download vlc codec pack it takes me to 5kplayer site? what is it?

    • Jenny Hu

      Hello BOBO, sorry for the inconvenience. We offer this site for our readers to learn more about the VLC codec pack in the first place. And now we will change the URL with one on how to update VLC codecs. Hope this would clarify. 🙂

  • Amanda Adlem

    Simplest way, if you are using Linux is to open VLC in terminal, and then use the GUI in the normal way.

    • Amanda Adlem

      As long as you have the codecs installed it should play.

  • Jenny Hu

    Hello Megan, you may disable the hardware-accelerated decoding by clicking Tools –> Preference -> Input/Codecs and select "Disable" in Hardware-accelerated decoding section. If this won't work, convert the h.264 files to MP4 before playing the videos in VLC player and also try to play H.264 files on other media players like PotPlayer. Hope this helps.

  • Bfooba Johnson

    This is ridiculous. An mp4 file should play in any modern player without having to jump through hoops, complicated setups, codex downloads or using 'alternative players’. MP4 files from this system do not play. Time to return this system for a full refund – or clearly state what the solution is, with the native mp4 file. It is obviously not a proper mp4 file.

    Feel free to get very complicated with a proper solution.

    • Jenny Hu

      Hi Johnson, please submit a request here, https://support.reolink.com/hc/en-us/requests/new and specify the following in the request so our support team can better locate the issues and offer you assistance: 1) the model of Reolink security system that you have purchased. 2) Do you find any issues when playing back the videos via Reolink Client before you download them to your PC? 3) What type of media player do you use? 4) Have you ever tried to play the MP4 files via default media player of your PC? Our support team will come back to you soon so please check your emails later. 🙂

  • ws250

    stop saying program4pc is free. it's not!

sales

Limited-time

Up to 15% OFF Reolink smart security cameras