Limit the Video Bitrate for AppleTV

Discuss encoding for devices and presets.
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
jbjoret
Enlightened
Posts: 100
Joined: Sat Feb 16, 2008 12:08 pm

Limit the Video Bitrate for AppleTV

Post by jbjoret »

Hi,

I have been very successfully converting videos (BD source) to 1280x720 for my AppleTV for month now, but I started to see my first issue this week. I used to set 4500 as avg. bitrate and had to go down to 4000 because of "Tropic Thunder" where the maximum bitrate would exeed the maximum allowed by the AppleTV (This worked). Now I have a movie that goes over the limit, even if I use 3500. I need a way to tell Handbrake or x264 to limit the maximum bitrate. Can anybody help in this ? Anybody having the same issue.

Thx
rhester
Veteran User
Posts: 2888
Joined: Tue Apr 18, 2006 10:24 pm

Re: Limit the Video Bitrate for AppleTV

Post by rhester »

Search the forums for vbv-maxrate or just use the preset.

Rodney
xmayer
Posts: 1
Joined: Sat Mar 28, 2009 1:12 pm

Re: Limit the Video Bitrate for AppleTV

Post by xmayer »

Hi rhester,

it would be nice to get the settings you are using.
I am still looking for some "real" 720p settings to use. Could you tell us your ettings about VBR and advanced?


xmayer
jbjoret
Enlightened
Posts: 100
Joined: Sat Feb 16, 2008 12:08 pm

Re: Limit the Video Bitrate for AppleTV

Post by jbjoret »

I wish I could use the preset, but the preset limits the resolution to 960. Could not find any reference to vbv-maxrate except this entry. I will try to look into the x264 documentation and see if I can just add vbv-maxrate=6000 in the advanced options.
jbjoret
Enlightened
Posts: 100
Joined: Sat Feb 16, 2008 12:08 pm

Re: Limit the Video Bitrate for AppleTV

Post by jbjoret »

Hi xmayer, I was using the standard preset, changed the video bitrate to 4000 and the resolution to 1280xXXX that works wonderfully, at least until now. But I need a way to limit the maximum Bitrate, since 4000 is an average, and some movies seem to be going over 6000. Maybe a "BD to AppleTV" profile would be a good solution. At leat I would find this a great solution.
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: Limit the Video Bitrate for AppleTV

Post by dynaflash »

Does *anyone* want to post an activity log (as instructed) about a problem encode ?? For a blue ray or hd source try dropping the crf to 55 instead of trying vbv.

The atv does not have a 6000 kbps video bitrate limit. It can handle spikes up to 13,000 kbps ( not to say that could not be surpassed given an hd source and the current atv preset).

Otherwise, if you want to try to cap the bitrate spikes try something like:

Code: Select all

vbv-maxrate=5500:vbv-bufsize=4500
And go from there. Though expect a crappy picture when the source calls for more bitrate and you cap it like that. Personally I would rather drop the quality % from 59 to something like 56 or 57 just for those troubled HD sources.
jbjoret
Enlightened
Posts: 100
Joined: Sat Feb 16, 2008 12:08 pm

Re: Limit the Video Bitrate for AppleTV

Post by jbjoret »

dynaflash wrote:Does *anyone* want to post an activity log (as instructed) about a problem encode ?? For a blue ray or hd source try dropping the crf to 55 instead of trying vbv.

The atv does not have a 6000 kbps video bitrate limit. It can handle spikes up to 13,000 kbps ( not to say that could not be surpassed given an hd source and the current atv preset).

Otherwise, if you want to try to cap the bitrate spikes try something like:

Code: Select all

vbv-maxrate=5500:vbv-bufsize=4500
And go from there. Though expect a crappy picture when the source calls for more bitrate and you cap it like that. Personally I would rather drop the quality % from 59 to something like 56 or 57 just for those troubled HD sources.
I started to encode one of those Problem BD with 4000 like I usually do with level 2 logs. I will post the results when it is finished in about 12 hours. By the way I tried to convert Tropic Thunder with CRF 58 .. the movie was almost 8 GB in the end with 1280x720 an iTunes would not accept to sync with the ATV. When you use the same settings with WALL-E the result file was a little more than 2,5GB.
jbjoret
Enlightened
Posts: 100
Joined: Sat Feb 16, 2008 12:08 pm

