VLC源码分析

VLC-Android视频显示流程 最近在做MEMC调试涉及到了播放器刷帧频率的问题,因此深入研究了一下VLC视频的显示流程,仔细研究过后发现还是有挺多坑的,在这里分享下: VLC的视频显示逻辑主要在video_output.c中,其内部维护了一个线程用来接收control和刷新显示(这里和ijkplayer很像): //vout中其实有两个线程,分别名为Thread和ThreadStep,视频正常播放走的是Thread,步进播放走的是ThreadStep(类似ffplay的s键),这里主要还是介绍Thread /**** 阅读详情

看了几天VLC2.1.4的源码,不过说是看源码,其实是了解vlc播放rtsp流的代码执行逻辑,目的是先了解其执行路径,然后再看细节。看的时间不多,可能有部分写的不对,如有朋友发现有问题,欢迎指正。

要了解其执行路径,需要先安装vlc,我是通过编译源代码来安装的,这样可以在播放时打印log,方便追踪。编译源码方法如下:

1.安装vlc的依赖环境:

#sudo apt-get build-dep vlc

2. 下载源码在本地,解压:

3.编译安装:

a../bootrap
b../configure --enable-live --enable-debug --enable-run-as-root --prefix=/usr/local/vlc  //备注:要支持播放rtsp流,必须enable live,同理要能打印debug,也要enable debug选项,如果在linux下面要用root账号来启用vlc,要enable run-as-root,最后是指定安装目录路径
c.make
d.make install

4.检查是否安装成功:

root@hmr-VB:/usr/local/vlc# ls
bin  include  lib  share
root@hmr-VB:/usr/local/vlc# cd bin/
root@hmr-VB:/usr/local/vlc/bin# ls
cvlc  nvlc  qvlc  rvlc  svlc  vlc  vlc-wrapper
root@hmr-VB:/usr/local/vlc/bin#
5.vlc播放rtsp流是使用的live555库,live555也可以用源码编译安装,这样方便学习vlc的代码.

a.下载源码,解压;

b.编译:

./genMakefile linux
make

对于live555库的分析,有个朋友写了学习笔记,个人感觉是比较详细,有兴趣的可以去看看

 

使用vlc搭建RTSP流服务器:

1.启动vlc;

2.菜单:媒体->流->文件(添加)->串流->新目标中选择RTSP,点击添加->设置端口号和流名称(可以使用默认的)->选择转码,建议使用Video-MPEG2+MPGA(TS),用这个客户端能够比较好的播放,具体原因未知

 

vlc的代码结构主要如下:

1.lib目录:该目录是vlc提供的一些库,用于支持二次开发,比如用这些接口实现自己的播放器;

2.src目录:vlc的核心源码,readme文件的描述是:libvlccore source code.

3.modules目录:vlc的组件和插件源码,vlc开发用了比较多面向对象的编程方法,很多功能通过组件的方式提供,然后用函数指针加载,实现会简单,但是个人感觉这正是学习vlc源码可读性差的地方,开源代码可读性都不怎么样,不像企业更多追求可读性。

4.bin目录:这个目录代码很少,readme的描述是VLC binaries.没怎么了解,但是这个目录的vlc.c中定义了一个main函数,是程序入口。

现在把主要代码路径贴一下:

main()(bin/vlc.c)<-libvlc_new()<-libvlc_InternalInit()<-module_InitBank()//这里执行了较多接口,module_InitBank是初始化module,然后解析执行命令中的参数等,当然包含一个主角GetFilenames(),该接口会创建一个playlist.playlist代表vlc播放的一个节目.

pl_Get()->playlist_Create()(engine.c)->playlist_MLload()&playlist_Active()->Thread->LoopRequest()->playItem()->input_Create()&input_Start()->Run()->Init()->InputSourceInit()

这个为创建输入的主流程,playlist_MLload()会调用module_need加载一些模块,InputSourceInit()也会调用module_need加载模块,看log时要注意这点.

在播放RTSP流时,必须创建一个input,并对应一个节目,创建input和节目的流程见前面所述,这里说明下建立rtsp session的过程:

InputSourceInit()->demux_New()->module_need()->vlc_module_load()->module_load()->m_pfactive()(对应的是open函数)->connect()&session_setup();

connect()接口使用live555库先发送rtsp:option,服务端响应后发送rtsp:describe,得到服务器响应的describe后从connect()返回,此时已经解析到了sdp信息,然后调用session_setup()创建RTP session.session_setup先发送两个Setup到服务端并等待响应,setup交互过程中指定了服务器端和客户端的udp端口号,这样客户端可以创建socket接收RTP数据.客户端发送rtsp:play后服务端会开始发送音视频数据.由于时间关系,只分析了这部分流程,后面有时间看看能否补充.

后面贴一下使用vlc播放rtsp流的log信息,还有很多没有没分析,已分析的有标注调用路径,有些log是我自己加的,不影响分析.

进入vlc安装目录的bin目录,执行以下命令播放:

./vlc -vvv rtsp://192.168.x.x:8554/  //备注:192.168.x.x时rtsp流服务器的ip地址,我是用vlc搭流服务器,option -vvv会打印log,如果不需要log,不加该选项即可

