Page 1 of 1

Slider not working after data being piped to vlc -

Posted: 14 Feb 2013 15:45
by thedax
I want to use the GUI of the VLC in a situation where data is piped into VLC using the - (stdin) flag from the command line. VLC starts, shows its GUI and start playing fine. However the slider is not moving during playback. Using the slider to position the playback at specific time does not work either.

The command syntax I use is:
cat TestTrack.mp3 | vlc -

Is this slider behaviour by design when data is being piped into VLC?
I'm using VLC 1.1.8 for Linux (Fedora 14) BUT the question is also for MS-Windows and Mac OSX environments.
BTW: What I actually try to achieve is to play data from memory.

Note:
I forgot to mention that on the console I start VLC it shows the following messages:

Code: Select all

bash-4.1$ cat TestTrack.mp3 | vlc - VLC media player 1.1.8 The Luggage (revision exported) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0x889292c] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Blocked: call to setlocale(6, "") Blocked: call to setlocale(6, "")

Re: Slider not working after data being piped to vlc -

Posted: 14 Feb 2013 17:13
by RĂ©mi Denis-Courmont
MP3 file duration is estimated from the file size. With a pipe, there is no file size, so no duration estimate, so no slider.

Re: Slider not working after data being piped to vlc -

Posted: 19 Feb 2013 11:11
by thedax
Thanks for the answer, that is a clear one.
It's a pitty but I was already a bit prepared for that answer when I was looking into streaming as well. I will rephrase my question......