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

Expose avformat_seek_file #47

Open
AlaaAlHallaq opened this issue Dec 22, 2020 · 4 comments
Open

Expose avformat_seek_file #47

AlaaAlHallaq opened this issue Dec 22, 2020 · 4 comments

Comments

@AlaaAlHallaq
Copy link

hello, I have been using ffmpeg for couple of years in my apps, and your library is extremely useful to simplify accessing ffmpeg functionalities.
I need you to expose
avformat_seek_file
since
av_seek_frame
has some issues seeking most of the files I tested, I have a fork of your project, and used avformat_seek_file, and it worked for most of my test files.

@gregcotten
Copy link
Collaborator

gregcotten commented Dec 22, 2020

av_seek_frame works just fine for every file I have ever thrown at it - what issues are you having?

Of course we could expose support for this method, but just curious what kind of issues you are facing with the current seeking method.

@AlaaAlHallaq
Copy link
Author

@gregcotten simply most of my test files did not work to seek through the file using av_seek_frame, forking this library and exposing avformat_seek_file, did the trick, noting that I have custom IO using AVIOContext.

@AlaaAlHallaq
Copy link
Author

@gregcotten ?

@gregcotten
Copy link
Collaborator

Don't have time to work on it at the moment, but I see your fork - could you make a PR?

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