Postby wcoder » 01 Apr 2014 21:28
Thanks for answer,
I do the test and the CPU usage is so hight with a video output 1280x720 that video is not display (without sound), if i change to 1024x768, it's work but CPU is 72 % (without sound), when i play video normally my cpu is 60 % with a tranparent png on video effect -> Overlay and Add text (with sound).
So callback is not the solution, and i need share opengl surface\texture between my code and the output, i try vmem without any success :
Warning: option --vmem-lock no longer exists.
Warning: option --vmem-unlock no longer exists.
Warning: option --vmem-data no longer exists.
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[0xada33850] vmem vout display error: missing lock callback
[0xada006f8] main video output error: video output creation failed
[0xb0e5c620] main decoder error: failed to create video output
and a nice black window (lock\unlock function was not called) an the sound have distortion (compress expand effect) CPU is 62 %...
RUN FINISHED; exit value 0; real time: 5s; user: 500ms; system: 4s