Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5966075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:44:28+00:00 2026-05-22T19:44:28+00:00

I think something is getting subtly mangeled when I attempt to execute a subprocess

  • 0

I think something is getting subtly mangeled when I attempt to execute a subprocess from a python script

I attempt to execute vlc with some (a lot) of arguments.

the instance of vlc that arises complains:

Your input can’t be opened:
VLC is unable to open the MRL ‘ -vvv rtsp://192.168.1.201:554/ch0_multicast_one –sout=#transcode{acodec=none}:duplicate{dst=rtp{sdp=rtsp://:5544/user_hash.sdp},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep’. Check the log for details.

Here is the python code

pid = subprocess.Popen(["vlc "," -vvv rtsp://%s" % target_nvc.ip_address + ":554/ch0_multicast_one --sout=#transcode{acodec=none}:duplicate{dst=rtp{sdp=rtsp://:5544/user_hash.sdp},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep" ], stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)

I have examined the output of the subprocess function (using a shell), and if I copy paste that string into my cmd window, the vlc instance works fine… Is this a privilege thing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T19:44:29+00:00Added an answer on May 22, 2026 at 7:44 pm

    You should use this…

    pid = subprocess.Popen(["vlc", "-vvv", 
        "rtsp://%s" % target_nvc.ip_address + ":554/ch0_multicast_one", 
        "--sout=#transcode{acodec=none}:duplicate{dst=rtp{sdp=rtsp://:5544/user_hash.sdp},dst=display}", 
        ":no-sout-rtp-sap", ":no-sout-standard-sap", 
        ":ttl=1", ":sout-keep" ], stdout=subprocess.PIPE, 
        stderr=subprocess.PIPE, stdin=subprocess.PIPE)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I keep getting a exc bad access error and I think it has something
I'm trying to get this simple PowerShell script working, but I think something is
I think this is an escaping issue or something. When I execute the query
I think there is something that I'm just not yet getting about how these
Having some trouble getting a JSON feed to load from my site. I'm starting
I think I am not getting something right with JMS and JTA. I am
I'm think something like Facebook apps here. User generated pieces of code that people
I think I encountered something extraordinary strange in VS 2008. All the array values
How would I do this? I think this has something to do with editing
I think there must be something subtle going on here that I don't know

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.