-
Notifications
You must be signed in to change notification settings - Fork 0
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
AssertionError: pts glitch
while opening RGB .mp4 video
#1
Comments
Hi @niksirbi thank you for opening this issue. I suspect this is now addressed with v0.0.7. Can you give it a try?
|
Just gave v0.0.7 a try. A few weird things:
2024-10-14.11-21-55.mp4On a positive note, the outputs are now indeed RGB. |
Oh I believe the jitter is due to you clicking play but also jumping to a different point in the time line. I think that's a napari glitch for any video. It shouldn't happen if you press stop and then move the scroll bar. |
I had tried this on the transcoded version only.
Good to hear. Feel free to even use for unit testing/CI if you wish. It's part of a data repository we maintain for testing our Python package - movement. |
You're right, jumping around while the video is paused works fine. |
v0.0.8 seems to work with both versions of your video and generates a hopefully sensible amount of warnings. |
It worked nicely now, with I'm closing this issue. |
Thank you very much for the video and for testing! |
I'm opening this issue following up on the discussion started here.
I am trying to open this .mp4 video using the
napari-pyav
plugin, but end up with:AssertionError: pts glitch: 27729000 > 27726000
.Feel free to use the linked video for debugging.
I'm using
Python 3.11.10
,napari v0.5.4
, andnapari-pyav v0.0.6
, on an M2 MacBook Pro.The relevant section of the stack trace
I also tried transcoding the video following SLEAP's recommendations:
Following that, I could open the video, but the resulting layer appeared in grayscale.
Hopefully this info helps to improve/debug the plugin.
The text was updated successfully, but these errors were encountered: