unosquare / ffmediaelement

FFME: The Advanced WPF MediaElement (based on FFmpeg)
https://unosquare.github.io/ffmediaelement/
Other
1.17k stars 238 forks source link

Audio in bink files plays too fast #554

Closed LorenzoDePasquale closed 3 years ago

LorenzoDePasquale commented 3 years ago

Audio in bink files plays too fast

Opening a bink file causes audio to play too fast and be out of sync with the video. This happens with the sample player too, but doesn't happen with ffplay.exe. In contrast seeking is broken on ffplay.exe but works with your player

This is a really small problem that I am posting here just for curiosity, I don't expect you to support such a niche video format

Issue Categories

Version Information

All versions

Steps to Reproduce

Open any bink video with audio (I can't link any because of copyright, but can send one privately if you are curious)

Anyway many thanks for this awesome project

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mariodivece commented 3 years ago

Do you see the same results when playing it with ffplay.exe?

LorenzoDePasquale commented 3 years ago

Yes, ffplay always worked (but is strangely unable to seek bink files). ffmediaelement could seek but was unable to reproduce audio correctly. Anyway I tried again with ffmpeg new 4.4 binaries and now audio works perfectly! I guess the problem was with ffmpeg but I have no idea why ffplay worked