我正在开发一个应用程序以获得RPI(raspbeain操作系统的树莓pi)播放器的马赛克视图,它可以播放从我的x86从vlc播放器生成的RTSP流媒体机器与Ubuntu。马赛克视图RTSP使用glcreamer从VLC流动的RPI
我已经安装了Gstremaer-1.0,并且目前能够使用vlc生成的这个命令以全屏方式播放(成功)RTSP的一个视图请参考第一个屏幕截图。
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.
它给了我附有以下错误屏幕截图
那么,我在这里失踪或有另一种方式来做到这一点?
对这个主题的任何帮助将是可观的。 谢谢!
请检查格式并使您的答案更具可读性。 – 2015-07-14 11:52:46