VLC "Offline Image"

About encoding, codec settings, muxers and filter usage
frostyboy33
New Cone
New Cone
Posts: 5
Joined: 03 Dec 2012 02:00

VLC "Offline Image"

Postby frostyboy33 » 03 Dec 2012 02:15

Hi All,

I am currently trying to setup VLC as my streaming service to push to other VLC clients.
and for the most part have been very successful however there is just one snag.

My VLC server accepts a stream from an external source however this source is not always "up". so when it is not up I would like to stream an image something that says "offline" or something along those lines.
The issue that I am having is that VLC seems to get stuck on the external source feed, and does not loop to my offline image.

On the VLC server I have a playlist with 2 items:
- Offline image
- External source

I have the Server set to loop.

What I am expecting is:
- Play the offline image for 10 seconds
- Check to see if external source is available
- if it is play it
- if not go back to offline image and start again

Is there some simple setting such as a time-out field of sorts that I am missing for the external source?

Thanks in advance,

Frosty

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: VLC "Offline Image"

Postby edwardw » 05 Dec 2012 00:53

Can you pastebin the messages log? (Tools→Messages, set verbosity to 2, start streaming/playing)

frostyboy33
New Cone
New Cone
Posts: 5
Joined: 03 Dec 2012 02:00

Re: VLC "Offline Image"

Postby frostyboy33 » 06 Dec 2012 06:28

Hi Sorry for the late reply

Please find below my log for setting up my playlists

order in which I did things was
-Create the Live stream
-Create the Offline Stream
-Played the Offline Stream
-VLC then flipped to the Live Stream (Good)
-I then turned off the live stream form the source
-VLC hung on the Live stream and did not flip to the Offline (Bad)

I left VLC for about 10 minutes and as you can see the error log produced nothing it literally just stopped.

I would Also like to report a potential bug. Once I create this playlist of 2 streaming items I save the playlist to a file.
When I close VLC and then re-open it add the playlist the 2 items are still there but no as a stream, they only play locally.

Code: Select all

