Issues with Handbrake 0.10.0 and aTV2

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
thanar
Posts: 34
Joined: Fri Feb 09, 2007 11:16 am

Issues with Handbrake 0.10.0 and aTV2

Post by thanar »

Hello,

I've been using Handbrake since forever and had no issues whatsoever compressing footage taken from different sources for archiving and playback. I recently have been using an aTV2 to playback the videos with reside on a macbook running 10.6.8 with iPhoto.
Here's the thing: Since I upgraded to HB 0.10.0, no matter the settings, I cannot get the videos to play on aTV. Even on Quicktime, the converted videos diplay black when opened, although the first frame is NOT black. Same happens in iPhoto thumbnail on each HandBrake-converted video.

Any help would be greatly appreciated.

[edit]
I did some testing from ground-up.Here's an archive with four files: https://dl.dropboxusercontent.com/u/9478420/hb_test.zip. "hb_test.mov" is the original file as captured by QuickTime Player 7.6.6. The other three are HandBrake exports using the presets in each parenthesis. NONE of them three play on the aTV2 and all three show a black frame when opened on QuickTime Player. However, scrubbing forward and back to beggining shows no black frame.
[/edit]
Last edited by thanar on Sat Feb 07, 2015 3:45 pm, edited 2 times in total.
thanar
Posts: 34
Joined: Fri Feb 09, 2007 11:16 am

Re: Issues with Handbrake 0.10.0 and aTV2

Post by thanar »

OK, this is getting interesting... same sources encoded with 6874svn is producing files that play OK on all, QuickTime Player, iPhoto and aTV2... Any help?

Added both 0.10.0 and 6874svn encodes on the archive; svn's encodes are a few bytes smaller, 3kb/sec lower data rate. ffmpeg shows files are identical [banging head on wall]!

Please take a look at this issue asap, it's very easily reproducible. Downloaded release version again just to make sure; issue still stands.
User avatar
Ritsuka
HandBrake Team
Posts: 1650
Joined: Fri Jan 12, 2007 11:29 am

Re: Issues with Handbrake 0.10.0 and aTV2

Post by Ritsuka »

There was a little difference in the mp4 edit lists when we switched the mp4 muxer from mp4v2 to libav. It has been fixed in the nightly, as you already saw. But it's odd that 0.10 mp4 didn't work on the atv2… please provide the activity logs of the two of the two encodes (as per forum rules).
thanar
Posts: 34
Joined: Fri Feb 09, 2007 11:16 am

Re: Issues with Handbrake 0.10.0 and aTV2

Post by thanar »

I did not provide an activity log, since the issue is very easily reproducible, on my side anyway. I will reencode right away and provide the logs as requested. In the meantime, could someone tell me what's the difference between the two encoded files, since I don't thing it's a muxing issue; i tried remuxing the "damaged" file with ffmpeg (using -vcodec copy -acodec copy) and the resulting file still doesn't play.
thanar
Posts: 34
Joined: Fri Feb 09, 2007 11:16 am

Re: Issues with Handbrake 0.10.0 and aTV2

Post by thanar »

activity log while encoding "hb_test.mov" using HandBrake 0.10.0 with Apple TV 2 preset:

Code: Select all

