Page 1 of 1

How to set ports number?

Posted: 04 Sep 2010 21:33
by castrogne
Hi,

I'd like to stream out the lan on my 3G phone, so i'm trying to configure vlc on my computer (Ubuntu). Actually, all works good in LAN, but not out of lan. This is some kind of firewall issue. I can ask for open port number to my provider, but even if i know on which ports to stream, i don't know how to set them.

as you can see bellow, vlc try to open connection to port number 3329x, how to change those port range?

On my server side, i open the 5554 port, i don't think i have to open another, right?

There are my command lines (in telnet) :

Launch VLC :

Code: Select all

vlc --ttl 2 -vvv --color --intf telnet
Telnet commands :

Code: Select all

new mystream broadcast enabled setup mystream input "MY_FILE" setup mystream output #transcode{acodec=mp4a,ab=42,channels=1}:rtp{dst=,port=10000,port-audio=10001,port-video=10002,sdp=rtsp://192.168.0.1:5554/test}
Client url :

Code: Select all

rtsp://my_domain:5554/test
VLC Log :

Code: Select all

VLC media player 1.0.6 Goldeneye [0x8b3a148] main libvlc debug: VLC media player - version 1.0.6 Goldeneye - (c) 1996-2010 the VideoLAN team [0x8b3a148] main libvlc debug: libvlc was configured with ./configure '--build=i486-linux-gnu' '--config-cache' '--disable-maintainer-mode' '--disable-update-check' '--enable-fast-install' '--enable-release' '--prefix=/usr' '--with-binary-version=1ubuntu1.2' '--disable-atmo' '--disable-fluidsynth' '--disable-gnomevfs' '--disable-kate' '--disable-mtp' '--enable-x264' '--disable-zvbi' '--enable-a52' '--enable-aa' '--enable-bonjour' '--enable-caca' '--enable-dca' '--enable-dvb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-freetype' '--enable-fribidi' '--enable-ggi' '--enable-gnutls' '--enable-jack' '--enable-libass' '--enable-libmpeg2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mozilla' '--enable-mpc' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-pulse' '--enable-qt4' '--enable-realrtsp' '--enable-sdl' '--enable-shout' '--enable-skins2' '--enable-smb' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-telx' '--enable-theora' '--enable-twolame' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--with-mozilla-pkg=libxul' '--enable-alsa' '--enable-dv' '--enable-pvr' '--enable-v4l' '--enable-v4l2' '--enable-svgalib' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' [0x8b3a148] main libvlc debug: translation test: code is "FR" [0x8b3a148] main libvlc debug: checking plugin modules [0x8b3a148] main libvlc debug: loading plugins cache file /home/USER/.cache/vlc/plugins-04041e.dat [0x8b3a148] main libvlc debug: recursively browsing `/usr/lib/vlc' [0x8b3a148] main libvlc debug: module bank initialized (380 modules) [0x8b3a148] main libvlc debug: opening config file (/home/USER/.config/vlc/vlcrc) [0x8b3a148] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT FPU [0x8b3a148] main libvlc debug: looking for memcpy module: 3 candidates [0x8b3a148] main libvlc debug: using memcpy module "memcpymmxext" [0x8bec418] main input debug: Creating an input for 'Bibliothèque' [0x8bec418] main input debug: Input is a meta file: disabling unneeded options [0x8bec418] main input debug: using timeshift granularity of 50 MBytes [0x8bec418] main input debug: using timeshift path '/tmp' [0x8bec418] main input debug: `file/xspf-open:///home/USER/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/USER/.local/share/vlc/ml.xspf' [0x8bec418] main input debug: creating demux: access='file' demux='xspf-open' path='/home/USER/.local/share/vlc/ml.xspf' [0x8be9800] main demux debug: looking for access_demux module: 1 candidate [0x8be9800] main demux warning: no access_demux module matching "file" could be loaded [0x8be9800] main demux debug: TIMER module_need() : 0,483 ms - Total 0,483 ms / 1 intvls (Avg 0,483 ms) [0x8bec418] main input debug: creating access 'file' path='/home/USER/.local/share/vlc/ml.xspf' [0x8bf9a98] main access debug: looking for access module: 3 candidates [0x8bf9a98] access_file access debug: opening file `/home/USER/.local/share/vlc/ml.xspf' [0x8bf9a98] main access debug: using access module "access_file" [0x8bf9a98] main access debug: TIMER module_need() : 0,446 ms - Total 0,446 ms / 1 intvls (Avg 0,446 ms) [0x8bfa4e8] main stream debug: Using AStream*Stream [0x8bfa4e8] main stream debug: pre buffering [0x8bfa4e8] main stream debug: received first data after 0 ms [0x8bfa4e8] main stream debug: pre-buffering done 296 bytes in 0s - 13139 kbytes/s [0x8bfacd0] main stream debug: looking for stream_filter module: 5 candidates [0x8bfacd0] main stream debug: TIMER module_need() : 0,410 ms - Total 0,410 ms / 1 intvls (Avg 0,410 ms) [0x8bfd160] main stream debug: looking for stream_filter module: 1 candidate [0x8bfd160] main stream debug: using stream_filter module "stream_filter_record" [0x8bfd160] main stream debug: TIMER module_need() : 0,134 ms - Total 0,134 ms / 1 intvls (Avg 0,134 ms) [0x8bec418] main input debug: creating demux: access='file' demux='xspf-open' path='/home/USER/.local/share/vlc/ml.xspf' [0x8bfe428] main demux debug: looking for demux module: 1 candidate [0x8bfe428] playlist demux debug: using XSPF playlist reader [0x8bfe428] main demux debug: using demux module "playlist" [0x8bfe428] main demux debug: TIMER module_need() : 0,273 ms - Total 0,273 ms / 1 intvls (Avg 0,273 ms) [0x8bec418] main input debug: `file/xspf-open:///home/USER/.local/share/vlc/ml.xspf' successfully opened [0x8bfc840] main xml debug: looking for xml module: 2 candidates [0x8bfc840] main xml debug: using xml module "xml" [0x8bfc840] main xml debug: TIMER module_need() : 0,388 ms - Total 0,388 ms / 1 intvls (Avg 0,388 ms) [0x8bfe428] playlist demux debug: parsed 0 tracks successfully [0x8bfc840] main xml debug: removing module "xml" [0x8bec418] main input debug: EOF reached [0x8bfe428] main demux debug: removing module "playlist" [0x8bfd160] main stream debug: removing module "stream_filter_record" [0x8bf9a98] main access debug: removing module "access_file" [0x8bec418] main input debug: TIMER input launching for 'Bibliothèque' : 4,945 ms - Total 4,945 ms / 1 intvls (Avg 4,945 ms) [0x8bed0b8] main playlist debug: Activated [0x8bec418] main interface debug: looking for interface module: 1 candidate [0x8bec418] main interface debug: using interface module "hotkeys" [0x8bec418] main interface debug: TIMER module_need() : 0,277 ms - Total 0,277 ms / 1 intvls (Avg 0,277 ms) [0x8bec418] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x8bec5e0] main interface debug: looking for interface module: 1 candidate [0x8bec5e0] main interface debug: using interface module "inhibit" [0x8bec5e0] main interface debug: TIMER module_need() : 1,977 ms - Total 1,977 ms / 1 intvls (Avg 1,977 ms) [0x8bec5e0] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x8be8a78] main interface debug: looking for interface module: 1 candidate [0x8be8a78] main interface debug: using interface module "screensaver" [0x8be8a78] main interface debug: TIMER module_need() : 0,249 ms - Total 0,249 ms / 1 intvls (Avg 0,249 ms) [0x8be8a78] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x8bfc470] main interface debug: looking for interface module: 1 candidate [0x8bfc470] main interface debug: using interface module "signals" [0x8bfc470] main interface debug: TIMER module_need() : 0,219 ms - Total 0,219 ms / 1 intvls (Avg 0,219 ms) [0x8bfc470] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x8bf80d0] main interface debug: looking for interface module: 1 candidate [0x8bed0b8] main playlist debug: rebuilding array of current - root Liste de lecture [0x8bed0b8] main playlist debug: rebuild done - 0 items, index -1 [0x8bec5e0] main interface debug: thread started [0x8bec418] main interface debug: thread started [0x8be8a78] main interface debug: thread started [0x8bfc470] main interface debug: thread started [0x8bfc470] main interface debug: thread ended [0x8bf80d0] main interface debug: using interface module "globalhotkeys" [0x8bf80d0] main interface debug: TIMER module_need() : 9,730 ms - Total 9,730 ms / 1 intvls (Avg 9,730 ms) [0x8bf80d0] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x8bf80d0] main interface debug: thread started [0x8bf80d0] main interface debug: thread ended [0xb7100740] main interface debug: looking for interface module: 1 candidate [0xb7100740] main interface debug: creating VLM [0xb7100740] telnet interface: using the VLM interface plugin... [0xb7100740] main interface debug: net: listening to port 4212 [0xb7100740] telnet interface: telnet interface started on interface 4212 [0xb7100740] main interface debug: using interface module "telnet" [0xb7100740] main interface debug: TIMER module_need() : 0,822 ms - Total 0,822 ms / 1 intvls (Avg 0,822 ms) [0xb7100740] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0xb7100740] main interface debug: thread started [0xb7100740] main interface debug: accepted socket 8 (from socket 6) [0x8c0a958] main input debug: Creating an input for 'evolution.avi' [0x8c0a958] [Média : mystream] main input debug: thread (input) created at priority 10 (input/input.c:230) [0x8c0a958] [Média : mystream] main input debug: thread started [0xb7101208] [Média : mystream] main stream output debug: stream=`transcode' [0xb7101970] [Média : mystream] main stream out debug: looking for sout stream module: 1 candidate [0xb7101208] [Média : mystream] main stream output debug: stream=`rtp' [0x8c0fe68] [Média : mystream] main stream out debug: looking for sout stream module: 1 candidate [0x8c0fe68] [Média : mystream] main stream out warning: missing value for option dst [0x8c0fe68] [Média : mystream] main stream out debug: set config option: sout-rtp-port to 10000 [0x8c0fe68] [Média : mystream] main stream out debug: set config option: sout-rtp-port-audio to 10001 [0x8c0fe68] [Média : mystream] main stream out debug: set config option: sout-rtp-port-video to 10002 [0x8c0fe68] [Média : mystream] main stream out debug: set config option: sout-rtp-sdp to rtsp://192.168.0.1:5554/test [0x8c0fe68] [Média : mystream] stream_out_rtp stream out debug: RTSP stream: host 192.168.0.1 port 5554 at /test [0x8c0fe68] [Média : mystream] main stream out: creating httpd [0x8c0fe68] [Média : mystream] main stream out debug: net: listening to 192.168.0.1 port 5554 [0x8c0fe68] [Média : mystream] main stream out debug: using sout stream module "stream_out_rtp" [0x8c0fe68] [Média : mystream] main stream out debug: TIMER module_need() : 8,184 ms - Total 8,184 ms / 1 intvls (Avg 8,184 ms) [0xb7101970] [Média : mystream] main stream out debug: set config option: sout-transcode-acodec to mp4a [0xb7101970] [Média : mystream] main stream out debug: set config option: sout-transcode-ab to 42 [0xb7101970] [Média : mystream] main stream out debug: set config option: sout-transcode-channels to 1 [0xb7101970] [Média : mystream] stream_out_transcode stream out debug: codec audio=mp4a 0Hz 1 channels 42Kb/s [0xb7101970] [Média : mystream] main stream out debug: using sout stream module "stream_out_transcode" [0xb7101970] [Média : mystream] main stream out debug: TIMER module_need() : 16,916 ms - Total 16,916 ms / 1 intvls (Avg 16,916 ms) [0x8c0a958] [Média : mystream] main input debug: using timeshift granularity of 50 MBytes [0x8c0a958] [Média : mystream] main input debug: using timeshift path '/tmp' [0x8c0a958] [Média : mystream] main input debug: `/FILE/TO/STREAM.avi' gives access `' demux `' path `/FILE/TO/STREAM.avi' [0x8c0a958] [Média : mystream] main input debug: creating demux: access='' demux='' path='/FILE/TO/STREAM.avi' [0x8c0e3a0] [Média : mystream] main demux debug: looking for access_demux module: 7 candidates [0x8c0e3a0] [Média : mystream] main demux debug: TIMER module_need() : 2,473 ms - Total 2,473 ms / 1 intvls (Avg 2,473 ms) [0x8c0a958] [Média : mystream] main input debug: creating access '' path='/FILE/TO/STREAM.avi' [0xb7101d48] [Média : mystream] main access debug: looking for access module: 7 candidates [0xb7101d48] [Média : mystream] vcd access debug: trying .cue file: /FILE/TO/STREAM.cue [0xb7101d48] [Média : mystream] vcd access debug: could not find .cue file [0xb7101d48] [Média : mystream] access_file access debug: opening file `/FILE/TO/STREAM.avi' [0xb7101d48] [Média : mystream] main access debug: using access module "access_file" [0xb7101d48] [Média : mystream] main access debug: TIMER module_need() : 1,201 ms - Total 1,201 ms / 1 intvls (Avg 1,201 ms) [0x8c1ce60] [Média : mystream] main stream debug: Using AStream*Stream [0x8c1ce60] [Média : mystream] main stream debug: pre buffering [0x8c1ce60] [Média : mystream] main stream debug: received first data after 0 ms [0x8c1ce60] [Média : mystream] main stream debug: pre-buffering done 1024 bytes in 0s - 55555 kbytes/s [0x8c0e8d0] [Média : mystream] main stream debug: looking for stream_filter module: 5 candidates [0x8c0e8d0] [Média : mystream] main stream debug: TIMER module_need() : 0,094 ms - Total 0,094 ms / 1 intvls (Avg 0,094 ms) [0x8c0e8d0] [Média : mystream] main stream debug: looking for stream_filter module: 1 candidate [0x8c0e8d0] [Média : mystream] main stream debug: using stream_filter module "stream_filter_record" [0x8c0e8d0] [Média : mystream] main stream debug: TIMER module_need() : 0,076 ms - Total 0,076 ms / 1 intvls (Avg 0,076 ms) [0x8c0a958] [Média : mystream] main input debug: creating demux: access='' demux='' path='/FILE/TO/STREAM.avi' [0x8c164d0] [Média : mystream] main demux debug: looking for demux module: 51 candidates [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:46464952 (RIFF) size:732062146 pos:0 [0x8c0e8d0] [Média : mystream] avi stream debug: found LIST chunk: 'AVI ' [0x8c0e8d0] [Média : mystream] avi stream debug: <list 'AVI '> [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:5453494c (LIST) size:8830 pos:12 [0x8c0e8d0] [Média : mystream] avi stream debug: found LIST chunk: 'hdrl' [0x8c0e8d0] [Média : mystream] avi stream debug: <list 'hdrl'> [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:68697661 (avih) size:56 pos:24 [0x8c0e8d0] [Média : mystream] avi stream debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 640x352 [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:5453494c (LIST) size:4244 pos:88 [0x8c0e8d0] [Média : mystream] avi stream debug: found LIST chunk: 'strl' [0x8c0e8d0] [Média : mystream] avi stream debug: <list 'strl'> [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:68727473 (strh) size:56 pos:100 [0x8c0e8d0] [Média : mystream] avi stream debug: strh: type:vids handler:0x64697678 samplesize:0 29,97fps [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:66727473 (strf) size:40 pos:164 [0x8c0e8d0] [Média : mystream] avi stream debug: strf: video:XVID 640x352 planes:1 12bpp [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:212 [0x8c0e8d0] [Média : mystream] avi stream debug: </list 'strl'> [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:5453494c (LIST) size:4234 pos:4340 [0x8c0e8d0] [Média : mystream] avi stream debug: found LIST chunk: 'strl' [0x8c0e8d0] [Média : mystream] avi stream debug: <list 'strl'> [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:68727473 (strh) size:56 pos:4352 [0x8c0e8d0] [Média : mystream] avi stream debug: strh: type:auds handler:0x00000000 samplesize:384 41,67fps [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:66727473 (strf) size:30 pos:4416 [0x8c0e8d0] [Média : mystream] avi stream debug: strf: audio:0x0055 channels:2 48000Hz 0bits/sample 125kb/s [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:4454 [0x8c0e8d0] [Média : mystream] avi stream debug: </list 'strl'> [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:5453494c (LIST) size:260 pos:8582 [0x8c0e8d0] [Média : mystream] avi stream debug: found LIST chunk: 'odml' [0x8c0e8d0] [Média : mystream] avi stream debug: <list 'odml'> [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:686c6d64 (dmlh) size:248 pos:8594 [0x8c0e8d0] [Média : mystream] avi stream warning: unknown chunk (not loaded) [0x8c0e8d0] [Média : mystream] avi stream debug: </list 'odml'> [0x8c0e8d0] [Média : mystream] avi stream debug: </list 'hdrl'> [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:5453494c (LIST) size:56 pos:8850 [0x8c0e8d0] [Média : mystream] avi stream debug: found LIST chunk: 'INFO' [0x8c0e8d0] [Média : mystream] avi stream debug: <list 'INFO'> [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:54465349 (ISFT) size:44 pos:8862 [0x8c0e8d0] [Média : mystream] avi stream debug: ISFT: software : VirtualDubMod 1.5.10.2 (build 2540/release) [0x8c0e8d0] [Média : mystream] avi stream debug: </list 'INFO'> [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:4b4e554a (JUNK) size:1318 pos:8914 [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:5453494c (LIST) size:726245498 pos:10240 [0x8c0e8d0] [Média : mystream] avi stream debug: skipping movi chunk [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:31786469 (idx1) size:5806400 pos:726255746 [0x8c0e8d0] [Média : mystream] avi stream debug: idx1: index entry:362900 [0x8c0e8d0] [Média : mystream] avi stream debug: </list 'AVI '> [0x8c0e8d0] [Média : mystream] avi stream debug: found Chunk fourcc:4b4e554a (JUNK) size:1582 pos:732062154 [0x8c0e8d0] [Média : mystream] avi stream debug: * LIST-root size:732063744 pos:0 [0x8c0e8d0] [Média : mystream] avi stream debug: + RIFF-AVI size:732062146 pos:0 [0x8c0e8d0] [Média : mystream] avi stream debug: | + LIST-hdrl size:8830 pos:12 [0x8c0e8d0] [Média : mystream] avi stream debug: | | + avih size:56 pos:24 [0x8c0e8d0] [Média : mystream] avi stream debug: | | + LIST-strl size:4244 pos:88 [0x8c0e8d0] [Média : mystream] avi stream debug: | | | + strh size:56 pos:100 [0x8c0e8d0] [Média : mystream] avi stream debug: | | | + strf size:40 pos:164 [0x8c0e8d0] [Média : mystream] avi stream debug: | | | + JUNK size:4120 pos:212 [0x8c0e8d0] [Média : mystream] avi stream debug: | | + LIST-strl size:4234 pos:4340 [0x8c0e8d0] [Média : mystream] avi stream debug: | | | + strh size:56 pos:4352 [0x8c0e8d0] [Média : mystream] avi stream debug: | | | + strf size:30 pos:4416 [0x8c0e8d0] [Média : mystream] avi stream debug: | | | + JUNK size:4120 pos:4454 [0x8c0e8d0] [Média : mystream] avi stream debug: | | + LIST-odml size:260 pos:8582 [0x8c0e8d0] [Média : mystream] avi stream debug: | | | + dmlh size:248 pos:8594 [0x8c0e8d0] [Média : mystream] avi stream debug: | + LIST-INFO size:56 pos:8850 [0x8c0e8d0] [Média : mystream] avi stream debug: | | + ISFT size:44 pos:8862 [0x8c0e8d0] [Média : mystream] avi stream debug: | + JUNK size:1318 pos:8914 [0x8c0e8d0] [Média : mystream] avi stream debug: | + LIST-movi size:726245498 pos:10240 [0x8c0e8d0] [Média : mystream] avi stream debug: | + idx1 size:5806400 pos:726255746 [0x8c0e8d0] [Média : mystream] avi stream debug: + JUNK size:1582 pos:732062154 [0x8c164d0] [Média : mystream] avi demux debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED [0x8c164d0] [Média : mystream] avi demux debug: stream[0] rate:2997 scale:100 samplesize:0 [0x8c164d0] [Média : mystream] avi demux debug: stream[0] video(XVID) 640x352 12bpp 29,970000fps [0x8c0a958] [Média : mystream] main input debug: selecting program id=0 [0x8c164d0] [Média : mystream] avi demux debug: stream[1] rate:16000 scale:384 samplesize:384 [0x8c164d0] [Média : mystream] avi demux debug: stream[1] audio(0x55) 2 channels 48000Hz 0bits [0x8c164d0] [Média : mystream] avi demux debug: stream[0] created 181457 index entries [0x8c164d0] [Média : mystream] avi demux debug: stream[1] created 181443 index entries [0x8c164d0] [Média : mystream] avi demux debug: stream[0] length:6054 (based on index) [0x8c164d0] [Média : mystream] avi demux debug: stream[1] length:6054 (based on index) [0x8c164d0] [Média : mystream] main demux debug: using demux module "avi" [0x8c164d0] [Média : mystream] main demux debug: TIMER module_need() : 50,998 ms - Total 50,998 ms / 1 intvls (Avg 50,998 ms) [0x8c0a958] [Média : mystream] main input debug: looking for a subtitle file in /FILE/TO/ [0x8c1eda0] [Média : mystream] main packetizer debug: looking for packetizer module: 21 candidates [0x8c1eda0] [Média : mystream] main packetizer debug: using packetizer module "packetizer_mpeg4video" [0x8c1eda0] [Média : mystream] main packetizer debug: TIMER module_need() : 1,918 ms - Total 1,918 ms / 1 intvls (Avg 1,918 ms) [0x8c1eda0] [Média : mystream] main packetizer debug: thread (decoder) created at priority 0 (input/decoder.c:315) [0x8c1eda0] [Média : mystream] main packetizer debug: thread started [0x8c0c5e8] [Média : mystream] main packetizer debug: looking for packetizer module: 21 candidates [0x8c0c5e8] [Média : mystream] main packetizer debug: using packetizer module "mpeg_audio" [0x8c0c5e8] [Média : mystream] main packetizer debug: TIMER module_need() : 0,665 ms - Total 0,665 ms / 1 intvls (Avg 0,665 ms) [0x8c0c5e8] [Média : mystream] main packetizer debug: thread (decoder) created at priority 5 (input/decoder.c:315) [0x8c0c5e8] [Média : mystream] main packetizer debug: thread started [0x8c0a958] [Média : mystream] main input debug: starting in async mode [0x8c0a958] [Média : mystream] main input debug: `/FILE/TO/STREAM.avi' successfully opened [0x8c0a958] [Média : mystream] main input debug: Buffering 0% [0x8c0a958] [Média : mystream] main input debug: switching to sync mode [0x8c0a958] [Média : mystream] main input debug: Buffering 8% [0x8c0c5e8] [Média : mystream] mpeg_audio packetizer debug: MPGA channels:2 samplerate:48000 bitrate:128 [0xb7101208] [Média : mystream] main stream output debug: adding a new sout input (sout_input:0xb71004d0) [0x8c0a958] [Média : mystream] main input debug: Buffering 16% [0x8c1eda0] [Média : mystream] packetizer_mpeg4video packetizer warning: waiting for VOL [0x8c1eda0] [Média : mystream] packetizer_mpeg4video packetizer warning: waiting for VOL [0x8c0a958] [Média : mystream] main input debug: Buffering 25% [0xb7101970] [Média : mystream] stream_out_transcode stream out debug: creating audio transcoding from fcc=`mpga' to fcc=`mp4a' [0x8c0a958] [Média : mystream] main input debug: Buffering 33% [0xb7101208] [Média : mystream] main stream output debug: adding a new sout input (sout_input:0x8c17920) [0x8c0a958] [Média : mystream] main input debug: Buffering 41% [0x8c0a958] [Média : mystream] main input debug: Buffering 50% [0x8c0a958] [Média : mystream] main input debug: Buffering 58% [0x8c0a958] [Média : mystream] main input debug: Buffering 66% [0x8c0a958] [Média : mystream] main input debug: Buffering 75% [0x8c0a958] [Média : mystream] main input debug: Buffering 83% [0x8c0a958] [Média : mystream] main input debug: Buffering 91% [0xb7103338] [Média : mystream] main decoder debug: looking for decoder module: 31 candidates [0x8c0a958] [Média : mystream] main input debug: Buffering 100% [0x8c0a958] [Média : mystream] main input debug: Stream buffering done (325 ms in 0 ms) [0xb7103338] [Média : mystream] main decoder debug: using decoder module "mpeg_audio" [0xb7103338] [Média : mystream] main decoder debug: TIMER module_need() : 1,548 ms - Total 1,548 ms / 1 intvls (Avg 1,548 ms) [0xb7103c98] [Média : mystream] main encoder debug: looking for encoder module: 10 candidates [0xb7103c98] [Média : mystream] avcodec encoder debug: libavcodec initialized (interface 0x341401) [0xb7103c98] [Média : mystream] avcodec encoder debug: found encoder MPEG AAC Audio [0xb7103c98] [Média : mystream] main encoder debug: using encoder module "avcodec" [0xb7103c98] [Média : mystream] main encoder debug: TIMER module_need() : 28,788 ms - Total 28,788 ms / 1 intvls (Avg 28,788 ms) [0xb7101970] [Média : mystream] stream_out_transcode stream out debug: Looking for filter (mpga->s16l, channels 2->1, rate 48000->48000) [0x8c2f0d0] [Média : mystream] main filter debug: looking for audio filter2 module: 8 candidates [0x8c2f0d0] [Média : mystream] mpgatofixed32 filter debug: mpga->fl32, bits per sample: 0 [0x8c2f0d0] [Média : mystream] main filter debug: using audio filter2 module "mpgatofixed32" [0x8c2f0d0] [Média : mystream] main filter debug: TIMER module_need() : 0,439 ms - Total 0,439 ms / 1 intvls (Avg 0,439 ms) [0xb7101970] [Média : mystream] main stream out debug: Filter 'mpgatofixed32' (0x8c2f0d0) appended to chain [0x8c4c3c0] [Média : mystream] main filter debug: looking for audio filter2 module: 8 candidates [0x8c4c3c0] [Média : mystream] main filter debug: using audio filter2 module "simple_channel_mixer" [0x8c4c3c0] [Média : mystream] main filter debug: TIMER module_need() : 0,593 ms - Total 0,593 ms / 1 intvls (Avg 0,593 ms) [0xb7101970] [Média : mystream] main stream out debug: Filter 'simple_channel_mixer' (0x8c4c3c0) appended to chain [0x8c53698] [Média : mystream] main filter debug: looking for audio filter2 module: 8 candidates [0x8c53698] [Média : mystream] audio_format filter debug: fl32->s16l, bits per sample: 32->16 [0x8c53698] [Média : mystream] main filter debug: using audio filter2 module "audio_format" [0x8c53698] [Média : mystream] main filter debug: TIMER module_need() : 0,370 ms - Total 0,370 ms / 1 intvls (Avg 0,370 ms) [0xb7101970] [Média : mystream] main stream out debug: Filter 'audio_format' (0x8c53698) appended to chain [0xb7101970] [Média : mystream] stream_out_transcode stream out debug: Got complete audio filter chain [0x8c0fe68] [Média : mystream] stream_out_rtp stream out debug: maximum RTP packet size: 1400 bytes [0x8c0fe68] [Média : mystream] stream_out_rtp stream out debug: RTSP: adding /test/trackID=0 [0x8c495f8] [Média : mystream] main generic debug: thread (RTP send thread) created at priority 20 (rtp.c:1286) [0x8c495f8] [Média : mystream] main generic debug: thread started [0x8c0fe68] [Média : mystream] stream_out_rtp stream out debug: sdp= v=0 o=- 15000670043549217090 15000670043549217090 IN IP4 serveur s=Unnamed i=N/A c=IN IP4 0.0.0.0 t=0 0 a=tool:vlc 1.0.6 a=recvonly a=type:broadcast a=charset:UTF-8 m=audio 0 RTP/AVP 96 b=AS:42 a=rtpmap:96 mpeg4-generic/48000 a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1188; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1; a=rtcp:10002 [0xb7101970] [Média : mystream] stream_out_transcode stream out debug: not transcoding a stream (fcc=`mp4v') [0x8c0fe68] [Média : mystream] stream_out_rtp stream out debug: maximum RTP packet size: 1400 bytes [0x8c0fe68] [Média : mystream] stream_out_rtp stream out debug: RTSP: adding /test/trackID=1 [0xb7156548] [Média : mystream] main generic debug: thread (RTP send thread) created at priority 20 (rtp.c:1286) [0xb7156548] [Média : mystream] main generic debug: thread started [0x8c0fe68] [Média : mystream] stream_out_rtp stream out debug: sdp= v=0 o=- 15000670043550149265 15000670043550149265 IN IP4 serveur s=Unnamed i=N/A c=IN IP4 0.0.0.0 t=0 0 a=tool:vlc 1.0.6 a=recvonly a=type:broadcast a=charset:UTF-8 m=audio 0 RTP/AVP 96 b=AS:42 a=rtpmap:96 mpeg4-generic/48000 a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1188; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1; a=rtcp:10002 m=video 0 RTP/AVP 97 a=rtpmap:97 MP4V-ES/90000 a=fmtp:97 profile-level-id=3; config=00000120088687ffff088a8a02160a31; [0x8c0a958] [Média : mystream] main input debug: Decoder buffering done in 32 ms [0xb7103338] [Média : mystream] mpeg_audio decoder debug: MPGA channels:2 samplerate:48000 bitrate:128 [0x8c0fe68] [Média : mystream] main stream out debug: net: connecting to [MY_PHONE_IP]:33294 [0x8c0fe68] [Média : mystream] main stream out debug: net: connecting to [MY_PHONE_IP]:33292 [0x8c0fe68] [Média : mystream] main stream out debug: net: connecting to [MY_PHONE_IP]:33295 from [192.168.0.1]:39242 [0x8c0fe68] [Média : mystream] main stream out debug: net: connecting to [MY_PHONE_IP]:33293 from [192.168.0.1]:37683

Re: How to set ports number?

Posted: 04 Sep 2010 22:44
by Rémi Denis-Courmont
RTP ports are set by the RTSP client, not the RTSP server. You have to configure them on the receiver.

Re: How to set ports number?

Posted: 05 Sep 2010 08:41
by castrogne
Oh ok, i'll ckeck that and tell you back. Thanks