摘要:        
#include <dirent.h> #include <stdio.h> int main(int argc, char* argv[]) { DIR *dp; struct dirent *dirp; if ( argc != 2) { //err_quit("usage: ls direct    阅读全文
        
            posted @ 2020-09-15 20:25
cyssmile
阅读(200)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
COLOR_BGR2BGRA add alpha channel to RGB or BGR image COLOR_RGB2RGBA COLOR_BGRA2BGR remove alpha channel from RGB or BGR image COLOR_RGBA2RGB COLOR_BGR    阅读全文
        
            posted @ 2020-09-15 15:50
cyssmile
阅读(1482)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
如果在推流中如果需要的是nv21格式的。 喂BGR格式的数据结果 看到这样的图,首先考虑是不是需要的是yuv格式的数据,而处理的时候没有正确的放入。 喂nv12格式 这种一看视频图像色彩不对啊,但是轮廓和灰度不正确。有可能是需要nv21,你给的是nv12 正确的nv21格式    阅读全文
        
            posted @ 2020-09-15 14:46
cyssmile
阅读(197)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
ffmpeg -i ./car.mp4 -vcodec copy -acodec copy -ss 00:00:00 -to 00:00:05 ./car11.mp4 -y 将视频做成动态图 ffmpeg -i 41.mp4 -f gif 41.gif    阅读全文
        
            posted @ 2020-09-15 10:28
cyssmile
阅读(295)
评论(0)
推荐(0)
        
        
                    
                
浙公网安备 33010602011771号