Issues with Continuous Streaming in 2.0.0

About encoding, codec settings, muxers and filter usage
fluxgame
New Cone
New Cone
Posts: 1
Joined: 19 Feb 2012 03:25

Issues with Continuous Streaming in 2.0.0

Postby fluxgame » 19 Feb 2012 03:50

I'm attempting to use VLC to convert an RTSP stream from an IP camera to a FLV stream so I can display it on a website. I'm having some issues. I'm using the following command, as it has gotten me the furthest along thus far:

Code: Select all

vlc.exe -I rc -vvv rtsp://192.168.100.223:7070 :sout=#duplicate{dst=std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=localhost:8888/stream.flv}}
When I open the stream with VLC (http://localhost:8888/stream.flv) I get no output. Until I close the streaming process. Then I get a couple of seconds of the stream. It's as if one side of the process is waiting for an end-point before it starts displaying anything. This being a continuous stream, that won't ever come. If I use the ts mux, instead of the ffmpeg/flv mux, everything works wonderfully (in VLC at least). Below are some logs from the server and client side of this process. Hopefully someone out there can give me some help with this...

Server:

Code: Select all

[006361f8] oldrc interface: VLC media player - 2.0.0 Twoflower [006361f8] oldrc interface: Copyright c 1996-2012 VLC authors and VideoLAN [006361f8] oldrc interface: Warning: if you cannot access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt" Remote control interface initialized. Type `help' for help. [006361f8] main interface debug: using interface module "oldrc" [006361f8] main interface debug: TIMER module_need() : 26.625 ms - Total 26.625ms / 1 intvls (Avg 26.625 ms) [0061d5e8] main playlist debug: rebuilding array of current - root Playlist [0061d5e8] main playlist debug: rebuild done - 1 items, index -1 [0061d5e8] main playlist debug: processing request item: null, node: Playlist, skip: 0 [0061d5e8] main playlist debug: starting playback of the new playlist item [0061d5e8] main playlist debug: creating new input thread [006ecad0] main input debug: Creating an input for 'rtsp://192.168.100.223:7070' [005ace08] main stream output debug: using sout chain=`duplicate{dst=std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=localhost:8888/stream.flv}}' [005ace08] main stream output debug: stream=`duplicate' [0061a218] main stream out debug: looking for sout stream module: 1 candidate [0061a218] stream_out_duplicate stream out debug: creating 'duplicate' [0061a218] stream_out_duplicate stream out debug: * adding `std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=localhost:8888/stream.flv}' [005ace08] main stream output debug: stream=`std' [0061a2c0] main stream out debug: looking for sout stream module: 1 candidate [0061a2c0] main stream out debug: set config option: sout-standard-access to http{mime=video/x-flv} [0061a2c0] main stream out debug: set config option: sout-standard-mux to ffmpeg{mux=flv} [0061a2c0] main stream out debug: set config option: sout-standard-dst to localhost:8888/stream.flv [028a40c0] main access out debug: looking for sout access module: 1 candidate [028a40c0] main access out debug: set config option: sout-http-mime to video/x-flv [028a40c0] access_output_http access out warning: "localhost" HTTP host might be ignored in multiple-host configurations, use at your own risks. [028a40c0] access_output_http access out: Consider passing --http-host=IP on the command line instead. [028a40c0] main access out debug: net: listening to localhost port 8888 [028a40c0] main access out debug: using sout access module "access_output_http" [028a40c0] main access out debug: TIMER module_need() : 13.536 ms - Total 13.536 ms / 1 intvls (Avg 13.536 ms) [006380d8] main mux debug: looking for sout mux module: 1 candidate [006380d8] main mux debug: set config option: ffmpeg-mux to flv [006380d8] main mux debug: using sout mux module "avcodec" [006380d8] main mux debug: TIMER module_need() : 5.324 ms - Total 5.324 ms / 1 intvls (Avg 5.324 ms) [0061a2c0] stream_out_standard stream out debug: using `http{mime=video/x-flv}/ffmpeg{mux=flv}://localhost:8888/stream.flv' [0061a2c0] main stream out debug: using sout stream module "stream_out_standard" [0061a2c0] main stream out debug: TIMER module_need() : 30.921 ms - Total 30.921 ms / 1 intvls (Avg 30.921 ms) [0061a218] main stream out debug: using sout stream module "stream_out_duplicate" [0061a218] main stream out debug: TIMER module_need() : 38.648 ms - Total 38.648 ms / 1 intvls (Avg 38.648 ms) [006ecad0] main input debug: using timeshift granularity of 50 MiB, in path 'C:\Users\dave\AppData\Local\Temp' [006ecad0] main input debug: `rtsp://192.168.100.223:7070' gives access `rtsp' demux `' path `192.168.100.223:7070' [006ecad0] main input debug: creating demux: access='rtsp' demux='' location='192.168.100.223:7070' file='\\192.168.100.223:7070' [028a4178] main demux debug: looking for access_demux module: 1 candidate [028a4178] live555 demux debug: version 2011.12.23 Opening connection to 192.168.100.223, port 7070... ...remote connection opened Sending request: OPTIONS rtsp://192.168.100.223:7070 RTSP/1.0 CSeq: 2 User-Agent: LibVLC/2.0.0 (LIVE555 Streaming Media v2011.12.23) Received 130 new bytes of response data. Received a complete OPTIONS response: RTSP/1.0 200 OK CSeq: 2 Date: Sun, Feb 19 2012 02:34:51 GMT Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN, SET_PARAMETER Sending request: DESCRIBE rtsp://192.168.100.223:7070 RTSP/1.0 CSeq: 3 User-Agent: LibVLC/2.0.0 (LIVE555 Streaming Media v2011.12.23) Accept: application/sdp Received 222 new bytes of response data. Received a complete DESCRIBE response: RTSP/1.0 401 Unauthorized CSeq: 3 Date: Sun, Feb 19 2012 02:34:51 GMT WWW-Authenticate: Digest realm="Session streamed by RTP/RTSP server", nonce="2ed 1fc2cd1da5f99f51c3895d2302b9d" WWW-Authenticate: Basic realm="/" Resending... Sending request: DESCRIBE rtsp://192.168.100.223:7070 RTSP/1.0 CSeq: 4 Authorization: Digest username="XXXXX", realm="Session streamed by RTP/RTSP serv er", nonce="2ed1fc2cd1da5f99f51c3895d2302b9d", uri="rtsp://192.168.100.223:7070" , response="cf5bcf9f8697bf590fa696f7c06b08bc" User-Agent: LibVLC/2.0.0 (LIVE555 Streaming Media v2011.12.23) Accept: application/sdp Received 592 new bytes of response data. Received a complete DESCRIBE response: RTSP/1.0 200 OK CSeq: 4 Date: Sun, Feb 19 2012 02:34:51 GMT Content-Base: rtsp://192.168.100.223:7070/ Content-Type: application/sdp Content-Length: 431 v=0 o=- 132961889100687616 1 IN IP4 192.168.100.223 s=Session streamed by RTP/RTSP server i=ACTi.COM Streaming Media v t=0 0 a=tool:ACTi.COM Streaming Media v2010.05.25 a=type:broadcast a=control:* a=range:npt=now- m=video 0 RTP/AVP 96 c=IN IP4 0.0.0.0 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=42001E;sprop-parameter-sets=Z0IA HukBQHt/4AAgADxIAAAfQAAB1NTYgRU=,aM44gA== a=control:track1 [028a4178] live555 demux debug: RTP subsession 'video/H264' Sending request: SETUP rtsp://192.168.100.223:7070/track1 RTSP/1.0 CSeq: 5 Authorization: Digest username="XXXXX", realm="Session streamed by RTP/RTSP serv er", nonce="2ed1fc2cd1da5f99f51c3895d2302b9d", uri="rtsp://192.168.100.223:7070/ ", response="98406b5638ebaafcf3100765f6a478e0" User-Agent: LibVLC/2.0.0 (LIVE555 Streaming Media v2011.12.23) Transport: RTP/AVP;unicast;client_port=56794-56795 Received 179 new bytes of response data. Received a complete SETUP response: RTSP/1.0 200 OK CSeq: 5 Date: Sun, Feb 19 2012 02:34:52 GMT Transport: RTP/AVP;unicast;destination=192.168.100.99;client_port=56794-56795;se rver_port=2140-2141 Session: 46 [006ecad0] main input debug: selecting program id=0 [028a4178] live555 demux debug: setup start: 0.000000 stop:0.000000 Sending request: PLAY rtsp://192.168.100.223:7070/ RTSP/1.0 CSeq: 6 Authorization: Digest username="XXXXX", realm="Session streamed by RTP/RTSP serv er", nonce="2ed1fc2cd1da5f99f51c3895d2302b9d", uri="rtsp://192.168.100.223:7070/ ", response="93b9b412061a5ff6bdee6ada62fedb53" User-Agent: LibVLC/2.0.0 (LIVE555 Streaming Media v2011.12.23) Session: 46 Range: npt=0.000- Received 157 new bytes of response data. Received a complete PLAY response: RTSP/1.0 200 OK CSeq: 6 Date: Sun, Feb 19 2012 02:34:52 GMT Range: npt=0.000- Session: 46 RTP-Info: url=rtsp://192.168.100.223:7070/track1;seq=53202 [028a4178] live555 demux debug: play start: 0.000000 stop:0.000000 [028a4178] main demux debug: using access_demux module "live555" [028a4178] main demux debug: TIMER module_need() : 644.225 ms - Total 644.225 ms / 1 intvls (Avg 644.225 ms) [006222e0] main decoder debug: looking for packetizer module: 21 candidates [006222e0] packetizer_h264 decoder debug: found NAL_SPS (sps_id=0) [006222e0] packetizer_h264 decoder debug: found NAL_PPS (pps_id=0 sps_id=0) [006222e0] main decoder debug: using packetizer module "packetizer_h264" [006222e0] main decoder debug: TIMER module_need() : 10.048 ms - Total 10.048 ms / 1 intvls (Avg 10.048 ms) [006ecad0] main input debug: starting in async mode [00607ed8] main demux meta debug: looking for meta reader module: 2 candidates [00607ed8] lua demux meta debug: Trying Lua scripts in C:\Users\dave\AppData\Roaming\vlc\lua\meta\reader [00607ed8] lua demux meta debug: Trying Lua scripts in c:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader [00607ed8] lua demux meta debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac [00607ed8] main demux meta debug: no meta reader module matching "any" could be loaded [00607ed8] main demux meta debug: TIMER module_need() : 8.229 ms - Total 8.229 ms / 1 intvls (Avg 8.229 ms) [006ecad0] main input debug: `rtsp://192.168.100.223:7070' successfully opened [006ecad0] main input debug: switching to sync mode [006ecad0] main input debug: Buffering 0% [006ecad0] main input debug: Buffering 0% [006ecad0] main input debug: Buffering 0% [006ecad0] main input debug: Buffering 13% [006ecad0] main input debug: Buffering 26% [005ace08]main stream output debug: [adding a new sout input (sout_input:006477f8) [006ecad0] main input debug: Buffering 39% [0061a218] stream_out_duplicate stream out debug: duplicated a new stream codec=h264 (es=0 group=0) [006ecad0] main input debug:Buffering 53% [006380d8] main mux debug: adding a new input [006380d8] avcodec mux debug: adding input [006380d8] avcodec mux warning: Missing frame rate, assuming 25fps [0061a218] stream_out_duplicate stream out debug: - added for output 0 [006ecad0] main input debug: Buffering 66% [006ecad0] main input debug: Buffering 80% [006ecad0] main input debug: Buffering 93% [006ecad0] main input debug: Stream buffering done (1067 ms in 452 ms) [006ecad0] main input debug: Decoder buffering done in 0 ms [006380d8] main mux warning: late buffer for mux input (67153) [006380d8] avcodec mux debug: writing header [028a4178] live555 demux debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP() [006ecad0] main input error: ES_OUT_RESET_PCR called [006ecad0] main input debug: Buffering 0% [006ecad0] main input debug: Buffering 13% [006ecad0] main input debug: Buffering 26% [006ecad0] main input debug: Buffering 39% [006ecad0] main input debug: Buffering 53% [006ecad0] main input debug: Buffering 66% [006ecad0] main input debug: Buffering 79% [006ecad0] main input debug: Buffering 79% [006ecad0] main input debug: Buffering 79% [006ecad0] main input debug: Buffering 93% [006ecad0] main input debug: Stream buffering done (1064 ms in 1080 ms) [006ecad0] main input debug: Decoder buffering done in 0 ms
Client (it pauses after printing this line: [00665020] avcodec demux debug: detected format: flv):

Code: Select all

[0062ac50] oldrc interface: VLC media player - 2.0.0 Twoflower [0062ac50] oldrc interface: Copyright c 1996-2012 VLC authors and VideoLAN [0062ac50] oldrc interface: Warning: if you cannot access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt" Remote control interface initialized. Type `help' for help. [0062ac50] main interface debug: using interface module "oldrc" [0062ac50] main interface debug: TIMER module_need() : 25.353 ms - Total 25.353 ms / 1 intvls (Avg 25.353 ms) [00622438] main playlist debug: rebuilding array of current - root Playlist [00622438] main playlist debug: rebuild done - 1 items, index -1 [00622438] main playlist debug: processing request item: null, node: Playlist, skip: 0 [00622438] main playlist debug: starting playback of the new playlist item [00622438] main playlist debug: creating new input thread [006bb7f0] main input debug: Creating an input for 'http://localhost:8888/stream.flv' [006bb7f0] main input debug: using timeshift granularity of 50 MiB, in path 'C:\Users\dave\AppData\Local\Temp' [006bb7f0] main input debug: `http://localhost:8888/stream.flv' gives access `http' demux `' path `localhost:8888/stream.flv' [006bb7f0] main input debug: creating demux: access='http' demux='' location='localhost:8888/stream.flv' file='\\localhost:8888\stream.flv' [00664eb0] main demux debug: looking for access_demux module: 0 candidates [00664eb0] main demux debug: no access_demux module matched "http" [00664eb0] main demux debug: TIMER module_need() : 2.742 ms - Total 2.742 ms / 1 intvls (Avg 2.742 ms) [006bb7f0] main input debug: creating access 'http' location='localhost:8888/stream.flv', path='\\localhost:8888\stream.flv' [0068d138] main access debug: looking for access module: 2 candidates [0068d138] access_http access debug: HTTP proxy disabled (MSIE) [0068d138] access_http access debug: http: server='localhost' port=8888 file='/stream.flv' [0068d138] main access debug: net: connecting to localhost port 8888 [0068d138] main access debug: connection succeeded (socket = 448) [0068d138] access_http access debug: protocol 'HTTP' answer code 200 [0068d138] access_http access debug: Content-Type: video/x-flv [0068d138] main access debug: using access module "access_http" [0068d138] main access debug: TIMER module_need() : 46.957 ms - Total 46.957 ms/ 1 intvls (Avg 46.957 ms) [0068b110] main stream debug: Using stream method for AStream* [0068b110] main stream debug: starting pre-buffering [0068b110] main stream debug: received first data after 0 ms [0068b110] main stream debug: pre-buffering done 1024 bytes in 0s - 816 KiB/s [0068b1c0] main stream debug: looking for stream_filter module: 4 candidates [0068b1c0] main stream debug: no stream_filter module matching "any" could be loaded [0068b1c0] main stream debug: TIMER module_need() : 2.675 ms - Total 2.675 ms /1 intvls (Avg 2.675 ms) [0068b1c0] main stream debug: looking for stream_filter module: 1 candidate [0068b1c0] main stream debug: using stream_filter module "stream_filter_record" [0068b1c0] main stream debug: TIMER module_need() : 2.642 ms - Total 2.642 ms /1 intvls (Avg 2.642 ms) [006bb7f0] main input debug: creating demux: access='http' demux='' location='localhost:8888/stream.flv' file='\\localhost:8888\stream.flv' [00665020] main demux debug: looking for demux module: 55 candidates [00665020] ts demux debug: TS module discarded (lost sync) [00665020] mod demux debug: MOD validation failed (ext=flv) [00665020] lua demux debug: Trying Lua scripts in C:\Users\dave\AppData\Roaming\vlc\lua\playlist [00665020] lua demux debug: Trying Lua scripts in c:\Program Files (x86)\VideoLAN\VLC\lua\playlist [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\anevia_streams.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\anevia_xml.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\appletrailers.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\bbc_co_uk.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\break.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\canalplus.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\cue.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\dailymotion.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\extreme.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\france2.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\googlevideo.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\jamendo.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\joox.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\katsomo.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\koreus.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\lelombrik.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\metacafe.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\metachannels.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\mpora.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\pinkbike.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\pluzz.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\rockbox_fm_presets.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\soundcloud.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\vimeo.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\youtube.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\youtube_homepage.luac [00665020] lua demux debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\zapiks.luac [00665020] avcodec demux debug: trying url: \\localhost:8888\stream.flv [00665020] avcodec demux debug: detected format: flv [0068d138] main access error: Read error: Connection reset by peer [flv @ 00628340] Estimating duration from bitrate, this may be inaccurate [006bb7f0] main input debug: selecting program id=0 [00665020] avcodec demux debug: adding es: video codec = h264 [00665020] avcodec demux debug: AVFormat supported stream [00665020] avcodec demux debug: - format = flv (FLV format) [00665020] avcodec demux debug: - start time = 5610000 [00665020] avcodec demux debug: - duration = 0 [00665020] main demux debug: using demux module "avcodec" [00665020] main demux debug: TIMER module_need() : 10434.539 ms - Total 10434.539 ms / 1 intvls (Avg 10434.539 ms) [0062dd18] main decoder debug: looking for decoder module: 31 candidates [0062dd18] avcodec decoder debug: libavcodec initialized (interface 0x352400) [0062dd18] avcodec decoder debug: trying to use direct rendering [0062dd18] avcodec decoder debug: allowing 3 thread(s) for decoding [0062dd18] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started [0062dd18] avcodec decoder debug: using frame thread mode with 3 threads [0062dd18] main decoder debug: using decoder module "avcodec" [0062dd18] main decoder debug: TIMER module_need() : 23.596 ms - Total 23.596 ms / 1 intvls (Avg 23.596 ms) [00662eb0] main demux meta debug: looking for meta reader module: 2 candidates [00662eb0] lua demux meta debug: Trying Lua scripts in C:\Users\dave\AppData\Roaming\vlc\lua\meta\reader [00662eb0] lua demux meta debug: Trying Lua scripts in c:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader [00662eb0] lua demux meta debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac [00662eb0] main demux meta debug: no meta reader module matching "any" could beloaded [00662eb0] main demux meta debug: TIMER module_need() : 11.743 ms - Total 11.743 ms / 1 intvls (Avg 11.743 ms) [006bb7f0] main input debug: `http://localhost:8888/stream.flv' successfully opened [006bb7f0] main input debug: Buffering 0% [006bb7f0] main input debug: Buffering 13%[ 02a428c0] main spu text debug: looking for text renderer module: 2 candidates [006bb7f0] main input debug: Buffering 26% [006bb7f0] main input debug: Buffering 39% [006bb7f0] main input debug: Buffering 54% [02a428c0] freetype spu text debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf [006bb7f0] main input debug: Buffering 68% [006bb7f0] main input debug: Buffering 83% [02a428c0] freetype spu text debug: using fontsize: 2 [006bb7f0] main input debug:Buffering 96% [02a428c0] main spu text debug: using text renderer module "freetype" [006bb7f0] main input debug: Stream buffering done (1096 ms in 16 ms) [02a428c0] main spu text debug:TIMER module_need() : 15.926 ms - Total 15.926 ms / 1 intvls (Avg 15.926 ms) [00625b48] main scale debug: looking for video filter2 module: 18 candidates [00625b48] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality) [00625b48] main scale debug: using video filter2 module "swscale" [00625b48] main scale debug: TIMER module_need() : 5.368 ms - Total 5.368 ms / 1 intvls (Avg 5.368 ms) [03ee9a30] main scale debug: looking for video filter2 module: 18 candidates [03ee9a30] yuvp scale debug: YUVP to YUVA converter [03ee9a30] main scale debug: using video filter2 module "yuvp" [03ee9a30] main scale debug: TIMER module_need() : 8.471 ms - Total 8.471 ms / 1 intvls (Avg 8.471 ms) [028f9808] main video output debug: Deinterlacing available [028f9808] main video output debug: deinterlace 0, mode blend, is_needed 0 [028f9808] main video output debug: Opening vout display wrapper [00683930] main vout display debug: looking for vout display module: 6 candidates [00683930] direct3d vout display debug: creating Vout EventThread [00683930] direct3d vout display debug: DirectXCreateWindow [00662eb0] main window debug: looking for vout window hwnd module: 1 candidate [00662eb0] main window debug: no vout window hwnd module matching "any" could be loaded [00662eb0] main window debug: TIMER module_need() : 3.340 ms - Total 3.340 ms /1 intvls (Avg 3.340 ms) [00683930] direct3d vout display debug: created video sub-window [00683930] direct3d vout display debug: Vout EventThread running [00683930] direct3d vout display debug: disabling screen saver [00683930] direct3d vout display warning: trying surface pixel format: YV12 [00683930] direct3d vout display debug: selected surface pixel format is YV12 [00683930] direct3d vout display debug: Using D3DTEXF_LINEAR for minification [00683930] direct3d vout display debug: Using D3DTEXF_LINEAR for magnification [00683930] direct3d vout display debug: Direct3D scene created successfully [00683930] direct3d vout display debug: Direct3D device adapter successfully initialized [00683930] main vout display debug: using vout display module "direct3d" [00683930] main vout display debug: TIMER module_need() : 105.102 ms - Total 105.102 ms / 1 intvls (Avg 105.102 ms) [028f9808] main video output debug: original format sz 640x480, of (0,0), vsz 640x480, 4cc J420, sar 1:1, msk r0x0 g0x0 b0x0 [02a428c0] main spu text debug: removing module "freetype" [02a71580] main spu text debug: looking for text renderer module: 2 candidates [02a71580] freetype spu text debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf [02a71580] freetype spu text debug: using fontsize: 2 [02a71580] main spu text debug: using text renderer module "freetype" [02a71580] main spu text debug: TIMER module_need() : 5.784 ms - Total 5.784 ms/ 1 intvls (Avg 5.784 ms) [0062dd18] avcodec decoder debug: using direct rendering [0062dd18] main decoder debug: End of video preroll [0062dd18] main decoder debug: Received first picture [00683930] direct3d vout display debug: Created 406x33 texture for OSD [028f9808] main video output debug: Post-processing available [006bb7f0] main input debug: Decoder buffering done in 198 ms [00683930] main vout display debug: auto hiding mouse cursor [006bb7f0] main input debug: EOF reached [006bb7f0] main input debug: waiting decoder fifos to empty [006bb7f0] main input debug: waiting decoder fifos to empty [006bb7f0] main input debug: waiting decoder fifos to empty [006bb7f0] main input debug: waiting decoder fifos to empty [006bb7f0] main input debug: waiting decoder fifos to empty [006bb7f0] main input debug: waiting decoder fifos to empty [006bb7f0] main input debug: waiting decoder fifos to empty [00622438] main playlist debug: [finished input0062dd18] main decoder debug:removing module "avcodec" [0068d138] main access debug: waitpipe: object killed [0062dd18] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped [0062dd18] main decoder debug: killing decoder fourcc `h264', 0 PES in FIFO [00622438] main playlist debug: saving a free vout [00622438] main playlist debug: reusing provided vout [00665020] main demux debug: removing module "avcodec" [0068b1c0] main stream debug: removing module "stream_filter_record" [0068d138] main access debug: removing module "access_http" [006bb7f0] main input debug: Program doesn't contain anymore ES [00622438] main playlist debug: dead input [006bb7f0] main input debug: TIMER input launching for 'http://localhost:8888/stream.flv' : 10549.228 ms - Total 10549.228 ms / 1 intvls (Avg 10549.227 ms) [00622438] main playlist debug: changing item without a request (current 0/1) [00622438] main playlist debug: nothing to play [028f9808] main video output debug: destroying useless vout [00683930] main vout display debug: removing module "direct3d" [00683930] direct3d vout display debug: Direct3D scene released successfully [00683930] direct3d vout display debug: DirectXEventThread terminating [00683930] direct3d vout display debug: DirectXCloseWindow [00683930] direct3d vout display debug: WinProc WM_DESTROY [02a71580] main spu text debug: removing module "freetype" [03ee9a30] main scale debug: removing module "yuvp" [00625b48] main scale debug: removing module "swscale"

rakeshsg
New Cone
New Cone
Posts: 4
Joined: 20 Mar 2012 09:38

Re: Issues with Continuous Streaming in 2.0.0

Postby rakeshsg » 20 Mar 2012 09:45

Hi,

I am facing the same issue.

I have setup a vlm broacast in the following manner:

new test2 broadcast
setup test2 input "ducatinoaudio.mp4"
setup test2 output "#transcode{vcodec=h264,acodec=mp2,ab=32,channels=2,samplerate=44100}:duplicate{dst=std{access=http,mux=ffmpeg{mux=flv},dst=:8081/ch1.f4v}}"
setup test2 loop
setup test2 enabled
control test2 play

I start vlc with the below command:
vlc -vvv -I dummy --vlm-conf commandLine.conf

When I access the resulting stream using command:
vlc -vvv http://127.0.0.1:8081/ch1.flv

there is a huge delay in client(2-3 mins) in starting the stream.
Otherwise if we stop the broadcast, the client vlc plays the stream immediately.

Have you found the solution for this problem.?
I think the issue is with the ffmpeg{flv}.

Please let me know if someone has found a solution to this issue.

Thanks
Rakesh


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 12 guests