Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
7th February 2017, 23:07 | #1 | Link | |
Registered User
Join Date: Sep 2016
Posts: 14
|
Can't get multithreading with libvpx
I am trying to reencode a video with this command
Quote:
As far as I know, only tile-colums > 0 and -threads 1 are necessary. What's can be happening here? Thanks for any help. |
|
8th February 2017, 00:34 | #2 | Link |
Registered User
Join Date: Jan 2007
Posts: 729
|
To get libvpx to use 2 threads, you would need the resolution to be at least 1024 pixels horizontally. Your video might have lower resolution? Every thread needs at least 512 pixels. (Basically tile threading is a joke.)
|
10th February 2017, 10:01 | #4 | Link |
Registered User
Join Date: Jan 2007
Posts: 729
|
No, it depends on the resolution that is being encoded.
Your alternative is splitting the input video into parts, separately encode them in parallel using multiple instances of libvpx, and then joining the outputs together manually. |
11th February 2017, 00:13 | #5 | Link |
Registered User
Join Date: Sep 2016
Posts: 14
|
Very useful, thanks.
EDIT: Strange I did one more encoding just to test the resulting quality, and now I am getting the near 200% of cpu occupation that I expected, but the bitrate became insane, I send 777k and it is in this exact moment at about 5000kbps Last edited by ultron; 11th February 2017 at 02:12. |
|
|