output to stdout

This forum is about all development around libVLC.
pcouderc
New Cone
New Cone
Posts: 8
Joined: 25 Jul 2013 07:15

output to stdout

Postby pcouderc » 11 May 2020 23:15

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: output to stdout

Postby Rémi Denis-Courmont » 12 May 2020 16:59

Output what? fd://1 is the standard output in LibVLC MRL.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pcouderc
New Cone
New Cone
Posts: 8
Joined: 25 Jul 2013 07:15

Re: output to stdout

Postby pcouderc » 12 May 2020 17:39

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 30 guests