push mat to rtmp stream
Code:
cv::VideoWriter out("appsrc ! videoconvert ! video/x-raw,format=I420,clock-rate=90000 ! omxh264enc ! video/x-h264,stream-format=(string)byte-stream,alignment=(string)au ! h264parse ! queue ! flvmux ! rtmpsink location=rtmp://192.168.165.56:1935/live/0/", 0, fps, size, true);
push stream sucess. i play the rtmp use VLC. the video play so fast. 1920*1080. how can make it right
add a comment