I am using VLC to play a live stream from a camera using rtsp. The problem is, when starting the stream, the bottom part of the video turns green. After a few seconds the problem seems to disappear. See below for debug information. Then I tried to record the stream with VLC and afterwords play that file. When playing that file, I also see the green images. I also tried another camera, same problem. My colleague seems to be able to stream the same camera, with another streaming component, without the green images. So, I asked him to try VLC. Then he had the same problem, the green images. So the problem is not the camera.
Has anybody had the same problems? Are there maybe some parameters that could fix the problem? Or is this a bug in VLC? Is there maybe a parameter to tell VLC to skip the green images?
After maximum 10 seconds the problem seems to disappear and the performance of VLC is very good. So I would really like to use VLC, if I could fix the problem at startup.
I am using VLC version 2.0.3 and Windows 7.
Code: Select all
main debug: processing request item: rtsp://192.168.1.208/media/video1, node: Afspeellijst, skip: 0
main debug: resyncing on rtsp://192.168.1.208/media/video1
main debug: rtsp://192.168.1.208/media/video1 is at 2
main debug: starting playback of the new playlist item
main debug: resyncing on rtsp://192.168.1.208/media/video1
main debug: rtsp://192.168.1.208/media/video1 is at 2
main debug: creating new input thread
main debug: Creating an input for 'rtsp://192.168.1.208/media/video1'
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\MPEETE~1\AppData\Local\Temp'
main debug: `rtsp://192.168.1.208/media/video1' gives access `rtsp' demux `' path `192.168.1.208/media/video1'
main debug: creating demux: access='rtsp' demux='' location='192.168.1.208/media/video1' file='\\192.168.1.208\media\video1'
main debug: looking for access_demux module: 2 candidates
live555 debug: version 2011.12.23
qt4 debug: IM: Setting an input
live555 debug: RTP subsession 'video/H264'
main debug: selecting program id=0
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: We have a timeout of 60 seconds
live555 debug: spawned timeout thread
live555 debug: play start: 0.000000 stop:0.000000
main debug: using access_demux module "live555"
main debug: TIMER module_need() : 1017.469 ms - Total 1017.469 ms / 1 intvls (Avg 1017.469 ms)
main debug: looking for decoder module: 62 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 (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using frame thread mode with 4 threads
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 2.498 ms - Total 2.498 ms / 1 intvls (Avg 2.498 ms)
main debug: looking for packetizer module: 42 candidates
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
main debug: using packetizer module "packetizer_h264"
main debug: TIMER module_need() : 0.199 ms - Total 0.199 ms / 1 intvls (Avg 0.199 ms)
main debug: looking for meta reader module: 4 candidates
lua debug: Trying Lua scripts in C:\Users\mpeeters3\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC203\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC203\lua\meta\reader\filename.luac
lua debug: Trying Lua scripts in C:\Users\mpeeters3\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC203\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC203\lua\meta\reader\filename.luac
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 1.932 ms - Total 1.932 ms / 1 intvls (Avg 1.932 ms)
main debug: `rtsp://192.168.1.208/media/video1' successfully opened
main debug: Buffering 0%
main debug: Buffering 0%
live555 debug: lost 62614 bytes
live555 debug: increasing buffer size to 131072
main debug: Buffering 0%
main debug: Buffering 3%
main debug: Buffering 9%
main debug: Buffering 13%
main debug: looking for text renderer module: 4 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 0.829 ms - Total 0.829 ms / 1 intvls (Avg 0.829 ms)
main debug: looking for video filter2 module: 36 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 0.485 ms - Total 0.485 ms / 1 intvls (Avg 0.485 ms)
main debug: looking for video filter2 module: 36 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: TIMER module_need() : 0.208 ms - Total 0.208 ms / 1 intvls (Avg 0.208 ms)
main debug: Buffering 16%
main debug: Buffering 23%
main debug: Deinterlacing available
main debug: Buffering 26%
main debug: deinterlace 0, mode blend, is_needed 0
main debug: Opening vout display wrapper
main debug: looking for vout display module: 12 candidates
main debug: Buffering 29%
main debug: Buffering 33%
main debug: Buffering 36%
main debug: Buffering 39%
main debug: Buffering 46%
main debug: Buffering 49%
main debug: Buffering 53%
main debug: Buffering 56%
main debug: Buffering 59%
main debug: Buffering 66%
main debug: Buffering 69%
main debug: Buffering 73%
main debug: Buffering 76%
main debug: Buffering 79%
main debug: Buffering 86%
main debug: Buffering 89%
main debug: Buffering 93%
main debug: Buffering 96%
main debug: Buffering 99%
main debug: Stream buffering done (1066 ms in 62 ms)
direct3d debug: creating Vout EventThread
direct3d debug: DirectXCreateWindow
main debug: looking for vout window hwnd module: 4 candidates
qt4 debug: requesting video...
qt4 debug: Video was requested 0, 0
main debug: using vout window hwnd module "qt4"
main debug: TIMER module_need() : 27.297 ms - Total 27.297 ms / 1 intvls (Avg 27.297 ms)
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
direct3d debug: Direct3d Device: ATI FirePro V4800 (FireGL) 4098 26824 0
main debug: VoutDisplayEvent 'resize' 1936x1118 window
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
direct3d debug: Using D3DTEXF_LINEAR for minification
direct3d debug: Using D3DTEXF_LINEAR for magnification
direct3d debug: Direct3D scene created successfully
direct3d debug: Direct3D device adapter successfully initialized
main debug: using vout display module "direct3d"
main debug: TIMER module_need() : 148.898 ms - Total 148.898 ms / 1 intvls (Avg 148.898 ms)
main debug: original format sz 1920x1080, of (0,0), vsz 1920x1080, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: removing module "freetype"
main debug: VoutDisplayEvent 'resize' 874x524 window
main debug: looking for text renderer module: 4 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 0.743 ms - Total 0.743 ms / 1 intvls (Avg 0.743 ms)
avcodec debug: using direct rendering
main debug: End of video preroll
main debug: Received first picture
direct3d debug: Created 1004x70 texture for OSD
main debug: Post-processing available
main debug: Decoder buffering done in 222 ms
main debug: picture might be displayed late (missing 0 ms)
main warning: picture is too late to be displayed (missing 76 ms)
main warning: picture is too late to be displayed (missing 43 ms)
main debug: picture might be displayed late (missing 10 ms)
main debug: auto hiding mouse cursor
main warning: picture is too late to be displayed (missing 1316 ms)
main warning: picture is too late to be displayed (missing 1283 ms)
main warning: picture is too late to be displayed (missing 1216 ms)
main warning: picture is too late to be displayed (missing 1183 ms)
main warning: picture is too late to be displayed (missing 1150 ms)
main warning: picture is too late to be displayed (missing 526 ms)
main warning: picture is too late to be displayed (missing 159 ms)
main warning: picture is too late to be displayed (missing 126 ms)
main warning: picture is too late to be displayed (missing 26 ms)
live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
main error: ES_OUT_RESET_PCR called
main warning: early picture skipped
main debug: Buffering 0%
main debug: Buffering 3%
main debug: Buffering 6%
main debug: Buffering 9%
main debug: Buffering 13%
main debug: Buffering 16%
main debug: Buffering 23%
main debug: Buffering 26%
main debug: End of video preroll
main debug: Received first picture
main debug: Buffering 29%
main debug: Buffering 36%
main debug: Buffering 39%
main debug: Buffering 43%
main debug: Buffering 46%
main debug: Buffering 49%
main debug: Buffering 56%
main debug: Buffering 59%
main debug: Buffering 63%
main debug: Buffering 66%
main debug: Buffering 69%
main debug: Buffering 76%
main debug: Buffering 79%
main debug: Buffering 83%
main debug: Buffering 86%
main debug: Buffering 89%
main debug: Buffering 96%
main debug: Buffering 99%
main debug: Stream buffering done (1033 ms in 1066 ms)
main debug: Decoder buffering done in 0 ms
main debug: picture might be displayed late (missing 11 ms)
live555 debug: lost 13460 bytes
live555 debug: increasing buffer size to 262144
main debug: picture might be displayed late (missing 18 ms)
main debug: picture might be displayed late (missing 4 ms)
main debug: picture might be displayed late (missing 18 ms)