qt4 debug: MRL passed to the Sout: udp://@224.1.1.1:5001 qt4 debug: Adding option: network-caching=1000 qt4 debug: Adding option: :sout=#transcode{vcodec=h264,vb=0,scale=0,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{dst=224.1.1.2,port=5002,mux=ts,ttl=1} qt4 debug: Adding option: sout-all qt4 debug: Adding option: sout-keep main debug: adding item `Streaming' ( udp://@224.1.1.1:5001 ) qt4 debug: Adding a new MRL to recent ones: udp://@224.1.1.1:5001 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: processing request item: Streaming, node: null, skip: 0 main debug: resyncing on Streaming main debug: Streaming is at 0 main debug: starting playback of the new playlist item main debug: resyncing on Streaming main debug: Streaming is at 0 main debug: creating new input thread main debug: Creating an input for 'Streaming' main debug: meta ok for (null), need to fetch art main debug: using sout chain=`transcode{vcodec=h264,vb=0,scale=0,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{dst=224.1.1.2,port=5002,mux=ts,ttl=1}' main debug: stream=`rtp' main debug: looking for sout stream module: 1 candidate main debug: set config option: sout-rtp-dst to 224.1.1.2 main debug: set config option: sout-rtp-port to 5002 main debug: set config option: sout-rtp-mux to ts main debug: set config option: sout-rtp-ttl to 1 main debug: looking for sout mux module: 1 candidate mux_ts debug: shaping=200000 pcr=70000 dts_delay=400000 main debug: using sout mux module "mux_ts" main debug: TIMER module_need() : 0.565 ms - Total 0.565 ms / 1 intvls (Avg 0.565 ms) main debug: muxer support adding stream at any time main debug: muxer prefers to wait for all ES before starting to mux stream_out_rtp debug: maximum RTP packet size: 1400 bytes main debug: net: connecting to [224.1.1.2]:5002 main debug: looking for meta fetcher module: 1 candidate lua debug: Trying Lua scripts in C:\Users\swuser\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac main debug: net: connecting to [224.1.1.2]:5003 from [10.8.2.221]:53389 main debug: using meta fetcher module "lua" main debug: TIMER module_need() : 0.841 ms - Total 0.841 ms / 1 intvls (Avg 0.841 ms) main debug: removing module "lua" main debug: searching art for Streaming main debug: looking for art finder module: 2 candidates lua debug: Trying Lua scripts in C:\Users\swuser\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac stream_out_rtp debug: sdp= v=0 o=- 15306215866423893831 15306215866423893831 IN IP4 FYDRWKT1834 s=Unnamed i=N/A c=IN IP4 224.1.1.2/255 t=0 0 a=tool:vlc 2.0.4 a=recvonly a=type:broadcast a=charset:UTF-8 m=video 5002 RTP/AVP 33 b=RR:0 a=rtpmap:33 MP2T/90000 main debug: using sout stream module "stream_out_rtp" main debug: TIMER module_need() : 3.775 ms - Total 3.775 ms / 1 intvls (Avg 3.775 ms) main debug: stream=`transcode' main debug: looking for sout stream module: 1 candidate lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac main debug: set config option: sout-transcode-vcodec to h264 main debug: set config option: sout-transcode-vb to 0 main debug: set config option: sout-transcode-scale to 0 main debug: set config option: sout-transcode-acodec to mpga main debug: set config option: sout-transcode-ab to 128 main debug: set config option: sout-transcode-channels to 2 main debug: set config option: sout-transcode-samplerate to 44100 stream_out_transcode debug: codec audio=mpga 44100Hz 2 channels 128Kb/s stream_out_transcode debug: codec video=h264 0x0 scaling: 0.000000 0kb/s main debug: using sout stream module "stream_out_transcode" main debug: TIMER module_need() : 0.456 ms - Total 0.456 ms / 1 intvls (Avg 0.456 ms) main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\swuser\AppData\Local\Temp' main debug: `udp://@224.1.1.1:5001' gives access `udp' demux `' path `@224.1.1.1:5001' main debug: creating demux: access='udp' demux='' location='@224.1.1.1:5001' file='\\@224.1.1.1:5001' lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "udp" main debug: TIMER module_need() : 0.085 ms - Total 0.085 ms / 1 intvls (Avg 0.085 ms) main debug: creating access 'udp' location='@224.1.1.1:5001', path='\\@224.1.1.1:5001' main debug: looking for access module: 1 candidate access_udp debug: opening server=:0 local=224.1.1.1:5001 main debug: net: opening 224.1.1.1 datagram port 5001 main debug: no art finder module matching "any" could be loaded main debug: TIMER module_need() : 2.056 ms - Total 2.056 ms / 1 intvls (Avg 2.056 ms) main debug: art not found for Streaming qt4 debug: IM: Setting an input main debug: using access module "access_udp" main debug: TIMER module_need() : 34.660 ms - Total 34.660 ms / 1 intvls (Avg 34.660 ms) main debug: Using block method for AStream* main debug: starting pre-buffering qt4 debug: MRL passed to the Sout: file:///C:/Users/swuser/Desktop/Offline.jpg qt4 debug: Adding option: file-caching=300 qt4 debug: Adding option: :sout=#transcode{vcodec=h264,vb=0,scale=0,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{dst=224.1.1.2,port=5002,mux=ts,ttl=1} qt4 debug: Adding option: sout-all qt4 debug: Adding option: sout-keep main debug: adding item `Streaming' ( file:///C:/Users/swuser/Desktop/Offline.jpg ) main debug: socket 1452 polling interrupted main debug: waitpipe: object killed main debug: prebuffering done 0 bytes in 52s - 0 KiB/s main error: cannot pre fill buffer main warning: cannot create a stream_t from access main debug: removing module "access_udp" qt4 debug: Adding a new MRL to recent ones: file:///C:/Users/swuser/Desktop/Offline.jpg main debug: dying input main debug: dying input main debug: dead input main debug: processing request item: Streaming, node: null, skip: 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 2 items, index 1 main debug: starting playback of the new playlist item main debug: resyncing on Streaming main debug: Streaming is at 1 main debug: creating new input thread main debug: Creating an input for 'Streaming' main debug: Creating an input for 'Streaming' main debug: reusing sout main debug: you probably want to use gather stream_out main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\swuser\AppData\Local\Temp' main debug: `file:///C:/Users/swuser/Desktop/Offline.jpg' gives access `file' demux `' path `/C:/Users/swuser/Desktop/Offline.jpg' main debug: creating demux: access='file' demux='' location='/C:/Users/swuser/Desktop/Offline.jpg' file='C:\Users\swuser\Desktop\Offline.jpg' main debug: looking for access_demux module: 3 candidates main debug: no access_demux module matching "file" could be loaded main debug: TIMER module_need() : 0.199 ms - Total 0.199 ms / 1 intvls (Avg 0.199 ms) main debug: creating access 'file' location='/C:/Users/swuser/Desktop/Offline.jpg', path='C:\Users\swuser\Desktop\Offline.jpg' main debug: looking for access module: 3 candidates filesystem debug: opening file `C:\Users\swuser\Desktop\Offline.jpg' main debug: using access module "filesystem" main debug: TIMER module_need() : 0.131 ms - Total 0.131 ms / 1 intvls (Avg 0.131 ms) main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 62500 KiB/s main debug: looking for stream_filter module: 4 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 0.072 ms - Total 0.072 ms / 1 intvls (Avg 0.072 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 0.057 ms - Total 0.057 ms / 1 intvls (Avg 0.057 ms) main debug: creating demux: access='file' demux='' location='/C:/Users/swuser/Desktop/Offline.jpg' file='C:\Users\swuser\Desktop\Offline.jpg' main debug: looking for demux module: 55 candidates ts debug: TS module discarded (lost sync) mod debug: MOD validation failed (ext=jpg) image debug: Detected image: main debug: looking for decoder module: 32 candidates avcodec debug: libavcodec initialized (interface 0x361e00) avcodec debug: trying to use direct rendering avcodec debug: allowing 4 thread(s) for decoding avcodec debug: ffmpeg codec (Motion JPEG Video) started main debug: using decoder module "avcodec" main debug: TIMER module_need() : 5.460 ms - Total 5.460 ms / 1 intvls (Avg 5.460 ms) avcodec debug: using direct rendering main debug: removing module "avcodec" avcodec debug: ffmpeg codec (Motion JPEG Video) stopped main debug: selecting program id=0 main debug: using demux module "image" main debug: TIMER module_need() : 19.587 ms - Total 19.587 ms / 1 intvls (Avg 19.587 ms) main debug: looking for a subtitle file in C:\Users\swuser\Desktop\ main debug: looking for packetizer module: 21 candidates main debug: using packetizer module "rawvideo" main debug: TIMER module_need() : 0.306 ms - Total 0.306 ms / 1 intvls (Avg 0.306 ms) main debug: starting in async mode main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\swuser\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac main debug: meta ok for (null), need to fetch art main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 0.734 ms - Total 0.734 ms / 1 intvls (Avg 0.734 ms) main debug: `file:///C:/Users/swuser/Desktop/Offline.jpg' successfully opened main debug: looking for meta fetcher module: 1 candidate lua debug: Trying Lua scripts in C:\Users\swuser\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac main debug: Buffering 0% main debug: switching to sync mode main debug: adding a new sout input (sout_input:03ae4f10) stream_out_transcode debug: creating video transcoding from fcc=`J420' to fcc=`h264' main debug: looking for decoder module: 32 candidates main debug: using meta fetcher module "lua" main debug: TIMER module_need() : 0.790 ms - Total 0.790 ms / 1 intvls (Avg 0.790 ms) main debug: removing module "lua" main debug: searching art for Streaming main debug: looking for art finder module: 2 candidates lua debug: Trying Lua scripts in C:\Users\swuser\AppData\Roaming\vlc\lua\meta\art main debug: Buffering 33% lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac main debug: Buffering 66% lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac main debug: using decoder module "rawvideo" main debug: TIMER module_need() : 1.531 ms - Total 1.531 ms / 1 intvls (Avg 1.531 ms) lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac main debug: looking for encoder module: 13 candidates main debug: Buffering 100% lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac x264 debug: version x264 0.125.X main debug: Stream buffering done (400 ms in 2 ms) main debug: no art finder module matching "any" could be loaded main debug: TIMER module_need() : 2.307 ms - Total 2.307 ms / 1 intvls (Avg 2.307 ms) main debug: art not found for Streaming qt4 debug: IM: Deleting the input main debug: using encoder module "x264" main debug: TIMER module_need() : 4.977 ms - Total 4.977 ms / 1 intvls (Avg 4.977 ms) main debug: removing module "x264" x264 debug: framecount still in libx264 buffer: 0 main debug: Decoder buffering done in 5 ms stream_out_transcode debug: late picture skipped (40723) stream_out_transcode debug: decoder aspect is 1.614583:1 stream_out_transcode debug: source pixel aspect is 1.000000:1 stream_out_transcode debug: scaled pixel aspect is 1.000000:1 stream_out_transcode debug: source 1240x768, destination 1240x768 stream_out_transcode debug: encoder aspect is 1240:768 main debug: looking for video filter2 module: 18 candidates swscale debug: 1240x768 chroma: J420 -> 1240x768 chroma: I420 with scaling using Bicubic (good quality) main debug: using video filter2 module "swscale" main debug: TIMER module_need() : 1.027 ms - Total 1.027 ms / 1 intvls (Avg 1.027 ms) main debug: Filter 'Swscale' (03d4c358) appended to chain stream_out_transcode debug: destination (after video filters) 1240x768 main debug: looking for encoder module: 13 candidates x264 debug: version x264 0.125.X main debug: using encoder module "x264" main debug: TIMER module_need() : 4.430 ms - Total 4.430 ms / 1 intvls (Avg 4.430 ms) main debug: adding a new input mux_ts debug: adding input codec=h264 pid=68 mux_ts debug: new PCR PID is 68 main debug: TIMER input launching for 'Streaming' : 52816.748 ms - Total 52816.748 ms / 1 intvls (Avg 52816.745 ms) qt4 debug: IM: Setting an input main warning: late buffer for mux input (4606230) main warning: late buffer for mux input (4605403) main warning: late buffer for mux input (4605584) main warning: late buffer for mux input (4605332) main warning: late buffer for mux input (4605502) main warning: late buffer for mux input (4604953) main warning: late buffer for mux input (4604925) main warning: late buffer for mux input (4605079) main warning: late buffer for mux input (4604921) main warning: late buffer for mux input (4604861) main warning: late buffer for mux input (4604944) main warning: late buffer for mux input (4604903) main warning: late buffer for mux input (4604888) main warning: late buffer for mux input (4604833) main warning: late buffer for mux input (4604953) main warning: late buffer for mux input (4604821) main warning: late buffer for mux input (4604882) main warning: late buffer for mux input (4604853) main warning: late buffer for mux input (4604851) main warning: late buffer for mux input (4604894) main warning: late buffer for mux input (4604912) main warning: late buffer for mux input (4604905) main warning: late buffer for mux input (4604763) main warning: late buffer for mux input (4604776) main warning: late buffer for mux input (4604975) main warning: late buffer for mux input (4604841) main warning: late buffer for mux input (4604774) main warning: late buffer for mux input (4604958) main warning: late buffer for mux input (4604980) main warning: late buffer for mux input (4604956) main warning: late buffer for mux input (4604833) main warning: late buffer for mux input (4604861) main warning: late buffer for mux input (4604859) main warning: late buffer for mux input (4604876) main warning: late buffer for mux input (4604900) main warning: late buffer for mux input (4604777) main warning: late buffer for mux input (4604867) main warning: late buffer for mux input (4604876) main warning: late buffer for mux input (4604848) main warning: late buffer for mux input (4604919) main warning: late buffer for mux input (4604959) main warning: late buffer for mux input (4604806) main warning: late buffer for mux input (4604923) main warning: late buffer for mux input (4604913) main warning: late buffer for mux input (4604938) main warning: late buffer for mux input (4604899) main warning: late buffer for mux input (4604814) main warning: late buffer for mux input (4604873) main warning: late buffer for mux input (4605045) main debug: EOF reached main warning: late buffer for mux input (4605019) main debug: finished input main debug: removing module "rawvideo" main debug: killing decoder fourcc `J420', 0 PES in FIFO main debug: removing a sout input (sout_input:03ae4f10) main warning: late buffer for mux input (4736493) main debug: TIMER encoding video frame : 0.001 ms - Total 261.364 ms / 149 intvls (Avg 1.754 ms) main debug: removing module "rawvideo" main debug: removing module "x264" x264 debug: framecount still in libx264 buffer: 0 main debug: Filter 03d4c358 removed from chain main debug: removing module "swscale" mux_ts debug: removing input pid=68 mux_ts debug: new PCR PID is 8191 main warning: no more input streams for this mux main debug: removing module "image" main debug: removing module "stream_filter_record" main debug: removing module "filesystem" main debug: Program doesn't contain anymore ES main debug: dead input main debug: changing item without a request (current 1/2) main debug: using item 0 main debug: starting playback of the new playlist item main debug: resyncing on Streaming main debug: Streaming is at 0 main debug: creating new input thread main debug: Creating an input for 'Streaming' main debug: reusing sout main debug: you probably want to use gather stream_out main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\swuser\AppData\Local\Temp' main debug: `udp://@224.1.1.1:5001' gives access `udp' demux `' path `@224.1.1.1:5001' main debug: creating demux: access='udp' demux='' location='@224.1.1.1:5001' file='\\@224.1.1.1:5001' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "udp" main debug: TIMER module_need() : 0.136 ms - Total 0.136 ms / 1 intvls (Avg 0.136 ms) main debug: creating access 'udp' location='@224.1.1.1:5001', path='\\@224.1.1.1:5001' main debug: looking for access module: 1 candidate access_udp debug: opening server=:0 local=224.1.1.1:5001 main debug: net: opening 224.1.1.1 datagram port 5001 main debug: using access module "access_udp" main debug: TIMER module_need() : 0.240 ms - Total 0.240 ms / 1 intvls (Avg 0.240 ms) main debug: Using block method for AStream* main debug: starting pre-buffering qt4 debug: IM: Deleting the input main debug: TIMER input launching for 'Streaming' : 23.053 ms - Total 23.053 ms / 1 intvls (Avg 23.053 ms) qt4 debug: IM: Setting an input main debug: received first data after 21030 ms main debug: prebuffering done 1316 bytes in 21s - 0 KiB/s main debug: looking for stream_filter module: 4 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 0.124 ms - Total 0.124 ms / 1 intvls (Avg 0.124 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 0.054 ms - Total 0.054 ms / 1 intvls (Avg 0.054 ms) main debug: creating demux: access='udp' demux='' location='@224.1.1.1:5001' file='\\@224.1.1.1:5001' main debug: looking for demux module: 55 candidates ts debug: pid[96] unknown ts debug: pid[144] unknown ts debug: pid[1000] unknown ts debug: PATCallBack called ts debug: new PAT ts_id=1 version=0 current_next=1 ts debug: * number=1 pid=80 ts debug: PMTCallBack called ts debug: new PMT program number=1 version=0 pid_pcr=96 ts debug: * es pid=1000 type=2 fcc=mpgv main debug: selecting program id=1 ts debug: * es pid=144 type=6 dr->i_tag=0x5 ts debug: * es pid=144 type=6 *unknown* access_udp warning: unimplemented query in control main debug: using demux module "ts" main debug: TIMER module_need() : 698.681 ms - Total 698.681 ms / 1 intvls (Avg 698.681 ms) main debug: looking for packetizer module: 21 candidates main debug: using packetizer module "packetizer_mpegvideo" main debug: TIMER module_need() : 1.085 ms - Total 1.085 ms / 1 intvls (Avg 1.085 ms) ts debug: DEMUX_SET_GROUP -1 00000000 main debug: starting in async mode access_udp warning: unimplemented query in control main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\swuser\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 0.862 ms - Total 0.862 ms / 1 intvls (Avg 0.862 ms) main debug: `udp://@224.1.1.1:5001' successfully opened ts warning: first packet for pid=144 cc=0xc ts warning: first packet for pid=1000 cc=0x9 main debug: switching to sync mode main debug: Buffering 0% packetizer_mpegvideo debug: waiting for sequence start packetizer_mpegvideo debug: waiting for sequence start packetizer_mpegvideo debug: waiting for sequence start main debug: Buffering 10% packetizer_mpegvideo debug: waiting for sequence start packetizer_mpegvideo debug: waiting for sequence start packetizer_mpegvideo debug: waiting for sequence start main debug: Buffering 20% packetizer_mpegvideo debug: waiting for sequence start packetizer_mpegvideo debug: waiting for sequence start packetizer_mpegvideo debug: waiting for sequence start main debug: Buffering 30% packetizer_mpegvideo debug: waiting for sequence start packetizer_mpegvideo debug: waiting for sequence start packetizer_mpegvideo debug: waiting for sequence start main debug: Buffering 40% packetizer_mpegvideo debug: waiting for sequence start packetizer_mpegvideo debug: waiting for sequence start packetizer_mpegvideo debug: size 640x480 fps=30.000 main debug: adding a new sout input (sout_input:05585f90) stream_out_transcode debug: creating video transcoding from fcc=`mpgv' to fcc=`h264' main debug: looking for decoder module: 32 candidates avcodec debug: libavcodec already initialized avcodec debug: trying to use direct rendering avcodec debug: allowing 4 thread(s) for decoding avcodec debug: ffmpeg codec (MPEG-1/2 Video) started avcodec debug: using slice thread mode with 4 threads main debug: using decoder module "avcodec" main debug: TIMER module_need() : 0.892 ms - Total 0.892 ms / 1 intvls (Avg 0.892 ms) main debug: looking for encoder module: 13 candidates x264 debug: version x264 0.125.X main debug: using encoder module "x264" main debug: TIMER module_need() : 4.212 ms - Total 4.212 ms / 1 intvls (Avg 4.212 ms) main debug: removing module "x264" x264 debug: framecount still in libx264 buffer: 0 main debug: Buffering 50% main debug: Buffering 60% main debug: Buffering 70% main debug: Buffering 80% main debug: Buffering 90% main debug: Buffering 100% main debug: Stream buffering done (1100 ms in 1642 ms) main debug: Decoder buffering done in 0 ms avcodec debug: using direct rendering stream_out_transcode debug: decoder aspect is 1.333333:1 stream_out_transcode debug: source pixel aspect is 1.000000:1 stream_out_transcode debug: scaled pixel aspect is 1.000000:1 stream_out_transcode debug: source 640x480, destination 640x480 stream_out_transcode debug: encoder aspect is 640:480 stream_out_transcode debug: destination (after video filters) 640x480 main debug: looking for encoder module: 13 candidates x264 debug: version x264 0.125.X main debug: using encoder module "x264" main debug: TIMER module_need() : 4.167 ms - Total 4.167 ms / 1 intvls (Avg 4.167 ms) main debug: adding a new input mux_ts debug: adding input codec=h264 pid=69 mux_ts debug: new PCR PID is 69 main warning: late buffer for mux input (1115669) main warning: late buffer for mux input (1119657) main warning: late buffer for mux input (1144068) main warning: late buffer for mux input (1161171) main warning: late buffer for mux input (1184189) main warning: late buffer for mux input (1186466) main warning: late buffer for mux input (1214373) ts warning: discontinuity received 0x1 instead of 0x9 (pid=1000) main warning: late buffer for mux input (1226189) main warning: late buffer for mux input (1252792) main warning: late buffer for mux input (1254350) main warning: late buffer for mux input (1277879) main warning: late buffer for mux input (1301987) main warning: late buffer for mux input (1315857) main warning: late buffer for mux input (1322998) main warning: late buffer for mux input (1347775) main warning: late buffer for mux input (1355944) main warning: late buffer for mux input (1378768) main warning: late buffer for mux input (1399746) main warning: late buffer for mux input (1405918) main warning: late buffer for mux input (1429128) main warning: late buffer for mux input (1445325) main warning: late buffer for mux input (1516627) main warning: late buffer for mux input (1525203) main warning: late buffer for mux input (1501008) main warning: late buffer for mux input (1558471) main warning: late buffer for mux input (1582290) main warning: late buffer for mux input (1600459) main warning: late buffer for mux input (1516168) main warning: late buffer for mux input (1533896) main warning: late buffer for mux input (1651432) main warning: late buffer for mux input (1559960) main warning: late buffer for mux input (1588316) main warning: late buffer for mux input (1598613) main warning: late buffer for mux input (1527167) main warning: late buffer for mux input (1546908) main warning: late buffer for mux input (1641557) main warning: late buffer for mux input (1582807) mux_ts warning: packet with too strange dts (dts=94684494525,old=94684550167,pcr=94684550167) main warning: late buffer for mux input (1585959) main warning: late buffer for mux input (1615255) main warning: late buffer for mux input (1506154) main warning: late buffer for mux input (1529784) main warning: late buffer for mux input (1660892) main warning: late buffer for mux input (1573084) mux_ts warning: packet with too strange dts (dts=94684783500,old=94684828966,pcr=94684828966) main warning: late buffer for mux input (1579463) main warning: late buffer for mux input (1599008) main warning: late buffer for mux input (1522391) main warning: late buffer for mux input (1528826) main warning: late buffer for mux input (1654584) main warning: late buffer for mux input (1564369) mux_ts warning: packet with too strange dts (dts=94685095632,old=94685158000,pcr=94685158000) main warning: late buffer for mux input (1592062) main warning: late buffer for mux input (1595864) main warning: late buffer for mux input (1517511) main warning: late buffer for mux input (1536378) main warning: late buffer for mux input (1662015) main warning: late buffer for mux input (1567462) mux_ts warning: packet with too strange dts (dts=94685391333,old=94685426568,pcr=94685426568) main warning: late buffer for mux input (1587326) main warning: late buffer for mux input (1595910) main warning: late buffer for mux input (1525479) main warning: late buffer for mux input (1527019) main warning: late buffer for mux input (1654920) main warning: late buffer for mux input (1563744) mux_ts warning: packet with too strange dts (dts=94685693234,old=94685758280,pcr=94685758280) main warning: late buffer for mux input (1591924) main warning: late buffer for mux input (1608302) main warning: late buffer for mux input (1513671) main warning: late buffer for mux input (1537543) main warning: late buffer for mux input (1655946) main warning: late buffer for mux input (1568913) mux_ts warning: packet with too strange dts (dts=94685991613,old=94686025372,pcr=94686025372) main warning: late buffer for mux input (1586465) main warning: late buffer for mux input (1608389) main warning: late buffer for mux input (1520865) main warning: late buffer for mux input (1544411) main warning: late buffer for mux input (1653133) main warning: late buffer for mux input (1587784) mux_ts warning: packet with too strange dts (dts=94686292038,old=94686348662,pcr=94686348662) main warning: late buffer for mux input (1593592) main warning: late buffer for mux input (1617212) main warning: late buffer for mux input (1522597) main warning: late buffer for mux input (1549004) main warning: late buffer for mux input (1669233) main warning: late buffer for mux input (1576602) mux_ts warning: packet with too strange dts (dts=94686581995,old=94686646867,pcr=94686646867) main warning: late buffer for mux input (1599315) main warning: late buffer for mux input (1616939) main warning: late buffer for mux input (1541974) main warning: late buffer for mux input (1547761) main warning: late buffer for mux input (1668745) main warning: late buffer for mux input (1574789) mux_ts warning: packet with too strange dts (dts=94686880200,old=94686945624,pcr=94686945624) main warning: late buffer for mux input (1601497) main warning: late buffer for mux input (1618268) main warning: late buffer for mux input (1531832) main warning: late buffer for mux input (1540470) main warning: late buffer for mux input (1671242) main warning: late buffer for mux input (1567844) mux_ts warning: packet with too strange dts (dts=94687178957,old=94687222273,pcr=94687222273) main warning: late buffer for mux input (1590500) main warning: late buffer for mux input (1611199) main warning: late buffer for mux input (1515721) main warning: late buffer for mux input (1538284) main warning: late buffer for mux input (1658256) main warning: late buffer for mux input (1578643) mux_ts warning: packet with too strange dts (dts=94687488939,old=94687524533,pcr=94687524533) main warning: late buffer for mux input (1589411) main warning: late buffer for mux input (1610174) main warning: late buffer for mux input (1524440) main warning: late buffer for mux input (1548247) main warning: late buffer for mux input (1659749) main warning: late buffer for mux input (1582225) mux_ts warning: packet with too strange dts (dts=94687791199,old=94687845450,pcr=94687845450) main warning: late buffer for mux input (1602664) main warning: late buffer for mux input (1612203) main warning: late buffer for mux input (1536666) main warning: late buffer for mux input (1542895) main warning: late buffer for mux input (1666567) main warning: late buffer for mux input (1587139) mux_ts warning: packet with too strange dts (dts=94688078783,old=94688114632,pcr=94688114632) main warning: late buffer for mux input (1592240) main warning: late buffer for mux input (1613075) main warning: late buffer for mux input (1542094) main warning: late buffer for mux input (1548487) main warning: late buffer for mux input (1663522) main warning: late buffer for mux input (1592684) mux_ts warning: packet with too strange dts (dts=94688381298,old=94688442492,pcr=94688442492) main warning: late buffer for mux input (1594608) main warning: late buffer for mux input (1621424) main warning: late buffer for mux input (1536587) main warning: late buffer for mux input (1560070) main warning: late buffer for mux input (1671474) main warning: late buffer for mux input (1586566) mux_ts warning: packet with too strange dts (dts=94688675825,old=94688712727,pcr=94688712727) main warning: late buffer for mux input (1605163) main warning: late buffer for mux input (1615768) main warning: late buffer for mux input (1532614) main warning: late buffer for mux input (1538639) main warning: late buffer for mux input (1664918) main warning: late buffer for mux input (1577265) mux_ts warning: packet with too strange dts (dts=94688979393,old=94689020013,pcr=94689020013) main warning: late buffer for mux input (1595240) main warning: late buffer for mux input (1619619) main warning: late buffer for mux input (1538319) main warning: late buffer for mux input (1558042) main warning: late buffer for mux input (1655689) main warning: late buffer for mux input (1594398) mux_ts warning: packet with too strange dts (dts=94689286679,old=94689342188,pcr=94689342188) main warning: late buffer for mux input (1596080) main warning: late buffer for mux input (1624767) main warning: late buffer for mux input (1534799) main warning: late buffer for mux input (1561432) main warning: late buffer for mux input (1676990) main warning: late buffer for mux input (1585325) mux_ts warning: packet with too strange dts (dts=94689575521,old=94689637224,pcr=94689637224) main warning: late buffer for mux input (1609135) main warning: late buffer for mux input (1625200) main warning: late buffer for mux input (1548105) main warning: late buffer for mux input (1551020) main warning: late buffer for mux input (1679872) main warning: late buffer for mux input (1582918) mux_ts warning: packet with too strange dts (dts=94689870557,old=94689904905,pcr=94689904905) main warning: late buffer for mux input (1609118) main warning: late buffer for mux input (1627736) main warning: late buffer for mux input (1535585) main warning: late buffer for mux input (1547646) main warning: late buffer for mux input (1677728) main warning: late buffer for mux input (1584711) mux_ts warning: packet with too strange dts (dts=94690171571,old=94690215117,pcr=94690215117) main warning: late buffer for mux input (1593410) main warning: late buffer for mux input (1622515) main warning: late buffer for mux input (1538235) main warning: late buffer for mux input (1555576) main warning: late buffer for mux input (1665011) main warning: late buffer for mux input (1591001) mux_ts warning: packet with too strange dts (dts=94690481783,old=94690541774,pcr=94690541774) main warning: late buffer for mux input (1610640) main warning: late buffer for mux input (1622364) main warning: late buffer for mux input (1535897) main warning: late buffer for mux input (1554483) main warning: late buffer for mux input (1676667) main warning: late buffer for mux input (1585744) mux_ts warning: packet with too strange dts (dts=94690775107,old=94690812518,pcr=94690812518) main warning: late buffer for mux input (1603396) main warning: late buffer for mux input (1626186) main warning: late buffer for mux input (1529743) main warning: late buffer for mux input (1557985) main warning: late buffer for mux input (1667145) main warning: late buffer for mux input (1585987) mux_ts warning: packet with too strange dts (dts=94691079184,old=94691145740,pcr=94691145740) main warning: late buffer for mux input (1603838) main warning: late buffer for mux input (1621239) main warning: late buffer for mux input (1546622) main warning: late buffer for mux input (1553743) main warning: late buffer for mux input (1672479) main warning: late buffer for mux input (1578761) mux_ts warning: packet with too strange dts (dts=94691379073,old=94691442735,pcr=94691442735) main warning: late buffer for mux input (1606099) main warning: late buffer for mux input (1625412) main warning: late buffer for mux input (1540692) main warning: late buffer for mux input (1557918) main warning: late buffer for mux input (1675324) main warning: late buffer for mux input (1583401) mux_ts warning: packet with too strange dts (dts=94691676068,old=94691739658,pcr=94691739658) main warning: late buffer for mux input (1613677) main warning: late buffer for mux input (1625346) main warning: late buffer for mux input (1545852) main warning: late buffer for mux input (1549467) main warning: late buffer for mux input (1675448) main warning: late buffer for mux input (1591769) mux_ts warning: packet with too strange dts (dts=94691972991,old=94692009583,pcr=94692009583) main warning: late buffer for mux input (1598882) main warning: late buffer for mux input (1628097) main warning: late buffer for mux input (1542976) main warning: late buffer for mux input (1567827) main warning: late buffer for mux input (1676150) main warning: late buffer for mux input (1599716) mux_ts warning: packet with too strange dts (dts=94692276249,old=94692331575,pcr=94692331575) main warning: late buffer for mux input (1617693) main warning: late buffer for mux input (1641467) main warning: late buffer for mux input (1549268) main warning: late buffer for mux input (1577270) main warning: late buffer for mux input (1682799) main warning: late buffer for mux input (1610517) mux_ts warning: packet with too strange dts (dts=94692564908,old=94692627121,pcr=94692627121) main warning: late buffer for mux input (1620465) main warning: late buffer for mux input (1638618) main warning: late buffer for mux input (1549554) main warning: late buffer for mux input (1558941) main warning: late buffer for mux input (1695295) main warning: late buffer for mux input (1592306) mux_ts warning: packet with too strange dts (dts=94692860454,old=94692901183,pcr=94692901183) main warning: late buffer for mux input (1615975) main warning: late buffer for mux input (1634152) main warning: late buffer for mux input (1546868) main warning: late buffer for mux input (1564729) main warning: late buffer for mux input (1688597) main warning: late buffer for mux input (1592086) mux_ts warning: packet with too strange dts (dts=94693167849,old=94693201429,pcr=94693201429) main warning: late buffer for mux input (1619634) main warning: late buffer for mux input (1630321) main warning: late buffer for mux input (1555699) main warning: late buffer for mux input (1564986) main warning: late buffer for mux input (1681799) main warning: late buffer for mux input (1601655) mux_ts warning: packet with too strange dts (dts=94693468095,old=94693533093,pcr=94693533093) main warning: late buffer for mux input (1621413)
Hope that gives you enough, again thanks in advance.

