<div dir="ltr">Update: streaming to local file with both raw h264 and mpegts mux goes fine. I have 2 samples playable with vlc <br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-03 18:25 GMT+03:00 Krutskikh Ivan <span dir="ltr"><<a href="mailto:stein.hak@gmail.com" target="_blank">stein.hak@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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/" target="_blank">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>
</blockquote></div><br></div>