2007-05-08, 19:19 | Link #781 | |
Gendo died for your sins.
Fansubber
Join Date: Dec 2005
|
The problem with the whole PS3 thing is that it's incredibly picky about even main profile stuff, and though they might have added high profile for m2ts the tools on the PC side author the stream incorrectly so it doesn't play. The sad thing is, if I take one of my own Sky backups, remux to MP4 and re-encode the audio to LC-AAC, the PS3 will; recognize the file, show the correct length, resolution, audio, filesize etc........ but WON'T play it. The sense, as they say, is unmaking. It's all very well they say the support these things, but if they don't flick the switch...
If you take a AVC m2ts stream decrypted from a Blu-Ray and bung it on there, it'll play. But homebrew authoring barely works for MPEG2, let alone VC1 or AVC which doesn't really work at all. Also AFAIK 4.1 even at High Profile doesn't have certain options that most subbers use (so far I see p4x4? I'm making a big assumption someone would just use "All" for those macroblock options, or some might even use those megui profiles which I think just use Unrestricted? Maybe? Correct me if I'm wrong) so they'd need re-encoding anyway. At least what I encode (and have encoded for Arienai in the past... >_>) doesn't conform to 4.1. Quote:
Really though, how hard can it be to quench peoples thirst when XBMC has been doing it for several years sans [decent] h264 support? |
|
2007-05-08, 19:49 | Link #782 | |
Translator, Producer
Join Date: Nov 2003
Location: Tokyo, Japan
Age: 44
|
Quote:
The level is basically a throughput limit, it limits the resolution, max bitrate, max framerate, etc. It has nothing to do with the p4x4 transform at all. 4.1 has a max resolution of 2048x1024 at 30 fps, which is plenty for any fansub. Actually, I think that my 1280x720 releases are only Level 3.1, although I don't explicitly set that limiting option, I highly doubt with the low bitrates used it crosses any of the limits. High profile is defined to support p4x4 and basically all the options that fansubbers use in x264, see Zero's chart on the previous page. The only things not supported in high profile are options like flexible macroblock ordering and SP and SI slices, which x264 doesn't even implement. So unless Sony simply lies when they say it supports true high profile, or they've purposefully disabled certain things. What you've encoded for me most certainly DOES conform to High Profile Level 4.1, as has almost everything ever encoded for a fansub.
__________________
|
|
2007-05-08, 19:58 | Link #783 | |
Gendo died for your sins.
Fansubber
Join Date: Dec 2005
|
Yeah, basically. Ignore me
Quote:
|
|
2007-05-08, 21:02 | Link #784 | |
Translator, Producer
Join Date: Nov 2003
Location: Tokyo, Japan
Age: 44
|
Quote:
Frankly, I think it'd be easier to wait for them to simply support it in mp4 then figure out how to mux m2ts files with software that barely exists. One thing I'm not too sure about when it comes to level... Is there somewhere in the stream itself that contains the level data? Or is it more of a, "If it conforms the hardware should have no problems playing it, otherwise you're on your own" type thing. I would hate for my encodes not to be played simply because a bit that says "Level XX" wasn't set, even if it does conform to the standards.
__________________
|
|
2007-05-08, 21:44 | Link #785 | ||
Gendo died for your sins.
Fansubber
Join Date: Dec 2005
|
Quote:
Quote:
|
||
2007-05-09, 01:05 | Link #786 | |||||
Two bit encoder
Fansubber
Join Date: Jan 2006
Location: Chesterfield, UK
Age: 39
|
Quote:
Quote:
I find that the majority of SD H.264 falls within level 3.1 or 3.2; less complex encodes may get away with level 3, but on the other hand so called extreme settings in x264 can leave you with level 4 SD H.264. One of the main factors I find is the number of reference frames which pushes up the required decoded picture buffer. I haven't done much HD encoding, mainly because good source is hard to come by (forget upscales, damn waste of time); but that's where it gets interesting. Quote:
Quote:
Quote:
There may even be a tool for messing with bitstream attributes, I'm pretty sure Vqual/Tektronix will have something, but that's mega expensive software aimed at companies developing H.264 codecs. Failing that, it should be quite easy to hex edit the bitstream to change the profile/level to how you want, but I haven't looked that far into it yet, I've only just got my head around basic MPEG-2 attribute editing. I have a feeling that most, if not all hardware or software will pretty much ignore the level in terms of refusing to play it or not, I suspect it will try to play it and either do so, or struggle.
__________________
|
|||||
2007-05-09, 01:40 | Link #787 | |
Translator, Producer
Join Date: Nov 2003
Location: Tokyo, Japan
Age: 44
|
Quote:
I believe that both Blu-ray and HD-DVD players should be able to play h.264 high profile @L4.1, correct? Let's hope that these super-cheap (~$300) next-gen DVD players they are starting to manufacture in China that I've heard rumors of aren't as picky about container formats as the name brands are.
__________________
|
|
2007-05-09, 02:11 | Link #788 |
King of Hosers
Join Date: Dec 2005
Age: 41
|
Sorry for the random off topic'ness... but I simply must know where else you heard that saying n_n!
As I recall MP4Box should by default remove packed bitstream and such nonsense. Making an MP4 with VfW content still inside requires some effort :P. |
2007-05-09, 06:30 | Link #789 | |
Gendo died for your sins.
Fansubber
Join Date: Dec 2005
|
ahoy darkhold kkkrew?
Quote:
EDIT: Tried four samples; 1088p, 1080p, 720p, 400p, none of them work. It recognizes the length but no other info (just like the scene VfW test). Last edited by Eeknay; 2007-05-09 at 06:41. |
|
2007-05-09, 09:52 | Link #792 |
Junior Member
Join Date: Apr 2007
|
Zero1, thatnks for your terrific help! Unfortauntely something's not happening correctly with the files so the output file never appears. After "Extracting MPEG-4 AAC", the "file1.txt" appears with the following info in it:
"09/05/2007 15:46 * Movie Info * Timescale 600 - Duration 00:13:55.880 Fragmented File no - 2 track(s) File Brand mp42 - version 1 Created: GMT Fri Apr 13 14:53:36 2007 File has no MPEG4 IOD/OD Track # 1 Info - TrackID 1 - TimeScale 44100 - Duration 00:13:55.941 Media Info: Language "English" - Type "soun:mp4a" - 36001 samples MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40 MPEG-4 Audio AAC LC - 1 Channel(s) - SampleRate 44100 Self-synchronized Track # 2 Info - TrackID 2 - TimeScale 600 - Duration 00:13:55.880 Media Info: Language "English" - Type "vide:avc1" - 20897 samples MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21 AVC/H264 Video - Visual Size 320 x 180 - Profile Main @ Level 1.2 NAL Unit length bits: 32 Synchronized on stream 1" Thereafter, the batch file window gives me: "file h264parse.exe not found Could Not Find C:\Temp\mp4_research\h264parse\file1_track1.h264 Extracting MPEG-4 AAC file h264parse.exe not found Could Not Find C:\Temp\mp4_research\h264parse\file2_track1.h264 7-Zip 4.42 Copyright (c) 1999-2006 Igor Pavlov 2006-05-14 Error: There are no installed archive handlers" H264parse.exe is definitely there; I can run it manually from the command line. I think it must mean that the file it is looking for is not found.... |
2007-05-09, 12:36 | Link #793 | |
Two bit encoder
Fansubber
Join Date: Jan 2006
Location: Chesterfield, UK
Age: 39
|
Actually the PSP UMD movie discs use H.264 video with ATRAC3 audio... Seems they don't know when to quit.
Quote:
I don't know if you are savvy with batch files, but all you need to do open the batch in a text editor like notepad, and look for the line: Code:
mp4box.exe -raw 1 "file1.mp4" Code:
mp4box.exe -info "file1.mp4" Code:
AVC/H264 Video - Visual Size 320 x 180 - Profile Main @ Level 1.2 Well try encoding it with those suggestions and see if you have any joy. If it does still not work, make the suggested changes to the batch file and see if you can get that output for me again. I think we may have it this time though. Also it's perhaps of little consequence as to whether the file works or not; but I'd suggest cropping the video to 320x176 so it's mod16. Some decoders are known to mess up with odd size resolutions, so I'm just making sure we eliminate as many things as possible.
__________________
|
|
2007-05-09, 19:35 | Link #794 |
makes no files now
Join Date: May 2006
|
I wonder one thing though, even if Sony doesn't support playback of MKV video files, with ASS softsubs, or just some level/profile of h264, there is a workaround (I presume). Since the PS3 allows an OS, Linux in this case, to be installed and booted into, there isn't that much stopping the user from opening that file in mplayer. However, here I don't know how much that Linux distribution (Yellow Dog as official, though FC worked too IIRC) can do when it comes to interfacing with display and sound devices. In addition to that it's not like mplayer is exactly the most user friendly player, more like the opposite (who doesn't like nice clickable buttons...). Then there's the issue of the hardware architecture, in this case mostly the CPU. Can the application take advantage of all those processing units? Is it optimised for it? Not like that would be such an awful problem, you just need to make a few people aware of it and you never know what's around the corner. After all, wasn't x264 already optimised for it to some extent, or least there was an attempt to...
Though I guess this wouldn't really apply to the 360, unless someone already managed to boot Linux on it. I stopped keeping track of all this console stuff lately. Hopefully my post makes some sense... <--- Not fully sober at the time of writing this post
__________________
|
2007-05-09, 19:50 | Link #795 |
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
Now, there are Linux-applications that provide sensible user interfaces for PVR-like applications, it should be possible to get some of those to work. At least if it's possible to get any kind of (reasonably fast) framebuffer graphics mode. Or maybe port XBMC?
__________________
|
2007-05-10, 03:00 | Link #797 | |
Senior Member
Join Date: Jan 2006
|
Quote:
|
|
2007-05-11, 21:29 | Link #798 | ||||
Senior Member
Fansubber
Join Date: Dec 2005
|
Quote:
Quote:
Quote:
Quote:
|
||||
2007-05-12, 01:01 | Link #800 |
Two bit encoder
Fansubber
Join Date: Jan 2006
Location: Chesterfield, UK
Age: 39
|
I don't know about you guys, but I'd prefer to see more quality tweaks and x86 optimisations before wasting time with PS3.
PS3's hardware will never change, so you are stuck with a set CPU speed; however with a nice optimised x86 build, CPUs are always getting faster and you will feel the improvements for years to come. I also doubt you will get the full potential of the PS3 too, since Sony seem to like locking down their hardware.
__________________
|
|
|