Page 1 of 1

rtsp transcode

Posted: 14 Aug 2006 00:55
by elduran
I have made some tests with rtsp running first via command prompt
vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host 0.0.0.0:554
Then go to http interface an add streaming videos, i have the vlc server (vlc-0.8.6-svn-20060813-0000-win32.exe) in windows box, i can run the streams via rtsp in the mac osx 10.4, everything works fine, but when i try to transcode, doesn't work, vlc client in mac crash sometimes or just play audio, here is the message

main debug: CPU has capabilities AltiVec FPU
main debug: looking for memcpy module: 2 candidates
main debug: using memcpy module "memcpyaltivec"
main debug: waiting for thread completion
main debug: thread 42004992 (playlist) created at priority -47 (playlist/playlist.c:184)
main debug: waiting for thread completion
main debug: thread 42152448 (preparser) created at priority -47 (playlist/playlist.c:210)
main debug: looking for interface module: 1 candidate
main debug: using interface module "hotkeys"
main debug: thread 42926080 (interface) created at priority -47 (interface/interface.c:198)
main debug: looking for interface module: 3 candidates
main debug: using interface module "macosx"
main debug: thread 42149888 (manage) created at priority -47 (interface/interface.c:164)
main debug: adding playlist item `test2' ( rtsp://192.168.1.112:554/test2 )
main debug: creating statistics handler
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 42941440 (input) created at priority 37 (input/input.c:261)
main debug: `rtsp://192.168.1.112:554/test2' gives access `rtsp' demux `' path `192.168.1.112:554/test2'
main debug: creating demux: access='rtsp' demux='' path='192.168.1.112:554/test2'
main debug: looking for access_demux module: 1 candidate
macosx debug: input has changed, refreshing interface
livedotcom debug: sdp=v=0

o=- 16470359000 3 IN IP4 192.168.1.112

t=0 0

a=tool:vlc 0.8.6-svn-20060813-0000

c=IN IP4 0.0.0.0

a=range:npt=0-6084.000

m=audio 0 RTP/AVP 14

a=rtpmap:14 MPA/90000

a=control:rtsp://192.168.1.112:554/test2/trackID=0

m=video 0 RTP/AVP 96

a=rtpmap:96 MP4V-ES/90000

a=fmtp:96 profile-level-id=3; config=000001200092c400670c401088518f;

a=control:rtsp://192.168.1.112:554/test2/trackID=1



livedotcom debug: RTP subsession 'audio/MPA'
livedotcom debug: RTP subsession 'video/MP4V-ES'
main debug: selecting program id=0
main debug: using access_demux module "livedotcom"
main debug: looking for decoder module: 25 candidates
ffmpeg debug: libavcodec initialized (interface 3344640 )
ffmpeg debug: ffmpeg codec (MPEG Audio layer 1/2) started
main debug: using decoder module "ffmpeg"
main debug: thread 43680256 (decoder) created at priority 37 (input/decoder.c:159)
main debug: looking for decoder module: 25 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: postprocessing disabled
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "ffmpeg"
main debug: thread 44281344 (decoder) created at priority -47 (input/decoder.c:159)
main debug: `rtsp://192.168.1.112:554/test2' successfully opened
main debug: no aout present, spawning one
main debug: looking for audio output module: 2 candidates
main debug: VLC is looking for: 's16b' 48000 Hz Stereo frame=1 samples/4 bytes
auhal debug: system has [1] device(s)
auhal debug: DevID: 0x102 DevName: Built-in Audio
auhal debug: supported format: [44100][lpcm][30][4][1][4][2][16]
auhal debug: current format is: [44100][lpcm][43][4][1][4][2][32]
auhal debug: layout of AUHAL has 2 channels
auhal debug: selected 2 physical channels for device output
auhal debug: VLC will output: Stereo
auhal debug: we set the AU format: [48000][lpcm][11][8][1][8][2][32]
auhal debug: the actual set AU format is [48000][lpcm][11][8][1][8][2][32]
main debug: using audio output module "auhal"
main debug: output 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: no need for any filter
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "trivial_mixer"
main debug: input 's16b' 48000 Hz Stereo frame=1 samples/4 bytes
main debug: filter(s) 's16b'->'fl32' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "s16tofloat32"
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion
main warning: non-dated buffer received
main debug: thread 44281344: secret message triggered at misc/block.c:228 (Operation timed out)


What am i doing wrong?

Posted: 25 Aug 2006 18:09
by dionoea
I'll have to check the way the http interface handles transcoding Video on Demand media items. There might be a small bug. I'll reply to this thread once i've done so (this week end i guess).