Re: Limit the Video Bitrate for AppleTV

Post by jbjoret »

While writting my last update, I was wondering why on earth Handbrake would tell me that it needed over 11 Hours to encode a Movie at 9,5 fps at average. I checked the two movies making problems and finally found something interesting. The reason why those movies don't work, is because I am using "FPS same as source", and Handbrake detects 48 fps on those BD images. That explains why iTunes don't want to sync with my ATV. I have now set 24 Manually, and it will convert much faster. But I am worried about one thing. Should I actually use 24 fps or 23,976 ? What is the standard on Blu-Ray ?
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: Limit the Video Bitrate for AppleTV

Post by dynaflash »

of course as I said once before an activity log from one of these trouble sources would have shown alot of things which could be pointed out. next post include one. Otherwise this is a total waste of time.
nathug
Bright Spark User
Posts: 204
Joined: Fri Apr 11, 2008 10:21 pm

Re: Limit the Video Bitrate for AppleTV

Post by nathug »

jbjoret wrote:When you use the same settings with WALL-E the result file was a little more than 2,5GB.
Just to help you out a little. My version of Wall-E converted from Blu-Ray, using the AppleTV preset set at 57%, and the video size boosted to 1280x???? (ends us at 1264x528) for AppleTV HD. My file size is 1.8gb.

Nate
jbjoret
Enlightened
Posts: 100
Joined: Sat Feb 16, 2008 12:08 pm

Re: Limit the Video Bitrate for AppleTV

Post by jbjoret »

I reencoded 1 Minute of "Quantum Of Solace", this one will not sync with the AppleTV and the reason is the same reason I mentionned previously, Handbrake detects 48 FPS as source FPS and uses this (because my settings are "Same as souce"). I had this same issue with Saw. If I use other tools like tsMuxer, it will find 24000/1001 FPS for the source. Hopefully you will see something in the log. Let me know if you need anything else.

Code: Select all

HandBrake Activity Log for /Users/chaplin1/Desktop/Quantum Of Solace_test.m4v: 2009-03-30 20:50:53 +0200
Handbrake Version: svn2284 i386 (2009032901)

