Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad performance with video skipping #6

Open
GoogleCodeExporter opened this issue May 27, 2015 · 5 comments
Open

Bad performance with video skipping #6

GoogleCodeExporter opened this issue May 27, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

Hi.

Video skipping logic causes very laggy playback. On my Galaxy Nexus a 1.4Mbps 
xvid file was playing very sluggishly (constant slow-downs, speed-ups and frame 
drops) until I undefined BROOV_VIDEO_SKIP. After I've rebuilt the player 
without video skipping support the playback became excellent (I tried version 
1.2 with Neon support).

Original issue reported on code.google.com by sergey.e...@gmail.com on 1 Jan 2012 at 11:43

@GoogleCodeExporter
Copy link
Author

Problem Acknowledged. Need a better video skip algorithm implementation. 

Will release the next version for this issue,  if some one can provide one.

Thanks,
Aatral

Original comment by aatrala on 2 Jan 2012 at 1:45

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Sorry for the noob question, why we need video skipping?

Original comment by g.iucul...@gmail.com on 8 Jan 2012 at 11:58

@GoogleCodeExporter
Copy link
Author

A video file consists of Frames. 

Let us consider a video file with a frame rate of 25 Per second.

We need to show 25 Frames in each second. Which essentially means we need to 
show a frame every 40 milliseconds. 

Following actions are required to show a frame to screen.
a) Read the frame from file
b) Decode the frame using FFmpeg(relevant decoder is used to read the 
corresponding codec, if compressed then more time is needed)
c) Modify the frame to a format suitable for showing on the screen.
d) Copy the frame and put it on screen.



Whenever, we are in a lagging condition, where the time taken to show a frame 
to screen is greater than 40ms(in this example), we need to skip video frames 
to make audio and video in sync and a better user experience.

Mobile processors are considerably slow when compared to desktop processors 
Hence any optimization in step(a) to step (d) or any improvements in this area 
is most welcome.



Original comment by aatrala on 5 Feb 2012 at 2:39

@GoogleCodeExporter
Copy link
Author

Sorry for the delayed response earlier. I didn't enable the email notification 
earlier.

Original comment by supp...@broov.in on 3 May 2012 at 8:25

@GoogleCodeExporter
Copy link
Author

I have updated Dolphin Player version 2.0 with various bugfixes. Please provide 
your feedback

Thanks,
Aatral

Original comment by aatrala on 15 Jun 2012 at 10:32

  • Added labels: Priority-Critical
  • Removed labels: Priority-Medium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant