<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>My goal is to develop a hardware screen capturing device using raspberry pi 2 and epiphan vga2usb screencaster (<a href="http://www.epiphan.com/products/vga2usb/">http://www.epiphan.com/products/vga2usb/</a>)<br><br></div>I've build the epiphan driver and tested the solutin with software mpeg4/jpeg encoders:<br><br>gst-launch-1.0 v4l2src device=/dev/video0 ! videoscale ! videoconvert ! videorate ! video/x-raw,framerate=9/1  ! avenc_mpeg4 ! mpegtsmux ! tcpserversink host=0.0.0.0 port=5000<br><br></div>gst-launch-1.0 v4l2src device=/dev/video0 ! videoscale ! videoconvert ! videorate ! video/x-raw,framerate=9/1  ! jpegenc ! multipartmux ! tcpserversink host=0.0.0.0 port=5000<br><br></div>Both pipelines are working fine except for cpu performance.<br><br><br></div><div>I can view both streams with vlc tcp://ip:5000<br><br></div><div>But when I try to power the omxh264enc both vlc and tcpclientsink fail to buffer video:<br><br>gst-launch-1.0 v4l2src device=/dev/video0 ! videoscale ! videoconvert ! videorate ! omxh264enc target-bitrate=1000000 control-rate=1 ! “video/x-h264,profile=high" ! h264parse ! mpegtsmux !  tcpserversink host=0.0.0.0 port=5000<br><br></div><div>The weirdest thing is that when I try to stream to local file using filesink, I can play it with ffplay but vlc freezes at first frame.<br><br></div><div>What's wrong with my setup?<br></div><div><br></div></div>