[13:18:20] macgui: Handbrake Version: 0.10.0 x86_64 (2014112200)
[13:18:20] hb_init: starting libhb thread
[13:18:20] hb_init: starting libhb thread
[13:18:20] macgui: hbInstances path to this instance: /Users/ioanna/Desktop/HandBrake_0.10.app
[13:18:20] macgui: hbInstance found instance pidnum: 1497 at path: /Users/ioanna/Desktop/HandBrake_0.10.app
[13:18:20] macgui: hbInstance MATCH FOUND, our pidnum is: 1497
[13:18:20] macgui: Pid for this instance: 1497
[13:18:20] macgui: HBQueueController : My Pidnum is 1497
[13:18:37] macgui: trying to open video_ts folder (parent directory chosen)
[13:18:37] macgui: scanning titles with a duration of 10 seconds or more
[13:18:37] CPU: Intel(R) Core(TM)2 Duo CPU     T8100  @ 2.10GHz
[13:18:37]  - logical processor count: 2
[13:18:37] hb_scan: path=/Users/ioanna/Dropbox/Public/hb_test/hb_test.mov, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/ioanna/Dropbox/Public/hb_test/hb_test.mov/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/ioanna/Dropbox/Public/hb_test/hb_test.mov/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/Users/ioanna/Dropbox/Public/hb_test/hb_test.mov) failed
[13:18:37] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[13:18:37] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/ioanna/Dropbox/Public/hb_test/hb_test.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2015-02-07 09:23:58
  Duration: 00:00:03.01, start: 0.672562, bitrate: 609 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, fltp, 103 kb/s (default)
    Metadata:
      creation_time   : 2015-02-07 09:23:58
    Stream #0.1(und): Video: h264 (Main), yuv420p, 640x480, 440 kb/s, PAR 1:1 DAR 4:3, 30 fps, 30k tbn (default)
    Metadata:
      creation_time   : 2015-02-07 09:23:58
[13:18:37] scan: decoding previews for title 1
[13:18:37] scan: audio 0x0: aac, rate=44100Hz, bitrate=103131 Unknown (AAC) (2.0 ch)
[13:18:37] scan: 10 previews, 640x480, 30.000 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[13:18:37] libhb: scan thread found 1 valid title(s)
[13:18:37] macgui: ScanDone state received from fHandle
[13:18:37] macgui: showNewScan: This is a new source item scan
[13:18:43] macgui: Rip: Pending queue count is 0
[13:18:43] macgui: getNextPendingQueueIndex next pending encode index is:0
[13:18:43] macgui: scanning specifically for title: 1
[13:18:43] CPU: Intel(R) Core(TM)2 Duo CPU     T8100  @ 2.10GHz
[13:18:43]  - logical processor count: 2
[13:18:43] hb_scan: path=/Users/ioanna/Dropbox/Public/hb_test/hb_test.mov, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/ioanna/Dropbox/Public/hb_test/hb_test.mov/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/ioanna/Dropbox/Public/hb_test/hb_test.mov/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/Users/ioanna/Dropbox/Public/hb_test/hb_test.mov) failed
[13:18:43] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[13:18:43] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/ioanna/Dropbox/Public/hb_test/hb_test.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2015-02-07 09:23:58
  Duration: 00:00:03.01, start: 0.672562, bitrate: 609 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, fltp, 103 kb/s (default)
    Metadata:
      creation_time   : 2015-02-07 09:23:58
    Stream #0.1(und): Video: h264 (Main), yuv420p, 640x480, 440 kb/s, PAR 1:1 DAR 4:3, 30 fps, 30k tbn (default)
    Metadata:
      creation_time   : 2015-02-07 09:23:58
