Support of flac ?

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
pmialon
New Cone
New Cone
Posts: 4
Joined: 20 Jan 2006 14:46
Location: Paris

Support of flac ?

Postby pmialon » 23 Jan 2006 17:10

When I try :
./vlc --ttl 12 -vvv --color -I telnet --rtsp-host 0.0.0.0:5554

On telnet interface :
> new canal vod enabled
> setup canal input ../test.flac

[00000245] vod_rtsp private debug: created rtsp url: /canal
[00000245] vod_rtsp private debug: media has 1 declared ES
[00000245] vod_rtsp private debug: - ES flac (/canal/trackid=0)
[00000245] vod_rtsp private error: cannot add this stream (unsupported codec: flac)

vlc --list | grep flac
VLC media player 0.8.4a Janus
flacdec Flac audio packetizer
flac FLAC demuxer

???
I look at the doc :
http://www.videolan.org/vlc/features.html
and http://www.videolan.org/doc/streaming-h ... l#id296544
http://www.videolan.org/streaming/features.html

and it seems that flac can be outputed in flac or raw format and that raw can be used in rtp udp and http access ...

Do I miss something ?

I succed making aod (audio on demand) working with mp3 but not with flac or ogg format :(

Benj

Postby Benj » 25 Jan 2006 09:56

Try to play your input with vlc. Maybe it is corrupted.
good luck

pmialon
New Cone
New Cone
Posts: 4
Joined: 20 Jan 2006 14:46
Location: Paris

:(

Postby pmialon » 25 Jan 2006 17:25

Try to play your input with vlc. Maybe it is corrupted.
good luck
note it work great :

it was encode with flac from cd with no options :

vlc -vvv test.flac
VLC media player 0.8.4a Janus
[00000001] main vlc debug: opening config file /home/nkv/pierre-gilles/.vlc/vlcrc
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /home/nkv/pierre-gilles/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 214 modules
[00000001] main vlc debug: opening config file /home/nkv/pierre-gilles/.vlc/vlcrc
[00000001] main vlc debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT SSE SSE2 FPU
[00000001] main vlc debug: looking for memcpy module: 4 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000268] main playlist debug: waiting for thread completion
[00000268] main playlist debug: thread 25062320 (playlist) created at priority 0 (src/playlist/playlist.c:183)
[00000269] main private debug: waiting for thread completion
[00000269] main private debug: thread 43830192 (preparser) created at priority 0 (src/playlist/playlist.c:205)
[00000270] main interface debug: looking for interface module: 1 candidate
[00000238] main module debug: using interface module "hotkeys"
[00000270] main interface debug: interface initialized
[00000270] main interface debug: thread 62364592 (interface) created at priority 0 (src/interface/interface.c:211)
[00000272] main interface debug: looking for interface module: 6 candidates
[00000103] main module debug: using interface module "screensaver"
[00000272] main interface debug: interface initialized
[00000272] main interface debug: thread 72854448 (interface) created at priority 0 (src/interface/interface.c:211)
[00000268] main playlist debug: adding playlist item `test.flac' ( test.flac )
[00000274] main interface debug: looking for interface module: 5 candidates
[00000025] main module debug: using interface module "wxwidgets"
[00000274] main interface debug: interface initialized
[00000274] main interface debug: thread 112905136 (manager) created at priority 0 (src/interface/interface.c:196)
[00000274] wxwidgets interface debug: Using last windows config '(-1,0,0,2560,1024)(0,2077,725,440,186)'
[00000274] wxwidgets interface debug: id=0 p=(2077,725) s=(440,186)
[00000268] main playlist debug: nothing requested, starting
[00000268] main playlist debug: creating new input thread
[00000277] main input debug: waiting for thread completion
[00000277] main input debug: thread 146340784 (input) created at priority 0 (src/input/input.c:230)
[00000277] main input debug: `test.flac' gives access `' demux `' path `test.flac'
[00000277] main input debug: creating demux: access='' demux='' path='test.flac'
[00000278] main demuxer debug: looking for access_demux module: 2 candidates
[00000277] main input debug: creating access '' path='test.flac'
[00000281] main access debug: looking for access2 module: 5 candidates
[00000281] vcd access debug: trying .cue file: test.cue
[00000281] access_file access debug: opening file `test.flac'
[00000148] main module debug: using access2 module "access_file"
[00000286] main private debug: pre buffering
[00000286] main private debug: received first data for our buffer
[00000286] main private debug: prebuffering done 1408981 bytes in 0s - 461575 kbytes/s
[00000277] main input debug: creating demux: access='' demux='' path='test.flac'
[00000287] main demuxer debug: looking for demux2 module: 39 candidates
[00000289] main decoder debug: looking for packetizer module: 16 candidates
[00000182] main module debug: using packetizer module "flacdec"
[00000277] main input debug: selecting program id=0
[00000287] main demuxer debug: looking for id3 module: 1 candidate
[00000287] id3tag demuxer debug: checking for ID3 tag
[00000071] main module debug: using id3 module "id3tag"
[00000071] main module debug: unlocking module "id3tag"
[00000066] main module debug: using demux2 module "flac"
[00000301] main decoder debug: looking for decoder module: 22 candidates
[00000180] main module debug: using decoder module "flacdec"
[00000301] main decoder debug: thread 156830640 (decoder) created at priority 0 (src/input/decoder.c:159)
[00000277] main input debug: `test.flac' successfully opened
[00000289] flacdec decoder debug: decode STREAMINFO
[00000289] flacdec decoder debug: channels:2 samplerate:44100 bitspersamples:16
[00000289] flacdec decoder debug: STREAMINFO decoded
[00000301] flacdec decoder debug: decode STREAMINFO
[00000301] flacdec decoder debug: channels:2 samplerate:44100 bitspersamples:16
[00000301] flacdec decoder debug: STREAMINFO decoded
[00000301] main decoder debug: no aout present, spawning one
[00000309] main audio output debug: looking for audio output module: 6 candidates
[00000309] alsa audio output debug: opening ALSA device `default'
[00000309] main audio output debug: thread 167320496 (aout) created at priority 0 (alsa.c:662)
[00000266] main module debug: using audio output module "alsa"
[00000309] main audio output debug: output 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
[00000309] main audio output debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
[00000309] main audio output debug: no need for any filter
[00000309] main audio output debug: looking for audio mixer module: 3 candidates
[00000139] main module debug: using audio mixer module "trivial_mixer"
[00000309] main audio output debug: input 's16l' 44100 Hz Stereo frame=1 samples/4 bytes
[00000309] main audio output debug: filter(s) 's16l'->'fl32' 44100 Hz->44100 Hz Stereo->Stereo
[00000313] main private debug: looking for audio filter module: 23 candidates
[00000218] main module debug: using audio filter module "s16tofloat32"
[00000309] main audio output debug: found a filter for the whole conversion
[00000309] main audio output debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo
[00000335] main private debug: looking for audio filter module: 23 candidates
[00000205] main module debug: using audio filter module "bandlimited_resampler"
[00000309] main audio output debug: found a filter for the whole conversion
[00000309] main audio output warning: PTS is out of range (124549), dropping buffer
[00000309] main audio output warning: PTS is out of range (20894), dropping buffer
[00000309] main audio output warning: buffer is 97391 in advance, triggering downsampling
[00000309] main audio output warning: the mixer got a packet in the past (16121)
[00000309] main audio output warning: mixer start isn't output start (5687)
[00000309] main audio output debug: audio output is too slow (92878), trashing 23219us
[00000309] main audio output debug: audio output is too slow (70020), trashing 23219us
[00000309] main audio output debug: audio output is too slow (46980), trashing 23220us
[00000309] main audio output warning: resampling stopped after 29977510 usec (drift: -1139)


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 23 guests