Will changing thread priority help? It seems that this cannot be done on non-rooted android.
On Thu, Dec 16, 2010 at 9:02 AM, Eli Konky <[email protected]> wrote: > The project is not yet public. I would consider to disclose it once it is > working. > > Well my next obvious question would be: how? did you do anything special? > Are you using the builtin h264 decoders? > > Any tip will be great. coincidentally I'm testing on the htc desire as > well. > > Thanks > Eli > > > > On Thu, Dec 16, 2010 at 3:40 AM, Benjamin Larsson <[email protected]>wrote: > >> On 12/15/2010 05:40 PM, Eli Konky wrote: >> > Hi, >> > >> > I'm porting ffplay to android. >> > >> > I managed to to have the basic working: picture is shown, audio is >> played. >> > bypassing sdl's audio/video and using more native android apis. >> > but... >> > >> > The big but is that arm7 optimized with neon will get me 100ms for >> decoding >> > a frame. >> > now, I don't mind having low frame rate but problem is that the audio >> and >> > video exhibit an increasing delay between the streams. >> > I'm trying all kind of twicking to the the conifguration and no luck. >> > - I tried increasing the VIDEO_PICTURE_QUEUE_SIZE >> > - I tried all av_sync_type: audio, video and external >> > - framedrop >> > >> > I keep getting the same results. >> > >> > I'm decoding h.264 video with acc audio. >> > >> > Is there anything I can to fix this or is there no way to work around >> this? >> > >> > Eli >> >> Is the project public? And I have a ffmpeg port that can decode sd >> resolution mpeg2 @ >60 fps. I have some 480p h264 also that gives the >> same rate on a HTC desire. That gives about 20ms per frame. So it is >> possible to get it faster then 10 fps. >> >> MvH >> Benjamin Larsson >> _______________________________________________ >> libav-user mailing list >> [email protected] >> https://lists.mplayerhq.hu/mailman/listinfo/libav-user >> > > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
