jkuri / opencv-ffmpeg-rtmp-stream

OpenCV FFMpeg Live Video Stream over RTMP protocol.
MIT License
210 stars 59 forks source link

window10+ffmpeg4.4 +opencv4.4:error&problem #7

Open sxj731533730 opened 3 years ago

sxj731533730 commented 3 years ago

[libx264 @ 000002b120c99c80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 000002b120c99c80] profile High, level 3.1, 4:2:0, 8-bit [libx264 @ 000002b120c99c80] 264 - core 161 r3048 b86ae3c - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=9 lookahead_threads=9 sliced_threads=1 slices=9 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=1 keyint=12 keyint_min=1 scenecut=40 intra_refresh=0 rc=abr mbtree=0 bitrate=300 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, flv, to 'rtmp://localhost:1935/live/home': Stream #0:0: Video: h264 (libx264), yuv420p, 800x600, q=-1--1, 300 kb/s

F:\testFFmpeg\testFFmpeg\x64\Release\testFFmpeg.exe (进程 16972)已退出,代码为 -1073741819。 按任意键关闭此窗口. . .

你好,小哥 我运行你的代码在window10+vs2019+opencv4.4+ffmpeg4.4 时,代码无法执行,会崩溃,但是偶尔也可以查看拉流看视频,但是仍然无法避免崩溃的现象; hello, brother when i using your code to test using the default vaules, the code encounter an error. the code is not normal running. my computer&configuration include DELL(Vostro) window10+visual studio 2019+opencv4.4+ffmpeg4.4