Remote control to control TV channels, using VLC / VLM.

Want to help the VideoLAN project? Designers, testers, translators, please come...
This is NOT about GETTING some help.
Forum rules
Please read the forum's rules carefully before posting. This forum should not be used to post VLC usage related questions.
viulian
New Cone
New Cone
Posts: 7
Joined: 30 Jan 2010 18:45

Remote control to control TV channels, using VLC / VLM.

Postby viulian » 30 Jan 2010 21:50

Hello,

I've created an application that allows me to interact with VideoLan at home (I'm working abroad) and to change the TV channel while streaming.

Situation:
* working abroad, I have access to my home PC that is always on.
* foreign country - I don't speak the language and TV channels are in foreign language.
* home PC has tuner and antenna in it!

I was able to easily setup VideoLan streaming (x264 @ 800, mono @ 96), and gave up on WMP as player and decided to stream using HTTP as VideoLan (the player on the laptop) is able to resume dropped HTTP connections.

The bad thing was that I needed to be connected with VNC, stop Videolan, modify startup script with a new channel that I wanted to watch, restart, disconnect from VNC.

I've written an application that sends the change channel command to the VLC server via VLM (shuts down the stream, issues set option for dshow-tuner-channel, and issues play again). As the connection is over HTTP, VideoLan (the player), is able to resume without the need to press Play in VLC.

Application is easy to modify to support different types of commands (written in Java) works on Ubuntu and Windows 7. Creating a new command is as simple as extending an existing class that handles connecting and authentication, you just need to send text commands and read response.

I've also put in the getCurrentChannel (I've noticed that 'show media' displays a list of dshow-tuner-channel, and the last one in the listing is the current channel - thus application, if the remote server is working, will display the current channel and also select it in the list).

Licence is GPLv2, home page: http://code.google.com/p/remotecadm/ [screenshots, downloads, how to set the themes, how to build it, how to configure - please check wiki there].

I love VLC!

viulian
New Cone
New Cone
Posts: 7
Joined: 30 Jan 2010 18:45

Re: Remote control to control TV channels, using VLC / VLM.

Postby viulian » 12 Jul 2010 00:18

RemoteCAdm 1.1a is now able to control VLC Server on Linux (v4l2).

I've updated the project home page http://code.google.com/p/remotecadm/ with it, and version 1.0a is marked as deprecated.
There's also a new Wiki page there showing the scripts that I use to configure / start VLC on Linux (Ubuntu 9.04 is tested) so that is starts in a way that is controllable by RemoteCAdm.

A word of advice for people already using RemoteCAdm 1.0a: If you decide to upgrade, the configuration file format has changed,the

Code: Select all

channel.[num]=[name]
lines become

Code: Select all

dx.channel.[num]=[name]

viulian
New Cone
New Cone
Posts: 7
Joined: 30 Jan 2010 18:45

Re: Remote control to control TV channels, using VLC / VLM.

Postby viulian » 17 Apr 2011 14:08

I'm working on a Web application that allows controlling VLC from the browser. Since it runs on the same machine as VLC, the advantage is that it can also start / stop VLC so that VLC doesn't use CPU / Energy while not streaming.

Below are some screenshots that are also available on Wiki here: http://code.google.com/p/remotecadm/wiki/RemoteCAdmWeb

Startup screen (only TV Channels are visible).

Image

Options dialog is also on, showing the start / kill commands, as well as the "Turn On" / "Turn Off" buttons on the lower right.

Image

Options dialog allowing editing the channels frequency:

Image

It is much more comfortable now to control VLC :)
I am also thinking on adding a panel to allow browsing the filesystem.

Application is built with Maven / JSF 2.0 / Primefaces / Spring / and embedded database hsqldb.


Return to “Contribute and help the VideoLAN project”

Who is online

Users browsing this forum: No registered users and 33 guests