root@hmr-VB:/home/hmr/Documents/vlc-2.1.4# /usr/local/vlc/bin/vlc -vvv rtsp://192.168.197.75:8554/
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be)
[0x912aa28] main libvlc debug: VLC media player - 2.1.4 Rincewind<<<<<<<src/misc/messages.c-vlc_LogSet()<-vlc_LogInit<-libvlc_InternalInit
[0x912aa28] main libvlc debug: Copyright ? 1996-2014 the VideoLAN team
[0x912aa28] main libvlc debug: revision 2.1.4-0-g2a072be
[0x912aa28] main libvlc debug: configured with ./configure  '--enable-live' '--enable-debug' '--enable-run-as-root' '--prefix=/usr/local/vlc'<<<<<<<src/misc/messages.c-vlc_LogSet()
[0x912aa28] main libvlc debug: searching plug-in modules<<<<<<<<<<<<<<<module_LoadPlugins<-libvlc_InternalInit
[0x912aa28] main libvlc debug: loading plugins cache file /usr/local/vlc/lib/vlc/plugins/plugins.dat
[0x912aa28] main libvlc debug: recursively browsing `/usr/local/vlc/lib/vlc/plugins'
[0x912aa28] main libvlc debug: saving plugins cache /usr/local/vlc/lib/vlc/plugins/plugins.dat
[0x912aa28] main libvlc debug: plug-ins loaded: 416 modules<<<<<<<<<<<<<<<module_LoadPlugins<-libvlc_InternalInit
[0x912aa28] main libvlc debug: opening config file (/root/.config/vlc/vlcrc)<<<<<<<<<<<config_OpenConfigFile()<-config_LoadConfigFile()<-libvlc_InternalInit()
[0x912aa28] main libvlc debug: translation test: code is "C"<<<<<<<<<<<<libvlc_InternalInit()
[0x912aa28] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU <<<<<<<<<<<<<<<<<<<<<vlc_CPU_dump()<-libvlc_InternalInit()
[0x91c8ee0] main input debug: Creating an input for 'Media Library'<<<<<<<<<<<<<<<<<GetFilenames()中添加.log:src/input/input.c/Create()<-input_Read<-playlist_MLLoad()<-playlist_Create()
[0x91c8ee0] main input debug: Input is a meta file: disabling unneeded options<<<<<<<Init()<-input_Read()
[0x91c8ee0] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x91c8ee0] main input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/root/.local/share/vlc/ml.xspf'
[0x91c8ee0] main input debug: creating demux: access='file' demux='xspf-open' location='/root/.local/share/vlc/ml.xspf' file='/root/.local/share/vlc/ml.xspf'
[0x91b32d8] main demux debug: looking for access_demux module matching "file": 19 candidates<<<<<<<<<<<<<<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-demux_New()
[0x91b32d8] main demux debug: no access_demux modules matched
[0x91c8ee0] main input debug: creating access 'file' location='/root/.local/share/vlc/ml.xspf', path='/root/.local/share/vlc/ml.xspf'
[0x91b4798] main access debug: looking for access module matching "file": 21 candidates<<<<<<<<<<<<<<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-access_New()
[0x91b4798] filesystem access debug: opening file `/root/.local/share/vlc/ml.xspf'
[0x91b4798] main access debug: using access module "filesystem"<<<<<<<<<<<<<<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-access_New()
[0x91b5498] main stream debug: Using stream method for AStream*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<stream_AccessNew()
[0x91b5498] main stream debug: starting pre-buffering<<<<<<<<<<<<<<<<<<<<<<<<<<<AStreamPrebufferBlock()<-stream_AccessNew()
[0x91b5498] main stream debug: received first data after 13 ms
[0x91b5498] main stream debug: pre-buffering done 296 bytes in 0s - 22 KiB/s
[0x91b4ea8] main stream debug: looking for stream_filter module matching "any": 9 candidates<<<<<<<<<<<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-stream_FilterNew()
[0x91b4ea8] main stream debug: no stream_filter modules matched
[0x91b4ea8] main stream debug: looking for stream_filter module matching "record": 9 candidates
[0x91b4ea8] main stream debug: using stream_filter module "record"
[0x91c8ee0] main input debug: creating demux: access='file' demux='xspf-open' location='/root/.local/share/vlc/ml.xspf' file='/root/.local/share/vlc/ml.xspf'
[0x91b8250] main demux debug: looking for demux module matching "xspf-open": 63 candidates<<<<<<<<<<<<<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-demux_New()
[0x91b8250] playlist demux debug: using XSPF playlist reader
[0x91b8250] main demux debug: using demux module "playlist"
[0x91b8338] main demux meta debug: looking for meta reader module matching "any": 2 candidates<<<<<<<<<<<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-InputSourceMeta()
[0x91b8338] lua demux meta debug: Trying Lua scripts in /root/.local/share/vlc/lua/meta/reader
[0x91b8338] lua demux meta debug: Trying Lua scripts in /usr/local/vlc/lib/vlc/lua/meta/reader
[0x91b8338] lua demux meta debug: Trying Lua playlist script /usr/local/vlc/lib/vlc/lua/meta/reader/filename.luac
[0x91b8338] lua demux meta debug: Trying Lua scripts in /usr/local/vlc/share/vlc/lua/meta/reader
[0x91b8338] main demux meta debug: no meta reader modules matched
[0x91c8ee0] main input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' successfully opened
[0x91cc618] main xml reader debug: looking for xml reader module matching "any": 1 candidates<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-xml_ReaderCreate()
[0x91cc618] main xml reader debug: using xml reader module "xml"
[0x91b8250] playlist demux debug: parsed 0 tracks successfully
[0x91c8ee0] main input debug: EOF reached
[0x91b8250] main demux debug: removing module "playlist"
[0x91b4ea8] main stream debug: removing module "record"
[0x91b4798] main access debug: removing module "filesystem"
[0x91c8ee0] main input debug: Destroying the input for 'Media Library'
[0x91ca638] main playlist debug: creating audio output<<<<<<<<<<<<<<<<<<<<<<<input_resource_GetAout()<-playlist_Create()<-pl_GET()
[0x91bf5a8] main audio output debug: looking for audio output module matching "any": 6 candidates<<<<<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-aout_New()<-input_resource_GetAout()
[0x91bf5a8] pulse audio output debug: using library version 1.1.0
[0x91bf5a8] pulse audio output debug:  (compiled with version 1.1.0, protocol 26)
[0x91bf5a8] pulse audio output debug: connected locally to unix:/home/hmr/.pulse/8ee3693832bb5ac301ab4e3100000008-runtime/native as client #15
[0x91bf5a8] pulse audio output debug: using protocol 26, server protocol 26
[0x91bf5a8] main audio output debug: using audio output module "pulse"
[0x91ca638] main playlist debug: keeping audio output<<<<<<<<<<<<<<<input_resource_PutAout()<-playlist_Create()
[0x91ca638] main playlist debug: adding item `rtsp://192.168.197.75:8554/' ( rtsp://192.168.197.75:8554/ )
[0x91be2e0] main interface debug: looking for interface module matching "hotkeys,none": 18 candidates<<<<<<<<<<<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-intf_Create()
[0x91be2e0] main interface debug: using interface module "hotkeys"
[0x91be998] main interface debug: looking for interface module matching "globalhotkeys,none": 18 candidates<<<<<<<<<<<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-intf_Create()
[0x91bf5a8] pulse audio output debug: adding sink 0: alsa_output.pci-0000_00_05.0.analog-stereo (Built-in Audio Analog Stereo)
[0x91ca638] main playlist debug: meta ok for (null), need to fetch art<<<<<<<<<<<<<<<<<<Art()
[0xb1b005d8] main demux meta debug: looking for meta fetcher module matching "any": 1 candidates<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-FetchMeta()<-Thread()<-playlist_fetcher_Push()
<-Art()<-Thread()<-playlist_preparser_Push()<-playlist_PreparseEnqueue()<-GoAndPreparse()(后面的路径还需确认)<-playlist_AddInput()<-playlist_AddExt()<-GetFilenames()
[0xb1b005d8] lua demux meta debug: Trying Lua scripts in /root/.local/share/vlc/lua/meta/fetcher
[0xb1b005d8] lua demux meta debug: Trying Lua scripts in /usr/local/vlc/lib/vlc/lua/meta/fetcher
[0xb1b005d8] lua demux meta debug: Trying Lua playlist script /usr/local/vlc/lib/vlc/lua/meta/fetcher/tvrage.luac
[0x91be998] main interface debug: using interface module "globalhotkeys"
[0x91bf328] main interface debug: looking for interface module matching "dbus,none": 18 candidates<<<<<<<<<<<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-intf_Create()
[0xb1b005d8] main demux meta debug: using meta fetcher module "lua"
[0xb1b005d8] main demux meta debug: removing module "lua"
[0x91ca638] main playlist debug: searching art for rtsp://192.168.197.75:8554/<<<<<<<<<<<<<<<<<<<FindArt()
[0xb1b025b8] main art finder debug: looking for art finder module matching "any": 2 candidates<<<<<<<<<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-FindArt()
[0xb1b025b8] lua art finder debug: Trying Lua scripts in /root/.local/share/vlc/lua/meta/art<<<<<<<<<<<<<<<应该是vlc_module_load()接口中的module_load,pf_active接口调用
[0xb1b025b8] lua art finder debug: Trying Lua scripts in /usr/local/vlc/lib/vlc/lua/meta/art
[0xb1b025b8] lua art finder debug: Trying Lua playlist script /usr/local/vlc/lib/vlc/lua/meta/art/00_musicbrainz.luac
[0x91bf328] dbus interface error: Failed to connect to the D-Bus session daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[0x91bf328] main interface debug: no interface modules matched
[0x91bf328] main interface error: no suitable interface module
[0x912aa28] main libvlc error: interface "dbus,none" initialization failed
[0x912aa28] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x91bf328] main interface debug: looking for interface module matching "any": 18 candidates<<<<<<<<<<<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-intf_Create()
[0xb1b025b8] lua art finder debug: Trying Lua playlist script /usr/local/vlc/lib/vlc/lua/meta/art/01_googleimage.luac
[0xb1b025b8] lua art finder debug: Trying Lua playlist script /usr/local/vlc/lib/vlc/lua/meta/art/02_frenchtv.luac
[0xb1b025b8] lua art finder debug: Trying Lua playlist script /usr/local/vlc/lib/vlc/lua/meta/art/03_lastfm.luac
[0xb1b025b8] lua art finder debug: Trying Lua scripts in /usr/local/vlc/share/vlc/lua/meta/art
[0xb1b025b8] main art finder debug: no art finder modules matched
[0x91ca638] main playlist debug: art not found for rtsp://192.168.197.75:8554/

(process:31517): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(process:31517): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(process:31517): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
QGtkStyle was unable to detect the current GTK+ theme.
Qt: Session management error: None of the authentication protocols specified are supported

(process:31517): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[0xb1bd88b8] main generic debug: looking for extension module matching "any": 1 candidates<<<<<<<<<<<<<<<<<<<<<<vlc_module_load()<-module_need()<-ExtensionsManager::loadExtensions()
[0xb1bd88b8] lua generic debug: Opening Lua Extension module
[0xb1bd88b8] lua generic debug: Trying Lua scripts in /root/.local/share/vlc/lua/extensions
[0xb1bd88b8] lua generic debug: Trying Lua scripts in /usr/local/vlc/lib/vlc/lua/extensions
[0xb1bd88b8] lua generic debug: Trying Lua playlist script /usr/local/vlc/lib/vlc/lua/extensions/VLSub.luac
[0xb1bd88b8] lua generic debug: Scanning Lua script /usr/local/vlc/lib/vlc/lua/extensions/VLSub.luac
[0xb1bd88b8] lua generic debug: Script /usr/local/vlc/lib/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5
[0xb1bd88b8] lua generic debug: Trying Lua scripts in /usr/local/vlc/share/vlc/lua/extensions
[0xb1bd88b8] main generic debug: using extension module "lua"

(process:31517): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
QGtkStyle was unable to detect the current GTK+ theme.

(process:31517): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
QGtkStyle was unable to detect the current GTK+ theme.
"sni-qt/31517" WARN  13:47:32.407 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
[0x91bf328] main interface debug: using interface module "qt4"
[0x91ca638] main playlist debug: processing request item: null, node: Playlist, skip: 0
[0x91ca638] main playlist debug: rebuilding array of current - root Playlist
[0x91ca638] main playlist debug: rebuild done - 1 items, index -1
[0x91ca638] main playlist debug: starting playback of the new playlist item>>>>>>>>>>>>>>>>>>>src/Playlist/thread.c/LoopRequest
-------------------------------------------------此处才进入playlist_Active创建线程,前面部分都是playlist_MLload()等接口的创建和初始化
[0x91ca638] main playlist debug: resyncing on rtsp://192.168.197.75:8554/
[0x91ca638] main playlist debug: rtsp://192.168.197.75:8554/ is at 0>>>>>>>>>>>>>>>src/Playlist/thread.c/ResyncCurrentIndex
[0x91ca638] main playlist debug: creating new input thread>>>>>>>>>>>>>>>src/Playlist/thread.c/playItem
[0x91d7a78] main input debug: Creating an input for 'rtsp://192.168.197.75:8554/'>>>>>>>>>>>>>>>>>>>>>>>src/input/input.c-Create
[0x91bf328] qt4 interface debug: IM: Setting an input>>>>>>>>>>>>>>>>>>>>>>modules/gui/qt4/Input_manager.cpp/setInput
[0x91d7a78] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'>>>>>>>>>>>>>>>>>>src/input/input.c-Init->input_EsOutTimeshiftNew
[0x91d7a78] main input debug: `rtsp://192.168.197.75:8554/' gives access `rtsp' demux `' path `192.168.197.75:8554/'>>>>>>>>>>>>src/input/input.c-InputSourceInit
[0x91d7a78] main input debug: creating demux: access='rtsp' demux='' location='192.168.197.75:8554/' file='(null)'
[0xae3265e8] main demux debug: looking for access_demux module matching "rtsp": 19 candidates
[0xae3265e8] live555 demux debug: version 2011.12.23
connetcts to the RTSP server.
Opening connection to 192.168.197.75, port 8554...
[0xae3265e8] live555 demux debug: send option request ok.
[0xae3265e8] live555 demux debug: send option request ok, wait_Live555_response timeout 5000.

[0xae3265e8] live555 demux debug: send option request ok, wait_Live555_response 1.

...remote connection opened
Sending request: OPTIONS rtsp://192.168.197.75:8554/ RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.1.4 (LIVE555 Streaming Media v2011.12.23)


Received 124 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
Server: VLC/2.1.3
Content-Length: 0
Cseq: 2
Public: DESCRIBE,SETUP,TEARDOWN,PLAY,PAUSE,GET_PARAMETER


Sending request: DESCRIBE rtsp://192.168.197.75:8554/ RTSP/1.0
CSeq: 3
User-Agent: LibVLC/2.1.4 (LIVE555 Streaming Media v2011.12.23)
Accept: application/sdp


Received 204 new bytes of response data.
Have received 204 total bytes of a DESCRIBE RTSP response; awaiting 446 bytes more.
Received 446 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
Server: VLC/2.1.3
Date: Tue, 17 Jun 2014 05:38:23 GMT
Content-Type: application/sdp
Content-Base: rtsp://192.168.197.75:8554/
Content-Length: 446
Cache-Control: no-cache
Cseq: 3

v=0
o=- 15513302915498216356 15513302915498216356 IN IP4 WIN-T62G9P84CQQ
s=Unnamed
i=N/A
c=IN IP4 0.0.0.0
t=0 0
a=tool:vlc 2.1.3
a=recvonly
a=type:broadcast
a=charset:UTF-8
a=control:rtsp://192.168.197.75:8554/
m=audio 0 RTP/AVP 14
b=AS:128
b=RR:0
a=rtpmap:14 MPA/90000/2
a=control:rtsp://192.168.197.75:8554/trackID=6
m=video 0 RTP/AVP 32
b=AS:800
b=RR:0
a=rtpmap:32 MPV/90000
a=control:rtsp://192.168.197.75:8554/trackID=7