[20:50:53] macgui: Rip: No pending jobs, so sending this one to doAddToQueue
[20:50:53] macgui: Rip: Going right to performNewQueueScan
[20:50:53] macgui: scanning specifically for title: 1
[20:50:53] macgui: performNewQueueScan currentQueueEncodeIndex is: 0
[20:50:53] hb_scan: path=/Users/chaplin1/Movies/burnme/Quantum Of Solace_split.split.2.m2ts, title_index=1
[20:50:53] thread b066c000 started ("scan")
[20:50:53] scan: trying to open with libdvdread
[20:50:53] dvd: not a dvd - trying as a stream/file instead
[20:50:53] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[20:50:53] hb_ts_stream_find_pids - found the following PIDS
[20:50:53]     Video PIDS : 
[20:50:53]       0x1011 type H.264 (0x1b)
[20:50:53]     Audio PIDS : 
[20:50:53]       0x1100 type AC-3 (0x81)
[20:50:53] transport stream pid 0x1100 (type 0x81) may be AC-3 audio (id 0x1)
[20:50:53] scan: decoding previews for title 1
[20:50:53] scan: preview 1
[20:50:53] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[h264 @ 0x18a1000]non-existing SPS 0 referenced in buffering period
[h264 @ 0x18a1000]non-existing PPS referenced
[h264 @ 0x18a1000]non-existing SPS 0 referenced in buffering period
[h264 @ 0x18a1000]B picture before any references, skipping
[h264 @ 0x18a1000]decode_slice_header error
[h264 @ 0x18a1000]B picture before any references, skipping
[h264 @ 0x18a1000]decode_slice_header error
[..... LOTS of those errors ... 
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 32 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]non-existing PPS referenced
[h264 @ 0x1980400]non-existing SPS 0 referenced in buffering period
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[h264 @ 0x1980400]B picture before any references, skipping
[h264 @ 0x1980400]decode_slice_header error
[20:50:58] scan: preview 16
[h264 @ 0x19c9a00]non-existing SPS 32 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]non-existing SPS 32 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing SPS 0 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]non-existing SPS 0 referenced in buffering period
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing SPS 32 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]non-existing SPS 32 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing SPS 0 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]non-existing SPS 0 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing SPS 31 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]non-existing SPS 31 referenced in buffering period
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing SPS 0 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]non-existing SPS 0 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing SPS 32 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]non-existing SPS 32 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing SPS 0 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]non-existing SPS 0 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing SPS 32 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]non-existing SPS 32 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing SPS 0 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]non-existing SPS 0 referenced in buffering period
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing SPS 32 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]non-existing SPS 32 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]non-existing SPS 0 referenced in buffering period
[h264 @ 0x19c9a00]non-existing PPS referenced
[h264 @ 0x19c9a00]non-existing SPS 0 referenced in buffering period
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[h264 @ 0x19c9a00]B picture before any references, skipping
[h264 @ 0x19c9a00]decode_slice_header error
[20:50:58] scan: preview 17
[h264 @ 0x198a200]non-existing SPS 32 referenced in buffering period
[h264 @ 0x198a200]non-existing PPS referenced
[h264 @ 0x198a200]non-existing SPS 32 referenced in buffering period
[h264 @ 0x198a200]non-existing PPS referenced
[h264 @ 0x198a200]decode_slice_header error
[h264 @ 0x198a200]non-existing PPS referenced
[h264 @ 0x198a200]decode_slice_header error
[h264 @ 0x198a200]non-existing PPS referenced
[h264 @ 0x198a200]decode_slice_header error
[h264 @ 0x198a200]non-existing PPS referenced
[h264 @ 0x198a200]decode_slice_header error
[h264 @ 0x198a200]non-existing SPS 0 referenced in buffering period
[h264 @ 0x198a200]non-existing PPS referenced
[h264 @ 0x198a200]non-existing SPS 0 referenced in buffering period
[h264 @ 0x198a200]B picture before any references, skipping
[h264 @ 0x198a200]decode_slice_header error
[h264 @ 0x198a200]B picture before any references, skipping
[h264 @ 0x198a200]decode_slice_header error
[h264 @ 0x198a200]B picture before any references, skipping
[h264 @ 0x198a200]decode_slice_header error
[h264 @ 0x198a200]B picture before any references, skipping
[h264 @ 0x198a200]decode_slice_header error
[20:50:59] scan: preview 18
[20:50:59] hb_ts_stream_decode - eof
[20:50:59] Warning: Could not read data for preview 18, skipped
[20:50:59] scan: preview 19
[20:50:59] hb_ts_stream_decode - eof
[20:50:59] Warning: Could not read data for preview 19, skipped
[20:50:59] scan: preview 20
[20:50:59] hb_ts_stream_decode - eof
[20:50:59] Warning: Could not read data for preview 20, skipped
[20:50:59] scan: 17 previews, 1920x1080, 47.952 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[20:50:59] scan: title (0) job->width:1936, job->height:1088
[20:50:59] thread b066c000 exited ("scan")
[20:50:59] thread b066c000 joined ("scan")
[20:50:59] libhb: scan thread found 1 valid title(s)
[20:50:59] macgui: ScanDone state received from fQueueEncodeLibhb
[20:50:59] macgui: processNewQueueEncode title list is: 1
[20:50:59] macgui: Preset: Custom
[20:50:59] macgui: processNewQueueEncode number of passes expected is: 1
[20:50:59] macgui: prepareJob audiotrack 2 is: 0
[20:50:59] macgui: prepareJob exiting
[20:50:59] thread b066c000 started ("work")
[20:50:59] 1 job(s) to process
[20:50:59] starting job
[20:50:59] job configuration:
[20:50:59]  * source
[20:50:59]    + /Users/chaplin1/Movies/burnme/Quantum Of Solace_split.split.2.m2ts
[20:50:59]    + title 1, chapter(s) 1 to 1
[20:50:59]  * destination
[20:50:59]    + /Users/chaplin1/Desktop/Quantum Of Solace_test.m4v
[20:50:59]    + container: MPEG-4 (.mp4 and .m4v)
[20:50:59]      + 64-bit formatting
[20:50:59]  * video track
[20:50:59]    + decoder: h264
[20:50:59]      + bitrate 200 kbps
[20:50:59]    + frame rate: same as source (around 47.952 fps)
[20:50:59]    + dimensions: 1920 * 1080 -> 1280 * 720, crop 0/0/0/0
[20:50:59]    + encoder: x264
[20:50:59]      + options: level=30:cabac=0:ref=3:mixed-refs=1:bframes=6:weightb=1:direct=auto:no-fast-pskip=1:me=umh:subq=7:analyse=all
[20:50:59]      + bitrate: 4000 kbps, pass: 0
[20:50:59]  * audio track 0
[20:50:59]    + decoder: English (AC3) (5.1 ch) (track 1, id 1)
[20:50:59]      + bitrate: 448 kbps, samplerate: 48000 Hz
[20:50:59]    + mixdown: Dolby Pro Logic II
[20:50:59]    + dynamic range compression: 1.000000
[20:50:59]    + encoder: faac
[20:50:59]      + bitrate: 160 kbps, samplerate: 48000 Hz
[20:50:59]  * audio track 1
[20:50:59]    + decoder: English (AC3) (5.1 ch) (track 1, id 1)
[20:50:59]      + bitrate: 448 kbps, samplerate: 48000 Hz
[20:50:59]    + AC3 passthrough
[20:50:59] dvd: not a dvd - trying as a stream/file instead
[20:50:59] thread b08a6000 started ("reader")
[20:50:59] thread b0928000 started ("Video decoder (libavcodec)")
[20:50:59] reader: first SCR 75569092
[20:50:59] thread b09aa000 started ("Renderer")
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing SPS 32 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 32 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing SPS 31 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 31 referenced in buffering period
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing SPS 31 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 31 referenced in buffering period
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing SPS 31 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 31 referenced in buffering period
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing SPS 31 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 31 referenced in buffering period
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing SPS 32 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 32 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing SPS 32 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 32 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]non-existing PPS referenced
[h264 @ 0x197f800]non-existing SPS 0 referenced in buffering period
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[h264 @ 0x197f800]B picture before any references, skipping
[h264 @ 0x197f800]decode_slice_header error
[20:50:59] encx264: keyint-min: 48, keyint-max: 480
[20:50:59] encx264: opening libx264 (pass 0)
x264 [warning]: frame MB size (80x45) > level limit (1620)
x264 [warning]: DPB size (3 frames, 4147200 bytes) > level limit (2 frames, 3110400 bytes)
x264 [warning]: MB rate (172627) > level limit (40500)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile Main, level 3.0
[20:50:59] thread b0a86000 started ("H.264/AVC encoder (libx264)")
No accelerated IMDCT transform found
[20:50:59] thread b0b8a000 started ("AC3 decoder")
[20:50:59] thread b0c0c000 started ("AAC encoder (libfaac)")
No accelerated IMDCT transform found
[20:50:59] thread b0c8e000 started ("AC3 decoder")
[20:50:59] thread b0d10000 started ("muxer")
[20:50:59] sync: expecting 2615 video frames
[20:50:59] sync: first pts is 60060
[20:50:59] muxmp4: using 64-bit MP4 formatting.
[20:50:59] muxp4: disabled extra audio track 2
[20:54:11] hb_ts_stream_decode - eof
[20:54:12] stream: 1434 good frames, 0 errors (0%)
[20:54:12] reader: done. 1 scr changes
[20:54:12] thread b08a6000 exited ("reader")
[20:54:57] sync: got 1417 frames, 2615 expected
[20:54:57] work: average encoding speed for job is 5.970490 fps
[20:55:02] mux: file size, 34934604 bytes
[20:55:02] mux: track 0, 30347727 bytes, 4060.65 kbps
[20:55:02] mux: video bitrate error, +453277 bytes
[20:55:02] mux: track 1, 1194863 bytes, 159.88 kbps
[20:55:02] mux: track 2, 3343872 bytes, 447.42 kbps
[20:55:02] mux: overhead, 6.39 bytes per frame
[20:55:02] thread b0d10000 exited ("muxer")
[20:55:02] thread b0d10000 joined ("muxer")
[20:55:02] thread b0b8a000 exited ("AC3 decoder")
[20:55:02] thread b0c8e000 exited ("AC3 decoder")
[20:55:02] thread b09aa000 exited ("Renderer")
[20:55:02] thread b0928000 exited ("Video decoder (libavcodec)")
[20:55:02] thread b0c0c000 exited ("AAC encoder (libfaac)")
[20:55:02] thread b0928000 joined ("Video decoder (libavcodec)")
[20:55:02] h264-decoder done: 1418 frames, 15 decoder errors, 0 drops
[20:55:02] thread b0a86000 exited ("H.264/AVC encoder (libx264)")
[20:55:02] thread b09aa000 joined ("Renderer")
[20:55:02] render: lost time: 0 (0 frames)
[20:55:02] render: gained time: 0 (0 frames) (0 not accounted for)
[20:55:02] fifo_close: trashing 0 buffer(s)
[20:55:02] fifo_close: trashing 0 buffer(s)
[20:55:02] thread b0a86000 joined ("H.264/AVC encoder (libx264)")
x264 [info]: slice I:15    Avg QP:15.05  size: 67942  PSNR Mean Y:50.60 U:51.84 V:55.52 Avg:50.22 Global:48.09
x264 [info]: slice P:2743  Avg QP:19.11  size: 10676  PSNR Mean Y:46.27 U:49.77 V:50.97 Avg:47.21 Global:46.04
x264 [info]: slice B:110   Avg QP:19.35  size:   405  PSNR Mean Y:51.88 U:51.79 V:55.86 Avg:50.63 Global:48.34
x264 [info]: consecutive B-frames: 95.4%  0.0%  0.2%  0.0%  0.2%  0.0%  4.2%
x264 [info]: mb I  I16..4: 52.3%  0.0% 47.7%
x264 [info]: mb P  I16..4:  0.9%  0.0%  1.3%  P16..4: 33.4%  8.9%  3.6%  0.0%  0.1%    skip:51.7%
x264 [info]: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  7.5%  0.0%  0.0%  direct: 0.0%  skip:92.4%  L0: 2.0% L1:98.0% BI: 0.0%
x264 [info]: final ratefactor: 24.74
x264 [info]: direct mvs  spatial:90.0%  temporal:10.0%
x264 [info]: ref P L0  71.0% 13.2% 15.9%
x264 [info]: ref B L0  84.8% 15.2%
x264 [info]: SSIM Mean Y:0.9785694
x264 [info]: PSNR Mean Y:46.508 U:49.862 V:51.181 Avg:47.353 Global:46.116 kb/s:4059.17
[20:55:02] thread b0b8a000 joined ("AC3 decoder")
[20:55:02] thread b0c0c000 joined ("AAC encoder (libfaac)")
[20:55:02] thread b0c8e000 joined ("AC3 decoder")
[20:55:02] thread b08a6000 joined ("reader")
[20:55:02] fifo_close: trashing 0 buffer(s)
[20:55:02] fifo_close: trashing 1 buffer(s)
[20:55:02] fifo_close: trashing 0 buffer(s)
[20:55:02] fifo_close: trashing 0 buffer(s)
[20:55:02] fifo_close: trashing 0 buffer(s)
[20:55:02] fifo_close: trashing 0 buffer(s)
[20:55:02] fifo_close: trashing 0 buffer(s)
[20:55:02] fifo_close: trashing 0 buffer(s)
[20:55:02] fifo_close: trashing 0 buffer(s)
[20:55:02] fifo_close: trashing 0 buffer(s)
[20:55:02] fifo_close: trashing 0 buffer(s)
[20:55:02] fifo_close: trashing 0 buffer(s)
[20:55:02] fifo_close: trashing 0 buffer(s)
[20:55:02] Freed 18 buffers of size 1024
[20:55:02] Freed 32 buffers of size 2048
[20:55:02] Freed 32 buffers of size 16384
[20:55:02] Freed 1 buffers of size 32768
[20:55:02] Freed 32 buffers of size 262144
[20:55:02] Freed 32 buffers of size 524288
[20:55:02] Freed 32 buffers of size 2097152
[20:55:02] Freed 32 buffers of size 4194304
[20:55:02] Allocated 227133440 bytes of buffers on this pass and Freed 227133440 bytes, 0 bytes leaked
[20:55:02] thread b066c000 exited ("work")
[20:55:02] thread b066c000 joined ("work")
[20:55:02] libhb: work result = 0
Last edited by TedJ on Mon Mar 30, 2009 10:18 pm, edited 1 time in total.
Reason: Activity logs should be enclosed in [code] blocks.
downinitjr
Posts: 18
Joined: Wed Oct 01, 2008 1:23 am

