On Mon, Nov 9, 2015 at 11:05 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > fix ticket #4985 > avoid memory copying from AVFrame to rawvideo > > benchmark: > time ffmpeg -f lavfi -i "amovie=audio.mp3, showcqt" -f null -y /dev/null > old: > real 1m3.766s > user 1m3.371s > sys 0m0.184s > new: > real 0m47.893s > user 0m47.399s > sys 0m0.054s > > but higher memory usage on ffplay playback because of > packet queueing (it depends on packet size to calculate > memory usage, but wrappped_avframe packet size does not > represent actual allocated memory) > old: about ~40MB > new: about ~180MB > > showspectrum filter does not work correctly because it does not > follow frame writability convention (use copy filter for workaround) > > patch attached > thanks
Patch dropped. Thank's. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel