資源簡介
該RTSP播放器實現了主流RTSP播放器的基本功能,并有所拓展:
1、RTSP 標準碼流(包括音視頻)的實時預覽播放;
2、網絡數據流的斷線重連;
3、對存儲文件的解碼播放以及控制;
4、音視頻碼流的同步存儲,文件存儲時以當前系統的時間戳作為音視頻 播放時的索引,方便在文件播放時以時間戳作為檢索條件來點播文件;
5、視頻播放格式上支持 h.264、mpeg4、mpeg2 等,音頻播放格式上支 持 AAC、AMR、G711 等;
6、視頻抓拍;
7、視頻顯示角度旋轉;
8、畫面填充控制顯示比例。
代碼片段和文件信息
/*
www.sourceforge.net/projects/tinyxml
Original?file?by?Yves?Berquin.
This?software?is?provided?‘as-is‘?without?any?express?or?implied
warranty.?In?no?event?will?the?authors?be?held?liable?for?any
damages?arising?from?the?use?of?this?software.
Permission?is?granted?to?anyone?to?use?this?software?for?any
purpose?including?commercial?applications?and?to?alter?it?and
redistribute?it?freely?subject?to?the?following?restrictions:
1.?The?origin?of?this?software?must?not?be?misrepresented;?you?must
not?claim?that?you?wrote?the?original?software.?If?you?use?this
software?in?a?product?an?acknowledgment?in?the?product?documentation
would?be?appreciated?but?is?not?required.
2.?Altered?source?versions?must?be?plainly?marked?as?such?and
must?not?be?misrepresented?as?being?the?original?software.
3.?This?notice?may?not?be?removed?or?altered?from?any?source
distribution.
*/
/*
?*?THIS?FILE?WAS?ALTERED?BY?Tyge?L鴙set?7.?April?2005.
?*/
#ifndef?TIxml_USE_STL
#include?“tinystr.h“
//?Error?value?for?find?primitive
const?TixmlString::size_type?TixmlString::npos?=?static_castlString::size_type?>(-1);
//?Null?rep.
TixmlString::Rep?TixmlString::nullrep_?=?{?0?0?{?‘\0‘?}?};
void?TixmlString::reserve?(size_type?cap)
{
if?(cap?>?capacity())
{
TixmlString?tmp;
tmp.init(length()?cap);
memcpy(tmp.start()?data()?length());
swap(tmp);
}
}
TixmlString&?TixmlString::assign(const?char*?str?size_type?len)
{
size_type?cap?=?capacity();
if?(len?>?cap?||?cap?>?3*(len?+?8))
{
TixmlString?tmp;
tmp.init(len);
memcpy(tmp.start()?str?len);
swap(tmp);
}
else
{
memmove(start()?str?len);
set_size(len);
}
return?*this;
}
TixmlString&?TixmlString::append(const?char*?str?size_type?len)
{
size_type?newsize?=?length()?+?len;
if?(newsize?>?capacity())
{
reserve?(newsize?+?capacity());
}
memmove(finish()?str?len);
set_size(newsize);
return?*this;
}
TixmlString?operator?+?(const?TixmlString?&?a?const?TixmlString?&?b)
{
TixmlString?tmp;
tmp.reserve(a.length()?+?b.length());
tmp?+=?a;
tmp?+=?b;
return?tmp;
}
TixmlString?operator?+?(const?TixmlString?&?a?const?char*?b)
{
TixmlString?tmp;
TixmlString::size_type?b_len?=?static_castlString::size_type>(?strlen(b)?);
tmp.reserve(a.length()?+?b_len);
tmp?+=?a;
tmp.append(b?b_len);
return?tmp;
}
TixmlString?operator?+?(const?char*?a?const?TixmlString?&?b)
{
TixmlString?tmp;
TixmlString::size_type?a_len?=?static_castlString::size_type>(?strlen(a)?);
tmp.reserve(a_len?+?b.length());
tmp.append(a?a_len);
tmp?+=?b;
return?tmp;
}
#endif //?TIxml_USE_STL
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????75776??2014-01-10?16:27??WMPla
?????文件???11816960??2014-02-11?17:05??WMPla
?????文件?????331776??2014-02-11?17:05??WMPla
?????文件?????144525??2013-11-13?09:54??WMPla
?????文件?????148995??2013-11-13?09:54??WMPla
?????文件???????1025??2014-01-10?16:27??WMPla
?????文件???????3586??2014-01-10?16:27??WMPla
?????文件???????7234??2014-01-10?16:27??WMPla
?????文件??????10992??2014-02-11?17:05??WMPla
?????文件???????5462??2014-02-11?17:05??WMPla
?????文件???????1770??2014-01-10?16:27??WMPla
?????文件???????4663??2014-01-10?16:27??WMPla
?????文件???????2673??2014-01-10?16:27??WMPla
?????文件???????1200??2014-01-10?16:27??WMPla
?????文件????????992??2014-01-10?16:27??WMPla
?????文件???????1401??2014-01-10?16:27??WMPla
?????文件???????4689??2014-01-10?16:27??WMPla
?????文件???????3253??2014-01-10?16:27??WMPla
?????文件???????1259??2014-01-10?16:27??WMPla
?????文件???????3757??2014-01-10?16:27??WMPla
?????文件??????51082??2014-01-10?16:27??WMPla
?????文件??????20604??2014-01-10?16:27??WMPla
?????文件??????22688??2014-01-10?16:27??WMPla
?????文件??????20473??2014-01-10?16:27??WMPla
?????文件??????12523??2014-01-10?16:27??WMPla
?????文件??????24850??2014-01-10?16:27??WMPla
?????文件???????5162??2014-01-10?16:27??WMPla
?????文件??????36743??2014-01-10?16:27??WMPla
?????文件??????27603??2014-01-10?16:27??WMPla
?????文件???????2004??2014-01-10?16:27??WMPla
............此處省略563個文件信息
評論
共有 條評論