2014-12-19 163 views
0

我正在開發一個應用程序以獲得RPI(raspbeain操作系統的樹莓pi)播放器的馬賽克視圖,它可以播放從我的x86從vlc播放器生成的RTSP流媒體機器與Ubuntu。馬賽克視圖RTSP使用glcreamer從VLC流動的RPI

我已經安裝了Gstremaer-1.0,並且目前能夠使用vlc生成的這個命令以全屏方式播放(成功)RTSP的一個視圖請參考第一個屏幕截圖。 Sucesfuly able to play one screen rtsp streaming on rpi

gst-launch-1.0 rtspsrc location=rtsp://192.168.1.65:8554/test ! rtph264depay ! h264parse ! omxh264dec ! autovideosink

但是,當我使用下面的命令去四屏拼接視圖(有一些周圍的Googling之後這個命令),

gst-launch-1.0 -vvv videomixer name=mix rtspsrc location=rtsp://192.168.1.65:8554/test1 ! 'video/x-h264,framerate=(fraction)50/1,width=640,height=480' ! rtph264depay ! h264parse ! omxh264dec ! mix. rtspsrc location=192.168.1.65:8554/test1 ! 'video/x-h264,framerate=(fraction)50/1,width=640,height=480' ! rtph264depay ! h264parse ! omxh264dec ! mix.rtspsrc location=192.168.1.65:8554/test1 ! 'video/x-h264,framerate=(fraction)50/1,width=640,height=480' ! rtph264depay ! h264parse ! omxh264dec ! mix.rtspsrc location=192.168.1.65:8554/test1 ! 'video/x-h264,framerate=(fraction)50/1,width=640,height=480' ! rtph264depay ! h264parse ! omxh264dec ! mix.

它給了我附有以下錯誤屏幕截圖

那麼,我在這裏失蹤或有另一種方式來做到這一點?

對這個主題的任何幫助將是可觀的。 謝謝! Mosaic view RTSP Error log using gstreamer

回答

-1

沒有videosink,嘗試添加autovideosink:

GST推出-1.0 -vvv videomixer名=混合autovideosink rtspsrc位置= RTSP://192.168.1.65:8554/test1的! 'video/x-h264,framerate =(分數)50/1,width = 640,height = 480'! rtph264depay! h264parse! omxh264dec!混合。 rtspsrc location = 192.168.1.65:8554/test1! 'video/x-h264,framerate =(分數)50/1,width = 640,height = 480'! rtph264depay! h264parse! omxh264dec! mix.rtspsrc location = 192.168.1.65:8554/test1! 'video/x-h264,framerate =(分數)50/1,width = 640,height = 480'! rtph264depay! h264parse! omxh264dec! mix.rtspsrc location = 192.168.1.65:8554/test1! 'video/x-h264,framerate =(分數)50/1,width = 640,height = 480'! rtph264depay! h264parse! omxh264dec!混合。

+0

請檢查格式並使您的答案更具可讀性。 – 2015-07-14 11:52:46