[Known issue] Preview does not work correct

HandBrake for Mac support
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
Vietwoojagig
Posts: 49
Joined: Thu Dec 17, 2009 8:38 am

[Known issue] Preview does not work correct

Post by Vietwoojagig » Sat Jul 14, 2012 8:52 pm

Hi,

I try to encode a recording from TV, which is 1280x720. In fact the recording is approx. 4:3, so I have to crop a lot left and right (170 left and 176 right), remaining 934x720 as the output.

The preview does not show all pixels. It seems that the pixels are somehow forced to a 16:9 window, cropping top and bottom pixels. But left and right are also cropped, but only little. Picture is not strechted or shrinked. So no chance to identify exactly if auto crop works correctly.

I'm using the latest build on a MAC 10.7.4.

Smithcraft
Veteran User
Posts: 2691
Joined: Thu Jan 22, 2009 8:04 pm

Re: Preview does not work correct

Post by Smithcraft » Sun Jul 15, 2012 5:41 am

Activity log?

SC

Vietwoojagig
Posts: 49
Joined: Thu Dec 17, 2009 8:38 am

Re: Preview does not work correct

Post by Vietwoojagig » Sun Jul 15, 2012 10:33 am

Code: Select all

[12:26:58] hb_init: starting libhb thread
[12:26:58] macgui: Handbrake Version: 4796svn x86_64 (2012062901)
[12:26:58] hb_init: starting libhb thread
[12:26:58] hb_init: starting libhb thread
[12:26:58] macgui: hbInstances path to this instance: /Users/mediacenter/Desktop/HandBrake.app
[12:26:58] macgui: hbInstance found instance pidnum:95457 at path: /Users/mediacenter/Desktop/HandBrake.app
[12:26:58] macgui: hbInstance MATCH FOUND, our pidnum is:95457
[12:26:58] macgui: Pid for this instance:95457
[12:26:58] macgui: HBQueueController : My Pidnum is 95457
[12:27:08] macgui: trying to open video_ts folder (parent directory chosen)
[12:27:08] macgui: Preview: Disabling HUD Controls
[12:27:08] macgui: scanning titles with a duration of 10 seconds or more
[12:27:08] hb_scan: path=/Users/mediacenter/Downloads/KiKA HD_Die Biene Maja_Jul 13 06;23_36m_71494_1.ts, title_index=0
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /Users/mediacenter/Downloads/KiKA HD_Die Biene Maja_Jul 13 06;23_36m_71494_1.ts/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(/Users/mediacenter/Downloads/KiKA HD_Die Biene Maja_Jul 13 06;23_36m_71494_1.ts) failed (0x102173400)
[12:27:08] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.11 for DVD access
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[12:27:08] dvd: not a dvd - trying as a stream/file instead
[12:27:08] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[12:27:08] Found the following PIDS
[12:27:08]     Video PIDS : 
[12:27:08]       0x19d2 type H.264 (0x1b) (PCR)
[12:27:08]     Audio PIDS : 
[12:27:08]       0x19dc type MPEG1 (0x3)
[12:27:08]       0x19de type AC3 (0x81)
[12:27:08]     Subtitle PIDS : 
[12:27:08]     Other PIDS : 
[12:27:08]       0x19e6 type DVB Teletext (0x0)
[12:27:08] stream id 0x19dc (type 0x3 substream 0x0) audio 0x19dc
[12:27:08] stream id 0x19de (type 0x81 substream 0x0) audio 0x19de
[12:27:08] scan: decoding previews for title 1
[12:27:08] scan: audio 0x19dc: mp2, rate=48000Hz, bitrate=200000 Deutsch (MPEG1) (2.0 ch)
[12:27:08] scan: audio 0x19de: AC-3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (2.0 ch)
[12:27:18] scan: 30 previews, 1280x720, 50.000 fps, autocrop = 0/2/168/176, aspect 16:9, PAR 1:1
[12:27:18] scan: title (0) job->width:928, job->height:704
[12:27:18] stream: 5 good frames, 0 errors (0%)
[12:27:18] libhb: scan thread found 1 valid title(s)
[12:27:18] macgui: showNewScan: This is a new source item scan
[12:27:18] macgui: Preview: Enabling HUD Controls

Smithcraft
Veteran User
Posts: 2691
Joined: Thu Jan 22, 2009 8:04 pm

Re: Preview does not work correct

Post by Smithcraft » Sun Jul 15, 2012 7:27 pm

Where is the rest of the log?

SC

User avatar
Rodeo
HandBrake Team
Posts: 12202
Joined: Tue Mar 03, 2009 8:55 pm

Re: Preview does not work correct

Post by Rodeo » Sun Jul 15, 2012 8:12 pm

Smithcraft wrote:Where is the rest of the log?

SC
This is a perfectly valid scan log.

Vietwoojagig
Posts: 49
Joined: Thu Dec 17, 2009 8:38 am

Re: Preview does not work correct

Post by Vietwoojagig » Sun Jul 15, 2012 8:48 pm

Well, when I talk about "Preview", I'm not talking about a test-encoding of 15seconds or so.
I'm talking about the window, that is shown, when I press on "Preview Window".
This window has approx. 16:9 even when the 16:9 video setting result in a cropped 4:3 video, making it impossible to see, if top and bottom is cropped correctly, because top and bottom are outside the visible area.
Does this clarify my problem?

Vietwoojagig
Posts: 49
Joined: Thu Dec 17, 2009 8:38 am

Re: Preview does not work correct

Post by Vietwoojagig » Mon Jul 16, 2012 9:23 pm

OK, additional information;
Preview Window does not work correctly on a display with 1280x800 (Macbook). On a display with 1440x900 (Macbook Pro), it works correct.

User avatar
Rodeo
HandBrake Team
Posts: 12202
Joined: Tue Mar 03, 2009 8:55 pm

Re: [Known issue] Preview does not work correct

Post by Rodeo » Mon Jul 16, 2012 10:29 pm

What the preview windows probably needs is a complete re-write.

Anyway, your issue is a known issue. I've been complaining to the MacGUI maintainer about it, but I'm too lazy to do said re-write and he's too busy with real life to fix it.

The only thing you can do about it (aside from waiting - very patiently - for a fix) is to use a display that is reasonably larger than the source (for 720p, a MacBook pro will suffice, for 1080p, you may need an even larger display).

powermacguy
Posts: 6
Joined: Mon Apr 28, 2008 5:52 pm

Re: [Known issue] Preview does not work correct

Post by powermacguy » Fri Aug 17, 2012 11:12 pm

There is also some other small bugs for the Mac Preview Window
When you are doing stills, the preview window works mostly good. But when you encode the preview the placing of the video is off and sometimes doesn't work right when you are trying to remove the black bars.

Image

User avatar
Rodeo
HandBrake Team
Posts: 12202
Joined: Tue Mar 03, 2009 8:55 pm

Re: [Known issue] Preview does not work correct

Post by Rodeo » Fri Aug 17, 2012 11:25 pm

The preview window basically needs a rewrite. It's not insignificant.

dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: [Known issue] Preview does not work correct

Post by dynaflash » Wed Aug 22, 2012 5:42 pm

Rodeo wrote:The preview window basically needs a rewrite. It's not insignificant.
I am aware of it as Rodeo said, I have about half of it rewritten. It should work much better when I am done. The existing macgui preview code goes back to hb 0.7.1 and has been added to so many times, in looking to fix it I decided to just start over. Its gonna be a while yet but .... I am aware of it and working on it as time permits. Sorry its in such poor shape.

Post Reply