Re: Limit the Video Bitrate for AppleTV

Post by downinitjr »

This sounds similar to what I've been seeing. http://forum.handbrake.fr/viewtopic.php?f=12&t=9978.
jbjoret
Enlightened
Posts: 100
Joined: Sat Feb 16, 2008 12:08 pm

Re: Limit the Video Bitrate for AppleTV

Post by jbjoret »

In my case it is different, the stream is directly extracted from a BD and the result has a constant FPS which appears to be 48000/1001.
osohardy
Posts: 21
Joined: Fri Oct 10, 2008 4:25 pm

Re: Limit the Video Bitrate for AppleTV

Post by osohardy »

I would wrap your head around this from the wiki for VBV:

http://trac.handbrake.fr/wiki/VBVRateControl

In my experience with a dozen or so blu ray rips so far I keep the ATV preset almost stock. I modify to keep aspect ratio to 1280 x XXX and I kept b-adapt=2, bframes=3 from my DVD preset. I've tried Subq=7 to 9 and difficult to tell a difference there but I just have at 9 right now. I use CRF 58-62% for blu-rays personally.

With the VBV control: I have found with difficult disks, like some Planet Earths, this can help. Long story short I settled on a maxrate of 9500 and bufsize of 2500 and that smoothed out all the wrinkles. Planet Earths I have to have synced still to run perfectly but with endless comparisons to the source what I thought were glitches in the encode were actually in the source too. All my other BD rips will stream fine over wireless N so far. IMO maxrate 5500 will be blocky in tough scenes and the ATV can definitely handle more. I find it will start to stutter at ~12-14Mbps. The 5000 Mbps is a somewhat conservative average, not max. I leave the VBV in there just in case for BDs but I think in retrospect most do not need it and definitely dont need it for OTA HD transcodes with constant quality. It is a bit of a balancing act using VBV with constant quality since they can oppose each other, but I have found I don't like the result at CRF 56 for example, and the maxrate of 9500 + buffer is high enough it seems to let the CRF do its work, while still handling bad spikes without perceptible quality drop, and just keeping below what the ATV can handle.
jbjoret
Enlightened
Posts: 100
Joined: Sat Feb 16, 2008 12:08 pm

