[vlc-devel] Problem with video streaming of screen libvlc

evazquez at grm.uci.cu evazquez at grm.uci.cu
Tue May 27 16:20:24 CEST 2014


I want to do video streaming of screen

I do it this way

//Part of my code

const char* options[] = {"live-caching", "screen-fps=10"};


libvlc_vlm_add_broadcast(instance, "mybroad",
                 "screen://",
                "#transcode{vcodec=h264,venc=x264, 
vb=0,scale=0,acodec=mpga,ab=128,channels=2, 
samplerate=44100}:http{mux=ffmpeg{mux=flv},dst=:7777/}",
                 2, options, 1, 0);


The video streaming is emit correctly, but not working  the options in 
the const char* options[] = {"live-caching", "screen-fps=10"};


This code work with the followings errors:

[0xb1b03558] [Medio: 5004] main input error: ES_OUT_SET_(GROUP_)PCR  is 
called too late (pts_delay increased to 300 ms)
[0xb1b03558] [Medio: 5004] main input error: ES_OUT_RESET_PCR called
[0xb1b03558] [Medio: 5004] main input error: ES_OUT_SET_(GROUP_)PCR  is 
called too late (pts_delay increased to 308 ms)
[0xb1b03558] [Medio: 5004] main input error: ES_OUT_RESET_PCR called


Sorry my insistence I need really do it.



Thanks.





More information about the vlc-devel mailing list