[0xae3265e8] live555 demux debug: send option request ok, wait_Live555_response 2.

[0xae3265e8] live555 demux debug: Live555 cpp open 1.

[0xae3265e8] live555 demux debug: RTP subsession 'audio/MPA'
Sending request: SETUP rtsp://192.168.197.75:8554/trackID=6 RTSP/1.0
CSeq: 4
User-Agent: LibVLC/2.1.4 (LIVE555 Streaming Media v2011.12.23)
Transport: RTP/AVP;unicast;client_port=45258-45259


[0xae3265e8] live555 demux debug: send option request ok, wait_Live555_response timeout 0.

[0xae3265e8] live555 demux debug: send option request ok, wait_Live555_response 1.

Received 270 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Server: VLC/2.1.3
Date: Tue, 17 Jun 2014 05:38:23 GMT
Transport: RTP/AVP/UDP;unicast;client_port=45258-45259;server_port=61865-61866;ssrc=D80E8184;mode=play
Session: fbbdca4a793bdb60;timeout=60
Content-Length: 0
Cache-Control: no-cache
Cseq: 4


[0xae3265e8] live555 demux debug: send option request ok, wait_Live555_response 2.

[0x91d7a78] main input debug: selecting program id=0
[0xae3265e8] live555 demux debug: RTP subsession 'video/MPV'
Sending request: SETUP rtsp://192.168.197.75:8554/trackID=7 RTSP/1.0
CSeq: 5
User-Agent: LibVLC/2.1.4 (LIVE555 Streaming Media v2011.12.23)
Transport: RTP/AVP;unicast;client_port=60922-60923
Session: fbbdca4a793bdb60


[0xae3265e8] live555 demux debug: send option request ok, wait_Live555_response timeout 0.

[0xae3265e8] live555 demux debug: send option request ok, wait_Live555_response 1.

Received 270 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Server: VLC/2.1.3
Date: Tue, 17 Jun 2014 05:38:23 GMT
Transport: RTP/AVP/UDP;unicast;client_port=60922-60923;server_port=61866-61867;ssrc=6159A2E5;mode=play
Session: fbbdca4a793bdb60;timeout=60
Content-Length: 0
Cache-Control: no-cache
Cseq: 5


[0xae3265e8] live555 demux debug: send option request ok, wait_Live555_response 2.

[0xae3265e8] live555 demux debug: setup start: 0.000000 stop:0.000000
[0xae3265e8] live555 demux debug: Live555 cpp open 2.

Sending request: PLAY rtsp://192.168.197.75:8554/ RTSP/1.0
CSeq: 6
User-Agent: LibVLC/2.1.4 (LIVE555 Streaming Media v2011.12.23)
Session: fbbdca4a793bdb60
Range: npt=0.000-


[0xae3265e8] live555 demux debug: send option request ok, wait_Live555_response timeout 0.

[0xae3265e8] live555 demux debug: send option request ok, wait_Live555_response 1.

Received 345 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
Server: VLC/2.1.3
Date: Tue, 17 Jun 2014 05:38:23 GMT
RTP-Info: url=rtsp://192.168.197.75:8554/trackID=6;seq=45498;rtptime=3151954826, url=rtsp://192.168.197.75:8554/trackID=7;seq=23418;rtptime=3151954826
Range: npt=424931.918696-
Session: fbbdca4a793bdb60;timeout=60
Content-Length: 0
Cache-Control: no-cache
Cseq: 6


[0xae3265e8] live555 demux debug: send option request ok, wait_Live555_response 2.

[0xae3265e8] live555 demux debug: We have a timeout of 60 seconds
[0xae3265e8] live555 demux debug: spawned timeout thread
[0xae3265e8] live555 demux debug: play start: 424931.918696 stop:0.000000>>>>>>>>>>>>>>>>>>>open->play(live555.cpp)

