Hi,

(removed the Opencast community list from cc:, as this kind of conversation 
does not seem suitable).

ffmpeg can indeed be compiled with multithreading support. However, the 
Matterhorn thirdparty install scripts are created for robustness, and a 
multithreaded ffmpeg did show issues in earlier tests. In addition, Matterhorn 
ensures that you can run up to <number of cores> workflows in parallel, so if 
you ingest 4 recordings, all 4 cores should be used.

If you don't like that behavior, feel free to recompile ffmpeg with the 
multithreading support enabled.

Tobias

On 06.06.2011, at 21:39, matpro_fhkoeln wrote:

> Hello Ladies and Gentlemen,
> 
> I noticed the following: while encoding a video, only 1 of 4 cores are
> at 100% load, for example:
> 
> 2011-06-01 15:28:37  INFO (ComposerServiceImpl:193) - Encoding video
> track track-3 to 1c960bfd-4e5f-4077-8698-d455e95affb7 using profile
> 'feed-avi.http'
> 2011-06-01 15:28:37  INFO (AbstractCmdlineEncoderEngine:234) - Executing
> encoding command: ffmpeg -strict inofficial -i
> /opt/matterhorn/felix/work/opencast/workspace/mediapackage/3175316c-f63a-4ed7-98b5-66a727f17a18/14cb05b3-787c-44a2-8c04-c0f35f4ecc90/matterhorn_1_1_0_install_video_addendum.mp4
> -s 320x240 -r 25 -ar 44100
> /opt/matterhorn/felix/work/opencast/workspace/mediapackage/3175316c-f63a-4ed7-98b5-66a727f17a18/14cb05b3-787c-44a2-8c04-c0f35f4ecc90/matterhorn_1_1_0_install_video_addendum-low-dl.avi
> 
> 2011-06-01 15:28:37  INFO (FFmpegEncoderEngine:174) - major_brand     : isom
> 2011-06-01 15:28:37  INFO (FFmpegEncoderEngine:174) - minor_version   : 512
> 2011-06-01 15:28:37  INFO (FFmpegEncoderEngine:174) - compatible_brands:
> isomiso2mp41
> 2011-06-01 15:28:37  INFO (FFmpegEncoderEngine:174) - encoder         :
> Lavf52.31.0
> 2011-06-01 15:28:37  INFO (FFmpegEncoderEngine:174) - ISFT            :
> Lavf52.64.2
> 2011-06-01 15:28:42  INFO (AgentStateJob:104) - #66 - Sending
> 
> I assume, there are parameters regarding ffmpeg for threaded
> optimization like these?
> 
> root@pips03:~# ffmpeg -? | less
> Hyper fast Audio and Video encoder
> usage: ffmpeg [options] [[infile options] -i infile]... {[outfile
> options] outfile}...
> ..
> Advanced options:
> -threads count      thread count
> ..
> (END)
> 
> Or is there any reason why that should not be multithreaded?
> 
> Greeting, [email protected]
> 
> _______________________________________________
> Matterhorn mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn
> 
> 
> To unsubscribe please email
> [email protected]
> _______________________________________________

_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to