VLC rtsp streaming question. (re-reposted)

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
Orcephrye
Blank Cone
Blank Cone
Posts: 13
Joined: 13 Nov 2008 09:06

VLC rtsp streaming question. (re-reposted)

Postby Orcephrye » 29 Jan 2009 23:04

Hey guys! Quick question. Can I transcode across a VOD? If I remember correctly i got that to work on 0.9.6 build. However I am now using 0.9.8a and can't seam to get it going. The tutorials http://www.videolan.org/doc/streaming-h ... /ch05.html only show how to set it up in telnet. I have used both that and in the nice new VLM gui to no luck. Heres what I do in telnet...

I fallow the instructions posted at the end of the page linked above to get me started.

Code: Select all

cvlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host 0.0.0.0:5554
and then log into telnet and

Code: Select all

new Test vod enabled setup Test input /path/to/video.avi
that works YAY! But then i wanna out a change to the output right?
this no worky

Code: Select all

#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128}
Now guys I hope I am just doing something dumb.. like forgeting something.. i tried setting the muxer i tried doing a rain dance... but alias to no avail! :-(
Thanks for your help!

Oh btw I reposted this from viewtopic.php?f=13&t=55262 sorry if thats a problem, and hten i re-reposted it... trying to find the best place to actually put this question. These forum is kinda big. but i haven't got a response in the last 24 hours or so... so.. yeah. HELP ME PLEASE!
A bad day with Linux is still better then a Good day with Windoz

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: VLC rtsp streaming question. (re-reposted)

Postby Arite » 29 Jan 2009 23:13

Have you tried something like:

Code: Select all

new Test vod enabled setup Test input /path/to/video.avi setup Test output #transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128}
^ Might not work/you might have already tried that.

Arite.
Don't use PMs for support questions.

Orcephrye
Blank Cone
Blank Cone
Posts: 13
Joined: 13 Nov 2008 09:06

Re: VLC rtsp streaming question. (re-reposted)

Postby Orcephrye » 29 Jan 2009 23:56

Hey thanks! Yes I have tried that.. there is the weird thing. If i go to the http interface it works! If i do it in telnet it doesn't. Odd. Anywho I post the info that vlc shoots out with the -vvv flag set. When I run those commands. I tried to get as much as I can when the client connected but i wasn't able to. I should try to log it to a file. I do that later. Oh and THANKS for posting so quickly.

When adding the media....

Code: Select all

[00000400] main vod server debug: looking for vod server module: 1 candidate [00000400] vod_rtsp vod server debug: allowing up to 0 connections [00000400] main vod server: creating httpd [00000400] main vod server debug: net: listening to 0.0.0.0 port 5554 [00000403] main http server debug: thread started [00000403] main http server debug: thread 2991967120 (httpd host thread) created at priority 0 (network/httpd.c:1107) [00000400] main vod server debug: thread started [00000400] main vod server debug: thread 2983574416 (rtsp vod thread) created at priority 0 (rtsp.c:311) [00000400] main vod server debug: using vod server module "vod_rtsp" [00000400] main vod server debug: TIMER module_Need() : 2.436 ms - Total 2.436 ms / 1 intvls (Avg 2.436 ms) [00000404] main input debug: Creating an input for 'Test' [00000404] [Media: Test] main input debug: thread started [00000404] [Media: Test] main input debug: waiting for thread initialization [00000405] [Media: Test] main stream output debug: stream=`description' [00000406] [Media: Test] main stream out debug: looking for sout stream module: 1 candidate [00000406] [Media: Test] main stream out debug: using sout stream module "stream_out_description" [00000406] [Media: Test] main stream out debug: TIMER module_Need() : 0.544 ms - Total 0.544 ms / 1 intvls (Avg 0.544 ms) [00000404] [Media: Test] main input debug: `/home/server/1.avi' gives access `' demux `' path `/home/server/1.avi' [00000404] [Media: Test] main input debug: creating demux: access='' demux='' path='/home/server/1.avi' [00000408] [Media: Test] main demux debug: looking for access_demux module: 3 candidates [00000408] [Media: Test] main demux debug: TIMER module_Need() : 1.500 ms - Total 1.500 ms / 1 intvls (Avg 1.500 ms) [00000404] [Media: Test] main input debug: creating access '' path='/home/server/1.avi' [00000413] [Media: Test] main access debug: looking for access module: 9 candidates [00000413] [Media: Test] vcd access debug: trying .cue file: /home/server/1.cue [00000404] main input debug: Creating an input for 'Test' [00000404] [Media: Test] main input debug: thread started [00000404] [Media: Test] main input debug: waiting for thread initialization [00000405] [Media: Test] main stream output debug: stream=`description' [00000406] [Media: Test] main stream out debug: looking for sout stream module: 1 candidate [00000406] [Media: Test] main stream out debug: using sout stream module "stream_out_description" [00000406] [Media: Test] main stream out debug: TIMER module_Need() : 0.438 ms - Total 0.438 ms / 1 intvls (Avg 0.438 ms) [00000404] [Media: Test] main input debug: `/home/server/1.avi' gives access `' demux `' path `/home/server/1.avi' [00000404] [Media: Test] main input debug: creating demux: access='' demux='' path='/home/server/1.avi' [00000408] [Media: Test] main demux debug: looking for access_demux module: 3 candidates [00000408] [Media: Test] main demux debug: TIMER module_Need() : 1.374 ms - Total 1.374 ms / 1 intvls (Avg 1.374 ms) [00000404] [Media: Test] main input debug: creating access '' path='/home/server/1.avi' [00000413] [Media: Test] main access debug: looking for access module: 9 candidates [00000413] [Media: Test] vcd access debug: trying .cue file: /home/server/1.cue [00000413] [Media: Test] vcd access debug: could not find .cue file [00000404] [Media: Test] main input debug: thread 2974616464 (input) created at priority 10 (input/input.c:370) [00000413] [Media: Test] access_file access debug: opening file `/home/server/1.avi' [00000413] [Media: Test] main access debug: using access module "access_file" [00000413] [Media: Test] main access debug: TIMER module_Need() : 2.950 ms - Total 2.950 ms / 1 intvls (Avg 2.950 ms) [00000416] [Media: Test] main stream debug: Using AStream*Stream [00000416] [Media: Test] main stream debug: pre-buffering... [00000416] [Media: Test] main stream debug: received first data for our buffer [00000416] [Media: Test] main stream debug: pre-buffering done 1408981 bytes in 0s - 220647 kbytes/s [00000404] [Media: Test] main input debug: creating demux: access='' demux='' path='/home/server/1.avi' [00000417] [Media: Test] main demux debug: looking for demux module: 58 candidates [00000416] [Media: Test] avi stream debug: found Chunk fourcc:46464952 (RIFF) size:178437454 pos:0 [00000416] [Media: Test] avi stream debug: found LIST chunk: 'AVI ' [00000416] [Media: Test] avi stream debug: <list 'AVI '> [00000416] [Media: Test] avi stream debug: found Chunk fourcc:5453494c (LIST) size:306 pos:12 [00000416] [Media: Test] avi stream debug: found LIST chunk: 'hdrl' [00000416] [Media: Test] avi stream debug: <list 'hdrl'> [00000416] [Media: Test] avi stream debug: found Chunk fourcc:68697661 (avih) size:56 pos:24 [00000416] [Media: Test] avi stream debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 572x312 [00000416] [Media: Test] avi stream debug: found Chunk fourcc:5453494c (LIST) size:116 pos:88 [00000416] [Media: Test] avi stream debug: found LIST chunk: 'strl' [00000416] [Media: Test] avi stream debug: <list 'strl'> [00000416] [Media: Test] avi stream debug: found Chunk fourcc:68727473 (strh) size:56 pos:100 [00000416] [Media: Test] avi stream debug: strh: type:vids handler:0x44495658 samplesize:0 23.98fps [00000416] [Media: Test] avi stream debug: found Chunk fourcc:66727473 (strf) size:40 pos:164 [00000416] [Media: Test] avi stream debug: strf: video:DX50 572x312 planes:1 12bpp [00000416] [Media: Test] avi stream debug: </list 'strl'> [00000416] [Media: Test] avi stream debug: found Chunk fourcc:5453494c (LIST) size:106 pos:212 [00000416] [Media: Test] avi stream debug: found LIST chunk: 'strl' [00000416] [Media: Test] avi stream debug: <list 'strl'> [00000416] [Media: Test] avi stream debug: found Chunk fourcc:68727473 (strh) size:56 pos:224 [00000416] [Media: Test] avi stream debug: strh: type:auds handler:0x00000000 samplesize:288 41.67fps [00000416] [Media: Test] avi stream debug: found Chunk fourcc:66727473 (strf) size:30 pos:288 [00000416] [Media: Test] avi stream debug: strf: audio:0x0055 channels:2 48000Hz 0bits/sample 93kb/s [00000416] [Media: Test] avi stream debug: </list 'strl'> [00000416] [Media: Test] avi stream debug: </list 'hdrl'> [00000416] [Media: Test] avi stream debug: found Chunk fourcc:5453494c (LIST) size:56 pos:326 [00000416] [Media: Test] avi stream debug: found LIST chunk: 'INFO' [00000416] [Media: Test] avi stream debug: <list 'INFO'> [00000416] [Media: Test] avi stream debug: found Chunk fourcc:54465349 (ISFT) size:44 pos:338 [00000416] [Media: Test] avi stream debug: ISFT: software : VirtualDubMod 1.5.10.1 (build 2366/release) [00000416] [Media: Test] avi stream debug: </list 'INFO'> [00000416] [Media: Test] avi stream debug: found Chunk fourcc:4b4e554a (JUNK) size:7794 pos:390 [00000416] [Media: Test] avi stream debug: found Chunk fourcc:5453494c (LIST) size:177221750 pos:8192 [00000416] [Media: Test] avi stream debug: skipping movi chunk [00000416] [Media: Test] avi stream debug: found Chunk fourcc:31786469 (idx1) size:1207504 pos:177229950 [00000416] [Media: Test] avi stream debug: idx1: index entry:75469 [00000416] [Media: Test] avi stream debug: </list 'AVI '> [00000416] [Media: Test] avi stream debug: found Chunk fourcc:4b4e554a (JUNK) size:674 pos:178437462 [00000416] [Media: Test] avi stream debug: * LIST-root size:178438144 pos:0 [00000416] [Media: Test] avi stream debug: + RIFF-AVI size:178437454 pos:0 [00000416] [Media: Test] avi stream debug: | + LIST-hdrl size:306 pos:12 [00000416] [Media: Test] avi stream debug: | | + avih size:56 pos:24 [00000416] [Media: Test] avi stream debug: | | + LIST-strl size:116 pos:88 [00000416] [Media: Test] avi stream debug: | | | + strh size:56 pos:100 [00000416] [Media: Test] avi stream debug: | | | + strf size:40 pos:164 [00000416] [Media: Test] avi stream debug: | | + LIST-strl size:106 pos:212 [00000416] [Media: Test] avi stream debug: | | | + strh size:56 pos:224 [00000416] [Media: Test] avi stream debug: | | | + strf size:30 pos:288 [00000416] [Media: Test] avi stream debug: | + LIST-INFO size:56 pos:326 [00000416] [Media: Test] avi stream debug: | | + ISFT size:44 pos:338 [00000416] [Media: Test] avi stream debug: | + JUNK size:7794 pos:390 [00000416] [Media: Test] avi stream debug: | + LIST-movi size:177221750 pos:8192 [00000416] [Media: Test] avi stream debug: | + idx1 size:1207504 pos:177229950 [00000416] [Media: Test] avi stream debug: + JUNK size:674 pos:178437462 [00000417] [Media: Test] avi demux debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED [00000417] [Media: Test] avi demux debug: stream[0] rate:2997 scale:125 samplesize:0 [00000417] [Media: Test] avi demux debug: stream[0] video(DX50) 572x312 12bpp 23.976000fps [00000404] [Media: Test] main input debug: selecting program id=0 [00000417] [Media: Test] avi demux debug: stream[1] rate:12000 scale:288 samplesize:288 [00000417] [Media: Test] avi demux debug: stream[1] audio(0x55) 2 channels 48000Hz 0bits [00000417] [Media: Test] avi demux debug: stream[0] created 37740 index entries [00000417] [Media: Test] avi demux debug: stream[1] created 37729 index entries [00000417] [Media: Test] avi demux debug: stream[0] length:1574 (based on index) [00000417] [Media: Test] avi demux debug: stream[1] length:1574 (based on index) [00000417] [Media: Test] main demux debug: using demux module "avi" [00000417] [Media: Test] main demux debug: TIMER module_Need() : 40.643 ms - Total 40.643 ms / 1 intvls (Avg 40.643 ms) [00000404] [Media: Test] main input debug: looking for a subtitle file in /home/server/ [00000419] [Media: Test] main packetizer debug: looking for packetizer module: 17 candidates [00000419] [Media: Test] main packetizer debug: using packetizer module "packetizer_mpeg4video" [00000419] [Media: Test] main packetizer debug: TIMER module_Need() : 3.380 ms - Total 3.380 ms / 1 intvls (Avg 3.380 ms) [00000404] [Media: Test] main input debug: stream out mode -> no decoder thread [00000441] [Media: Test] main packetizer debug: looking for packetizer module: 17 candidates [00000441] [Media: Test] main packetizer debug: using packetizer module "mpeg_audio" [00000441] [Media: Test] main packetizer debug: TIMER module_Need() : 1.071 ms - Total 1.071 ms / 1 intvls (Avg 1.071 ms) [00000404] [Media: Test] main input debug: stream out mode -> no decoder thread [00000404] [Media: Test] main input debug: starting in sync mode [00000404] [Media: Test] main input debug: `/home/server/1.avi' successfully opened [00000417] [Media: Test] avi demux debug: old:0 < new 0 [00000404] [Media: Test] main input debug: control type=1 [00000441] [Media: Test] mpeg_audio packetizer debug: MPGA channels:2 samplerate:48000 bitrate:96 [00000405] [Media: Test] main stream output debug: adding a new sout input (sout_input:0x81a9ca8) [00000406] [Media: Test] stream_out_description stream out debug: Adding a stream [00000441] [Media: Test] main packetizer debug: switching to async mode [00000419] [Media: Test] packetizer_mpeg4video packetizer warning: waiting for VOL [00000419] [Media: Test] packetizer_mpeg4video packetizer warning: waiting for VOL [00000405] [Media: Test] main stream output debug: adding a new sout input (sout_input:0x81aa530) [00000406] [Media: Test] stream_out_description stream out debug: Adding a stream [00000001] main libvlc warning: input 404 destroyed while thread alive (VLC might crash) [00000404] [Media: Test] main input debug: control type=0 [00000404] [Media: Test] main input debug: control: stopping input [00000416] avi stream debug: free chunk avih [00000416] avi stream debug: free chunk strh [00000416] avi stream debug: free chunk strf [00000416] avi stream debug: free chunk LIST [00000416] avi stream debug: free chunk strh [00000416] avi stream debug: free chunk strf [00000416] avi stream debug: free chunk LIST [00000416] avi stream debug: free chunk LIST [00000416] avi stream debug: free chunk ISFT [00000416] avi stream debug: free chunk LIST [00000416] avi stream debug: free chunk JUNK [00000416] avi stream debug: free chunk LIST [00000416] avi stream debug: free chunk idx1 [00000416] avi stream debug: free chunk RIFF [00000416] avi stream debug: free chunk JUNK [00000416] avi stream debug: free chunk LIST [00000417] main demux debug: removing module "avi" [00000417] main demux error: object is not attached [00000413] main access debug: removing module "access_file" [00000413] main access error: object is not attached [00000419] main packetizer debug: removing module "packetizer_mpeg4video" [00000419] main packetizer debug: killing decoder fourcc `XVID', 0 PES in FIFO [00000405] main stream output debug: removing a sout input (sout_input:0x81aa530) [00000406] stream_out_description stream out debug: Removing a stream [00000419] main packetizer error: object is not attached [00000441] main packetizer debug: removing module "mpeg_audio" [00000441] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO [00000405] main stream output debug: removing a sout input (sout_input:0x81a9ca8) [00000406] stream_out_description stream out debug: Removing a stream [00000441] main packetizer error: object is not attached [00000405] main stream output error: object is not attached [00000404] [Media: Test] main input debug: thread ended [00000404] [Media: Test] main input debug: thread 2974616464 joined (misc/objects.c:309) [00000404] [Media: Test] main input debug: TIMER input launching for 'Test' : 59.970 ms - Total 59.970 ms / 1 intvls (Avg 59.970 ms) [00000406] main stream out debug: destroying chain... (name=description) [00000406] stream_out_description stream out debug: Closing [00000406] main stream out debug: removing module "stream_out_description" [00000406] main stream out debug: destroying chain done [00000400] vod_rtsp vod server debug: created RTSP url: /Test [00000400] vod_rtsp vod server debug: media has 2 declared ES [00000400] vod_rtsp vod server debug: - ES mpga (/Test/trackID=0) [00000400] vod_rtsp vod server debug: - ES mp4v (/Test/trackID=1)
When the client connects...

Code: Select all

b=AS:128 b=RR:0 a=rtpmap:96 mpeg4-generic/48000/2 a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=0990; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1; [00000461] [Media: Test] main packetizer debug: switching to sync mode [00000462] [Media: Test] mpeg_audio decoder debug: MPGA channels:2 samplerate:48000 bitrate:96 [00000460] [Media: Test] packetizer_mpeg4video packetizer warning: waiting for VOL [00000460] [Media: Test] packetizer_mpeg4video packetizer warning: waiting for VOL [00000450] [Media: Test] main stream output debug: adding a new sout input (sout_input:0x8235f50) [00000451] [Media: Test] stream_out_transcode stream out debug: creating video transcoding from fcc=`mp4v' to fcc=`h264' [00000492] [Media: Test] main decoder debug: looking for decoder module: 29 candidates [00000492] [Media: Test] avcodec decoder debug: libavcodec already initialized [00000492] [Media: Test] avcodec decoder debug: using direct rendering [00000492] [Media: Test] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) started [00000492] [Media: Test] main decoder debug: using decoder module "avcodec" [00000492] [Media: Test] main decoder debug: TIMER module_Need() : 6.645 ms - Total 6.645 ms / 1 intvls (Avg 6.645 ms) [00000493] [Media: Test] main encoder debug: looking for encoder module: 7 candidates [00000493] [Media: Test] x264 encoder debug: version x264 0.65.X x264 [warning]: width or height not divisible by 16 (572x312), compression will suffer. x264 [info]: using cpu capabilities: MMX2 [00000493] [Media: Test] main encoder debug: using encoder module "x264" [00000493] [Media: Test] main encoder debug: TIMER module_Need() : 8.554 ms - Total 8.554 ms / 1 intvls (Avg 8.554 ms) [00000493] [Media: Test] main encoder debug: removing module "x264" [00000492] [Media: Test] avcodec decoder debug: disabling direct rendering [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (974059) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (963423) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (924352) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (1009809) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (845296) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (805744) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (765879) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (726330) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (695412) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (664880) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (625347) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (597795) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (573406) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (542849) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (515773) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (480762) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (449846) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (418641) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (387745) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (348168) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (324898) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (293779) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (254294) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (223292) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (198507) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (159163) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (125361) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (91778) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (66464) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (35735) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (150) [00000451] [Media: Test] stream_out_transcode stream out debug: decoder aspect is 792000:432000 [00000451] [Media: Test] stream_out_transcode stream out debug: source pixel aspect is 1.000000:1 [00000451] [Media: Test] stream_out_transcode stream out debug: scaled pixel aspect is 0.999421:1 [00000451] [Media: Test] stream_out_transcode stream out debug: source 572x312, destination 576x314 [00000451] [Media: Test] stream_out_transcode stream out debug: encoder aspect is 792000:432000 [00000495] [Media: Test] main filter debug: looking for video filter2 module: 16 candidates [00000495] [Media: Test] swscale filter debug: 572x312 chroma: I420 -> 576x314 chroma: I420 with scaling using Bicubic (good quality) [00000495] [Media: Test] main filter debug: using video filter2 module "swscale" [00000495] [Media: Test] main filter debug: TIMER module_Need() : 3.957 ms - Total 3.957 ms / 1 intvls (Avg 3.957 ms) [00000451] [Media: Test] main stream out debug: Filter 'swscale' (0x83dfa4c) appended to chain [00000451] [Media: Test] stream_out_transcode stream out debug: destination (after video filters) 576x314 [00000493] [Media: Test] main encoder debug: looking for encoder module: 7 candidates [00000493] [Media: Test] x264 encoder debug: version x264 0.65.X x264 [warning]: width or height not divisible by 16 (576x314), compression will suffer. x264 [info]: using SAR=1727/1728 x264 [info]: using cpu capabilities: MMX2 [00000493] [Media: Test] main encoder debug: using encoder module "x264" [00000493] [Media: Test] main encoder debug: TIMER module_Need() : 5.014 ms - Total 5.014 ms / 1 intvls (Avg 5.014 ms) [00000454] [Media: Test] stream_out_rtp stream out debug: maximum RTP packet size: 1400 bytes [00000454] [Media: Test] main stream out debug: net: connecting to [5.24.86.183]:59788 [00000454] [Media: Test] main stream out debug: net: connecting to [5.24.86.183]:59789 from [5.62.249.27]:5537 [00000454] [Media: Test] stream_out_rtp stream out debug: we found a startcode for NAL with TYPE:6 [00000454] [Media: Test] stream_out_rtp stream out debug: we found a startcode for NAL with TYPE:7 [00000454] [Media: Test] stream_out_rtp stream out debug: we found a startcode for NAL with TYPE:8 [00000498] [Media: Test] main generic debug: thread started [00000498] [Media: Test] main generic debug: thread 2915765136 (RTP send thread) created at priority 20 (rtp.c:1235) [00000454] [Media: Test] stream_out_rtp stream out debug: sdp= v=0 o=- 14784337706748753140 14784337706748753140 IN IP4 linuxMainServer s=Unnamed i=N/A c=IN IP4 5.24.86.183 t=0 0 a=tool:vlc 0.9.6 a=recvonly a=type:broadcast a=charset:UTF-8 m=audio 59786 RTP/AVP 96 b=AS:128 b=RR:0 a=rtpmap:96 mpeg4-generic/48000/2 a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=0990; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1; m=video 59788 RTP/AVP 97 b=AS:800 b=RR:0 a=rtpmap:97 H264/90000 a=fmtp:97 packetization-mode=1;profile-level-id=4d4033;sprop-parameter-sets=Z01AM5p0BIFPyf+DX4NgCAAAAwPoAAC7VHjBlQ==,aO48gA==; [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (33519) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (8845) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (733) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (5289) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (4491) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (14016) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (1366) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (1562) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (2416) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (7407) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (427) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (1084) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (9115) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (4740) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (1090) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (1165) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (2294) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (5562) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (2171) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (1299) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (1110) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (3030) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (12238) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (2334) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (11827) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (22039) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (2265) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (4353) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (14768) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (8992) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (9704) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (7142) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (5456) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (3134) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (377) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (2529) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (6171) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (16787) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (8015) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (11874) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (11935) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (39536) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (836) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (4636) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (6205) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (148) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (5986) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (7645) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (15204) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (3509) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (5454) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (4939) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (8281) [00000451] [Media: Test] stream_out_transcode stream out debug: late picture skipped (4665) [00000400] vod_rtsp vod server debug: RtspCallback query: type=12 [00000400] vod_rtsp vod server debug: HTTPD_MSG_TEARDOWN for session: 1804289383 [00000400] vod_rtsp vod server debug: closing session: 1804289383, connections: 0 [00000449] [Media: Test] main input debug: control type=0 [00000449] [Media: Test] main input debug: control: stopping input [00000458] [Media: Test] avi stream debug: free chunk avih [00000458] [Media: Test] avi stream debug: free chunk strh [00000458] [Media: Test] avi stream debug: free chunk strf [00000458] [Media: Test] avi stream debug: free chunk LIST [00000458] [Media: Test] avi stream debug: free chunk strh [00000458] [Media: Test] avi stream debug: free chunk strf [00000458] [Media: Test] avi stream debug: free chunk LIST [00000458] [Media: Test] avi stream debug: free chunk LIST [00000458] [Media: Test] avi stream debug: free chunk ISFT [00000458] [Media: Test] avi stream debug: free chunk LIST [00000458] [Media: Test] avi stream debug: free chunk JUNK [00000458] [Media: Test] avi stream debug: free chunk LIST [00000458] [Media: Test] avi stream debug: free chunk idx1 [00000458] [Media: Test] avi stream debug: free chunk RIFF [00000458] [Media: Test] avi stream debug: free chunk JUNK [00000458] [Media: Test] avi stream debug: free chunk LIST [00000459] [Media: Test] main demux debug: removing module "avi" [00000457] [Media: Test] main access debug: removing module "access_file" [00000460] [Media: Test] main packetizer debug: removing module "packetizer_mpeg4video" [00000460] [Media: Test] main packetizer debug: killing decoder fourcc `XVID', 0 PES in FIFO [00000450] main stream output debug: removing a sout input (sout_input:0x8235f50) [00000493] main encoder debug: TIMER encoding video frame : 50.742 ms - Total 6744.836 ms / 162 intvls (Avg 41.635 ms) [00000492] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) stopped [00000492] main decoder debug: removing module "avcodec" x264 [info]: slice I:1 Avg QP:10.25 size: 4103 x264 [info]: slice P:161 Avg QP:12.30 size: 4291 x264 [info]: mb I I16..4: 76.1% 0.0% 23.9% x264 [info]: mb P I16..4: 2.4% 0.0% 3.0% P16..4: 36.4% 27.8% 9.1% 0.0% 0.0% skip:21.3% x264 [info]: kb/s:822.9 [00000493] main encoder debug: removing module "x264" [00000451] main stream out debug: Filter 'swscale' (0x83dfa4c) removed from chain [00000495] main filter debug: removing module "swscale" [00000498] main generic debug: thread ended [00000498] main generic debug: thread 2915765136 joined (rtp.c:1271) [00000461] [Media: Test] main packetizer debug: removing module "mpeg_audio" [00000461] [Media: Test] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO [00000450] main stream output debug: removing a sout input (sout_input:0x81ad8d0) [00000463] main encoder debug: TIMER encoding audio frame : 3.166 ms - Total 1661.098 ms / 435 intvls (Avg 3.819 ms) [00000462] main decoder debug: removing module "mpeg_audio" [00000463] main encoder debug: removing module "avcodec" [00000451] main stream out debug: Filter 'mpgatofixed32' (0x81b07a4) removed from chain [00000475] main filter debug: removing module "mpgatofixed32" [00000451] main stream out debug: Filter 'audio_format' (0x822e1a4) removed from chain [00000480] main filter debug: removing module "audio_format" [00000491] main generic debug: thread ended [00000491] main generic debug: thread 2927405968 joined (rtp.c:1271) [00000449] [Media: Test] main input debug: thread ended [00000449] [Media: Test] main input debug: thread 2974616464 joined (input/vlm.c:776) [00000449] [Media: Test] main input debug: TIMER input launching for '(null)' : 66.789 ms - Total 66.789 ms / 1 intvls (Avg 66.789 ms) [00000451] main stream out debug: destroying chain... (name=transcode) [00000454] main stream out debug: destroying chain... (name=rtp) [00000454] main stream out debug: removing module "stream_out_rtp" [00000454] main stream out debug: destroying chain done [00000451] main stream out debug: removing module "stream_out_transcode" [00000451] main stream out debug: destroying chain done [00000400] vod_rtsp vod server debug: RtspCallback query: type=7 [00000400] vod_rtsp vod server debug: RtspCallback query: type=8 [00000400] vod_rtsp vod server debug: HTTPD_MSG_SETUP: transport=RTP/AVP/TCP;unicast;interleaved=0-1 [00000400] vod_rtsp vod server debug: RtspCallback query: type=8 [00000400] vod_rtsp vod server debug: HTTPD_MSG_SETUP: transport=RTP/AVP/TCP;unicast;interleaved=2-3
A bad day with Linux is still better then a Good day with Windoz

thebluebishop
New Cone
New Cone
Posts: 6
Joined: 14 Jun 2010 03:37
VLC version: 1.1.0 RC
Operating System: Windows Vista
Location: Sevilla, España (Seville, Spain)

Re: VLC rtsp streaming question. (re-reposted)

Postby thebluebishop » 12 Jul 2010 16:48

Just enable channel after transcode. Try:

Code: Select all

new Test vod enabled setup Test input /path/to/video.avi setup Test output #transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128} setup Test enabled

I hope it helps.

Orcephrye
Blank Cone
Blank Cone
Posts: 13
Joined: 13 Nov 2008 09:06

Re: VLC rtsp streaming question. (re-reposted)

Postby Orcephrye » 13 Jul 2010 00:05

Ah thanks for you help.

I remember a while back either figuring this out or going down another path. This was actually over a year ago. :-P I starting coding using the Java APIs for VLC.. realizing java sticks for that. And then using C++. Getting bored. And moving and playing with some other fun thingy. Ah such is life.

But I think i will take a peak again just to see. Curiosity is just awesome!
A bad day with Linux is still better then a Good day with Windoz


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 2 guests