Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • LibVLCSharp LibVLCSharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 79
    • Issues 79
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLANVideoLAN
  • LibVLCSharpLibVLCSharp
  • Issues
  • #459
Closed
Open
Issue created Apr 15, 2021 by SchindlerFlorian@SchindlerFlorian

Seekbar timeline freezes, video still plays

Summary

I am encountering a frozen time and position property when I am streaming from my azure blob storage. The Video still plays until the end and the "TimeChanged" and "PositionChanged" event is still raised. At the halfway mark (15 seconds of 30 in this case) the position and time stay the same. This only happens with these URLs, other streams are fine. (This for example: http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4) My code to play the Video:

            Core.Initialize();

            _libVLC = new LibVLC("--verbose=2");
            videoView.MediaPlayer = new MediaPlayer(_libVLC)
            {
                EnableHardwareDecoding = true,
                
                
            };

            videoView.MediaPlayer.TimeChanged += MediaPlayer_TimeChanged;
            videoView.MediaPlayer.PositionChanged += MediaPlayer_PositionChanged; ;
            videoView.MediaPlayer.LengthChanged += MediaPlayer_LengthChanged;

            var media = new Media(_libVLC, new Uri("https://customurl.blob.core.windows.net/7894b4f3f2e2/B0C554314DB0-dcc74a22dd030c5c9c34345d80c0147d.mp4?sv=2015-12-11&sr=c&sp=r&se=2021-04-15T11:06:01Z&st=2021-04-15T10:21:01Z&sig=zrK%2Fjzh10rKdN%2BwQAaQ9t9TJzhyy3ILXSVup1g3%2B4gM%3D"));
            videoView.MediaPlayer.Play(media);

I have tested streaming the file on other platforms which worked fine. Streaming the file with the VLC desktop app has the same issue.

Minimal project and steps to reproduce

I have set up a repository with my project. The URL is a placeholder.

https://github.com/SchindlerFlorian/vlcvideoplayerissue

What is the current bug behavior?

The position and time variable do not get updated after 15 seconds of playtime.

What is the expected correct behavior?

The position and time-variable should match the time in the shown video it's full playtime.

Does it work on other plaforms? Does it work with the official VLC apps?

It does not work with the vlc desktop app (windows or mac).

This website plays the stream fine: https://www.radiantmediaplayer.com/test-your-streaming-url.html

Relevant logs and/or screenshots

Xamarin Logs: xamarinlogs.txt

Vlc desktop logs:

desktoplogs.txt

both logs show EOF Reached before the video stops playing. The Xamarin log will show the time printed.

Environment

  • OS: Android
  • Version: API 28
  • Device: Pixel 3a emulated
  • Videolan.libvlc.android version: 3.2.0
  • LibVLCSharp version: 3.5
  • Vlc Desktop: Version 3.0.12 Vetinari (Intel 64bit)

Possible fixes

not known.

Edited Apr 15, 2021 by SchindlerFlorian
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

VideoLAN code repository instance