[13:18:43] scan: decoding previews for title 1
[13:18:43] scan: audio 0x0: aac, rate=44100Hz, bitrate=103131 Unknown (AAC) (2.0 ch)
[13:18:44] scan: 10 previews, 640x480, 30.000 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[13:18:44] libhb: scan thread found 1 valid title(s)
[13:18:44] macgui: ScanDone state received from fQueueEncodeLibhb
[13:18:44] macgui: Preset: AppleTV 2
[13:18:44] macgui: processNewQueueEncode number of passes expected is: 1
[13:18:44] macgui: Start / Stop set to chapters
[13:18:44] macgui: prepareJob exiting
[13:18:44] 1 job(s) to process
[13:18:44] starting job
[13:18:44] sync: expecting 90 video frames
[13:18:44] job configuration:
[13:18:44]  * source
[13:18:44]    + /Users/ioanna/Dropbox/Public/hb_test/hb_test.mov
[13:18:44]    + title 1, chapter(s) 1 to 1
[13:18:44]    + container: mov,mp4,m4a,3gp,3g2,mj2
[13:18:44]    + data rate: 609 kbps
[13:18:44]  * destination
[13:18:44]    + /Users/ioanna/Desktop/hb_test.m4v
[13:18:44]    + container: MPEG-4 (libavformat)
[13:18:44]  * video track
[13:18:44]    + decoder: h264
[13:18:44]      + bitrate 440 kbps
[13:18:44]    + filters
[13:18:44]      + Framerate Shaper (2:27000000:900000)
[13:18:44]        + frame rate: 30.000 fps -> peak rate limited to 30.000 fps
[13:18:44]      + Crop and Scale (640:480:0:0:0:0)
[13:18:44]        + source: 640 * 480, crop (0/0/0/0): 640 * 480, scale: 640 * 480
[13:18:44]    + loose anamorphic
[13:18:44]      + storage dimensions: 640 * 480, mod 2
[13:18:44]      + pixel aspect ratio: 1 / 1
[13:18:44]      + display dimensions: 640 * 480
[13:18:44]    + encoder: H.264 (libx264)
[13:18:44]      + preset:  medium
[13:18:44]      + profile: high
[13:18:44]      + level:   3.1
[13:18:44]      + quality: 20.00 (RF)
[13:18:44]  * audio track 1
[13:18:44]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x0)
[13:18:44]      + bitrate: 103 kbps, samplerate: 44100 Hz
[13:18:44]    + mixdown: Stereo
[13:18:44]    + encoder: AAC (Apple AudioToolbox)
[13:18:44]      + bitrate: 160 kbps, samplerate: 44100 Hz
[13:18:44]  * audio track 2
[13:18:44]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x0)
[13:18:44]      + bitrate: 103 kbps, samplerate: 44100 Hz
[13:18:44]    + mixdown: Stereo
[13:18:44]    + encoder: AC3 (libavcodec)
[13:18:44]      + bitrate: 224 kbps, samplerate: 44100 Hz
[13:18:44] reader: first SCR -60530 id 0x0 DTS -60530
[13:18:44] encx264: min-keyint: 30, keyint: 300
[13:18:44] encx264: encoding at constant RF 20.000000
[13:18:44] encx264: unparsed options: level=3.1:vbv-bufsize=17500:vbv-maxrate=17500
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
x264 [info]: profile High, level 3.1
[13:18:44] sync: first pts is 530
[13:18:44] reader: done. 1 scr changes
[13:18:46] work: average encoding speed for job is 0.000000 fps
[13:18:46] sync: got 90 frames, 90 expected
[13:18:46] render: 90 frames output, 0 dropped and 0 duped for CFR/PFR
[13:18:46] render: lost time: 0 (0 frames)
[13:18:46] render: gained time: 0 (0 frames) (0 not accounted for)
[13:18:46] h264-decoder done: 90 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:1     Avg QP:16.96  size: 19487
x264 [info]: frame P:24    Avg QP:18.90  size:  4890
x264 [info]: frame B:65    Avg QP:23.19  size:   439
x264 [info]: consecutive B-frames:  2.2%  4.4%  0.0% 93.3%
x264 [info]: mb I  I16..4: 10.6% 53.3% 36.1%
x264 [info]: mb P  I16..4:  1.7%  5.0%  1.2%  P16..4: 35.0%  9.9%  5.1%  0.0%  0.0%    skip:42.1%
x264 [info]: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 28.1%  0.3%  0.0%  direct: 0.4%  skip:71.1%  L0:45.5% L1:52.7% BI: 1.7%
x264 [info]: 8x8 transform intra:59.5% inter:58.8%
x264 [info]: coded y,uvDC,uvAC intra: 59.5% 59.5% 21.1% inter: 4.9% 9.6% 1.4%
x264 [info]: i16 v,h,dc,p: 20% 15% 10% 55%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 13% 22%  1% 18%  7% 12%  3%  2%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 13% 13%  1% 23%  5% 17%  3%  1%
x264 [info]: i8c dc,h,v,p: 58% 20% 19%  3%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: ref P L0: 64.1% 10.4% 20.2%  5.4%
x264 [info]: ref B L0: 87.1% 11.7%  1.2%
x264 [info]: ref B L1: 95.2%  4.8%
x264 [info]: kb/s:440.20
[13:18:46] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[13:18:46] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[13:18:46] mux: track 0, 90 frames, 165356 bytes, 436.10 kbps, fifo 128
[13:18:46] mux: track 1, 131 frames, 39083 bytes, 103.08 kbps, fifo 256
[13:18:46] mux: track 2, 86 frames, 83870 bytes, 221.20 kbps, fifo 128
[13:18:46] libhb: work result = 0
[13:18:47] macgui: incrementQueueItemDone there are no more pending encodes
activity log while encoding "hb_test.mov" using HandBrake 6874svn with Apple TV 2 preset:

Code: Select all

[13:21:20] macgui: Handbrake Version: 6874svn x86_64  (2015020701)
[13:21:20] hb_init: starting libhb thread
[13:21:20] hb_init: starting libhb thread
[13:21:31] macgui: trying to open a folder or file
[13:21:31] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[13:21:31] CPU: Intel(R) Core(TM)2 Duo CPU     T8100  @ 2.10GHz
[13:21:31]  - logical processor count: 2
[13:21:31] hb_scan: path=/Users/ioanna/Dropbox/Public/hb_test/hb_test.mov, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/ioanna/Dropbox/Public/hb_test/hb_test.mov/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/ioanna/Dropbox/Public/hb_test/hb_test.mov/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/Users/ioanna/Dropbox/Public/hb_test/hb_test.mov) failed
[13:21:31] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[13:21:31] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/ioanna/Dropbox/Public/hb_test/hb_test.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2015-02-07 09:23:58
  Duration: 00:00:03.01, start: 0.672562, bitrate: 609 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, fltp, 103 kb/s (default)
    Metadata:
      creation_time   : 2015-02-07 09:23:58
    Stream #0.1(und): Video: h264 (Main), yuv420p, 640x480, 440 kb/s, PAR 1:1 DAR 4:3, 30 fps, 30k tbn (default)
    Metadata:
      creation_time   : 2015-02-07 09:23:58
      encoder         : H.264
[13:21:31] scan: decoding previews for title 1
[13:21:31] scan: audio 0x0: aac, rate=44100Hz, bitrate=103131 Unknown (AAC) (2.0 ch)
[13:21:31] scan: 10 previews, 640x480, 30.000 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[13:21:31] libhb: scan thread found 1 valid title(s)
[13:21:32] macgui: ScanCore scan done
[13:21:36] macgui: QueueCore scanning specifically for title: 1
[13:21:36] CPU: Intel(R) Core(TM)2 Duo CPU     T8100  @ 2.10GHz
[13:21:36]  - logical processor count: 2
[13:21:36] hb_scan: path=/Users/ioanna/Dropbox/Public/hb_test/hb_test.mov, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/ioanna/Dropbox/Public/hb_test/hb_test.mov/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Users/ioanna/Dropbox/Public/hb_test/hb_test.mov/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/Users/ioanna/Dropbox/Public/hb_test/hb_test.mov) failed
[13:21:36] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[13:21:36] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/ioanna/Dropbox/Public/hb_test/hb_test.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2015-02-07 09:23:58
  Duration: 00:00:03.01, start: 0.672562, bitrate: 609 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, fltp, 103 kb/s (default)
    Metadata:
      creation_time   : 2015-02-07 09:23:58
    Stream #0.1(und): Video: h264 (Main), yuv420p, 640x480, 440 kb/s, PAR 1:1 DAR 4:3, 30 fps, 30k tbn (default)
    Metadata:
      creation_time   : 2015-02-07 09:23:58
      encoder         : H.264
