[vlc-devel] Solved - Remote control does not work when VLC is spawned as a child process
Peter Tap
ptrtap at yahoo.com
Tue Feb 21 10:01:41 CET 2012
Folks,
A few days ago, I had posted about not able to get vlc's remote control functionality to work on a spawned process. After debugging through vlc code, what I finally discovered was that vlc requires parameter "rc-fake-tty" to be set to 1.
Unfortunately, it appears you cannot pass rc-fake-tty as a command line parameter. The only way to make it work is to set it in vlc's configuration file.
Hopefully, others will find this useful.
Regards,
Peter
________________________________
From: Peter Tap <ptrtap at yahoo.com>
To: "vlc-devel at videolan.org" <vlc-devel at videolan.org>
Sent: Friday, February 17, 2012 6:53 PM
Subject: [vlc-devel] Remote control does not work when VLC is spawned as a child process
Folks,
Environment: Ubuntu 11.10
I have configured VLC to run remote control (rc) interface.
Here is the command line parameters that I am using in my batch file:
--file-logging --logfile=Logs/vlc.log --verbose 3 --extraintf=oldrc --rc-host=localhost:4000
When I run vlc using this batch file, I am able to use telnet to port 4000 and issue various remote control commands. This works as expected.
I also have a Java application that spawns VLC as a child process. It has exactly the same list of parameters.
However, when VLC is spawned this way, although the UI comes up and I can interact with the UI, I am not able to telnet into vlc.
I have been trying different things for the past few hours. At one point, I thought it did work but now I cannot reproduce my own steps:-(.
Although the log file is set up for maximum verbosity, it does not show anything with "oldrc."
I am wondering if anyone has any idea on what could be happening.
Thank you in advance for your help.
Regards,
Peter
_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120221/71288519/attachment.html>
More information about the vlc-devel
mailing list