91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 12.49MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-29
  • 語言: 其他
  • 標簽: 視頻??

資源簡介

此資源是基于客戶端代碼,需要live555服務器進行搭配使用

資源截圖

代碼片段和文件信息

#include?“frmmain.h“
#include?“ui_frmmain.h“
#include?“qffmpeg.h“
#include?“rtspthread.h“
#include?
frmMain::frmMain(QWidget?*parent)?:
????QWidget(parent)
????ui(new?Ui::frmMain)
{
????ui->setupUi(this);????

????tempWidth=320;
????tempHeight=180;
????video1Max=false;
????video2Max=false;
????video3Max=false;
????all=false;
????ui->labVideo1->installEventFilter(this);
????ui->labVideo2->installEventFilter(this);
????ui->labVideo3->installEventFilter(this);
}

frmMain::~frmMain()
{
????delete?ui;
}

//處理用戶雙擊對應通道最大化處理
bool?frmMain::eventFilter(Qobject?*obj?QEvent?*event)
{????
????if?(event->type()==QEvent::MouseButtondblclick){
????????if?(obj==ui->labVideo1){
????????????if?(video1Max){
????????????????tempWidth=320;
????????????????tempHeight=180;
????????????????ui->labVideo2->setVisible(true);
????????????????ui->labVideo3->setVisible(true);
????????????????ui->labImage->setVisible(true);
????????????}else{
????????????????tempWidth=645;
????????????????tempHeight=370;
????????????????ui->labVideo2->setVisible(false);
????????????????ui->labVideo3->setVisible(false);
????????????????ui->labImage->setVisible(false);
????????????}
????????????video1Max=!video1Max;
????????}else?if?(obj==ui->labVideo2){
????????????if?(video2Max){
????????????????tempWidth=320;
????????????????tempHeight=180;
????????????????ui->labVideo1->setVisible(true);
????????????????ui->labVideo3->setVisible(true);
????????????????ui->labImage->setVisible(true);
????????????}else{
????????????????tempWidth=645;
????????????????tempHeight=370;
????????????????ui->labVideo1->setVisible(false);
????????????????ui->labVideo3->setVisible(false);
????????????????ui->labImage->setVisible(false);
????????????}
????????????video2Max=!video2Max;
????????}else?if?(obj==ui->labVideo3){
????????????if?(video3Max){
????????????????tempWidth=320;
????????????????tempHeight=180;
????????????????ui->labVideo1->setVisible(true);
????????????????ui->labVideo2->setVisible(true);
????????????????ui->labImage->setVisible(true);
????????????}else{
????????????????tempWidth=645;
????????????????tempHeight=370;
????????????????ui->labVideo1->setVisible(false);
????????????????ui->labVideo2->setVisible(false);
????????????????ui->labImage->setVisible(false);
????????????}
????????????video3Max=!video3Max;
????????}
????}
????return?Qobject::eventFilter(objevent);
}

void?frmMain::on_btnOpen_clicked()
{????
????QFFmpeg?*ffmpeg=new?QFFmpeg(this);
????connect(ffmpegSIGNAL(GetImage(QImage))thisSLOT(SetImage(QImage)));
????ffmpeg->SetUrl(ui->txtUrl->text());

????if?(ffmpeg->Init()){
????????RtspThread?*rtsp=new?RtspThread(this);
????????rtsp->setffmpeg(ffmpeg);
????????rtsp->start();
????}
}

void?frmMain::on_btnGetImage_clicked()
{
????ui->labImage->clear();
????int?index=ui->cboxVideo->currentIndex();
????if?(index==0){
????????if?(ui->labVideo1->pixmap()!=0x0)
????????????ui->labImage->

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-11-04?15:03??RTSPTool\
?????文件????????5676??2018-10-28?16:46??RTSPTool\Makefile
?????文件????????7685??2018-10-28?16:46??RTSPTool\Makefile.Debug
?????文件????????7712??2018-10-28?16:46??RTSPTool\Makefile.Release
?????文件?????????825??2017-11-28?15:47??RTSPTool\RTSPTool.pro
?????文件???????21009??2018-11-04?15:03??RTSPTool\RTSPTool.pro.user
?????文件??????630044??2018-08-02?10:40??RTSPTool\bgm1.wav
?????目錄???????????0??2018-10-16?16:19??RTSPTool\bin\
?????文件?????1770340??2017-11-28?16:13??RTSPTool\bin\RTSPTool.exe
?????文件????18928128??2017-11-28?15:47??RTSPTool\bin\avcodec-55.dll
?????文件?????2031616??2017-11-28?15:48??RTSPTool\bin\avfilter-4.dll
?????文件?????5339136??2017-11-28?15:48??RTSPTool\bin\avformat-55.dll
?????文件??????412160??2017-11-28?15:48??RTSPTool\bin\avutil-52.dll
?????文件??????433664??2017-11-28?15:48??RTSPTool\bin\swscale-2.dll
?????目錄???????????0??2018-10-16?16:19??RTSPTool\ffmpeg\
?????目錄???????????0??2018-10-16?16:19??RTSPTool\ffmpeg\include\
?????目錄???????????0??2018-10-16?16:19??RTSPTool\ffmpeg\include\libavcodec\
?????文件??????177984??2017-11-28?15:48??RTSPTool\ffmpeg\include\libavcodec\avcodec.h
?????文件????????3111??2017-11-28?15:48??RTSPTool\ffmpeg\include\libavcodec\avfft.h
?????文件????????2392??2017-11-28?15:48??RTSPTool\ffmpeg\include\libavcodec\dxva2.h
?????文件???????10654??2017-11-28?15:48??RTSPTool\ffmpeg\include\libavcodec\old_codec_ids.h
?????文件????????4007??2017-11-28?15:48??RTSPTool\ffmpeg\include\libavcodec\vaapi.h
?????文件????????4094??2017-11-28?15:48??RTSPTool\ffmpeg\include\libavcodec\vda.h
?????文件????????6200??2017-11-28?15:48??RTSPTool\ffmpeg\include\libavcodec\vdpau.h
?????文件????????5109??2017-11-28?15:48??RTSPTool\ffmpeg\include\libavcodec\version.h
?????文件????????6062??2017-11-28?15:48??RTSPTool\ffmpeg\include\libavcodec\xvmc.h
?????目錄???????????0??2018-10-16?16:19??RTSPTool\ffmpeg\include\libavfilter\
?????文件????????3321??2017-11-28?15:48??RTSPTool\ffmpeg\include\libavfilter\asrc_abuffer.h
?????文件????????3784??2017-11-28?15:48??RTSPTool\ffmpeg\include\libavfilter\avcodec.h
?????文件???????56887??2017-11-28?15:48??RTSPTool\ffmpeg\include\libavfilter\avfilter.h
?????文件?????????975??2017-11-28?15:48??RTSPTool\ffmpeg\include\libavfilter\avfiltergraph.h
............此處省略106個文件信息

評論

共有 條評論