实例介绍
ffmpeg直接采集屏幕;VLC的x264库进行压缩编码;live555作为服务器,侦听554端口,当有连接时,开始录制屏幕并发送。
【实例截图】
【核心代码】
ec005942-7647-4400-a6d0-af46d04cc077
└── LinXSplit
├── LinXSplit
│ ├── CamH264VideoStreamFramer.cpp
│ ├── CamH264VideoStreamFramer.h
│ ├── Debug
│ │ ├── CamH264VideoStreamFramer.obj
│ │ ├── H264LiveVideoServerMediaSubsession.obj
│ │ ├── LinXSplit.Build.CppClean.log
│ │ ├── LinXSplit.log
│ │ ├── LinXSplit.tlog
│ │ │ ├── cl.command.1.tlog
│ │ │ ├── CL.read.1.tlog
│ │ │ ├── CL.write.1.tlog
│ │ │ ├── lib.command.1.tlog
│ │ │ ├── Lib-link.read.1.tlog
│ │ │ ├── Lib-link.write.1.tlog
│ │ │ ├── link.command.1.tlog
│ │ │ ├── link.read.1.tlog
│ │ │ ├── link.write.1.tlog
│ │ │ ├── LinXSplit.lastbuildstate
│ │ │ └── LinXSplit.write.1u.tlog
│ │ ├── main.obj
│ │ ├── vc120.idb
│ │ └── vc120.pdb
│ ├── H264LiveVideoServerMediaSubsession.cpp
│ ├── H264LiveVideoServerMediaSubsession.h
│ ├── include
│ │ ├── libavcodec
│ │ │ ├── avcodec.h
│ │ │ ├── avfft.h
│ │ │ ├── dv_profile.h
│ │ │ ├── dxva2.h
│ │ │ ├── old_codec_ids.h
│ │ │ ├── vaapi.h
│ │ │ ├── vda.h
│ │ │ ├── vdpau.h
│ │ │ ├── version.h
│ │ │ └── xvmc.h
│ │ ├── libavdevice
│ │ │ ├── avdevice.h
│ │ │ └── version.h
│ │ ├── libavfilter
│ │ │ ├── asrc_abuffer.h
│ │ │ ├── avcodec.h
│ │ │ ├── avfiltergraph.h
│ │ │ ├── avfilter.h
│ │ │ ├── buffersink.h
│ │ │ ├── buffersrc.h
│ │ │ └── version.h
│ │ ├── libavformat
│ │ │ ├── avformat.h
│ │ │ ├── avio.h
│ │ │ └── version.h
│ │ ├── libavutil
│ │ │ ├── adler32.h
│ │ │ ├── aes.h
│ │ │ ├── attributes.h
│ │ │ ├── audioconvert.h
│ │ │ ├── audio_fifo.h
│ │ │ ├── avassert.h
│ │ │ ├── avconfig.h
│ │ │ ├── avstring.h
│ │ │ ├── avutil.h
│ │ │ ├── base64.h
│ │ │ ├── blowfish.h
│ │ │ ├── bprint.h
│ │ │ ├── bswap.h
│ │ │ ├── buffer.h
│ │ │ ├── cast5.h
│ │ │ ├── channel_layout.h
│ │ │ ├── common.h
│ │ │ ├── cpu.h
│ │ │ ├── crc.h
│ │ │ ├── dict.h
│ │ │ ├── display.h
│ │ │ ├── downmix_info.h
│ │ │ ├── error.h
│ │ │ ├── eval.h
│ │ │ ├── ffversion.h
│ │ │ ├── fifo.h
│ │ │ ├── file.h
│ │ │ ├── frame.h
│ │ │ ├── hash.h
│ │ │ ├── hmac.h
│ │ │ ├── imgutils.h
│ │ │ ├── intfloat.h
│ │ │ ├── intreadwrite.h
│ │ │ ├── lfg.h
│ │ │ ├── log.h
│ │ │ ├── lzo.h
│ │ │ ├── macros.h
│ │ │ ├── mathematics.h
│ │ │ ├── md5.h
│ │ │ ├── mem.h
│ │ │ ├── motion_vector.h
│ │ │ ├── murmur3.h
│ │ │ ├── old_pix_fmts.h
│ │ │ ├── opt.h
│ │ │ ├── parseutils.h
│ │ │ ├── pixdesc.h
│ │ │ ├── pixelutils.h
│ │ │ ├── pixfmt.h
│ │ │ ├── random_seed.h
│ │ │ ├── rational.h
│ │ │ ├── replaygain.h
│ │ │ ├── ripemd.h
│ │ │ ├── samplefmt.h
│ │ │ ├── sha512.h
│ │ │ ├── sha.h
│ │ │ ├── stereo3d.h
│ │ │ ├── threadmessage.h
│ │ │ ├── timecode.h
│ │ │ ├── time.h
│ │ │ ├── timestamp.h
│ │ │ ├── version.h
│ │ │ └── xtea.h
│ │ ├── libpostproc
│ │ │ ├── postprocess.h
│ │ │ └── version.h
│ │ ├── libswresample
│ │ │ ├── swresample.h
│ │ │ └── version.h
│ │ ├── libswscale
│ │ │ ├── swscale.h
│ │ │ └── version.h
│ │ └── live555
│ │ ├── AC3AudioFileServerMediaSubsession.hh
│ │ ├── AC3AudioRTPSink.hh
│ │ ├── AC3AudioRTPSource.hh
│ │ ├── AC3AudioStreamFramer.hh
│ │ ├── ADTSAudioFileServerMediaSubsession.hh
│ │ ├── ADTSAudioFileSource.hh
│ │ ├── AMRAudioFileServerMediaSubsession.hh
│ │ ├── AMRAudioFileSink.hh
│ │ ├── AMRAudioFileSource.hh
│ │ ├── AMRAudioRTPSink.hh
│ │ ├── AMRAudioRTPSource.hh
│ │ ├── AMRAudioSource.hh
│ │ ├── AudioInputDevice.hh
│ │ ├── AudioRTPSink.hh
│ │ ├── AVIFileSink.hh
│ │ ├── Base64.hh
│ │ ├── BasicHashTable.hh
│ │ ├── BasicUDPSink.hh
│ │ ├── BasicUDPSource.hh
│ │ ├── BasicUsageEnvironment0.hh
│ │ ├── BasicUsageEnvironment.hh
│ │ ├── BasicUsageEnvironment_version.hh
│ │ ├── BitVector.hh
│ │ ├── Boolean.hh
│ │ ├── ByteStreamFileSource.hh
│ │ ├── ByteStreamMemoryBufferSource.hh
│ │ ├── ByteStreamMultiFileSource.hh
│ │ ├── DarwinInjector.hh
│ │ ├── DelayQueue.hh
│ │ ├── DeviceSource.hh
│ │ ├── DigestAuthentication.hh
│ │ ├── DVVideoFileServerMediaSubsession.hh
│ │ ├── DVVideoRTPSink.hh
│ │ ├── DVVideoRTPSource.hh
│ │ ├── DVVideoStreamFramer.hh
│ │ ├── FileServerMediaSubsession.hh
│ │ ├── FileSink.hh
│ │ ├── FramedFileSource.hh
│ │ ├── FramedFilter.hh
│ │ ├── FramedSource.hh
│ │ ├── GroupEId.hh
│ │ ├── GroupsockHelper.hh
│ │ ├── Groupsock.hh
│ │ ├── groupsock_version.hh
│ │ ├── GSMAudioRTPSink.hh
│ │ ├── H261VideoRTPSource.hh
│ │ ├── H263plusVideoFileServerMediaSubsession.hh
│ │ ├── H263plusVideoRTPSink.hh
│ │ ├── H263plusVideoRTPSource.hh
│ │ ├── H263plusVideoStreamFramer.hh
│ │ ├── H264or5VideoFileSink.hh
│ │ ├── H264or5VideoRTPSink.hh
│ │ ├── H264or5VideoStreamDiscreteFramer.hh
│ │ ├── H264or5VideoStreamFramer.hh
│ │ ├── H264VideoFileServerMediaSubsession.hh
│ │ ├── H264VideoFileSink.hh
│ │ ├── H264VideoRTPSink.hh
│ │ ├── H264VideoRTPSource.hh
│ │ ├── H264VideoStreamDiscreteFramer.hh
│ │ ├── H264VideoStreamFramer.hh
│ │ ├── H265VideoFileServerMediaSubsession.hh
│ │ ├── H265VideoFileSink.hh
│ │ ├── H265VideoRTPSink.hh
│ │ ├── H265VideoRTPSource.hh
│ │ ├── H265VideoStreamDiscreteFramer.hh
│ │ ├── H265VideoStreamFramer.hh
│ │ ├── HandlerSet.hh
│ │ ├── HashTable.hh
│ │ ├── InputFile.hh
│ │ ├── IOHandlers.hh
│ │ ├── JPEGVideoRTPSink.hh
│ │ ├── JPEGVideoRTPSource.hh
│ │ ├── JPEGVideoSource.hh
│ │ ├── liveMedia.hh
│ │ ├── liveMedia_version.hh
│ │ ├── Locale.hh
│ │ ├── MatroskaFile.hh
│ │ ├── MatroskaFileServerDemux.hh
│ │ ├── Media.hh
│ │ ├── MediaSession.hh
│ │ ├── MediaSink.hh
│ │ ├── MediaSource.hh
│ │ ├── MP3ADU.hh
│ │ ├── MP3ADUinterleaving.hh
│ │ ├── MP3ADURTPSink.hh
│ │ ├── MP3ADURTPSource.hh
│ │ ├── MP3ADUTranscoder.hh
│ │ ├── MP3AudioFileServerMediaSubsession.hh
│ │ ├── MP3FileSource.hh
│ │ ├── MP3Transcoder.hh
│ │ ├── MPEG1or2AudioRTPSink.hh
│ │ ├── MPEG1or2AudioRTPSource.hh
│ │ ├── MPEG1or2AudioStreamFramer.hh
│ │ ├── MPEG1or2DemuxedElementaryStream.hh
│ │ ├── MPEG1or2DemuxedServerMediaSubsession.hh
│ │ ├── MPEG1or2Demux.hh
│ │ ├── MPEG1or2FileServerDemux.hh
│ │ ├── MPEG1or2VideoFileServerMediaSubsession.hh
│ │ ├── MPEG1or2VideoRTPSink.hh
│ │ ├── MPEG1or2VideoRTPSource.hh
│ │ ├── MPEG1or2VideoStreamDiscreteFramer.hh
│ │ ├── MPEG1or2VideoStreamFramer.hh
│ │ ├── MPEG2IndexFromTransportStream.hh
│ │ ├── MPEG2TransportFileServerMediaSubsession.hh
│ │ ├── MPEG2TransportStreamFramer.hh
│ │ ├── MPEG2TransportStreamFromESSource.hh
│ │ ├── MPEG2TransportStreamFromPESSource.hh
│ │ ├── MPEG2TransportStreamIndexFile.hh
│ │ ├── MPEG2TransportStreamMultiplexor.hh
│ │ ├── MPEG2TransportStreamTrickModeFilter.hh
│ │ ├── MPEG2TransportUDPServerMediaSubsession.hh
│ │ ├── MPEG4ESVideoRTPSink.hh
│ │ ├── MPEG4ESVideoRTPSource.hh
│ │ ├── MPEG4GenericRTPSink.hh
│ │ ├── MPEG4GenericRTPSource.hh
│ │ ├── MPEG4LATMAudioRTPSink.hh
│ │ ├── MPEG4LATMAudioRTPSource.hh
│ │ ├── MPEG4VideoFileServerMediaSubsession.hh
│ │ ├── MPEG4VideoStreamDiscreteFramer.hh
│ │ ├── MPEG4VideoStreamFramer.hh
│ │ ├── MPEGVideoStreamFramer.hh
│ │ ├── MultiFramedRTPSink.hh
│ │ ├── MultiFramedRTPSource.hh
│ │ ├── NetAddress.hh
│ │ ├── NetCommon.h
│ │ ├── NetInterface.hh
│ │ ├── OggFile.hh
│ │ ├── OggFileServerDemux.hh
│ │ ├── OggFileSink.hh
│ │ ├── OnDemandServerMediaSubsession.hh
│ │ ├── ourMD5.hh
│ │ ├── OutputFile.hh
│ │ ├── PassiveServerMediaSubsession.hh
│ │ ├── ProxyServerMediaSession.hh
│ │ ├── QCELPAudioRTPSource.hh
│ │ ├── QuickTimeFileSink.hh
│ │ ├── QuickTimeGenericRTPSource.hh
│ │ ├── RTCP.hh
│ │ ├── RTPInterface.hh
│ │ ├── RTPSink.hh
│ │ ├── RTPSource.hh
│ │ ├── RTSPClient.hh
│ │ ├── RTSPCommon.hh
│ │ ├── RTSPRegisterSender.hh
│ │ ├── RTSPServer.hh
│ │ ├── RTSPServerSupportingHTTPStreaming.hh
│ │ ├── ServerMediaSession.hh
│ │ ├── SimpleRTPSink.hh
│ │ ├── SimpleRTPSource.hh
│ │ ├── SIPClient.hh
│ │ ├── strDup.hh
│ │ ├── StreamReplicator.hh
│ │ ├── T140TextRTPSink.hh
│ │ ├── TCPStreamSink.hh
│ │ ├── TextRTPSink.hh
│ │ ├── TheoraVideoRTPSink.hh
│ │ ├── TheoraVideoRTPSource.hh
│ │ ├── TunnelEncaps.hh
│ │ ├── uLawAudioFilter.hh
│ │ ├── UsageEnvironment.hh
│ │ ├── UsageEnvironment_version.hh
│ │ ├── VideoRTPSink.hh
│ │ ├── VorbisAudioRTPSink.hh
│ │ ├── VorbisAudioRTPSource.hh
│ │ ├── VP8VideoRTPSink.hh
│ │ ├── VP8VideoRTPSource.hh
│ │ ├── VP9VideoRTPSink.hh
│ │ ├── VP9VideoRTPSource.hh
│ │ ├── WAVAudioFileServerMediaSubsession.hh
│ │ └── WAVAudioFileSource.hh
│ ├── lib
│ │ └── x86
│ │ ├── avcodec.lib
│ │ ├── avdevice.lib
│ │ ├── avfilter.lib
│ │ ├── avformat.lib
│ │ ├── avutil.lib
│ │ ├── libBasicUsageEnvironment.lib
│ │ ├── libgroupsock.lib
│ │ ├── libliveMedia.lib
│ │ ├── libUsageEnvironment.lib
│ │ ├── postproc.lib
│ │ ├── swresample.lib
│ │ └── swscale.lib
│ ├── LinXSplit.vcxproj
│ ├── LinXSplit.vcxproj.filters
│ ├── LinXSplit.vcxproj.user
│ ├── main.cpp
│ └── Release
│ ├── CamH264VideoStreamFramer.obj
│ ├── H264LiveVideoServerMediaSubsession.obj
│ ├── LinXSplit.log
│ ├── LinXSplit.tlog
│ │ ├── cl.command.1.tlog
│ │ ├── CL.read.1.tlog
│ │ ├── CL.write.1.tlog
│ │ ├── link.command.1.tlog
│ │ ├── link.read.1.tlog
│ │ ├── link.write.1.tlog
│ │ ├── LinXSplit.lastbuildstate
│ │ └── LinXSplit.write.1u.tlog
│ ├── main.obj
│ └── vc120.pdb
├── LinXSplit.sln
├── LinXSplit.v12.suo
├── Release
│ ├── avcodec-56.dll
│ ├── avdevice-56.dll
│ ├── avfilter-5.dll
│ ├── avformat-56.dll
│ ├── avutil-54.dll
│ ├── libH264Encoder.dll
│ ├── LinXSplit.exe
│ ├── postproc-53.dll
│ ├── swresample-1.dll
│ └── swscale-3.dll
├── x264
│ ├── common
│ │ ├── bs.h
│ │ ├── cabac.c
│ │ ├── cabac.h
│ │ ├── common.c
│ │ ├── common.h
│ │ ├── cpu.c
│ │ ├── cpu.h
│ │ ├── dct.c
│ │ ├── dct.h
│ │ ├── display.h
│ │ ├── display-x11.c
│ │ ├── frame.c
│ │ ├── frame.h
│ │ ├── log.c
│ │ ├── log.h
│ │ ├── macroblock.c
│ │ ├── macroblock.h
│ │ ├── mc.c
│ │ ├── mc.h
│ │ ├── mdate.c
│ │ ├── osdep.h
│ │ ├── pixel.c
│ │ ├── pixel.h
│ │ ├── predict.c
│ │ ├── predict.h
│ │ ├── quant.c
│ │ ├── quant.h
│ │ ├── set.c
│ │ ├── set.h
│ │ ├── visualize.c
│ │ ├── visualize.h
│ │ ├── vlc.c
│ │ └── x86
│ │ ├── cabac-a.asm
│ │ ├── cpu-a.asm
│ │ ├── dct-32.asm
│ │ ├── dct-64.asm
│ │ ├── dct-a.asm
│ │ ├── dct.h
│ │ ├── deblock-a.asm
│ │ ├── mc-a2.asm
│ │ ├── mc-a.asm
│ │ ├── mc-c.c
│ │ ├── mc.h
│ │ ├── pixel-32.asm
│ │ ├── pixel-a.asm
│ │ ├── pixel.h
│ │ ├── predict-a.asm
│ │ ├── predict-c.c
│ │ ├── predict.h
│ │ ├── quant-a.asm
│ │ ├── quant.h
│ │ ├── sad-a.asm
│ │ ├── util.h
│ │ ├── x86inc.asm
│ │ └── x86util.asm
│ ├── DllMain.cpp
│ ├── DllManager.h
│ ├── encoder
│ │ ├── analyse.c
│ │ ├── analyse.h
│ │ ├── cabac.c
│ │ ├── cavlc.c
│ │ ├── encoder.c
│ │ ├── macroblock.c
│ │ ├── macroblock.h
│ │ ├── me.c
│ │ ├── me.h
│ │ ├── ratecontrol.c
│ │ ├── ratecontrol.h
│ │ ├── rdo.c
│ │ ├── set.c
│ │ ├── set.h
│ │ └── slicetype.c
│ ├── extras
│ │ ├── getopt.c
│ │ ├── getopt.h
│ │ └── _stdint.h
│ ├── H264EndWrapper.cpp
│ ├── H264EndWrapper.h
│ ├── matroska.c
│ ├── matroska.h
│ ├── muxers.c
│ ├── muxers.h
│ ├── x264.c
│ ├── x264.h
│ ├── x264.vcxproj
│ ├── x264.vcxproj.filters
│ ├── x264Wrapper.cpp
│ └── x264Wrapper.h
└── 注意事项.txt
24 directories, 411 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论