Page 1 of 1

vlc trying to display while using --sout?

Posted: 06 Oct 2008 14:16
by bler
Hello,

I'm trying to get started on streaming by VLC.

The streaming manual says (I know it's outdated, but all doc sections on wiki are outdated or under construction):
"Stream output is the name of the feature of VLC that allows to output any stream read by VLC to a file or as a network stream instead of displaying it."

So, it's not trying to display, but redirecting to sout. Right?
But im getting errors like:

Code: Select all

[00000382] oss audio output error: cannot open audio device (/dev/dsp) [00000382] main audio output error: couldn't find a filter for the conversion [00000382] main audio output error: couldn't create audio output pipeline [00000422] fb video output error: cannot get terminal mode (Invalid argument) [00000426] freetype spu text error: failed to load font file /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf
indicating that vlc IS trying to display the stream, and it fails, obviously. I have no /dev/dsp and I'm using vlc via ssh, so there's no fb whatsoever.

Im using the example from the manual:

Code: Select all

% vlc -vvv input_stream --sout '#transcode{vcodec=DIV3,vb=256,scale=1,acodec=mp3,ab=32,channels=2}:std{access=mmsh,mux=asfh,dst=:8080}'
It doesn't work, but that's another problem.

Is this a normal behaviour and those errors should appear, or is the manual really outdated and I'm doing everything wrong?

Re: vlc trying to display while using --sout?

Posted: 06 Oct 2008 15:24
by Speed666
Add at the end "-I dummy"

Re: vlc trying to display while using --sout?

Posted: 06 Oct 2008 17:59
by bler
No change.

Re: vlc trying to display while using --sout?

Posted: 07 Oct 2008 15:47
by aegyssus
Is it playing the pictures in text mode? If so, try to (re) ./configure with --disable-caca then recompile and it should work.
I hope this helps,
aegyssus