News Articles
Movies Software
DivX, XviD, DVD Subtitles Forum
DigiWiki Codecs

Username:
Password:  
Remember Login?
Sign Up
 

Articles - > PS3 H.264 Conversion Guide

Printer Friendly Version Printer Friendly Version

User Rating:
(2 votes)
Details / Vote Now

User Comments:
monzaa: i seem to be having trouble...
More / Post Your Comments

Page Select:

1   2   3   4   5   6   7   8   9   10   Next Page

Categories:

Page 1 of 10: Introduction + Installation

The PlayStation 3, while struggling slightly in the gaming department, is an excellent media player. It supports various video and audio formats, as well as having a built in Blu-ray player. It also supports H.264 playback. H.264 is a very advanced video codec used in Blu-ray/HD DVD, and offers better quality and smaller file sizes than DivX/XviD, at the cost of slightly more processing power (and encoding time). Processing power becomes less of an issue with the powerful PS3, and with H.264, you can encode your own very high quality HD videos. The Xbox 360 also supports H.264 (you can read the Xbox 360 version of this guide here), but the PS3 has one advantage so far and that's support for 5.1 channel AAC sound tracks (the 360 is limited to 2 channel AAC).

Important: There are actually three methods to get H.264 playback going on the PS3. One is to use MP4, but this means its limited to AAC audio and that unless you have an AAC decoding receiver, you will not get 5.1 audio. The second method first makes a MKV (instead of MP4) file with AC3 (instead of AAC) 5.1 audio, and then using the mkv2vob utility to convert that to a VOB file. This strange VOB file (normally they have MPEG-2 video, not H.264 video) will actually play on the PS3, and the advantage is that it can have AC3 or even DTS 5.1 audio and so you get to enjoy 5.1 audio easily. Unfortunately, this type of video file will not allowing seeking. The third method uses newly available tools to create a M2TS transport stream, which will allow AC3 5.1 audio and seeking (but only forward seeking, apparently). The instructions are common for all 3 methods until a certain point the guide (which will contain more information on the 3 methods), where you will then have to choose one of the methods.

Special thanks goes to "Breakthrough" for the M2TS method that he kindly posted on the official PS3 board.

Note that the file produced will have a file size limit of 4 GB if using MP4, so be wary of this limit and split your files accordingly.

Make sure you are able to playback H.264 clips on your computer first. Consult our H.264 Playback Guide if you are unsure.

This guide uses MeGUI to provide the H.264 conversion from a DVD source or from other file formats (AVI/DivX/XviD/MOV/HDMOV - many other formats, such as MPG, are also supported). MeGUI is one of the newer tools that's been designed with H.264 encoding in mind. This guide is very similar to the MeGUI H.264 Conversion Guide, except it simplifies a few things and the H.264/MP4 file produced has PS3 compatibility in mind, and with additional AC3 instructions. It also covers how to stream playback the MP4/VOB file from your computer to your PS3 (the MP4/VOB file sits on your computer, and when the PS3 is connected to the same network, it will be able to share and play the files located on your computer) using the TVersity software.

This guide is aimed at intermediate users that already have some knowledge in regards to video conversion. As such, basic knowledge of things such as framerate and resolution is recommended (and since you are here to experiment with H.264, this assumption is not all that unrealistic). You will also need to know some network basics for PS3 to TVersity connection, such as knowing what your network IP address is, configuring your firewall or port forwarding if your computer is not on the same LAN as your PS3.

Software you'll need (all freeware):

Hardware you'll need:

  • PS3 (with firmware 2.01 or above)

Step 1: Installation

The first thing you need to do before you can even install MeGUI is to download and install Microsoft's .NET Framework version 2.0. It's a fairly large file and installation could take more than half an hour.

The next thing you need to download and install is AviSynth.

You can now go on and download MeGUI.

Install MeGUI. Start it up and most likely, it will prompt you to update the software used by MeGUI - click "Yes" to launch the update Manager.

MeGUI: Update Prompt


MeGUI: Updater


