Scan Title takes long time

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
Phillie14586
Posts: 14
Joined: Wed Dec 24, 2014 4:51 pm

Scan Title takes long time

Post by Phillie14586 » Sun May 19, 2019 9:11 pm

Description of problem or question:
When I select Open Source and HB starts to scan the titles it takes much longer than some earlier versions. I don't remember exactly when the scanning time became excessive but it was before v 1.2.0. I am trying to compact transport streams recorded with EyeTV. The actual video file is inside a package. I make symlinks of these files and place them in another folder. When I open source for HB I choose this folder. By doing it this way the HB files have the Symlink name instead of some random alphanumeric name that EyeTV uses for the actual video file. I should also note that the video files do have time code jumps. When EyeTV cuts out the commercials it does not resolve the time code jumps. It looks like the macgui: ScanCore scan done step is what is taking so long.



Steps to reproduce the problem (If Applicable):
see above



HandBrake version (e.g., 1.0.0):
1.2.2



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Mac OS 10.13.6 High Sierra



HandBrake Activity Log ***required*** (see How-to get an activity log)

https://pastebin.com/GwrPm0JK

Woodstock
Veteran User
Posts: 3125
Joined: Tue Aug 27, 2013 6:39 am

Re: Scan Title takes long time

Post by Woodstock » Mon May 20, 2019 12:20 am

[12:46:59] stream: error near frame 21273: continuity error: got 2 expected 7
[12:47:01] stream: error near frame 45366: continuity error: got 13 expected 5
[12:47:03] stream: error near frame 70226: continuity error: got 10 expected 9
[12:47:05] stream: error near frame 86716: packet error bit set
[12:47:06] stream: error near frame 89074: continuity error: got 11 expected 6
[12:47:07] stream: error near frame 100014: packet error bit set
[12:47:08] stream: error near frame 107374: continuity error: got 4 expected 8
[12:47:09] stream: error near frame 119105: packet error bit set
[12:47:11] stream: error near frame 149494: packet error bit set
Lots of stream errors will slow things down. You'll probably also have encoding errors. Transport streams recorded off the air have a lot of redundancy and (backward) time skips in them, which handbrake doesn't try too hard to figure out; programs like VideoRedo are designed for fixing them up.

Phillie14586
Posts: 14
Joined: Wed Dec 24, 2014 4:51 pm

Re: Scan Title takes long time

Post by Phillie14586 » Sat May 25, 2019 6:19 pm

In the past I have had encoding errors, the audio gets out of sync. Here is a log from version 1.0.7 https://pastebin.com/27EfxjuQ This was the last version that would scan the files quickly. Unfortunately the audio would be out of sync.

Here is the log from version 1.1.0 https://pastebin.com/HpMK5BmK This is when the scanning slowed down. The good thing was it did a better job of encoding. In this one the first video encoded fine but the second one had the audio out of sync.

By version 1.2.0 https://pastebin.com/k9j6dz5b All the encoding problems seem to be fixed but the scanning is slow.

The folder being scanned had 2 symlinks. In 1.0.7 the log says "Probing 1 unknown stream" in 1.1.0 and later it says "Probing 3 unknown streams". This has been constant that it says it is scanning the number of files in the folder +1 starting at 1.1.0.

Version 1.1.0 and beyond do pick up more errors when scanning which has obviously lead to better encoding. I was wondering if there is the possibility that the scanning could be made faster and still get the superb encoding in future updates or if this is just not possible?

Post Reply