- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using the GCC compiler (v4.2.4) to compile the H.264 encoder on Ubuntu 8.04 Linux.
The encoder seems to be using only one thread.
I have compiled the code with the -fopenmp switch, and have tried various combinations of
thread and slice arguments.
My questions are:
Can the H.264 encoder run on multiple threads when compiled with GCC v4.2.4?
Any idea what I am doing wrong?
Thanks
Dan
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dan,
Yes, H.264 should run on multiple threads with GCC, To enabling Codec threading features, Intel C++ Compiler or Microsoft* Visual C++* .Net* 2005 is required to build the sample code. I hope you are using IPP sample code. Please refer below articles to get more information on tuning H.264 for better performance.
http://software.intel.com/en-us/articles/setting-h264-encoding-parameters-in-intel-ipp-media-processing-samples/
http://software.intel.com/en-us/articles/performance-tools-for-software-developers-measuring-intel-ipp-unified-media-classes-umc-performance/
Regards,
Naveen Gv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dan,
Another thing is to check the slice number setting. H.264 encoding sample is threaded at slice level. In the encoding parameters, the slice number should equal to threading numbers.
Thanks,
Chao
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page