Frosty

frostyboy33
New Cone
New Cone
Posts: 5
Joined: 03 Dec 2012 02:00

Re: VLC "Offline Image"

Postby frostyboy33 » 11 Dec 2012 00:43

Hi Again,

I think I may have found what I was looking for however I do not seem to be able to get it to work either.

I am investigating the use of creating an image-mosaic that is 1x1.
My understanding of the image-mosaic is that it should provide me with a background image that will always be showing with the video over the top. when the video stream stops the background image will show, hence I get my "Offline-image"

My new problem is I do not seem to be able to get my image-mosaic to work.

I am using VLC 2.0.4
This is my mosaic.vlm.conf file

Code: Select all

# Feed new feed broadcast enabled setup feed input udp://@224.1.1.1:1234 setup feed option network-caching=600 setup feed output #mosaic-bridge{id=1.width=640,height=480} # Background new bg broadcast enabled setup bg input "file:///C:/desert.jpg" setup bg option image-duration=-1 setup bg option image-fps=0 setup bg output #transcode{sfilter=mosaic,vcodec=h264,vb=8500,scale=1}:display # VLM Control control feed play control bg play
I start VLC with the following command

Code: Select all

vlc --mosaic-width=640 --mosaic-height=480 --mosaic-keep-picture --vlm-conf=mosaic.vlm.conf --udp-caching=1024
I have based these 2 things off of the following 2 links
http://wiki.videolan.org/Mosaic
and
viewtopic.php?f=11&t=100423

