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
  • #410
Closed
Open
Issue created Nov 16, 2020 by Fedor Zhilkin@Feodoros

MediaPlayer.Position freezes while playing .mp4

Summary

Hello, LibVLCSharp team! Great job! I made simple MediaPlayer, all perfect, but some videos cause problems. If you play some videos, you will notice that the Position freezes and does not change. This only happens with videos .mp4 while playing from Memory Stream, because when we play this video from Uri(string path) everythin works correctly. I think that it from these videos that cannot be seeked (the similiar problem exists in ffmpeg with input Pipe format, when we use Memory Stream to play videos). But not all of mp4 files play with this problem, I have more mp4 examples which play correctly (e.g. example.mp4)) Also, if you rewind this video, the Postiton will change for a second and freezes again.

Minimal project and steps to reproduce

  1. Start any mediaPlayer that based on LibVLCSharp, for example you can take any media player from your samples.
  2. Play any video attached to this post (e.g. cat.mp4)
  3. Check MediaPlayer.Position

What is the current bug behavior?

Position doesn't change

What is the expected correct behavior?

Position changes while video is playing

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

These videos play with Official VLC Player with out problems

Relevant logs and/or screenshots

This is my log of freezing Position (from timer.Tick with interval 100ms): image

Environment

  • OS: Windows
  • Version 10
  • Device: hp laptop
  • LibVLC version and architecture 3.0.11, x64]
  • LibVLCSharp version 3.4.8 testBug.7z

Yours faithfully

Fedor (@Feodoros)

Edited Nov 16, 2020 by Fedor Zhilkin
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