Comskip Support Forum

Comskip is a free commercial detector, browse the forum for more information
It is currently Wed Jul 24, 2019 2:00 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Sun Feb 24, 2019 1:40 am 
Offline

Joined: Sun Feb 24, 2019 1:36 am
Posts: 5
Hi,

Really happy with comskip overall - it does clip well, quite reliable. I would just like to speed it up a bit, it's running about the same speed as transcoding for me (from MPEG2 TS to HEVC). I do have a relative quick GPU, trying to make use of that.

I did try setting hardware_decode=1 in the ini file, but it really didn't speed things up ... if anything, this is slightly slower. Or, do I also need to add --cuvid or --hwassist to the command line?

Thanks!


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 24, 2019 8:33 am 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 3275
For some strange not understood reason I was not able to give comskip the right HW acceleration performance.
It is something I need to dive into when I have substantial more time.


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 24, 2019 1:37 pm 
Offline

Joined: Sun Feb 24, 2019 1:36 am
Posts: 5
Completely understand. I'd be more than willing to help out, if I can. I do have some programming experience, but don't claim to be an expert.

Is there a particular place to hunt in the code?

Thanks!


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 24, 2019 3:29 pm 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 3275
If you are familiar with how ffmpeg implements HW acceleration you are welcome to take the comskip source from github and find out why it is not delivering the expected improvement on Windows
On Linux it seems to work as exptected


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 24, 2019 5:51 pm 
Offline

Joined: Sun Feb 24, 2019 1:36 am
Posts: 5
OK, will dig into it. FYI, I'm running on Linux - that's where I'm seeing the issues.

I did run comskip and ffmpeg on a file yesterday (~ 4 hours of video, golf) - comskip took ~ 1.5 hours to complete, ffmpeg (transcoding to HEVC) ~ 30 min.

Thanks!


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 24, 2019 6:13 pm 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 3275
That sounds promising!


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 24, 2019 6:52 pm 
Offline

Joined: Sun Feb 24, 2019 1:36 am
Posts: 5
Agreed! I have to think detection could be faster than transcoding. Will take a look.


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 2:24 pm 
Offline

Joined: Mon Apr 08, 2019 10:07 am
Posts: 1
I thought detection and transcoding take about the same time. What did you find, Arrmo?


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 2:42 pm 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 3275
Decoding generally takes less time than encoding to detection can be faster than transcoding


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 3:15 pm 
Offline

Joined: Sun Feb 24, 2019 1:36 am
Posts: 5
erik wrote:
Decoding generally takes less time than encoding to detection can be faster than transcoding


Yes, agreed - same finding here. With HW accel, MPEG2TS ... is see decoding (comskip) ~ 2x faster than transcoding.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 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:  
Powered by phpBB® Forum Software © phpBB Group