gst-launch 字符 叠加 乱码

gst-launch videotestsrc ! video/x-raw-yuv,width=640,height=480,framerate=15/1 ! textoverlay text="测试" ! ffmpegcolorspace ! xvimagesink (这个没乱码)

gst-launch videotestsrc ! video/x-raw-yuv,format=(fourcc)YUY2,width=320,height=240 ! textoverlay text="测" ! xvimagesink (这个有乱码)

gst-launch videotestsrc ! video/x-raw-yuv,format=(fourcc)YUY2,width=320,height=240 ! textoverlay text="测" ! ffmpegcolorspace ! xvimagesink (这个也有乱码)

gst-launch videotestsrc ! video/x-raw-yuv,format=(fourcc)YUY2,width=320,height=240,framerate=15/1 ! textoverlay text="测试" ! ffmpegcolorspace ! xvimagesink(这个也有乱码)

gst-launch videotestsrc ! video/x-raw-yuv,format=(fourcc)YUY2,width=640,height=480,framerate=15/1 ! textoverlay text="测试" ! ffmpegcolorspace ! xvimagesink(这个没有乱码,与前面唯一的区别就是宽度改为640,高度改为480)

gst-launch v4l2src ! video/x-raw-yuv,width=640,height=480 ! textoverlay text="测试" ! xvimagesink(这个也没有乱码)

添加新评论