Press the "Update" button to start the update process - MeGUI will automatically download and launch the install for the required software. You will most likely get a "1 file had problems" error, this is because the "neroaacenc" software cannot be downloaded automatically from MeGUI due to copyright reasons (it is freeware, but you need to go through Nero's software agreement first before you can download it). You will need to download NeroAACEnc if you want to encode to AAC audio, so if you are looking for AC3 audio, you can skip the following.

Go to this page, select "Agree" to download the ZIP archive. There are several files in the ZIP archive, but the files we need are NeroAacEnc.exe or NeroAacEnc_SSE.exe. As the name suggest, the "SSE" version is optimized for processors that support SSE instructions (which is most of them, including all Intel Pentium III or newer CPUs and AMD Athlon XPs or newer). Extract one of these .exe files to your "megui\tools\neroaacenc" folder (eg. "c:\program files\megui\tools\neroaacenc\win32\neroaacenc.exe").

When all the updates are completed, you can now close the MeGUI updater.

If you've extracted neroaacenc, you might need to access the "Settings" option from the "Tools" menu, and go to the "Program Paths" section. For "NeroAacEnc", use the browse button to locate where you extracted the neroaacenc executable file (eg. "c:\program files\megui\tools\neroaacenc\win32\neroaacenc.exe"). Press "Save" to close the settings window.

Also, MeGUI often doesn't update to the latest x264 version, so you will have to do this manually. First, from within MeGUI, go to the "Tools" menu and select "Settings". Go to the "Program Paths" section and see where MeGUI accesses the x264.exe file.

Then go to our x264 software page and check the latest version - if it is newer than the version listed in MeGUI, download and save the x264.exe to where MeGUI accesses the x264.exe file to replace the old file (usually c:\program files\megui\tools\x264\x264.exe).

 

 

 


1   2   3   4   5   6   7   8   9   10   Next Page

Article Navigation:

Page 1: Introduction + Installation <--
Page 2: DVD/MPEG-2 Conversion
Page 3: MeGUI: AviSynth Script Creator
Page 4: MeGUI: Video Encoding Options
Page 5: MeGUI: Audio Encoding Options
Page 6: MeGUI: Cutting, Bitrate Calculator and AutoEncode
Page 7: Method 1: MP4 container with AAC audio
Page 8: Method 2: VOB container with AC3/DTS audio
Page 9: Method 3: M2TS (M2T) container with AC3 audio
Page 10: TVersity: Playing the H.264 file on your PS3

Revision History:

Version 2.0:
  • Date Updated: Feb 4, 2008
  • Re-organized the guide and added a third method using M2TS that allows forward seeking and AC3 5.1 audio (thanks to Breakthrough for the method)
Version 1.1:
  • Date Updated: Nov 30, 2007
  • Added instructions for making VOB files (from an MKV file) with H.264 video and AC3 5.1 audio, for 5.1 audio that does not require an AAC decoder
Version 1.0:

User Rating:

  Average Rating: Your Rating:
Registered Users: (2 votes)
Non-Registered Users: (10 votes)

User Comments:

i seem to be having trouble with the v2.6 if MeGUI. anyone else having probs?
Posted by: monzaa, 01:18:26, Dec 14, 2007


This guide worked like a charm when encoding to AAC, however, when selecting the mkv container and AC3, i keep getting a fatal error in MeGUI. "Input and Output files may not be same Source of exception...". Has anyone else seen this. I've tried from the scratch twice now, and always get this error when I push "autoencode". Thanks!
Posted by: skro, 09:29:44, Jan 2, 2008


skro: In AutoEncode, try to set the output file name to be different to any of the input files - try a different directory to save the file if you can
Posted by: DVDGuy, 16:03:37, Jan 2, 2008


I believe that this guide may need updating, or you need to make seperate guides for AAC and AC3 audio streams. The reason? http://boardsus.playstation.com/playstation/board/message?board.id=ps3media&thread.id=96630 I found a way to get seeking to work, but only with AC3 files. And no, this IS NOT the one-step MKV -> VOB way.
Posted by: Breakthrough, 09:07:24, Feb 1, 2008


Thanks Breakthrough, for the heads up. I'm in the process of updating the guide already, and the new version should be available in a few day's time
Posted by: DVDGuy, 12:47:27, Feb 1, 2008


Thanks DVDGuy. Again, the only problem with my method is the lack of any other audio stream (DTS/AAC don't work, but I'm still testing PCM). Also, I haven't tested streaming it with TVersity. Now, for my question to you. In my process, I noted that you HAVE to process the video through H264info (regardless if you set the encoder settings properly). I followed this guide exactly, and got a playable stream - however, it doesn't work in a .M2TS container. The reason? I noticed that, when I put the .264 file right from MeGUI (along with the .AC3 stream) into tsMuxeR, and began to mux them, I got a "frame delimiter absent" error. It still processes, but the resultant stream fails to play; only after processing it with H264info does it work. Do you have any clue why this happens, and how to solve it? I don't know much about MeGUI, so maybe it's an option that only relates to the resultant stream? I couldn't find anything in Google, and it'd be nice to eliminate this step (because, more often than not, it's quite time consuming). Thanks! :)
Posted by: Breakthrough, 03:02:01, Feb 2, 2008


There is an option within x264 for "Access Unit Delimiter" (--aud), which is necessary for storage within MPEG-2 transport streams. Might have to test if enabling this will get rid of the "frame delimiter absent" error
Posted by: DVDGuy, 11:11:11, Feb 2, 2008


Hi There. I have a problem with the audio decoding. I have several movies with the length of almost 2 hours. After decoding the AC3 soundmix, It will sort of stop by 199.1MB. the projected size will decrease to also 199.1 MB. this will happen by al these movies. When i play the audio file it stopped after the same time as the 199.1MB, When i try to decode a movie with only 43 minutes it does work. does anyone knows with is wrong? tnx for the answer. and thanx for the Tut.
Posted by: HardcoreHoolie, 02:32:04, Feb 8, 2008



Comments: