Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
27th March 2012, 15:25 | #1 | Link | |||
Registered User
Join Date: Nov 2011
Posts: 16
|
iPad 3/HD/2012/"New" h.264 encoder settings
I have searched the forums, particularly for the last two weeks, and have found nothing about this. OK, the new iPad is out and it's got this fabulous high-res display. Unfortunately this is both a blessing and a curse. Many people, myself included, have had problems playing HD 720p, forget 1080p, mkv and avi files smoothly and without audio sync problems. The two players of choice seem to be GoodPlayer and AVPlayerHD. Both have shown this problem. I have GoodPlayer so I'm trying to work with tech support on this issue.
So far their response to the issue is that the iPad 3 performs worse than the iPad 2: Quote:
Quote:
By now (two weeks after iPad 3 launch) someone here has certainly encountered the same problem and, I am hoping, come up with at least a partial solution. What I am looking for is recommendations for x264 parameter settings to encode HD sources to an mkv or mp4 container at 720p frame size that play properly on either of these iPad players. 1080p settings would also be nice but not necessary. I am primarily looking for video settings since audio settings are obvious. Apple gives some vague specs on supported video formats but, clearly, there are encoding parameters that would optimize playback. Quote:
|
|||
28th March 2012, 16:25 | #2 | Link |
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
The hardware is capable of decoding High Profile 1080p30 video at L4.1 with B-frames (B-pyramid is probably supported too), CABAC and at least as many reference frames as you can fit to L4.1. Most other things shouldn't make much of a difference, but you may want to use Blu-ray-compatible settings to play it safe.
If the same video plays ok when muxed to MP4, the problem is not in the H.264 stream but in your player. I doubt there's much you can do about it by changing encoding settings. |
28th March 2012, 16:31 | #3 | Link |
Telewhining
Join Date: Mar 2010
Posts: 272
|
In my experience, matroska support on 3rd party iPad players is pretty bad. I only have an iPad 1 but I've encountered lots of lag, audio sync issues, and other problems. However when muxed to mp4 the iPad can play videos back with hardware acceleration flawlessly. I know it's a lot of work, but I would suggest re-muxing to mp4. The muxer of choice for this is subler which unfortunately only runs on Mac OS. But Yamb also works as does anything with mp4box.
|
28th March 2012, 17:08 | #4 | Link | ||||
Registered User
Join Date: Nov 2011
Posts: 16
|
Quote:
Quote:
Quote:
The developer is very vague about just what it can handle: Quote:
|
||||
28th March 2012, 17:13 | #5 | Link |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
That doesn't look like an official Apple post. Anyone who pays $99 can be a Mac developer; that doesn't mean they know what they're talking about.
The iPad 2 almost surely has a hardware decoder just like all of the previous Apple mobile devices. |
28th March 2012, 17:14 | #6 | Link | ||
Registered User
Join Date: Nov 2011
Posts: 16
|
Quote:
Quote:
|
||
28th March 2012, 21:09 | #8 | Link |
Registered User
Join Date: May 2006
Posts: 957
|
Wasn't it "not happening" due to the problems obeying the GPL when you use Apple's store?
__________________
x264 log explained || x264 deblocking how-to preset -> tune -> user set options -> fast first pass -> profile -> level Doom10 - Of course it's better, it's one more. |
29th March 2012, 03:34 | #9 | Link | ||
Registered User
Join Date: Nov 2011
Posts: 16
|
Quote:
Quote:
|
||
29th March 2012, 03:42 | #10 | Link |
Registered User
Join Date: Nov 2011
Posts: 16
|
It was pulled from the app store for some alleged violation. I had it on my iPod and iPhone but it really sucked out loud. The UI was miserable and playback was poor on anything other than mp4 and avi. There is a newer version available if you want to jailbreak but it's not worth the trouble for me. This app is way better.
At least the developers are responsive. Because of the new audio sync delay problem with the upgrade to iOS 5.1, they have included a delay button on the latest rev, so I have to give them some credit for trying. But in the final analysis, there is no "try", there is only "do". |
29th March 2012, 13:13 | #11 | Link | |
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
Quote:
If you insist, try 720p with CAVLC instead of CABAC and turn deblocking off in the encoder. With x264 you can simply use --tune fastdecode, which also turns off weightb and weightp. 1080p probably can't be played in real time. But I don't see how re-encoding everything to this format would be easier than remuxing to MP4? Edit: The website of the app says that they use the iPod plugin for hardware-accelerated playback of MP4/MOV. So apparently they use pure software decoding for other formats. I wonder if some Apple video component would play a realtime streaming format such as TS, in which case it might be possible to remux MKV on the fly within the device. Last edited by nm; 29th March 2012 at 13:47. |
|
30th March 2012, 05:07 | #12 | Link | |||||||
Registered User
Join Date: Nov 2011
Posts: 16
|
Quote:
As for the resources: Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
|||||||
30th March 2012, 13:25 | #14 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,926
|
It's the same game with Sony only specific container formats supported for Hardware acceleration most compatible would be .mp4 and of course .mov on Apple devices also the PSP had to be broken to use the Hardware acceleration for other Formats not sure how it stands with the Vita currently but i guess Sony is still on the same Trip
__________________
all my compares are riddles so please try to decipher them yourselves :) It is about Time Join the Revolution NOW before it is to Late ! http://forum.doom9.org/showthread.php?t=168004 |
30th March 2012, 13:39 | #15 | Link | |||
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
Quote:
Quote:
For software decoding of 1080p the only option is to use MPEG-4 ASP or MPEG-2 instead of H.264, and I have some doubts that even their MPEG-2 decoder would be fast enough. Quote:
You won't find already encoded files with these parameters because they suck. Personally I'd re-encode those Blu-rays to a format that is supported by Apple's player and avoid wasting disk space with poor encoding settings. |
|||
30th March 2012, 13:44 | #16 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,926
|
1080p isn't possible ? i doubt that as Dark said its a own Decoder core apart from the ARM cpu, and these days 1080p is pretty standard even for all the Chinese Chips
Tegra 3 already broke the 2K barrier
__________________
all my compares are riddles so please try to decipher them yourselves :) It is about Time Join the Revolution NOW before it is to Late ! http://forum.doom9.org/showthread.php?t=168004 Last edited by CruNcher; 30th March 2012 at 13:48. |
30th March 2012, 14:16 | #18 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,926
|
ah ok sorry yeah that could be a problem even with lowest possible complexity i guess on the A5
__________________
all my compares are riddles so please try to decipher them yourselves :) It is about Time Join the Revolution NOW before it is to Late ! http://forum.doom9.org/showthread.php?t=168004 |
30th March 2012, 14:42 | #19 | Link |
Registered User
Join Date: Sep 2005
Location: Moscow, Russia
Posts: 66
|
Hello Gentlemens!
I also trying to find good encoding settings to encode 720p25 and 1080p25 for IPAD 3. But I decided to use MP4 as a container. I started with the following string: x264 --bitrate 7000 --preset veryslow --tune film --vbv-maxrate 10000 --vbv-bufsize 10000 --level 4.1 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 and it seems to play smoothly on IPAD. But during play on IPAD I see blocking on some "fast" frames. What options should I add to this string to make the encoding more adequate? Is it make sence to use --nal-hrd vbr, for example, or --bluray-compat, or to use --keyint parameter, or --open-gop? The second task for me is to add 720p50 to IPAD, but iTunes doesn't allow me to import such mp4 to IPAD. But I know that IPAD CAN play such files because when I added 720p50 video from GoPro camera thrue Camera Connection Kit, IPAD play it smoothly without any problems. So it would be great if you have any suggestions for encoding string for 720p50. |
30th March 2012, 15:25 | #20 | Link | |||
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
Quote:
Higher VBV settings might also be in order. No need to limit the bitrate too much. Quote:
Quote:
Use the same command line as for 1080p encoding. Keyint could be increased to 500 for the same 10 second seek accuracy. |
|||
Thread Tools | Search this Thread |
Display Modes | |
|
|