Re: Limit the Video Bitrate for AppleTV

Post by jbjoret »

osohardy wrote:I would wrap your head around this from the wiki for VBV:

http://trac.handbrake.fr/wiki/VBVRateControl

In my experience with a dozen or so blu ray rips so far I keep the ATV preset almost stock. I modify to keep aspect ratio to 1280 x XXX and I kept b-adapt=2, bframes=3 from my DVD preset. I've tried Subq=7 to 9 and difficult to tell a difference there but I just have at 9 right now. I use CRF 58-62% for blu-rays personally.

With the VBV control: I have found with difficult disks, like some Planet Earths, this can help. Long story short I settled on a maxrate of 9500 and bufsize of 2500 and that smoothed out all the wrinkles. Planet Earths I have to have synced still to run perfectly but with endless comparisons to the source what I thought were glitches in the encode were actually in the source too. All my other BD rips will stream fine over wireless N so far. IMO maxrate 5500 will be blocky in tough scenes and the ATV can definitely handle more. I find it will start to stutter at ~12-14Mbps. The 5000 Mbps is a somewhat conservative average, not max. I leave the VBV in there just in case for BDs but I think in retrospect most do not need it and definitely dont need it for OTA HD transcodes with constant quality. It is a bit of a balancing act using VBV with constant quality since they can oppose each other, but I have found I don't like the result at CRF 56 for example, and the maxrate of 9500 + buffer is high enough it seems to let the CRF do its work, while still handling bad spikes without perceptible quality drop, and just keeping below what the ATV can handle.
Thank you very much, this was very helpful to start with. I started to convert a movie with those settings, CRF 59 and maxrate 9500 with bufsize 2500. Will see how good it will be. I also have a documentary "Winged Migration" (Original: Le peuple migrateur) that could be also very interesting for quality testing, it requires quite a high framerate (I tried 10 Minutes of it and got an average of 7000 with CRF 59).
Post Reply