Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I cannot for the life of me work out how to get this working in python. I have got it working in c++:

cv::VideoWriter writer;
writer.open("appsrc ! autovideoconvert ! v4l2video1h264enc extra-controls=\"encode,h264_level=10,h264_profile=4,frame_level_rate_control_enable=1,video_bitrate=2000000\" ! h264parse ! rtph264pay config-interval=1 pt=96 ! udpsink host=192.168.x.x port=5000 sync=false", 0, 30, cv::Size(640, 480 ), true);

Exactly the same thing in python either gives vague errors or just sits there doing nothing.