[13:21:36] scan: decoding previews for title 1
[13:21:36] scan: audio 0x0: aac, rate=44100Hz, bitrate=103131 Unknown (AAC) (2.0 ch)
[13:21:36] scan: 10 previews, 640x480, 30.000 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[13:21:36] libhb: scan thread found 1 valid title(s)
[13:21:37] macgui: QueueCore scan done
[13:21:37] macgui: QueueCore started encoding hb_test.m4v
[13:21:37] 1 job(s) to process
[13:21:37] starting job
[13:21:37] sync: expecting 90 video frames
[13:21:37] work: only 1 chapter, disabling chapter markers
[13:21:37] job configuration:
[13:21:37]  * source
[13:21:37]    + /Users/ioanna/Dropbox/Public/hb_test/hb_test.mov
[13:21:37]    + title 1, chapter(s) 1 to 1
[13:21:37]    + container: mov,mp4,m4a,3gp,3g2,mj2
[13:21:37]    + data rate: 609 kbps
[13:21:37]  * destination
[13:21:37]    + /Users/ioanna/Desktop/hb_test.m4v
[13:21:37]    + container: MPEG-4 (libavformat)
[13:21:37]  * video track
[13:21:37]    + decoder: h264
[13:21:37]      + bitrate 440 kbps
[13:21:37]    + filters
[13:21:37]      + Framerate Shaper (2:27000000:900000)
[13:21:37]        + frame rate: 30.000 fps -> peak rate limited to 30.000 fps
[13:21:37]      + Crop and Scale (640:480:0:0:0:0)
[13:21:37]        + source: 640 * 480, crop (0/0/0/0): 640 * 480, scale: 640 * 480
[13:21:37]    + Output geometry
[13:21:37]      + storage dimensions: 640 x 480
[13:21:37]      + pixel aspect ratio: 1 : 1
[13:21:37]      + display dimensions: 640 x 480
[13:21:37]    + encoder: H.264 (libx264)
[13:21:37]      + preset:  medium
[13:21:37]      + profile: high
[13:21:37]      + level:   3.1
[13:21:37]      + quality: 20.00 (RF)
[13:21:37]  * audio track 1
[13:21:37]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x0)
[13:21:37]      + bitrate: 103 kbps, samplerate: 44100 Hz
[13:21:37]    + mixdown: Stereo
[13:21:37]    + encoder: AAC (Apple AudioToolbox)
[13:21:37]      + bitrate: 160 kbps, samplerate: 44100 Hz
[13:21:37]  * audio track 2
[13:21:37]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x0)
[13:21:37]      + bitrate: 103 kbps, samplerate: 44100 Hz
[13:21:37]    + mixdown: Stereo
[13:21:37]    + encoder: AC3 (libavcodec)
[13:21:37]      + bitrate: 224 kbps, samplerate: 44100 Hz
[13:21:37] reader: first SCR -60530 id 0x0 DTS -60530
[13:21:37] encx264: min-keyint: 30, keyint: 300
[13:21:37] encx264: encoding at constant RF 20.000000
[13:21:37] encx264: unparsed options: level=3.1:vbv-bufsize=17500:vbv-maxrate=17500
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
x264 [info]: profile High, level 3.1
[13:21:37] sync: first pts is 530
[13:21:37] reader: done. 1 scr changes
[13:21:39] work: average encoding speed for job is 0.000000 fps
[13:21:39] sync: got 90 frames, 90 expected
[13:21:39] render: 90 frames output, 0 dropped and 0 duped for CFR/PFR
[13:21:39] render: lost time: 0 (0 frames)
[13:21:39] render: gained time: 0 (0 frames) (0 not accounted for)
[13:21:39] h264-decoder done: 90 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:1     Avg QP:16.96  size: 19487
x264 [info]: frame P:24    Avg QP:18.90  size:  4890
x264 [info]: frame B:65    Avg QP:23.19  size:   439
x264 [info]: consecutive B-frames:  2.2%  4.4%  0.0% 93.3%
x264 [info]: mb I  I16..4: 10.6% 53.3% 36.1%
x264 [info]: mb P  I16..4:  1.7%  5.0%  1.2%  P16..4: 35.0%  9.9%  5.1%  0.0%  0.0%    skip:42.1%
x264 [info]: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 28.1%  0.3%  0.0%  direct: 0.4%  skip:71.1%  L0:45.5% L1:52.7% BI: 1.7%
x264 [info]: 8x8 transform intra:59.5% inter:58.8%
x264 [info]: coded y,uvDC,uvAC intra: 59.5% 59.5% 21.1% inter: 4.9% 9.6% 1.4%
x264 [info]: i16 v,h,dc,p: 20% 15% 10% 55%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 13% 22%  1% 18%  7% 12%  3%  2%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 13% 13%  1% 23%  5% 17%  3%  1%
x264 [info]: i8c dc,h,v,p: 58% 20% 19%  3%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: ref P L0: 64.1% 10.4% 20.2%  5.4%
x264 [info]: ref B L0: 87.1% 11.7%  1.2%
x264 [info]: ref B L1: 95.2%  4.8%
x264 [info]: kb/s:440.20
[13:21:39] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[13:21:39] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[13:21:39] mux: track 0, 90 frames, 165356 bytes, 436.10 kbps, fifo 128
[13:21:39] mux: track 1, 131 frames, 39083 bytes, 103.08 kbps, fifo 256
[13:21:39] mux: track 2, 86 frames, 83870 bytes, 221.20 kbps, fifo 128
[13:21:39] libhb: work result = 0
[13:21:39] macgui: QueueCore work done
[13:21:39] macgui: Queue Done, there are no more pending encodes
Would be greatful if you could provide more information on what happened, since I have thrown away the source files and would like not to re-encode in order to have aTV2-playble files...
User avatar
Ritsuka
HandBrake Team
Posts: 1650
Joined: Fri Jan 12, 2007 11:29 am

