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 78
    • Issues 78
    • 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
  • #439
Closed
Open
Issue created Feb 22, 2021 by Tushar Chaudhari@tchaudha78

The VLCLibCsharpShared method TakeSnapshot does not work always returns false

The VLCLibCsharpShared method TakeSnapshot does not work always returns false

Summary

The TakeSnapshot method does not work always returns false, when capturing from live feed from Capture device.

Minimal project and steps to reproduce

code -> if(_mediaPlayer.isPlaying()) { return _mediaPlayer.TakeSnapshot(0, filePath, 0, 0); } this call always returns "false" and no file is saved;

Related WPF .net solution added to "https://github.com/tusharhub1978/VLCLIB.git" Functional steps to reproduce the behavior (if necessary):

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

What is the current bug behavior?

The TakeSnapshot method does not work always returns false, when capturing from live feed from Capture device.

What is the expected correct behavior?

The TakeSnapshot method should return a true and related snapshot file file should be created on the respective path (bi directory of the project).

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

did not try on other platforms

Relevant logs and/or screenshots

NA

Environment

  • OS: Windows 64 bit
  • Version Win10, Win7 embeded
  • Device: Desktop PC
  • LibVLC version and architecture 3.0.11.0
  • LibVLCSharp version 3.4.9.0
  • LibVLCSharp.WPF 3.4.9.0

Possible fixes

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