[0xae3265e8] main demux debug: using access_demux module "live555"
[0xae377d18] main decoder debug: looking for decoder module matching "any": 40 candidates
[0xae377d18] main decoder debug: using decoder module "mpeg_audio"
[0xae37cc50] main decoder debug: looking for decoder module matching "any": 40 candidates
[0xae37cc50] avcodec decoder debug: trying to use direct rendering
[0xae37cc50] avcodec decoder debug: allowing 1 thread(s) for decoding
[0xae37cc50] avcodec decoder debug: avcodec codec (MPEG-1/2 Video) started
[0xae37cc50] main decoder debug: using decoder module "avcodec"
[0xae3938b8] main packetizer debug: looking for packetizer module matching "any": 21 candidates
[0xae3938b8] main packetizer debug: using packetizer module "packetizer_mpegvideo"
[0xae399c98] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[0xae399c98] lua demux meta debug: Trying Lua scripts in /root/.local/share/vlc/lua/meta/reader
[0xae399c98] lua demux meta debug: Trying Lua scripts in /usr/local/vlc/lib/vlc/lua/meta/reader
[0xae399c98] lua demux meta debug: Trying Lua playlist script /usr/local/vlc/lib/vlc/lua/meta/reader/filename.luac
[0xae399c98] lua demux meta debug: Trying Lua scripts in /usr/local/vlc/share/vlc/lua/meta/reader
[0xae399c98] main demux meta debug: no meta reader modules matched
[0x91d7a78] main input debug: `rtsp://192.168.197.75:8554/' successfully opened
Sending request: GET_PARAMETER rtsp://192.168.197.75:8554/ RTSP/1.0
CSeq: 7
User-Agent: LibVLC/2.1.4 (LIVE555 Streaming Media v2011.12.23)
Session: fbbdca4a793bdb60


[0xae3938b8] packetizer_mpegvideo packetizer debug: size 1024x576 fps=60.000
[0x91d7a78] main input debug: Buffering 0%
[0x91d7a78] main input debug: Buffering 0%
[0x91d7a78] main input debug: Buffering 0%
[0xae377d18] mpeg_audio decoder debug: MPGA channels:2 samplerate:8000 bitrate:64
[0x91ca638] main playlist debug: reusing audio output
[0x91bf5a8] pulse audio output debug: using stereo channel map
[0x91d7a78] main input debug: Buffering 7%
[0x91d7a78] main input debug: Buffering 7%
[0x91d7a78] main input debug: Buffering 14%
[0x91d7a78] main input debug: Buffering 14%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 21%
[0x91d7a78] main input debug: Buffering 25%
[0xb1e082c8] main spu text debug: looking for text renderer module matching "any": 3 candidates
[0xb1e082c8] freetype spu text debug: Building font databases.
[0x91bf5a8] pulse audio output debug: changed buffer metrics: maxlength=4194304, tlength=33344, prebuf=0, minreq=2560
[0x91bf5a8] pulse audio output debug: connected to sink alsa_output.pci-0000_00_05.0.analog-stereo
[0x91bf5a8] main audio output debug: output 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes
[0x91dafa8] main volume debug: looking for audio volume module matching "any": 2 candidates
[0x91dafa8] main volume debug: using audio volume module "float_mixer"
[0x91bf5a8] pulse audio output debug: base volume: 65536
[0x91bf5a8] pulse audio output debug: changing sink 0: alsa_output.pci-0000_00_05.0.analog-stereo (Built-in Audio Analog Stereo)
Received 166 new bytes of response data.
Received a complete GET_PARAMETER response:
RTSP/1.0 200 OK
Server: VLC/2.1.3
Date: Tue, 17 Jun 2014 05:38:23 GMT
Session: fbbdca4a793bdb60;timeout=60
Content-Length: 0
Cache-Control: no-cache
Cseq: 7


[0x91d7a78] main input debug: Buffering 28%
[0x91d7a78] main input debug: Buffering 29%
[0x91d7a78] main input debug: Buffering 33%
[0x91bf5a8] main audio output debug: input 'mpga' 8000 Hz Stereo frame=576 samples/1449 bytes
[0x91dc640] main audio filter debug: looking for audio filter module matching "scaletempo": 14 candidates
[0x91dc640] scaletempo audio filter debug: format:  8000 rate, 2 nch, 4 bps, fl32
[0x91dc640] scaletempo audio filter debug: params: 30 stride, 0.200 overlap, 14 search
[0x91dc640] scaletempo audio filter debug: 1.000 scale, 240.000 stride_in, 240 stride_out, 192 standing, 48 overlap, 112 search, 400 queue, fl32 mode
[0x91dc640] main audio filter debug: using audio filter module "scaletempo"
[0x91bf5a8] main audio output debug: conversion: 'mpga'->'f32l' 8000 Hz->8000 Hz Stereo->Stereo
[0x91de108] main audio converter debug: looking for audio converter module matching "any": 12 candidates
[0xb1e082c8] freetype spu text debug: Took 0 microseconds
[0xb1e082c8] freetype spu text debug: Using Serif Bold as font from file /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
[0xb1e082c8] freetype spu text debug: using fontsize: 2
[0x91d7a78] main input debug: Buffering 37%
[0x91d7a78] main input debug: Buffering 37%
[0x91de108] main audio converter debug: no audio converter modules matched
[0x91de108] main audio converter debug: looking for audio converter module matching "any": 12 candidates
[0xb1e082c8] main spu text debug: using text renderer module "freetype"
[0xb1e5fcc0] main scale debug: looking for video filter2 module matching "any": 55 candidates
[0x91d7a78] main input debug: Buffering 41%
[0x91d7a78] main input debug: Buffering 43%
[0xb1e5fcc0] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality)
[0x91de108] mpgatofixed32 audio converter debug: mpga->f32l, bits per sample: 32
[0x91de108] main audio converter debug: using audio converter module "mpgatofixed32"
[0x91bf5a8] main audio output debug: conversion pipeline complete
[0x91bf5a8] main audio output debug: conversion: 'f32l'->'f32l' 8000 Hz->8000 Hz Stereo->Stereo
[0x91bf5a8] main audio output debug: conversion pipeline complete
[0x91e7310] main audio resampler debug: looking for audio resampler module matching "any": 3 candidates
[0x91d7a78] main input debug: Buffering 45%
[0xb1e5fcc0] main scale debug: using video filter2 module "swscale"
[0xb1e74c28] main scale debug: looking for video filter2 module matching "any": 55 candidates
[0x91d7a78] main input debug: Buffering 50%
[0x91e7310] main audio resampler debug: using audio resampler module "samplerate"
[0xae377d18] main decoder debug: End of audio preroll
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 50%
[0xb1e74c28] yuvp scale debug: YUVP to YUVA converter
[0xb1e74c28] main scale debug: using video filter2 module "yuvp"
[0xb1e01b80] main video output debug: Deinterlacing available
[0xb1e01b80] main video output debug: deinterlace 0, mode blend, is_needed 0
[0x91d7a78] main input debug: Buffering 50%
[0x91d7a78] main input debug: Buffering 57%
[0x91d7a78] main input debug: Buffering 57%
[0x91d7a78] main input debug: Buffering 64%
[0x91d7a78] main input debug: Buffering 72%
[0x91d7a78] main input debug: Buffering 72%
[0x91d7a78] main input debug: Buffering 72%
[0x91d7a78] main input debug: Buffering 72%
[0x91d7a78] main input debug: Buffering 72%
[0x91d7a78] main input debug: Buffering 75%
[0xb1e01b80] main video output debug: Opening vout display wrapper
[0x91d7a78] main input debug: Buffering 79%
[0xae3c3ac8] main vout display debug: looking for vout display module matching "any": 11 candidates
[0xae3a9430] main window debug: looking for vout window xid module matching "qt4,any": 4 candidates
[0x91d7a78] main input debug: Buffering 79%
[0xae3a9430] qt4 window debug: requesting video window...
[0x91bf328] qt4 interface debug: Video was requested 0, 0
[0x91d7a78] main input debug: Buffering 83%
[0x91d7a78] main input debug: Buffering 87%
[0x91d7a78] main input debug: Buffering 87%
[0x91d7a78] main input debug: Buffering 91%
[0xae3a9430] main window debug: using vout window xid module "qt4"
[0xae3a9d00] main inhibit debug: looking for inhibit module matching "any": 2 candidates
[0xae3a9d00] dbus_screensaver inhibit error: cannot connect to session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[0xae3a9d00] main inhibit debug: using inhibit module "xdg_screensaver"
[0x91d7a78] main input debug: Buffering 93%
[0x91d7a78] main input debug: Buffering 95%
[0x91d7a78] main input debug: Stream buffering done (1001 ms in 756 ms)
[0xae3c3ac8] xcb_xv vout display debug: connected to X11.0 server
[0xae3c3ac8] xcb_xv vout display debug:  vendor : The X.Org Foundation
[0xae3c3ac8] xcb_xv vout display debug:  version: 11103000
[0xae3c3ac8] xcb_xv vout display debug: using screen 0x137
[0xae3c3ac8] xcb_xv vout display debug: using XVideo extension v2.2
[0xae3c3ac8] xcb_xv vout display error: no available XVideo adaptor
[0xb1e01b80] main video output debug: Reusing previous vout window
[0xae3c3ac8] xcb_glx vout display debug: connected to X11.0 server
[0xae3c3ac8] xcb_glx vout display debug:  vendor : The X.Org Foundation
[0xae3c3ac8] xcb_glx vout display debug:  version: 11103000
[0xae3c3ac8] xcb_glx vout display debug: using screen 0x137
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
[0xae3c3ac8] xcb_glx vout display debug: using GLX extension version 1.4
[0xae3c3ac8] xcb_glx vout display debug: using X11 window 04400000
[0xae3c3ac8] main vout display debug: VoutDisplayEvent 'fullscreen' 0
[0xae3c3ac8] main vout display debug: VoutDisplayEvent 'resize' 1024x576 window
[0xae3c3ac8] main vout display debug: using vout display module "xcb_glx"
[0xb1e01b80] main video output debug: original format sz 1024x576, of (0,0), vsz 1024x576, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
[0xb1e082c8] main spu text debug: removing module "freetype"
[0xb1e082c8] main spu text debug: looking for text renderer module matching "any": 3 candidates
[0xb1e082c8] freetype spu text debug: Building font databases.
[0xb1e082c8] freetype spu text debug: Took 0 microseconds
[0xb1e082c8] freetype spu text debug: Using Serif Bold as font from file /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
[0xb1e082c8] freetype spu text debug: using fontsize: 2
[0xb1e082c8] main spu text debug: using text renderer module "freetype"
[0xae37cc50] avcodec decoder debug: using direct rendering
[0xae37cc50] main decoder debug: End of video preroll
[0xae37cc50] main decoder debug: Received first picture
[0xae3c3ac8] xcb_glx vout display debug: display is visible
[0xae3c3ac8] main vout display error: Failed to resize display
[0x91d7a78] main input debug: Decoder buffering done in 4012 ms
[0xae3265e8] live555 demux debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
[0x91de108] mpgatofixed32 audio converter error: libmad error: bad main_data_begin pointer
[0x91d7a78] main input error: ES_OUT_RESET_PCR called
[0x91bf5a8] pulse audio output debug: cannot synchronize start
[0x91bf5a8] pulse audio output warning: starting late (-45418 us)
[0x91bf5a8] pulse audio output debug: started
[0x91bf5a8] pulse audio output debug: underflow
[0x91bf5a8] pulse audio output debug: underflow
[0x91bf5a8] pulse audio output debug: changing sink 0: alsa_output.pci-0000_00_05.0.analog-stereo (Built-in Audio Analog Stereo)
[0xae377d18] main decoder debug: discarded audio buffer
[0xae377d18] main decoder debug: discarded audio buffer
[0xae377d18] main decoder debug: discarded audio buffer
[0x91bf5a8] pulse audio output debug: underflow
[0xb1e01b80] main video output warning: picture is too late to be displayed (missing 144 ms)
[0xb1e01b80] main video output warning: picture is too late to be displayed (missing 102 ms)
[0xb1e01b80] main video output warning: picture is too late to be displayed (missing 60 ms)
[0xb1e01b80] main video output debug: picture might be displayed late (missing 18 ms)
[0xae37cc50] main decoder warning: early picture skipped
[0xae3265e8] live555 demux debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
[0x91d7a78] main input error: ES_OUT_RESET_PCR called
[0x91d7a78] main input debug: Buffering 0%
[0x91d7a78] main input debug: Buffering 19%
[0x91d7a78] main input debug: Buffering 19%
[0x91d7a78] main input debug: Buffering 26%
[0x91d7a78] main input debug: Buffering 26%
[0x91d7a78] main input debug: Buffering 33%
[0x91d7a78] main input debug: Buffering 33%
[0xae377d18] main decoder debug: End of audio preroll
[0x91bf5a8] pulse audio output debug: underflow
[0x91d7a78] main input debug: Buffering 40%
[0x91d7a78] main input debug: Buffering 40%
[0x91d7a78] main input debug: Buffering 47%
[0x91d7a78] main input debug: Buffering 47%
[0x91d7a78] main input debug: Buffering 55%
[0x91d7a78] main input debug: Buffering 55%
[0x91d7a78] main input debug: Buffering 62%
[0x91d7a78] main input debug: Buffering 62%
[0x91d7a78] main input debug: Buffering 69%
[0x91d7a78] main input debug: Buffering 69%
[0x91d7a78] main input debug: Buffering 76%
[0x91d7a78] main input debug: Buffering 76%
[0x91d7a78] main input debug: Buffering 83%
[0x91d7a78] main input debug: Buffering 83%
[0x91d7a78] main input debug: Buffering 91%
[0x91d7a78] main input debug: Buffering 91%
[0x91d7a78] main input debug: Buffering 98%
[0x91d7a78] main input debug: Buffering 98%
[0x91d7a78] main input debug: Stream buffering done (1055 ms in 16 ms)
[0x91d7a78] main input debug: Decoder buffering done in 0 ms
[0x91de108] mpgatofixed32 audio converter error: libmad error: bad main_data_begin pointer
[0x91bf5a8] main audio output debug: inserting 5228 zeroes
[0x91bf5a8] pulse audio output debug: underflow
[0xae37cc50] main decoder debug: End of video preroll
[0x91bf5a8] main audio output warning: buffer too late (-1636966 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-1568588 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-1496870 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-1425210 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-1353457 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-1281666 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-1210045 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-1138255 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-1066488 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-994694 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-922942 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-851284 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-780038 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-708248 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-636608 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-564818 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-493059 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-421270 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-349602 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-277812 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-206105 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-134315 us): dropped
[0x91bf5a8] main audio output warning: buffer too late (-62569 us): dropped
[0x91bf5a8] main audio output debug: playback too late (2080895): flushing buffers
[0x91bf5a8] main audio output warning: playback too late (72336): up-sampling
[0xb1e01b80] main video output warning: picture is too late to be displayed (missing 3824 ms)
[0x91bf5a8] main audio output warning: timing screwed (drift: 149542 us): stopping resampling
[0x91bf5a8] main audio output warning: playback too late (148756): up-sampling
[0xae3c3ac8] main vout display debug: auto hiding mouse cursor
[0xb1e01b80] main video output warning: picture is too late to be displayed (missing 4452 ms)
[0xb1e01b80] main video output warning: picture is too late to be displayed (missing 4410 ms)
[0xb1e01b80] main video output warning: picture is too late to be displayed (missing 240 ms)
[0xb1e01b80] main video output warning: picture is too late to be displayed (missing 199 ms)
[0x91bf5a8] main audio output warning: playback way too late (211319): flushing buffers
[0x91bf5a8] main audio output debug: inserting 32227 zeroes
[0x91bf5a8] pulse audio output debug: underflow
[0x912aa28] main libvlc debug: exiting
[0x912aa28] main libvlc debug: removing all interfaces
[0x912aa28] main libvlc debug: exiting
[0x91bf328] main interface debug: removing module "qt4"
[0x91ca638] main playlist debug: deactivating the playlist
[0x91ca638] main playlist debug: incoming request - stopping current input
[0x91d7a78] main input debug: control type=0
[0x91d7a78] main input debug: control: stopping input
[0x91ca638] main playlist debug: incoming request - stopping current input
[0x91ca638] main playlist debug: finished input
[0xae377d18] main decoder debug: removing module "mpeg_audio"
[0xae377d18] main decoder debug: killing decoder fourcc `mpga', 0 PES in FIFO
[0x91e7310] main audio resampler debug: removing module "samplerate"
[0x91de108] main audio converter debug: removing module "mpgatofixed32"
[0x91dc640] main audio filter debug: removing module "scaletempo"
[0x91dafa8] main volume debug: removing module "float_mixer"
[0x91ca638] main playlist debug: keeping audio output
[0x91bf5a8] pulse audio output debug: changing sink 0: alsa_output.pci-0000_00_05.0.analog-stereo (Built-in Audio Analog Stereo)
[0xae37cc50] main decoder warning: can't get output picture
[0xae37cc50] avcodec decoder warning: disabling direct rendering
[0xae37cc50] main decoder debug: removing module "avcodec"
[0xae37cc50] avcodec decoder debug: ffmpeg codec (MPEG-1/2 Video) stopped
[0xae37cc50] main decoder debug: killing decoder fourcc `mpgv', 95 PES in FIFO
[0x91ca638] main playlist debug: saving a free vout
[0x91ca638] main playlist debug: reusing provided vout
[0xae3938b8] main packetizer debug: removing module "packetizer_mpegvideo"
[0xae3265e8] main demux debug: removing module "live555"
Sending request: TEARDOWN rtsp://192.168.197.75:8554/ RTSP/1.0
CSeq: 8
User-Agent: LibVLC/2.1.4 (LIVE555 Streaming Media v2011.12.23)
Session: fbbdca4a793bdb60


[0x91d7a78] main input debug: Program doesn't contain anymore ES
[0x91ca638] main playlist debug: incoming request - stopping current input
[0x91ca638] main playlist debug: dead input
[0x91bf5a8] main audio output debug: removing module "pulse"
[0x91bf328] qt4 interface debug: IM: Deleting the input
[0x91d7a78] main input debug: Destroying the input for 'rtsp://192.168.197.75:8554/'
[0xb1e01b80] main video output debug: destroying useless vout
[0xae3c3ac8] main vout display debug: removing module "xcb_glx"
[0xae3a9d00] main inhibit debug: removing module "xdg_screensaver"
[0xae3a9430] qt4 window debug: releasing video...
[0x91bf328] qt4 interface debug: Video is not needed anymore
[0xb1e082c8] main spu text debug: removing module "freetype"
[0xb1e74c28] main scale debug: removing module "yuvp"
[0xb1e5fcc0] main scale debug: removing module "swscale"
[0x91bf328] qt4 interface debug: requesting exit...
[0x91bf328] qt4 interface debug: waiting for UI thread...
[0x91bf328] qt4 interface debug: QApp exec() finished
[0x91bf328] qt4 interface debug: Video is not needed anymore
[0x91bf328] qt4 interface debug: Killing extension dialog provider
[0x91bf328] qt4 interface debug: ExtensionsDialogProvider is quitting...
[0xb1bd88b8] main generic debug: removing module "lua"
[0xb1bd88b8] lua generic debug: Deactivating all loaded extensions
[0xb1bd88b8] lua generic debug: All extensions are now deactivated
[0x91be998] main interface debug: removing module "globalhotkeys"
[0x91be2e0] main interface debug: removing module "hotkeys"
[0x91ca638] main playlist debug: destroying
[0x91bf328] main playlist export debug: saving Media Library to file /root/.local/share/vlc/ml.xspf
[0x91bf328] main playlist export debug: looking for playlist export module matching "export-xspf": 4 candidates
[0x91bf328] main playlist export debug: using playlist export module "export"
[0x91bf328] main playlist export debug: removing module "export"
[0x912aa28] main libvlc debug: removing stats
root@hmr-VB:/home/hmr/Documents/vlc-2.1.4#

 

【异常检测】【EfficientAD】论文简单梳理与代码实现 EfficientAD作为较近的一篇异常检测网络,主要还是从S-T网络入手,对齐进行了相关改进。修改特征提取器引入自动编码器hard loss以及惩罚项。 阅读详情

相关推荐

R以及Rstudio超详细安装教程(包括安装过程中出现的问题)

R安装及Rstudio安装,以及安装中出现的问题

2301_76908257的博客 1万+

VLC源码解析:视频播放速度控制背后的技术

VLC源码解析:视频播放速度控制背后的技术

探索C++编程的奥秘,分享深入的技术见解和实践,旨在激发读者创造力与解决问题的思维。 3225

[南大ICS-PA2]PA2 - 简单复杂的机器:冯诺依曼计算机系统

mips32和riscv32的指令长度只有32位, 因此它们不能像x86那样, 把C代码中的32位常数直接编码到一条指令中. 思考一下, mips32和riscv32应该如何解决这个问题?加载立即数到寄存器的高20位,然后便可以是哟给你标准的立即指令来创建32位常量。在程序分析领域中,静态指令是指程序代码中的指令,动态指令是指程序运行过程中的指令,例如对于一下指令序列。位域,在小端机器上,先定义的在每个字节的低位,后定义的在每个字节的高位。,这是处理非法指令的宏,其定义在。指令,而下一条动态指令则是。

qq_42474104的博客 931

VLC源代码分析一

一、 VLC简介 VLC的全名是VideoLan Client,是一个开源的、跨平台的视频播放器。VLC支持大量的音视频传输、封装和编码格式,完整的功能特性列表可以在这里获得http://www.videolan.org/vlc/features.html,下面给出一个简要的不完整的列表: 操作系统:Windows、WinCE、Linux、MacOSX、BEOS、BSD 访问形式:文件、DV

黄小东的专栏 9971

瑞芯微RK3568与RK3566芯片选型指南:从接口差异到应用场景深度解析

在嵌入式系统与边缘计算领域,芯片选型是决定产品成败的关键一步。其核心在于理解芯片的架构、接口扩展能力与系统可靠性之间的平衡。以瑞芯微(Rockchip)的RK3568和RK3566为例,这两款同为四核A55架构的芯片,在基础算力上相近,但其面向的应用赛道却因接口配置而截然不同。RK3568凭借其双千兆网口、PCIe 3.0高速接口以及全链路ECC内存支持,在技术价值上更侧重于构建高可靠、高扩展性的系统,如边缘计算网关、工业控制器和网络视频录像机(NVR)。相比之下,RK3566则以其精简的接口配置,精准服务

weixin_33314040的博客 500

Win11专业版破解RDP限制:实现多用户远程桌面协同办公

本文详细介绍了如何在Windows 11专业版上破解RDP限制,实现多用户远程桌面协同办公。通过使用RDPWrap工具,用户可以绕过微软的授权限制,允许多个用户同时登录同一台电脑,提高硬件利用率和团队协作效率。文章包含详细的安装配置步骤、性能优化技巧及常见问题解决方案,适用于需要远程协作的办公场景。

weixin_33806300的博客 481

vlc源码分析二

vlc音视频同步 vlc播放里媒体时实现音视频同步,简单来说就是发送方发送的RTP包带有时间戳,接收方根据此时间戳不断矫正本地时钟 播放音视频时根据本地时钟进行同步播放。首先了解两个概念:stream clock 和system clock,stream clock是流时钟,即打包 RTP中的时间戳,system clock是本地时钟,当前系统的tick。当第一个rtp包来到时 fSyn...

logens的专栏 1159

解决windows10下无法安装.net framework 3.5(包括.net2.0和3.0)

入域电脑,win10系统中安装 .net framework 3.5(包括.net2.0和3.0)

God_me_1的博客 4万+

VLC源码分析总结

VLC源码分析总结 1. 概述 VLC属于Video LAN开源项目组织中的一款全开源的流媒体服务器和多媒体播放器。作为流媒体服务器,VLC跨平台,支持多操作系统和计算机体系结构;作为多媒体播放器,VLC可以播放多种格式的媒体文件。主要包括有:WMV、ASF、MPG、MP、AVI、H.264等多种常见媒体格式。 VLC采用全模块化结构,在系统内部,通过动态的载入所需的模块,放入一个modul

lvmaker的专栏 1679

Innovus ECO技巧:用setEcoMode+ecoAddRepeater实现批量buffer替换的5个关键步骤

本文详细介绍了在Cadence Innovus工具中,利用setEcoMode与ecoAddRepeater命令实现高效、批量Buffer/Inverter替换的工程化策略。通过启用批处理模式、构建可维护的替换规则、掌握高级定位技巧以及规避布线陷阱等5个关键步骤,帮助芯片设计工程师在ECO阶段大幅提升修改效率与质量,确保设计稳定签核。

d6e7f8的博客 1126

【C语言】字符常量详解

字符常量是C语言中处理字符数据的重要工具。通过单引号括起一个字符,我们可以方便地使用字符常量进行字符判断、字符运算和字符串处理等操作。理解字符常量的表示方法、使用场景和ASCII码对应关系,对于编写高效的C语言程序至关重要。

LuckiBit 5028

VLC源码分析总结 ——入门纲领

http://blog.chinaunix.net/uid-24951403-id-3022939.html VLC源码分析总结 1.概述 VLC属于Video LAN开源项目组织中的一款全开源的流媒体服务器和多媒体播放器。作为流媒体服务器,VLC跨平台,支持多操作系统和计算机体系结构;作为多媒体播放器,VLC可以播放多种格式的媒体文件。主要包括有:WMV、ASF、MPG、MP、AV...

weixin_30481087的博客 122

[VT虚拟化驱动]利用EPT实现无痕HOOK

本章利用讲EPT无痕HOOK

吾无法无天的博客 1万+

【八】【vlc-android】vlc-vout视频流输出端源码分析

【以mp4文件格式和H264编码的本地文件为例展开分析】 1、由前面章节分析过可知vout结构体信息对象初始化是在decoder层的CreateDecoder方法中: // [vlc/src/input/decoder.c] // vout赋值初始化方法指针赋值 static decoder_t * CreateDecoder( vlc_object_t *p_parent, input_thread_t *p_input,

CloverLHao的博客 1491

Statistics and Machine Learning Toolbox

Statistics and Machine Learning Toolbox(带书签),MATLAB统计学习工具

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

vlc android 源码分析,Vlc-for-android源码分析

先从AndroidManifest.xml开始分析,从接收的data类型可以看出用来播放音视频的activity是VideoPlayerActivity,AudioService是用于支持音乐后台播放的service,其他activity都是和界面有关的activity。这里主要分析和视频播放有关的VideoPlayerActivity,从intent-filter可以看出的能够接受的播放格式,d...

weixin_39719727的博客 2830

锂电池充电器电路设计 里面有电路

锂电池充电器电路设计 里面有电路 3.7V升压到5V电路设计。

he_minrui
博客等级 码龄15年 0粉丝 1原创
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值