scapeopk.blogg.se

Ffmpeg android decoder problem about performance
Ffmpeg android decoder problem about performance












ffmpeg android decoder problem about performance ffmpeg android decoder problem about performance

Is there anything else needs to be taken care, or any help is highly appreciated as I am stuck on this issue for more than a week.And do you know WHY it should be able to (I know you do because you brought it up- this is for the crowd that don't get what I'm about to mention here.)? Note: When streaming of HD video on RPI3 using default browser and chrome works well with 30-35% CPU. Test Results: When ffplay is used we see Jittery Video image slide a slide show with close to 100% CPU. V.D h264_vdpau H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration) (codec h264) Here below are the procedures followed on rpi3:ĭownloaded mp4 video file 1080P resolution.įollowed the above procedure for installing ffmpegįfmpeg -f -i test.mp4 -s 320*240 -c:v h264_omx test_h264_mmal.mp4įfplay -vcodec h264_mmal test_h264_mmal.mp4 ( with different resolution such as 320*240, 640*480 )īelow is the configuration on ffmpeg: $ ffmpeg -decoders | grep h264įfmpeg version git-3c085c1 Copyright (c) 2000-2017 the FFmpeg developersĬonfiguration: -prefix=/usr -enable-mmal -enable-omx -enable-omx-rpi -enable-decoder=h264_mmal -enable-decoder=mpeg2_mmal -enable-encoder=h264_omx -enable-encoder=h264_omx -enable-libx264 -enable-nonfree -enable-gpl -enable-avresample -enable-shared -enable-libass -enable-libfdk-aac -enable-libfreetype -enable-libmp3lame -enable-libopus -enable-libtheora -enable-libvorbis -enable-libvpx -enable-libzvbi

ffmpeg android decoder problem about performance

Setup and Tests: As per johnathan comments, I have enabled h264_mmal and h264_omx for decoding and encoding video respectively while configuring ffmpeg. PJSIP uses FFMPEG and is too is slow s(we believe for same reason FFMEG is slow) for a video call. Rationale: The reason need to speed up FFMEG MMAL decoder on RPI 3 is that we are using PJSIP video call. FFMEG is compiled with MMAL decoder enabled and confirmed. Other tools on RPI such as built in Webbrowser shows the same MPEG4 files smooth, infact the Webbrowser shows HD (720p) quality video well and with about 30-35% CPU.Įnvironment: RPI3, FFMPEG. The CPU consumption increases with increase in screen size. FFPlay is jittery, patchy and takes close to 100% CPU.ĭescription: The video streaming of mpeg4 files is very slow (the video streaming is playing like a slide show) as well as consumes between 95% and 97%.

ffmpeg android decoder problem about performance

Issue: FFMPEG GPU/Hardware acceleration is not enabled on RPI.














Ffmpeg android decoder problem about performance