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

video is unseekable #407

Closed
BobDLA opened this issue Aug 26, 2022 · 1 comment
Closed

video is unseekable #407

BobDLA opened this issue Aug 26, 2022 · 1 comment

Comments

@BobDLA
Copy link

BobDLA commented Aug 26, 2022

Hi,
Thanks for your great work.
I have some videos that could play and seekable by vlc(one demo as the attachment), but got "Video track is unseekable" when FFMS_CreateVideoSource.
Could you help to check what cause the error and how to workaround?
System info :
Ubuntu 20.04 , ffmpeg version 4.2.7, ffms with commit ff61bca
(other system should have the save issue also)

Thanks

test.mp4
@BobDLA BobDLA changed the title video can't seekable video is unseekable Aug 26, 2022
@myrsloik
Copy link
Contributor

A bit late to reply but this happens when FFmpeg can't seek to the first frame in a file successfully meaning that it can never rewind all the way. Sometimes FFmpeg is this way. Exactly why it fails here I have no idea, mp4 usually works flawlessly. Open with Seekmode=-1 or 0 I guess. Or use BestSource that's a bit more reliable for small clips.

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