Comskip Support Forum

Comskip is a free commercial detector, browse the forum for more information
It is currently Tue Sep 18, 2018 6:04 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Feb 15, 2017 5:03 am 
Offline

Joined: Mon May 10, 2010 2:44 am
Posts: 88
I've been optimising my ini files in donators version 0.81.093 and have discovered that despite having thread_count=4, it seems to only use 2 threads in the first logo finding pass and then 1 in the main pass. I'm running a 6700K with an SSD on a 1080i file so it shouldn't be starved of data. The 6700K is a quad core with hyperthreading, so 4 threads is about 50%, 2 threads is around 25%, and 1 thread is around 12.5% CPU use
Is this a bug?


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 15, 2017 8:41 am 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 3209
Will have a look


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 15, 2017 1:16 pm 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 3209
Is this for all recordings?
I see difference depending on the recording format, even between different h.264 recordings


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 15, 2017 7:20 pm 
Offline

Joined: Mon May 10, 2010 2:44 am
Posts: 88
erik wrote:
Is this for all recordings?
I see difference depending on the recording format, even between different h.264 recordings

Not sure, the SD files I was working on earlier were scanned fast, so I didn't look at them to see how many threads they were using.
the one I'm working on now is
File: Name : C:\tv\temp_tv2\The Test File.wtv
Size : 3.489 GB
Duration : 00:45:58.14
Mux type : WTV
Video: Encoding : H.264
VideoStreamID : x252
Frame rate : 25.00 fps
Encoding size : 1920 x 1080
Aspect ratio : 16:9
Header bit rate : 20.000 Mbps
VBV buffer : 456 KBytes
Profile : Main/4.0
Progressive : Interlaced
Chroma : 4:2:0
Entropy mode : CABAC
Bit rate : 9.347 Mbps
Audio Stream: 1 Codec : AAC-HE
Format : LATM/LOAS
Channels : 2.0
Language : ita
PID : x24E
PES Stream Id : xC0
Sampling rate : 48000 / 24000
Audio Stream: 2 (Primary) Codec : AAC-HE
Format : LATM/LOAS
Channels : 2.0
Language : eng
PID : x24F
PES Stream Id : xC0
Sampling rate : 48000 / 24000
Audio Stream: 3 Codec : AC3
Format : AC3 stream
Channels : 5.1
Language : eng
PID : x250
PES Stream Id : xBD
Bit rate : 384 Kbps
Sampling rate : 48000
Sample size : 16 bits
Subtitle: 1-1 Type : DVB Subpic
PID : 0x24D
Language : eng
Page : 1


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 15, 2017 7:50 pm 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 3209
The multi theaded decoding does not work for some recordings.
This is not specific for the latest build but has always been there
Bad luck you ran into this feature
Do not expect a quick solution


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 15, 2017 8:03 pm 
Offline

Joined: Mon May 10, 2010 2:44 am
Posts: 88
OK, Is it relevant that it uses 2 threads in the logo finding phase and just one in the final phase?


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 15, 2017 9:42 pm 
Offline

Joined: Mon May 10, 2010 2:44 am
Posts: 88
This is repeatable behaviour, it seems to drop to 1 thread on the second pass and uses 2 on the first. If I start it with a saved logo it starts on 2 threads and stays that way. Are there possibly 2 bugs here?
Bug 1 - Doesn't use more than 2 threads on some H264 files
Bug 2 - Doesn't use more than 1 thread on some H264 files in the second pass
Difference in speed is 2 threads with debug window minimised around 176FPS,
1 thread around 88FPS


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group