Hi all,
I have about 400 ripped DVDs to H264 (using Xillisoft DVD Ripper) and they've always worked just fine in Vista Media Center using the CCCP codec pack (and on the XBox 360 using transcode 360)
Now, I'm using Win 7 and the default microsoft codecs and some of my H264 files dont work in media center or media player, they do work in every other media player on win 7 (VLC, Quicktime, etc)
I have no idea why some files appear broken but others work just fine.
For example, I have 28 Days Later and 28 Weeks Later, Days doesnt work, but Weeks does work. I cant seem to see any difference in the files (other than things like screen resolution [days = 700x400 weeks = 640 x 480] but this isnt the issue as I have working files in both resolutions.
Now this may not be a big deal as I can just download another codec pack for win 7, but my problem is I want to get a Windows Home Server and then stream the movies to my Xbox 360, and I cannot replace the Microsoft H264 codec on the 360 meaning I cannot watch half of my movies.
Now, it's going to be hard for me to send you examples of files because they are ripped DVDs and that would advocate piracy and I cant recreate the problem with Xillisoft DVD ripper as I have no idea what is causing the issue.
Please can someone help me with this, I really don't want to have to re-encode hundreds of files.
Using Media Info, I've exported the following data:
28 Days Later [doesnt work]
GeneralCount : 259Count of stream of this kind : 1Kind of stream : GeneralKind of stream : GeneralStream identifier : 0Inform : MPEG-4 (Base Media): 723 MiB, 1h 48mnCount of video streams : 1Count of audio streams : 1Video_Format_List : AVCVideo_Format_WithHint_List : AVCCodecs Video : AVCAudio_Format_List : AACAudio_Format_WithHint_List : AACAudio codecs : AAC LCComplete name : C:\Users\H\Desktop\28 Days Later.mp4Folder name : C:\Users\H\DesktopFile name : 28 Days LaterFile extension : mp4Format : MPEG-4Format : MPEG-4Format/Extensions usually used : mp4 m4v m4a m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv ismaFormat profile : Base MediaCodec ID : isomCodec ID/Url : http://www.apple.com/quicktime/download/standalone.htmlCodec : MPEG-4Codec : MPEG-4Codec/Extensions usually used : mp4 m4v m4a m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv ismaFile size : 758401539File size : 723 MiBFile size : 723 MiBFile size : 723 MiBFile size : 723 MiBFile size : 723.3 MiBDuration : 6508080Duration : 1h 48mnDuration : 1h 48mn 28s 80msDuration : 1h 48mnDuration : 01:48:28.080Overall bit rate : 932258Overall bit rate : 932 KbpsStream size : 3747113Stream size : 3.57 MiB (0%)Stream size : 4 MiBStream size : 3.6 MiBStream size : 3.57 MiBStream size : 3.574 MiBStream size : 3.57 MiB (0%)Proportion of this stream : 0.00494Encoded date : UTC 1970-01-01 00:00:00Tagged date : UTC 1970-01-01 00:00:00File creation date : UTC 2009-09-08 20:27:14.757File creation date (local) : 2009-09-08 21:27:14.757File last modification date : UTC 2008-04-14 11:33:17.661File last modification date (loc : 2008-04-14 12:33:17.661Comment : QuickTime 6.0 or greaterVideoCount : 146Count of stream of this kind : 1Kind of stream : VideoKind of stream : VideoStream identifier : 0Inform : 800 Kbps, 720*400 (16:9), at 25.000 fps, AVC (Main@L20.0) (CABAC / 1 Ref Frames)ID : 1ID : 1Format : AVCFormat/Info : Advanced Video CodecFormat/Url : http://developers.videolan.org/x264.htmlFormat profile : Main@L20.0Format settings : CABAC / 1 Ref FramesFormat settings, CABAC : YesFormat settings, CABAC : YesFormat settings, ReFrames : 1Format settings, ReFrames : 1 frameCodec ID : avc1Codec ID/Info : Advanced Video CodingCodec ID/Url : http://www.apple.com/quicktime/download/standalone.htmlCodec : AVCCodec : AVCCodec/Family : AVCCodec/Info : Advanced Video CodecCodec/Url : http://developers.videolan.org/x264.htmlCodec/CC : avc1Codec profile : Main@L20.0Codec settings : CABAC / 1 Ref FramesCodec settings, CABAC : YesCodec_Settings_RefFrames : 1Duration : 6508080Duration : 1h 48mnDuration : 1h 48mn 28s 80msDuration : 1h 48mnDuration : 01:48:28.080Bit rate mode : VBRBit rate mode : VariableBit rate : 799684Bit rate : 800 KbpsWidth : 720Width : 720 pixelsHeight : 400Height : 400 pixelsPixel aspect ratio : 1.000Display aspect ratio : 1.800Display aspect ratio : 16:9Rotation : 0.000Frame rate mode : CFRFrame rate mode : ConstantFrame rate : 25.000Frame rate : 25.000 fpsOriginal frame rate : 12.500Original frame rate : 12.500 fpsFrame count : 162702Resolution : 24Resolution : 24 bitsColorimetry : 4:2:0Scan type : ProgressiveScan type : ProgressiveInterlacement : PPFInterlacement : ProgressiveBits/(Pixel*Frame) : 0.111Stream size : 650551218Stream size : 620 MiB (86%)Stream size : 620 MiBStream size : 620 MiBStream size : 620 MiBStream size : 620.4 MiBStream size : 620 MiB (86%)Proportion of this stream : 0.85779Writing library : x264 - core 34Writing library : x264 core 34Writing library/Name : x264Writing library/Version : core 34Encoded date : UTC 1970-01-01 00:00:00Tagged date : UTC 1970-01-01 00:00:00AudioCount : 122Count of stream of this kind : 1Kind of stream : AudioKind of stream : AudioStream identifier : 0Inform : 128 Kbps (64.0 Kbps), 48.0 KHz, 2 channels, AAC (Version 4) (LC)ID : 2ID : 2Format : AACFormat/Info : Advanced Audio CodecFormat version : Version 4Format profile : LCFormat settings, SBR : NoFormat settings, SBR : NoCodec ID : 40Codec : A_AAC/MPEG4/LCCodec : AAC LCCodec/Family : AACCodec/Info : AAC Low ComplexityCodec/CC : 40Duration : 6508010Duration : 1h 48mnDuration : 1h 48mn 28s 10msDuration : 1h 48mnDuration : 01:48:28.010Bit rate mode : CBRBit rate mode : ConstantBit rate : 127969Bit rate : 128 KbpsNominal bit rate : 64000Nominal bit rate : 64.0 KbpsChannel(s) : 2Channel(s) : 2 channelsChannel positions : L RChannel positions : 2/0Sampling rate : 48000Sampling rate : 48.0 KHzSamplingCount : 312384480Resolution : 16Resolution : 16 bitsStream size : 104103208Stream size : 99.3 MiB (14%)Stream size : 99 MiBStream size : 99 MiBStream size : 99.3 MiBStream size : 99.28 MiBStream size : 99.3 MiB (14%)Proportion of this stream : 0.13727Encoded date : UTC 1970-01-01 00:00:00Tagged date : UTC 1970-01-01 00:00:00
28 Weeks Later [Does Work]
GeneralCount : 259Count of stream of this kind : 1Kind of stream : GeneralKind of stream : GeneralStream identifier : 0Count of video streams : 1Count of audio streams : 1Video_Format_List : AVCVideo_Format_WithHint_List : AVCCodecs Video : AVCAudio_Format_List : AACAudio_Format_WithHint_List : AACAudio codecs : AAC LCComplete name : C:\Users\H\Desktop\28 Weeks Later.mp4Folder name : C:\Users\H\DesktopFile name : 28 Weeks LaterFile extension : mp4Format : MPEG-4Format : MPEG-4Format/Extensions usually used : mp4 m4v m4a m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv ismaFormat profile : Base MediaCodec ID : isomCodec ID/Url : http://www.apple.com/quicktime/download/standalone.htmlCodec : MPEG-4Codec : MPEG-4Codec/Extensions usually used : mp4 m4v m4a m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv ismaFile size : 663521559File size : 633 MiBFile size : 633 MiBFile size : 633 MiBFile size : 633 MiBFile size : 632.8 MiBDuration : 5758920Duration : 1h 35mnDuration : 1h 35mn 58s 920msDuration : 1h 35mnDuration : 01:35:58.920Overall bit rate : 921730Overall bit rate : 922 KbpsStream size : 3315497Stream size : 3.16 MiB (0%)Stream size : 3 MiBStream size : 3.2 MiBStream size : 3.16 MiBStream size : 3.162 MiBStream size : 3.16 MiB (0%)Proportion of this stream : 0.00500Encoded date : UTC 1970-01-01 00:00:00Tagged date : UTC 1970-01-01 00:00:00File creation date : UTC 2009-09-08 20:34:20.287File creation date (local) : 2009-09-08 21:34:20.287File last modification date : UTC 2007-11-24 21:32:38.918File last modification date (loc : 2007-11-24 22:32:38.918Comment : QuickTime 6.0 or greaterVideoCount : 146Count of stream of this kind : 1Kind of stream : VideoKind of stream : VideoStream identifier : 0ID : 1ID : 1Format : AVCFormat/Info : Advanced Video CodecFormat/Url : http://developers.videolan.org/x264.htmlFormat profile : Main@L3.2Format settings : CABAC / 1 Ref FramesFormat settings, CABAC : YesFormat settings, CABAC : YesFormat settings, ReFrames : 1Format settings, ReFrames : 1 frameCodec ID : avc1Codec ID/Info : Advanced Video CodingCodec ID/Url : http://www.apple.com/quicktime/download/standalone.htmlCodec : AVCCodec : AVCCodec/Family : AVCCodec/Info : Advanced Video CodecCodec/Url : http://developers.videolan.org/x264.htmlCodec/CC : avc1Codec profile : Main@L3.2Codec settings : CABAC / 1 Ref FramesCodec settings, CABAC : YesCodec_Settings_RefFrames : 1Duration : 5758920Duration : 1h 35mnDuration : 1h 35mn 58s 920msDuration : 1h 35mnDuration : 01:35:58.920Bit rate mode : VBRBit rate mode : VariableBit rate : 789158Bit rate : 789 KbpsWidth : 640Width : 640 pixelsHeight : 480Height : 480 pixelsPixel aspect ratio : 1.000Display aspect ratio : 1.333Display aspect ratio : 4:3Rotation : 0.000Frame rate mode : CFRFrame rate mode : ConstantFrame rate : 25.000Frame rate : 25.000 fpsOriginal frame rate : 12.500Original frame rate : 12.500 fpsFrame count : 143973Resolution : 24Resolution : 24 bitsColorimetry : 4:2:0Scan type : ProgressiveScan type : ProgressiveInterlacement : PPFInterlacement : ProgressiveBits/(Pixel*Frame) : 0.103Stream size : 568087011Stream size : 542 MiB (86%)Stream size : 542 MiBStream size : 542 MiBStream size : 542 MiBStream size : 541.8 MiBStream size : 542 MiB (86%)Proportion of this stream : 0.85617Writing library : x264 - core 34Writing library : x264 core 34Writing library/Name : x264Writing library/Version : core 34Encoded date : UTC 1970-01-01 00:00:00Tagged date : UTC 1970-01-01 00:00:00AudioCount : 122Count of stream of this kind : 1Kind of stream : AudioKind of stream : AudioStream identifier : 0ID : 2ID : 2Format : AACFormat/Info : Advanced Audio CodecFormat version : Version 4Format profile : LCFormat settings, SBR : NoFormat settings, SBR : NoCodec ID : 40Codec : A_AAC/MPEG4/LCCodec : AAC LCCodec/Family : AACCodec/Info : AAC Low ComplexityCodec/CC : 40Duration : 5758848Duration : 1h 35mnDuration : 1h 35mn 58s 848msDuration : 1h 35mnDuration : 01:35:58.848Bit rate mode : CBRBit rate mode : ConstantBit rate : 127969Bit rate : 128 KbpsNominal bit rate : 64000Nominal bit rate : 64.0 KbpsChannel(s) : 2Channel(s) : 2 channelsChannel positions : L RChannel positions : 2/0Sampling rate : 48000Sampling rate : 48.0 KHzSamplingCount : 276424704Resolution : 16Resolution : 16 bitsStream size : 92119051Stream size : 87.9 MiB (14%)Stream size : 88 MiBStream size : 88 MiBStream size : 87.9 MiBStream size : 87.85 MiBStream size : 87.9 MiB (14%)Proportion of this stream : 0.13883Encoded date : UTC 1970-01-01 00:00:00Tagged date : UTC 1970-01-01 00:00:00
If you're going to stream from WHS to your Xbox then you need to have files that confirm to the abilities of the Xbox decoder. These are described here:
http://blogs.msdn.com/xboxteam/archive/2007/11/30/december-2007-video-playback-faq.aspx
One difference I've spotted in your files is that 28 Days has a video profile of Main@ L20.0 where 28 Weeks has a video profile of Main@ L3.2. The Xbox decoder can handle up to L4.1. L20.0 seems a little erroneous.
I don't know the limitations of the Win7 decoder to know if that could be causing an issue there as well.
Win7 Ultimate RTM x86 | AMD64X2 3600+ | 3Gb Ram | 4Tb HDD | ATI4650 | Hauppauge PVR150 - Virgin Media cable | Peak dual DVB-T - Freeview | Pig ugly big black case | Xbox 360 wired extender | Samsung Omnia 7
How can I change my video profile of a file from Main@L20.0 to Main@L3.2 (or within the range allowed)?
I've tried WHS 90 day trial in a VM and it streamed 28 Weeks Later perfectly fine, but failed with 28 Days later (as long as i renamed the files to .avi rather than .mp4)
The files work in every other player (using alternative codecs) they just fail when using the Microsoft H264 codec.
thestonefox How can I change my video profile of a file from Main@L20.0 to Main@L3.2 (or within the range allowed)?
Sorry, I don't know if this can be done without re-encoding the video.
thestonefox I've tried WHS 90 day trial in a VM and it streamed 28 Weeks Later perfectly fine, but failed with 28 Days later (as long as i renamed the files to .avi rather than .mp4)
With XP/Vista there was a registry tweak required so that mp4 files would be added to the WMP library for streaming. Again, not sure if that would work with WHS. But if just renaming works, then that's probably easier.
I've checked a few more of the movies that wont play and they all seem to have a video profile of Main@L20.0
So I'm guessing this is the problem.
How come they all work in every other movie player but they dont work in the Microsoft codec?
I have no idea what the Main@L20.0 means and how I even set it to that in the first place when ripping from Xiilisoft DVD ripper.
I have about 250 films with this Main@L20.0 thing, I really dont want to have to re-encode them all :( isnt there a way of remuxing or something and changing it?
Anyone have a clue about these video profile things and how/if I can change them somehow in a file?
You can change the level with TSmuxer.
Hi Thanks for the link.
However, That tsMuxer only seems to allow me to export to .ts files?
I want to output back to h264 mp4 files. I can see it will extract the audio and video streams but no way of auto putting back into mp4.
By the way, changing the level from 20 to 3.2 and exporting out as .ts means the files now play on windows 7 :D
But........ I found a more techy way of doing it! Hex editing :)
I found this link http://www.ode2.com/?p=12 and i've followed the instructions and edited the hex of the profile from 20 down to 3.2 and the mp4 files work :)
But, I'm not looking forward to hex editing a couple of hundred files :p so if I can get a batch way of doing it, I'll be very happy.
FYI, this is what I did in the Hex Editor:
Searched for avcC (hex: 61 76 63 43) and then that is followed by 4 hex number 00 4D 00 C8
00 is just a spacer
4D 00 C8 is the profile and level
Main L20
so then i just did a find and replace for 4D 00 C8 for 4D 00 20
this changes the level to 3.2 and now streams fine to the xbox and works fine in win 7 :)