[vlc-devel] Cuestion About Add Command in rc interface

Rafaël Carré funman at videolan.org
Fri Oct 26 07:24:02 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Agustin Casiva a écrit :
> Hello people, i have a cuestion about the Add Command in rc interface.
> I am trying to execute this command in the rc interface
> 
> add http://studiocam1.disp.duke.edu:80/axis-cgi/mjpg/video.cgi?resolution=640x480&compression=25&color=1&rotation=0&textpos=top&date=1&clock=1&text=1
> :sout=#transcode{vcodec=mp4v,vb=512,scale=1}:duplicate{dst=std{access=file,mux=mp4,url=/home/agustin/20071025093916Camera1.mv}}
> 
> The thing is that the name in the output file is not complete, VLC only take
> 
> /home/agustin/20071
> 
> The output is
> 
> Trying to add http://studiocam1.disp.duke.edu:80/axis-cgi/mjpg/video.cgi?resolution=640x480&compression=25&color=1&rotation=0&textpos=top&date=1&clock=1&text=1
> :sout=#transcode{vcodec=mp4v,vb=512,scale=1}:duplicate{dst=std{access=file,mux=mp4,url=/home/agustin/20071
> to playlist.
> add: returned 0 (no error)
> Unknown command `025093916Camera1.mv}}'. Type `help' for help.
> status change: ( new input:
> http://studiocam1.disp.duke.edu:80/axis-cgi/mjpg/video.cgi?resolution=640x480&compression=25&color=1&rotation=0&textpos=top&date=1&clock=1&text=1
> )
> status change: ( audio volume: 256 )
> status change: ( play state: 1 )
> 
> I think that is because the comand is too long and don't fit, Can that be ????

That is

> How can i fix.

Change #define MAX_LINE_LENGTH 256 in modules/control/rc.c and rebuild VLC.


> My Best regards
> 


- --
Rafaël Carré
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHIXnyYWCeGMCv8Q8RAjCwAKC6fs/T9k/WGF26QntQjbCmgg6xYQCg5InL
/HsmT6pbZQABSbT/JnUnXJM=
=97gg
-----END PGP SIGNATURE-----



More information about the vlc-devel mailing list