Skip to content

[Fedora 40] videoPlayer example does not play backwards when using negative speed using the mouse. #8345

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

Open
PaoloMolinari opened this issue Mar 5, 2025 · 1 comment

Comments

@PaoloMolinari
Copy link

PaoloMolinari commented Mar 5, 2025

The video player example does not play backwards with negative speed. As soon as the speed is set to negative the following error appears:

(videoPlayerExample:1245556): GStreamer-CRITICAL **: 20:01:26.076: gst_segment_position_from_running_time_full: assertion 'segment->format == format' failed

(videoPlayerExample:1245556): GStreamer-CRITICAL **: 20:01:26.076: gst_segment_do_seek: assertion 'segment->format == format' failed

The error does not occur every frame, only when the speed changes of sign. Once the speed returns to be positive the player works normally (the example does not crash).

Fedora 40
gst-launch-1.0 version 1.24.11
GStreamer 1.24.11

@artificiel
Copy link
Contributor

confirmed on Arch Linux / GST 1.24.12. no quick fix here...

the reported frame goes above 218 like 342/218 so it seems lower level, also there is interaction with the EOS callback (in gstHandleMessage()) to re-seek the clip upon ending -- yet the GST docs do not seem to imply that EOS is emitted when reaching the beginning in a reverse-play situation.

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