Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • VLC VLC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,720
    • Issues 3,720
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 230
    • Merge requests 230
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLANVideoLAN
  • VLCVLC
  • Issues
  • #5074
Closed
Open
Issue created Jul 15, 2011 by kot@kot

Even with --verbose 0 vlc produces non-error output

I am running vlc from cron to capture a camera's video-feed for two hours per day. Unless there is an error of some kind, I don't want to receive an e-mail from cron.

Unfortunately, even if verbosity is explicitly set to 0: vlc -I dummy --verbose 0 --run-time=7200 rtsp://user:passwd@cam-kitchen/nphMpeg4/g726-640x480 --sout "#transcode{acodec=mp3}:std{access=file,mux=mp4,dst=kitchen-date +%A.mp4}" vlc://quit

vlc still finds something to say:

VLC media player 1.1.10 The Luggage (revision exported)
Blocked: call to setlocale(0, "")
Blocked: call to setlocale(0, "")
Blocked: call to setlocale(0, "")
Blocked: call to setlocale(0, "")
Blocked: call to setlocale(0, "")
[0x822647370] main interface error: no suitable interface module
[0x80121c1b0] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x822647370] dummy interface: using the dummy interface module...
[0x8244f4d70] dummy demux: command `quit'

It ought to be possible to make it silent, unless an error occurs. In fact, unless an increased verbosity is explicitly requested, a Unix program must be silent by default. See Eric Raymond's "Rule of Silence":

  • When a program has nothing surprising to say, it should say nothing.
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