Hi All,<div><br></div><div>I want to stream live video using gstreamer plugins. I am using Leopardboard where my input camera is attached and video is streamed to Linux machine. </div><div><br></div><div>I am using 2 sets of plugins. I have 2 issues.</div>
<div><br></div><div><div>1. My 1st query is that when I use this plugin:</div><div><br></div><div><div style="border:1pt solid windowtext;padding:1pt 4pt"><p class="MsoNormal" style="border:none;padding:0cm"><b>gst-launch -v -e v4l2src always-copy=FALSE input-src=composite chain-ipipe=true ! video/x-raw-yuv,format=\(fourcc\)NV12, width=640, height=480 ! queue ! dmaiaccel ! dmaienc_h264 encodingpreset=2 ratecontrol=2 intraframeinterval=23 idrinterval=46 targetbitrate=3000000 ! rtph264pay ! udpsink port=3000 host=192.168.1.102 sync=false enable-last-buffer=false</b></p>
</div></div><div><br></div><div>I cannot play on vlc media player. Nothing is being displayed at all when I type the command:</div><div><br></div><div><b>vlc udp://@<a href="http://192.168.1.102:3000">192.168.1.102:3000</a> </b></div>
</div><div><br></div><div>2. My 2nd query is that when I use this plugin:</div><div><br></div><div><div style="border:solid windowtext 1.0pt;padding:1.0pt 4.0pt 1.0pt 4.0pt">
<p class="MsoNormal" style="border:none;padding:0cm"><b>gst-launch -e v4l2src
input-src=composite always-copy=FALSE !
video/x-raw-yuv,format=\(fourcc\)NV12,width=640,height=480 ! dmaiaccel !
dmaiperf print-arm-load=true ! dmaienc_h264 encodingpreset=2
targetbitrate=1000000 ratecontrol=2 intraframeinterval=23 idrinterval=46 !
queue ! mpegtsmux name=mux ! queue ! udpsink port=3001 host=192.168.1.102
sync=false enable-last-buffer=false</b></p>
</div></div><div><div><br></div><div>I can play live video on vlc player on linux machine using the command:</div><div><br></div><div><b>vlc udp://@<a href="http://192.168.1.102:3001">192.168.1.102:3001</a></b></div><div>
<br></div><div>but I get following warnings:</div><div><br></div><div><div><b>Too many slices, increase MAX_SLICES and recompile</b></div><div><b>number of reference frames exceeds max (probably corrupt input), discarding one</b></div>
</div><div><b>QPainter::begin: Paint device returned engine == 0, type: 1</b></div><div><br></div><div>Can anyone please help. Also which one is better to use considering the fact that "mpegtsmux" is under bad plugin? </div>
<div><br></div><div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">Thank you & Regards,</span></div><p style="margin:0px;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<u></u></p><p style="margin:0px;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><b>Mazahir Poonawalla</b><u></u><u></u></p><p style="margin:0px;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></p><br>
</div>