I'm using the 7.0.4 sample code; specifically the umc_video_enc_con project. I am trying to limit the slice/nalu size by defining "SLICE_CHECK_LIMIT" and setting the number of slices (in the par file), to -1388. This seems to mostly work, except thatH264CoreEncoder_Close16u32s() throws an exception on exit.
But, the real issue is multi-threading. If I try to set the number of threads to use during encoding, it has no affect. I"ve tried "-t 8" in my command line. So, even though I can restrict the slice size, I can't utilize multi-cores to do so. Is there any other changes to the par file I need to do to make this work? Anyone else try this?
I looked at that post, and the numThreads parameter is being set to 1 in their case. So, there will be no parallel processing going on. And that post was about rate control not working with SLICE_CHECK_LIMIT defined. I'm sure I"ll need to address that eventually, but first I'd like to make sure can process slices in parallel.