When I run vlc all I get is my background image and not the video feed
I have tested the video feed just by it self and it works
I can also see VLC connect to the multicast group and pull the multicast traffic with windump

log output that i am constently getting is

Code: Select all

main warning: original picture size is undefined main warning: picture is too late to be displayed (missing 6251ms) - lots of different numbers there avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?) main error: ES_OUT_Set_(Group_)PCR is called too late (pts_delay increased to 600 ms) main error: ES_OUT_RESET_PCR_called
Interestingly enough when I change my mosaic.vlm.conf to the following
Note the changes in the bg section

Code: Select all

# Feed new feed broadcast enabled setup feed input udp://@224.1.1.1:1234 setup feed option network-caching=600 setup feed output #mosaic-bridge{id=1.width=640,height=480} # Background new bg broadcast loop enabled setup bg input "file:///C:/desert.jpg" setup bg output #transcode{sfilter=mosaic,vcodec=h264,vb=8500,scale=1}:display # VLM Control control feed play control bg play
The background image flicks on for about 5 seconds then flicks off, I then get my feed stream, but only 1 frame for about 5 seconds and then it flips off and vlc will then continue to show 1 frame of my feed every 5 seconds then disappears.

So from this I am fairly confident that VLC is receiving the feed but is not displaying it correctly either because of a bug or something I am doing wrong.

I am currently doing this on a windows 7 box however I will be moving to a Linux(Red hat) box to try this out now as well

Help with this would be much appreciated.

Also I note that this might be a VLM issue now and might be in the wrong forum

Thanks in advance

Frosty


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 24 guests