On 08/27/2012 05:45 AM, eryksun wrote:
> Most programs expect their arguments to have been tokenized as the
> shell would as a matter of convention. So, for example, if vlc gets
> "-I" in argv[1] it expects that argv[2] will be a value such as
> "dummy". A value of "-I dummy" in argv[1] in principl
On Mon, Aug 27, 2012 at 3:52 AM, Ray Jones wrote:
>
> Yes, the Bash call worked (in fact I tried it just prior to sending the
> original message just to be sure).
>
> I guess I'm a bit confused about 'splitting' the arguments. You said
> that Python splits arguments on spaces. What exactly happens
On 08/27/2012 03:52 AM, Ray Jones wrote:
> On 08/26/2012 07:12 AM, eryksun wrote:
>>
> Yes, the Bash call worked (in fact I tried it just prior to sending the
> original message just to be sure).
>
> I guess I'm a bit confused about 'splitting' the arguments. You said
> that Python splits argument
On 08/26/2012 07:12 AM, eryksun wrote:
> On Sun, Aug 26, 2012 at 7:55 AM, Ray Jones wrote:
>> [0x8d42554] stream_out_standard stream out error: no mux specified or
>> found by extension
>> [0x8d42134] main stream output error: stream chain failed for
>> `standard{mux="",access=""#duplicate{dst="tr
On Sun, Aug 26, 2012 at 7:55 AM, Ray Jones wrote:
>
> [0x8d42554] stream_out_standard stream out error: no mux specified or
> found by extension
> [0x8d42134] main stream output error: stream chain failed for
> `standard{mux="",access=""#duplicate{dst="transcode{vb=400}",dst="std{access=file,mux=a
>
>> To: tutor@python.org <mailto:tutor@python.org>
>> Subject: [Tutor] 2.7.3 Popen argument issues
>> Message-ID: <503971d0.5040...@gmail.com
>> <mailto:503971d0.5040...@gmail.com>>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Is the
On Aug 26, 2012, at 12:25 AM, tutor-requ...@python.org wrote:
> Message: 2
> Date: Sat, 25 Aug 2012 17:46:08 -0700
> From: Ray Jones
> To: tutor@python.org
> Subject: [Tutor] 2.7.3 Popen argument issues
> Message-ID: <503971d0.5040...@gmail.com>
> Content-Type: tex
On 08/25/2012 10:19 PM, eryksun wrote:
> On Sat, Aug 25, 2012 at 11:02 PM, eryksun wrote:
>> out_file = "testing.avi"
>> out_ip = "127.0.0.1"
>> out_port = "11300"
>> dst_file = '"transcode{vb=400}:std{access=file,mux=avi,dst=%s}"' % out_file
>> dst_http = '"std{access=http,mux=mpjpeg,dst=%s:%s}"'
On Sat, Aug 25, 2012 at 11:02 PM, eryksun wrote:
>
> out_file = "testing.avi"
> out_ip = "127.0.0.1"
> out_port = "11300"
> dst_file = '"transcode{vb=400}:std{access=file,mux=avi,dst=%s}"' % out_file
> dst_http = '"std{access=http,mux=mpjpeg,dst=%s:%s}"' % (out_ip, out_port)
> sout = "'#duplicate{
On Sat, Aug 25, 2012 at 11:02 PM, eryksun wrote:
>
> import subprocess
>
> ip = "192.168.0.2"
> port = "1234"
>
> out_file = "testing.avi"
> out_ip = "127.0.0.1"
> out_port = "11300"
> dst_file = '"transcode{vb=400}:std{access=file,mux=avi,dst=%s}"' % out_file
> dst_http = '"std{access=http,mux=mp
On Sat, Aug 25, 2012 at 8:46 PM, Ray Jones wrote:
>
> Here is my Python call to vlc (error response to follow):
>
> vlcExec = sp.Popen(['vlc', 'http://' + ip + ':' + port, '-I dummy',
> '--sout
> \'#duplicate{dst="transcode{vb=400}:std{access=file,mux=avi,dst=outFile
> + '.avi}",dst="std{access=ht
Is there a method by which I can get an exact representation of command
line arguments passed by Popen as seen by the called program? The
argument error I receive shows me an argument that looks exactly like
the argument that I use with Bash (it should - I copied and pasted it) -
but the Bash versi
12 matches
Mail list logo