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

Lag in video files when forward and rewind the movie #17

Closed
ggdiez opened this issue Jan 17, 2013 · 4 comments
Closed

Lag in video files when forward and rewind the movie #17

ggdiez opened this issue Jan 17, 2013 · 4 comments

Comments

@ggdiez
Copy link

ggdiez commented Jan 17, 2013

Hi Kostantin

Thank you very much for this amazing project.

Every file that I play in project works fine. But I have a problem when I move the uislider left or right. In this cases I see in the console these messages:

[ac3 @ 0x1fa9d000] frame sync error
decode audio error, skip packet

or in other case this messages:

desync audio (lags) skip 1415.2881 1413.0240
desync audio (lags) skip 1415.2881 1413.0560

How I can solve this problem?, if it is possible. ;)

Pd. I forgot that I use for testing iPad 3 and iPhone 5

Thank you,

@kolyvan
Copy link
Owner

kolyvan commented Jan 18, 2013

Hi,

These messages are just for diagnostic and debugging and you can ignore them.

Best wishes.

@ggdiez
Copy link
Author

ggdiez commented Jan 18, 2013

Thanks for your answer.

But the problem is not only this messages in console, in some of this cases the image and the voice doesn't work in the same time.

@kolyvan
Copy link
Owner

kolyvan commented Jan 19, 2013

Hi,

IMHO, it's normal behaviour for some video\audio formats.
But you may hack [KxMovieDecoder setPosition] method.
Look at avformat_seek_file method and try to tweak min_ts / max_ts arguments.

Best wishes.

@ggdiez
Copy link
Author

ggdiez commented Jan 20, 2013

Thank you for your answer.

I will try to tweak this arguments in this cases.

Best.

@kolyvan kolyvan closed this as completed Mar 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants