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

My app using libav is playing less than the total duration of a clip #71

Open
hettpatel opened this issue Sep 1, 2020 · 1 comment
Open
Labels

Comments

@hettpatel
Copy link

hettpatel commented Sep 1, 2020

Playing 12 sec of video using libav in my application only plays the starting 8 sec of video and then it is not showing furxther. what can i do in this case?

@leandromoreira leandromoreira changed the title Playing 12 sec of video using libav in my application only plays the starting 8 sec of video and then it is not showing further. what can i do in this case? My app using libav is playing less than the total duration of a clip Sep 1, 2020
@leandromoreira
Copy link
Owner

leandromoreira commented Sep 1, 2020

Hi there,

You can try to debug this problem to understand what's happening:

  • does the same behavior happens in VLC?
  • does the same behavior happens on ffplay?
  • when you run mediainfo, does it shows 12s or 8s?
  • if you convert the video using command line ffmpeg to another vídeo or a bunch of images, does the duration remains as expected?
  • is your code able to play correctly other clips or just this one?

If all the answers to these questions doesn't help you, it might be something in your code, not to your media, I'd advise you to isolate your program to see if there's something fish... and or to look at ffplay example.

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

No branches or pull requests

2 participants