Re: Issues with Handbrake 0.10.0 and aTV2

Post by Ritsuka »

I just tried a video from 0.10 on my aTV2 and it plays, can you uploaded the hb_test archive you references in your first post?
thanar
Posts: 34
Joined: Fri Feb 09, 2007 11:16 am

Re: Issues with Handbrake 0.10.0 and aTV2

Post by thanar »

Jeez... I don't believe I did not reference the link: https://dl.dropboxusercontent.com/u/9478420/hb_test.zip

Mind you, the videos do not play if added to iPhoto library and then shared to aTV via iTunes home sharing (that's the official way to do it if you have a non-jailbroken aTV). All videos play fine through Infuse or other aTV unofficial media player.

The culprit could actually be iPhoto, since using the above method it seems to be preparing itself the thumbnails for aTV to use, so I guess it has something to do with the fact that the FIRST frame on all 0.10 encodes displays BLACK under QuickTime 7.7.1 (QuickTime Player 7.6.6, or QuickTime Player 10.0). It's NOT black, scrubbing and going back to start displays correct first frame.

Anyhow, have a look at the dual files, encoded with the two versions of the app on my setup and let me know if you make anything out of it...
thanar
Posts: 34
Joined: Fri Feb 09, 2007 11:16 am

Re: Issues with Handbrake 0.10.0 and aTV2

Post by thanar »

Seems like I managed to make the "damaged" files playble by aTV2 by deleting the first frame with QuickTime Player pro and exporting the file to mp4, using pass-through for both video and audio. So I guess the 0.10.0 version of HandBrake adds some extra data in the first frame that QuickTime for some reason does not like.
User avatar
Ritsuka
HandBrake Team
Posts: 1650
Joined: Fri Jan 12, 2007 11:29 am

Re: Issues with Handbrake 0.10.0 and aTV2

Post by Ritsuka »

Actually 0.10 didn't insert a black frame, it just moved the tracks by a few ms, I guess iPhoto saw no video or audio at the time 0 of the movie and got stuck. If you remove this empty space with QuickTime the tracks will be again start at the movie time 0, I don't know any automated way to do it.

Fortunately the next HandBrake version moved back the movie start at time 0, and iPhoto is going to be replaced soon.
thanar
Posts: 34
Joined: Fri Feb 09, 2007 11:16 am

Re: Issues with Handbrake 0.10.0 and aTV2

Post by thanar »

That's what I thought. Apart from iPhoto being replaced (a ride which I cannot board, since I'm on a Core2Duo MacBook), movie start at time zero seems more logical, than adding a few ms at the beggining.
Anyhow, I managed to fix all videos by erasing the first frame using QuickTime Player Pro and exporting with both video/audio set to pass-through. Have to touch -t the files to fix the dates again, damn!
Post Reply