Page 1 of 1

output to stdout

Posted: 11 May 2020 23:15
by pcouderc
I would like to ouput to stdout. How should I do in libvlc...?
I have not found tht in the doc, but I am a beginner...
Thnks for any tip.

Re: output to stdout

Posted: 12 May 2020 16:59
by RĂ©mi Denis-Courmont
Output what? fd://1 is the standard output in LibVLC MRL.

Re: output to stdout

Posted: 12 May 2020 17:39
by pcouderc
Thank you.
I have made a "player" (based on https://wiki.videolan.org/LibVLC_Tutorial/) with libvlc which is the equivalent of :
cvlc www.xxxx/yyy.m3u
which works very fine on my speakers.
And I want to pipe it to a sink which expects data (basic wav) on stdin.
So I need to change the ouput from speakers to stdout or find anoter way.
I can modify the code of the sink, if needed.