<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Folks,</span></div><div><br><span></span></div><div><span>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. <br></span></div><div><br><span></span></div><div><span>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.</span></div><div><br><span></span></div><div><span>Hopefully, others will find this useful.</span></div><div><br><span></span></div><div><span>Regards,</span></div><div><span>Peter</span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family:
times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Peter Tap <ptrtap@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> "vlc-devel@videolan.org" <vlc-devel@videolan.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, February 17, 2012 6:53 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [vlc-devel] Remote control does not work when VLC is spawned as a child process<br> </font> </div> <br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv213770240"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div>Folks,</div><div><br></div><div>Environment: Ubuntu 11.10</div><div><br></div><div><br></div><div>I have configured VLC to run remote control (rc) interface.</div><div><br></div><div>Here is the command line parameters that I am using in my batch file:</div><div><br></div><div> --file-logging --logfile=Logs/vlc.log --verbose 3 --extraintf=oldrc --rc-host=localhost:4000<br><br></div><div>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.</div><div><br></div><div>I also have a Java application that spawns VLC as a child process. It has exactly the same list of parameters.<br></div><div><br></div><div>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.</div><div><br></div><div>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:-(.</div><div><br></div><div>Although the log file is set up for maximum verbosity, it does not show anything with "oldrc."</div><div><br></div>I am wondering if anyone has any idea on what could be happening.<div><br></div><div>Thank you in advance for your help.</div><div><br></div><div>Regards,</div><div>Peter<br></div><div><br></div><div></div></div></div></div><meta http-equiv="x-dns-prefetch-control" content="on"><br>_______________________________________________<br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br><br><br> </div> </div> </div></body></html>