[Libav-user] Speedup FFmpeg h264 Decoding on Android-Devices

2012-08-04 Thread Christian Brümmer
Hi, i am using FFmpeg for H264 Decoding on an Android Device. The Videoframes are encoded on a desktop pc and streamed frame-by-frame to the phone. For my tests i used Samsung Galaxy S2 (2x 1,2 ghz) but the decoding time is between 27 - 31 ms for one Frame with the resolution of 800 x 480

Re: [Libav-user] Speedup FFmpeg h264 Decoding on Android-Devices

2012-08-04 Thread Michael Bradshaw
On Aug 4, 2012 6:11 AM, Christian Brümmer christian.bruem...@gmx.de wrote: Hi, i am using FFmpeg for H264 Decoding on an Android Device. Out of curiosity, is there a reason you aren't using Android's native decoder? It may be more optimized for the device than FFmpeg too. Sorry I don't know

Re: [Libav-user] Speedup FFmpeg h264 Decoding on Android-Devices

2012-08-04 Thread Christian Brümmer
For sure i first tried to use the Android MediaPlayer in combination with a RTSP-Stream but it has a - not configurable - frame buffer which size dependends of the rtsp fps. The result is a delay about 3-5 seconds which is a known problem as i discovered. so for a real time video application

Re: [Libav-user] Speedup FFmpeg h264 Decoding on Android-Devices

2012-08-04 Thread Hendrik Leppkes
On Sat, Aug 4, 2012 at 4:22 PM, Christian Brümmer christian.bruem...@gmx.de wrote: What about the fast-decoding tune - how can i combine that with my zero latency configuration? You should be able to provide a comma separated list for the tune parameter, try zerolatency,fastdecode

Re: [Libav-user] Speedup FFmpeg h264 Decoding on Android-Devices

2012-08-04 Thread Alex Cohn
On Aug 4, 2012 5:22 PM, Christian Brümmer christian.bruem...@gmx.de wrote: For sure i first tried to use the Android MediaPlayer in combination with a RTSP-Stream but it has a - not configurable - frame buffer which size dependends of the rtsp fps. The result is a delay about 3-5 seconds which

Re: [Libav-user] Speedup FFmpeg h264 Decoding on Android-Devices

2012-08-04 Thread Christian Brümmer
Okay i will consider that if i am not able to speedup ffmpeg decoding. First I will post my results after using the x264opts Hendrik provides ( zerolatency,fastdecode ). Am 04.08.2012 17:52, schrieb Alex Cohn: On Aug 4, 2012 5:22 PM, Christian Brümmer christian.bruem...@gmx.de