Prepare content from TS for Xbox 360
TS files are transport stream files and are found widely on the Internet. Sadly, the Xbox 360 chooses to ignore .TS files when present on a DVD-R disc or any other direct method for playback. If you have a TS file with H264/AVC video with AC3 audio (will work with MP3 also) then this page can help you to take the H264 stream and place it into the MP4 container so it will be recognized by the Xbox 360 console. This page also covers converting multichannel AC3 audio to AAC LC for Xbox 360 support. Unfortunately, a lot of TS files can contain MPEG-2 streams, which aren't supported by Xbox 360 directly (you need Windows Media Center).
Software you need
TS Converter | Used to demux TS files into separate streams. |
MeGUI | Used for AC3 --> AAC LC conversion. |
Nero AAC Files | Used with MeGUI for AAC. |
MP4Box | Command-line tool for creating MP4 files. |
YAMB | GUI for MP4Box. |
h264info | Tool to manipulate H264 video stream for Xbox 360 compliance if necessary. |
WinRAR | Archive Extractor for several of the above downloads. |
Go ahead and install TS Converter, MeGUI and WinRAR. I'll cover the other tools where and when needed.
TS --> MP4 - Step 1 - Demux TS file |
TS Converter

Click File --> Load TS and select your TS file.
TS Converter Video Information

TS Converter Demux Settings

When you have made your selection, click Start Conversion.
Demuxing Process

Success?


TS --> MP4 - Step 2 - Convert audio to AAC LC |
Get Nero AAC encoder and Setup MeGUI


The neroAacEnc_SEE.exe file is specifically for computers that have processors that support SEE2. If your Intel or AMD64 chip does support SEE2, then that's the file we are looking for. If not (or if unsure), then neroAacEnc.exe is what we are looking for.
What to do with them? The idea is to put them into the installation directory of MeGUI. Go ahead and install MeGUI, then either go to its installation directory at its default of C:\Program Files\megui or again, click Start --> All programs --> MeGui. Right click on "MeGUI modern media encoder" and click properties. Click the shortcut tab and then click the Find Target button. This will open the MeGUI installation directory.

If the program crashes, which is a common bug, you may try to deny it Internet access by setting up a fake proxy server in Control Panel --> Internet Options --> Connections tab --> LAN Settings. Do NOT do this if you do not need to, and don't do it if you are currently reading this in Internet Explorer (if you are, get Firefox!). For some reason, the update application with MeGUI has caused myself and some other friends issues when it runs and tries to access the Internet.
One last thing you will definitely need in order to run MeGUI properly is the .NET framework, at least v2.0. Click here to download.
Encode Audio to AAC-LC with MeGUI / Nero AAC encoder

Click the button beside the Audio Input field and locate the AC3, MP3 or other audio file you got from your TS file.


AAC profile should be either set to automatic or AAC LC manually. When you have changed your settings to reflect this, click the OK button. This will take you back to MeGUI, where you should now click the Enqueue button. After you click it, click the Queue tab.

When you are ready, click Start to get the process going.

Once it is completed, go to the folder that you had the original audio file in and you should now find your new MP4 file containing your AAC video stream, ready to be muxed with the original H264/AVC video you got from TSConverter into an MP4 file that should play on the Xbox 360.
Next up we have muxing and possibly a little extra work to be done on the h264 stream to make it 360-ready.
Step 3 - Mux H264/AVC video with AAC LC audio using YAMB/MP4Box |
Setup YAMB with MP4Box

MP4Box is a command line tool and YAMB is a GUI that can utilize MP4Box.exe, making it a lot easier on you to make MP4 files. Now its time to open YAMB.exe.
YAMB/MP4Box

Click the Settings button on the left hand side of YAMB.
Specify location of MP4Box.exe

When you have it selected correctly simply press back until you get to the main YAMB window again. Double click the Click to create an MP4 file with multiple audio, video, subtitles and chapters streams option.
Add Video and Audio stream

If many chapters data is added here from the MP4 file, you can select it and click Delete as it will be useless to the Xbox 360. Now, here is where we determine whether we need to make any more changed to our H264 (video) file before muxing. Please bare with me for a second.
The Xbox 360 does indeed support the H264/AVC video standard inside the MP4 container. However, specifically the Xbox 360 supports AVC up to High Profile (HiP) Level 4.1. Unfortunately, a lot of files that don't need to be, are specified as level 5.1, as seen for example in the accompanying picture. If you try to play these streams on an Xbox 360 as of February 2008, you will get a black screen, even though in 99% of cases the Xbox is more than capable of playing this particular file. Luckily there is a fix for this problem.. or rather a workaround as editing anything like this in an already encoded file is generally not recommended.
Look at the description of my AVC stream. "AVC - MPEG-4 AVC High@L5.1 - 1280 x 720". This is a problem because of the L5.1. Note also that you wont always get level information from this and may actually get a black screen on your Xbox 360 anyway. So if you have up to L4.1, you are OK, but if you have over that, you will have to use a workaround for this problem.
If you need to set the H.264 level of your video file for compliance with the Xbox 360 console, or if you experience a black screen with just audio, then click here to go to an optional page of this guide that covers a workaround for this problem using a tool called h264info. When you are done, click the "Go back to muxing step" link on the page to come right back here.
Step 5 continued
If you just repaired your file, replace the AVC stream loaded into YAMB with the new one created for you by h264info. If not, then just continue on. You may be asked to specify the framerate of your AVC video stream at this point.
AVC Stream Properties

The Muxing Process

When it is finished, check the resulting MP4 file with something like VideoLAN client to make sure you have perfect sync and proper playback (note that HD playback may be poor on older computers). Then burn it to a disc or stream it to your Xbox 360 and see how it plays.
That concludes the instructions for making streams from transport stream files work with the Xbox 360. If you have any questions, please visit our Discussion Forums for help.