How to Convert H264 to MP4/AVI and Play on Computer/DVD

What is H.264/.H264? What are H.264/.H264 video players? How to convert H264 to MP4, AVI, MOV, WMV, etc? How to play H264 on PC, Mac and DVD?

I was appointed to take charge of this video site recently. Under a fact that I knew little about the video field before, I have to do something to get into this industry as fast as possible. I hung out at Yahoo Answers yesterday (September 10, 2013) and came across a question about how to convert and play a H264 file on computer and DVD with a sample H264 file download link attached.

Some of you may have known about video formats including 264, H.264 and H264. But there must be people like me who know little or have never heard of these terms. Anyway, the first thing entering my mind was "What is H264" when I read that question. Next questions are how to play/watch H264 files and convert H264 to MP4, AVI or another popular video format like that guy asked. Well, all these will be discussed in this post. I am not an expert. But I spent several hours on it last afternoon and after reading this post, you will at least be able to convert H264 to MP4/AVI and play the H264 files on PC, DVD or other devices.

What is H.264 (.H264)

h264 iconH.264, together with MPEG-4 Part 10 and AVC, is a standard for video compression/codec and widely used for high quality (HD) video recording, compression and distribution. H.264 codec mostly relates to Blu-ray encoding and decoding and all BD players are required to support H.264 decoding. Other video/source types like streaming videos from YouTube, Vimeo, etc, iTunes store, Adobe Flash PLayer and HDTV broadcasts support H.264 as well.

Among my findings (primarily from the YA asker), there are actually video files come in .H264 format apart from H.264. Video format .H264 is not that common, but DVR (Digital Video Recorder, such as Swann) footage files come in .H264 in many cases.

If you want to create H.264 files yourself, you can use rippers like Nero Recode 2 (NeroDigital AVC), Apple Quicktime and X264 (open source).

How to play H264 files

Publicly recommended H264 player programs include DAPlayer, MediaPlayerLite, VLC, Apple QuickTime, and other mainstream video players with ffdshow DirectShow filter installed (separately). Also, Xbox 360 and PSP are supposed to support H.264. But that does not work in my case. I am testing a .H264 file instead of H.264. If you guys ever tested and found the mentioned program worked, please feel free to leave a comment below.

Badfishlbc introduced a .H264 video player for playing .H264 files from Swann DVR at cctvforum. But that does not work in my case, either.

Anyway, I received no luck after a lot of installations yesterday. In the very end, I astonishedly found a workaround to play the H264 file on my computer by converting H264 file to MP4 or AVI with an amazing tool: YAMB. It is free, light, easy and fast!

Next, I will tell you how to use free YAMB to convert H264 to MP4 or AVI. Fairly simple!

How to convert H264 to MP4, AVI, etc.

First click to download YAMB.

download YAMB fre

The installation file is less than 2 M. Double-click the downloaded .exe file to install.

Step 1: Launch YAMB.

Step 2: Add your H.264 or H264 file to YAMB.

Click "Add" button on the default "Mux" tab to open and add your H.264 or H264 file. You will find the "Output" field turns to MP4 immediately.

Add H264 video files to YAMB

Set the "Files of type" as "All supported Files (*.*)" if your H264 file does not display on the "Open" window.

set "all files" displayed on the "Open" window

Step 3: Click "Mux" button and start the H264 to MP4 conversion.

In seconds (or longer, depends on the source file size), the conversion will be complete. By checking the Yamb log as the screenshot shows below, you will know the muxing finished.

Convert H264 to MP4 completed

Check the results

Switch to the output folder (under the same folder as the source), you will find the MP4 version displayed.

H264 codec to MP4 output

Double-click the converted MP4 file to open with the default video player program on your PC. Here I was playing with Windows Media Player.

play: MP4 output from H264

Now we have successfully converted H.264 (.H264) to MP4. By manually changing the file extension as ".AVI" or "MOV", it is also possible to convert .H264 to AVI or another format for playing on Win, Mac, DVD, iPhone, iPod, iPad, etc. Also, you can burn .H264/H.264 files into DVD or BD discs by using a DVD/BD creator program (after the h264-to-avi or h264-to-mp4 conversion).

Manually set output format on YAMB

More suprises!

If you want a more powerful tool to crop videos, add 3D effects, download YouTube videos or burn the h264 video files to DVD, you can try Video Ultimate converter below.

imElfin Video Ultimate Converter for Mac imElfin Video Ultimate Converter for Win

reply
reply
11/20/2013 01:49:42
it show fail.
reply
11/21/2013 22:33:31

Hi, varinder

What source format your video is, .H264 or any other formats?

ada.

reply
05/21/2014 14:04:20
Thank you so much ! you save my day !
reply
05/21/2014 14:08:03
Thank you so much ! you save my day !
reply
02/7/2015 01:12:31
This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! Keep up the good work.
reply
02/10/2015 07:48:19
I think I will become a great follower.Just want to say your story is striking. The clarity in your post is simply striking and i can take for granted you are an expert on this subject.
reply
03/14/2015 18:43:35

what do I have to do if I gat the message " Muxing failed."
reply
06/12/2015 04:39:54
You have no idea how much I love you lol
I spent hours on Command converting my corrupt MP4 file to a h264 (which although challenging was great to learn for future reference)
Then every website i tried to download with wanted extortionate amounts of money or downloaded a whole load of crap.
Thank you for introducing me to something so simple as Yamb.
You my friend are Genius !!
reply
06/29/2015 03:11:57

thanks fot the info man, i finding this software very usefull, i am using GKB Dvr at <a href="naturesbeautyspa.blogspot.com">my workplace</a> and they want the file output to be played at win media player etc, nice info and thanks

reply
12/26/2015 22:00:14
Click here for the top vitamin c serum currently in stock on the market and at the best price.
reply
01/5/2016 20:19:53
See here for the top anti-aging serum currently available anywhere and reasonably priced.
reply
08/27/2016 02:49:20
its not working at all you layes
reply
12/28/2016 03:46:20
Just throws up an error...Fails to mux
reply
Rating
Name
*
email
Answer
UBB Editor
 
Home
Guide
How to Convert H264 to MP4/AVI and Play on Computer/DVD