AnsweredAssumed Answered

Streaming USB Webcam over Network

Question asked by Philippe Balleydier on Oct 1, 2014
Latest reply on Oct 7, 2014 by Philippe Balleydier

Hi

 

I'm currently streaming a USB Webcam from the IMX6Q SabreBoard to my computer over the network with this command:

 

gst-launch-0.10 v4l2src device=/dev/video0 ! 'video/x-raw-yuv,framerate=(fraction)30/1' ! ffmpegcolorspace ! vpuenc codec=12 ! multipartmux ! tcpserversink host=192.168.20.26 port=5000

 

This is working fine. When i use VLC, i can see the stream when typing the address tcp://192.168.20.43:5000

But i'd like to use the x264 codec. As i understood it, i just have to change the vpuenc codec=6 but this isn't working. I do receive a stream, but VLC tells me that the codec is undefined and that it can't decode it.

 

I'm pretty new with the use of streams so i'm kind of walking blindly. Is my gst-launch command correct for x264?

And moreover, how do i broadcast the stream instead of sending it directly to someone?

 

 

Best regards.

 

Ce message a été modifié par : Philippe Balleydier

Outcomes