Codecs for Windows 10,  Windows 7,  Windows 8.1
xbox 360 trials - Printable Version

+- Codecs for Windows 10, Windows 7, Windows 8.1 (http://shark007.net/forum)
+-- Forum: Forum Listing (http://shark007.net/forum/Forum-Forum-Listing)
+--- Forum: ADVANCED Codecs (http://shark007.net/forum/Forum-ADVANCED-Codecs)
+--- Thread: xbox 360 trials (/Thread-xbox-360-trials)



xbox 360 trials - go43cvi - 04-02-2015

After hours of googling and a lot of testing I believe I have found the best case scenario for h.264 on an xbox 360 extender.  

A little background, I'm running an HTPC: i3-3220t 8GB, 10TB, 6 cablecard tuners, AMD HD5450, W8.1 Pro+WMC, Xbox 360s (ethernet), slingbox.  Been trying to get h.264 to play on the xbox (no transcoding) as that would be the best system to have streaming, TV, and local media on one input.  I already have a couple hundred mkvs encoded with handbrake that I don't want to re-encode (quality loss).

So if you google around you'll get all manner of do's, don'ts, will's and won'ts; some good information, but a lot more misleading.  Here's what I've found:
1. You cannot have subs in the container - pretty sure this is true, took a couple working mkvs, added subs, broken. not a huge deal just use external files (easier to spell correct anyway).  but may have to burn in foreign language for xbox.

2. You cannot have hd-audio in the container - somewhat true.  I could not get the downmix to 5.1 working in shark, so my mkvs which typically only have the hd track won't play. However, if I add a 5.1 ac3 as the FIRST audio track, mkv/mp4 plays fine and I can just choose the second hd track when I watch from the htpc on the main tv.  Want to try getting media control working next.  Problem is, the mp4 format is a pita (thanks apple) to add extra audio tracks and I don't believe it can take True-HD like mkv can.

3. There is a max h.264 bitrate that the xbox can handle.  I'm not sure about this one, but I think the answer is not really.  The xbox can handle at most High4.1 profile though.  When MS first added mp4 support in 2007 there was a disclaimer of 10Mbps limit, but maybe that was just for the first gen console or they upped it in a later patch.  People say they can do 15Mbps without issue.  I muxed an episode of Mad Men off a blu-ray, no encoding, to mkv and it plays fine.  Average Bitrate is 27Mbps.

4. Chapters are not supported in the container.  No issues so far, but chapters don't work on the xbox.

5. Cannot seek on the xbox.  For mkvs I can do the 30s fwd/6s back, but that could take a long time.  Also, if you double tap you'll end up at the end or beginning.  I much prefer mkv, but mp4 does allow you to FF/RW (MS codec only? 10x max).  Was thinking about remuxing to mp4, but I don't want to give up True-HD.  So I guess I have to put up with going to the HTPC if I want to seek to a particle time in the movie, and restart on the xbox.  


All in all, not too bad.  It looks like I can keep my high-res mkvs with hd-audio I just have to take out subs, add 5.1 first track, and remux (possibly re-encode) if >High4.1.  I'll have to see how big a deal the FF/RW is, I could create a second copy of each video in mp4/wtv.  But that's pretty unappealing.  Unless I can load external audio in WMC like subs or add longer skips to the FF/RW buttons on the xbox during mkv playback only?  Let me know if you have ideas.

Thank you shark for all the work you put into this codec pack.  It was easy to get it working, just figuring out the files right took a lot of research.  I couldn't count the number of forum posts where the proposed solution was "I don't use WMC use xyz", or "the Xbox can't handle mkv" or "plex is great".  I hope someone else finds this useful. 

 


RE: xbox 360 trials - Shark007 - 04-02-2015

Awesome post. I linkd to it in my Setup and usage page. So, Thanks!
I cant help with Media Control, I have no personal experience. I'm sure you've read the posts by HD-False.

Have you tried using the Play To feature of Windows?
be sure you have enabled Media Streaming in Windows.
Rightclick a Video file and choose Play To, the xbox should be listed.


RE: xbox 360 trials - jfreiman - 04-11-2015

Thanks for starting this thread, I too have come to many of the same conclusions and like you, I have found what works and I've made simple adjustments that allow my videos play (nearly) everywhere.

With regards to stripping out srt tracks from mkv videos...  I came across this thread a while back where a reader created a simple .bat file to strip all mkv files within a set of sub-directories of their captions.

With little to no tweaking, I'm sure you can make it work for you as well.


DelMKVSubs.bat
Quote:rem http://earthwithsun.com/questions/599405/find-all-mkv-files-and-remove-all-subtitles
@echo off
cls
set rootfolder=C:\
echo Enumerating all MKVs under %rootfolder%
echo.
for /r %rootfolder% %%a in (*.mkv) do (
   for /f %%b in ('mkvmerge -i "%%a" ^| find /c /i "subtitles"') do (
       if [%%b]==[0] (
           echo "%%a" has no subtitles
       ) else (
           echo.
           echo "%%a" has subtitles
           mkvmerge -q -o "%%~dpna (No Subs)%%~xa" -S "%%a"
           if errorlevel 1 (
               echo Warnings/errors generated during remuxing, original file not deleted
           ) else (
               del /f "%%a"
               echo Successfully remuxed to "%%~dpna (No Subs)%%~xa", original file deleted
           )
           echo.
       )
   )
)



RE: xbox 360 trials - go43cvi - 04-12-2015

(04-02-2015, 07:57 PM)Shark007 Wrote: Awesome post. I linkd to it in my Setup and usage page. So, Thanks!
I cant help with Media Control, I have no personal experience. I'm sure you've read the posts by HD-False.

Have you tried using the Play To feature of Windows?
be sure you have enabled Media Streaming in Windows.
Rightclick a Video file and choose Play To, the xbox should be listed.
Couldn't get that working, "media type not supported".  But that's ok, everything seems to working fine.

(04-11-2015, 08:26 PM)jfreiman Wrote: Thanks for starting this thread, I too have come to many of the same conclusions and like you, I have found what works and I've made simple adjustments that allow my videos play (nearly) everywhere.
With regards to stripping out srt tracks from mkv videos...  I came across this thread a while back where a reader created a simple .bat file to strip all mkv files within a set of sub-directories of their captions.

With little to no tweaking, I'm sure you can make it work for you as well.
Thanks, that would be handy, but I'm having to re-encode dts to ac3 a lot, so it's pretty much one file at a time.  


RE: xbox 360 trials - DavidinCT - 04-19-2015

I'm no scripting expert but, this looks like a nice option for me as I have a TON of MKV's that I have problems with playing on 360's and a good % of them have subtitles (was ripping like this due to wife is a little hard of hearing) but, on the 360 if they have subtitles, they don't run at all.

Any scripting experts set this so it just replaces the old file with out the (No subs).  I was just going to let lose on my Movies folder but, I would have to go folder by folder to rename each MKV to remove (No Subs).

Can anyone mod it ?

I tried to add a "ren "%%~dpna (No Subs)%%~xa" "%%a" right after the delete but, that was a fail.

Thanks !