video stops when setting position or time
Posted: 08 Apr 2019 12:29
I have a very simple player written in WinDev using the API calls. It works just fine until I try to setPosition or setTime. The video just stops and will not resume.
I can pause and resume the playing. Say I have a 10 minute video and I set position to .5. The getTime will return 300000 (or 5 minutes), but the video does not move. I can set the position to .25 and the getTime will return 150000 and the video will not move.
The IsPlaying indicator is always returning 0 even if the video is playing on the screen. also I did libvlc_video_set_key_input but the keys do not work to change the position being played. Also libvlc_media_player_is_seekable=1
I appreciate any suggestions as to what might be wrong or if there is another approach to being able to control the video. Thank you.
I can pause and resume the playing. Say I have a 10 minute video and I set position to .5. The getTime will return 300000 (or 5 minutes), but the video does not move. I can set the position to .25 and the getTime will return 150000 and the video will not move.
The IsPlaying indicator is always returning 0 even if the video is playing on the screen. also I did libvlc_video_set_key_input but the keys do not work to change the position being played. Also libvlc_media_player_is_seekable=1
I appreciate any suggestions as to what might be wrong or if there is another approach to being able to control the video. Thank you.