说明: linux下使用V4L2调用USB摄像头,为了提高帧率,读取mjpeg格式的视频帧,使用libjpeg库将mjpeg图片转换为RGB24,再将RGB24转换为YUYV420P格式,使用ffmpeg将YUYV420P格式压缩为H26的视频,使用ffmpeg的drawtext给视频帧添加日期水印,使用暴风影音可以播放。
(In linux, V4L2 is used to call the USB camera. In order to improve the frame rate and read the video frame in MJPEG format, libjpeg library is used to convert the MJPEG picture into RGB24, and then RGB24 into YUYV420P format. YUYV420P format is compressed into H26 video by ffmpeg. Draft text of ffmpeg is used to add date watermarking to the video frame. Storm video and audio can be played.)
文件列表:
远程视频监控, 0 , 2019-05-13
远程视频监控\.main.o.d, 8402 , 2019-05-12
远程视频监控\1, 16915 , 2019-05-05
远程视频监控\built-in.o, 304145 , 2019-05-12
远程视频监控\ffmpeg, 0 , 2019-05-12
远程视频监控\ffmpeg\.ffmpeg_filter.o.d, 6782 , 2019-05-12
远程视频监控\ffmpeg\.Yuyv240pToH246.o.d, 6674 , 2019-05-12
远程视频监控\ffmpeg\built-in.o, 156977 , 2019-05-12
远程视频监控\ffmpeg\ffmpeg_filter.c, 4332 , 2019-05-12
远程视频监控\ffmpeg\ffmpeg_filter.o, 74876 , 2019-05-12
远程视频监控\ffmpeg\Makefile, 53 , 2019-05-11
远程视频监控\ffmpeg\Yuyv240pToH246.c, 16647 , 2019-05-12
远程视频监控\ffmpeg\Yuyv240pToH246.o, 83776 , 2019-05-12
远程视频监控\getltime, 0 , 2019-05-12
远程视频监控\getltime\.gettime.o.d, 1171 , 2019-05-12
远程视频监控\getltime\built-in.o, 6361 , 2019-05-12
远程视频监控\getltime\gettime.c, 394 , 2019-05-12
远程视频监控\getltime\gettime.o, 6352 , 2019-05-12
远程视频监控\getltime\Makefile, 20 , 2019-05-12
远程视频监控\include, 0 , 2019-05-12
远程视频监控\include\config.h, 412 , 2019-05-12
远程视频监控\include\ffmpegabout.h, 1361 , 2019-05-12
远程视频监控\include\gettime.h, 142 , 2019-05-12
远程视频监控\include\jerror.h, 14748 , 2019-05-05
远程视频监控\include\jinclude.h, 3250 , 2019-05-05
远程视频监控\jpeg, 0 , 2019-05-12
远程视频监控\jpeg\.jdatasrc-tj.o.d, 1328 , 2019-05-12
远程视频监控\jpeg\built-in.o, 17930 , 2019-05-12
远程视频监控\jpeg\jdatasrc-tj.c, 6516 , 2018-11-27
远程视频监控\jpeg\jdatasrc-tj.o, 17916 , 2019-05-12
远程视频监控\jpeg\Makefile, 24 , 2019-05-07
远程视频监控\main.c, 23542 , 2019-05-12
远程视频监控\main.c.bak, 23214 , 2019-05-11
远程视频监控\main.o, 127576 , 2019-05-12
远程视频监控\Makefile, 1162 , 2019-05-12
远程视频监控\Makefile.build, 802 , 2019-05-06
远程视频监控\video2lcd, 170789 , 2019-05-12