opkah.blogg.se

Ffmpeg android decode problem about performance
Ffmpeg android decode problem about performance













ffmpeg android decode problem about performance ffmpeg android decode problem about performance

I have tried to run ffmpeg binary with -threads 0 and without it, but the results are still the same(twice as long as ffplay). The results I am getting are strange to me - the call to the aforementioned function takes twice as much in ffmpeg binary compared to ffplay binary. Is this a wrong way of doing it? Please let me know if I am incorrect. In my understanding the average time for the call to that function should be the same whether I am converting the video or playing it, because I am only measuring how long it takes to decode the frame for that video. ~/bin/ffplay ~/Documents/video-input.h264

  • and by timing how long the same function takes in ffplay.c and running the ffplay binary the following way.
  • ~/bin/ffmpeg -benchmark_all -loglevel debug -threads 0 -i ~/Documents/video-input.h264 -c:v libx265 -x265-params crf=25 video-output.hevc
  • timing how long the call to function avcodec_decode_video2(.) takes in ffmpeg.c and running ffmpeg binary the following way.
  • I am trying to measure a performance of different ffmpeg decoders by















    Ffmpeg android decode problem about performance