Play with VLC
Mazahir Poonawalla
mazahir.poonawalla at ideaforge.co.in
Wed Aug 8 05:07:55 PDT 2012
Hi All,
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.
I am using 2 sets of plugins. I have 2 issues.
1. My 1st query is that when I use this plugin:
*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*
I cannot play on vlc media player. Nothing is being displayed at all when I
type the command:
*vlc udp://@192.168.1.102:3000 *
2. My 2nd query is that when I use this plugin:
*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*
I can play live video on vlc player on linux machine using the command:
*vlc udp://@192.168.1.102:3001*
but I get following warnings:
*Too many slices, increase MAX_SLICES and recompile*
*number of reference frames exceeds max (probably corrupt input),
discarding one*
*QPainter::begin: Paint device returned engine == 0, type: 1*
Can anyone please help. Also which one is better to use considering the
fact that "mpegtsmux" is under bad plugin?
Thank you & Regards,
**
*Mazahir Poonawalla*****
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120808/ece4eb2a/attachment.html>
More information about the gstreamer-devel
mailing list