Image duration, RC feedback

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Xorphix
New Cone
New Cone
Posts: 5
Joined: 04 Sep 2007 11:56

Image duration, RC feedback

Postby Xorphix » 09 Oct 2008 10:49

I'm writing a script to use VLC as a "light weight" media center, but have run into a few dead-ends, which I cant get a reply on anywhere in the massive documentation:

1) when I put an image in the playlist, it plays it nicely, however only a 1 second glimpse. According to the log this is intended:
main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: creating access '' path='d:\test.jpg'
- I have tried --run-time but that seems to only decide how long a 'stream' should play.
Is there any way to control how long VLC should play an image?

2) Using the RC interface, my script controls VLC via telnet, when I enqueue a few media, and play it, I get this feedback in telnet:
status change: ( play state: 1 ): Opening
status change: ( play state: 2 ): Buffer
status change: ( play state: 3 ): Play
status change: ( play state: 8 ): End <- end of the first media
status change: ( play state: 8 ): End <- end of second media

I start VLC with --loop option, so it keeps playing my playlist over and over, then I control the changing of media from telnet.
The issue is, I get these END messages for the first loop, but then it goes silent once the loop has started, it keeps playing but I
dont get the notice the media has ended. Is this intentional?

There might be tricks I have missed, please throw in ur cents :-)

Xorphix
New Cone
New Cone
Posts: 5
Joined: 04 Sep 2007 11:56

Re: Image duration, RC feedback

Postby Xorphix » 13 Oct 2008 22:48

.. at least im glad its not an obvious answer I missed ;-)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Image duration, RC feedback

Postby Jean-Baptiste Kempf » 14 Oct 2008 09:56

1) use fake.
2) I don't understand.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Xorphix
New Cone
New Cone
Posts: 5
Joined: 04 Sep 2007 11:56

Re: Image duration, RC feedback

Postby Xorphix » 14 Oct 2008 22:14

1) use fake.
.. as in? Is there any way I can change that time outside?
2) I don't understand.
When using the RC telnet interface. I get feedback in the telnet from media currently playing like "status change messages"
If using loop mode, I no longer get these messages when it loops, is that a bug or?

Thanks for your reply

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Image duration, RC feedback

Postby Jean-Baptiste Kempf » 14 Oct 2008 22:37

As in fake module. :D

It must be a bug, yes.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Xorphix
New Cone
New Cone
Posts: 5
Joined: 04 Sep 2007 11:56

Re: Image duration, RC feedback

Postby Xorphix » 15 Oct 2008 09:40

Brilliant, for reference if other has this question, this solved the image duration, by creating an image as a stream:
http://wiki.videolan.org/Documentation:Modules/fake
- Its by far not optimal for my usage but its possible. I would prefer a solution where I could enter duration as seconds on the RC command "add" or "enqueue", will take a brief look at the code if I can figure that out.

I will test the Rc feedback on a nightly build tonight and return if I experience the same issues there.

Thanks j-b!

Xorphix
New Cone
New Cone
Posts: 5
Joined: 04 Sep 2007 11:56

Re: Image duration, RC feedback

Postby Xorphix » 16 Oct 2008 09:29

I can confirm RC Feedback is fixed in the nightly build.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Image duration, RC feedback

Postby Jean-Baptiste Kempf » 16 Oct 2008 11:51

I can confirm RC Feedback is fixed in the nightly build.
Good news.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 105 guests