[FFmpeg-user] Copying YUV data take huge amount of memory and time

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Jul 7 13:15:06 CEST 2012


Ajita Pandey <Ajita-Pandey <at> hcl.com> writes:

> I am integrating hardware codecs in ffmpeg code.
> But while I am trying decode video data using function 
> virtual to physical memory it takes lots of time and memory.

I suspect the whole concept of hardware decoding on the GPU 
makes a lot of sense and works fine if you use the decoded 
data on the GPU (i.e. you display it), it probably does not 
work so well if you choose to copy the decoded frame from 
the GPU (memory) into main memory.

Carl Eugen



More information about the ffmpeg-user mailing list