VideoWall gstreamer

Thabelo Mmbengeni thabelo at gmail.com
Thu Sep 22 02:43:50 PDT 2011


they must all be withing resolution range.

On Thu, Sep 22, 2011 at 11:43 AM, Thabelo Mmbengeni <thabelo at gmail.com>wrote:

> check your screen resolution where "ximagesrc  startx=3156 starty=120
> endx=3285 endy=780" in screen pixels
>
>
> On Thu, Sep 22, 2011 at 11:13 AM, M. Amirul Syahmi <amirulsyahmi at gmail.com
> > wrote:
>
>> So here is the latest one...
>>
>> gst-launch -e \
>>    videomixer name=mix sink_0::zorder=0 sink_0::sync=false\
>>  sink_1::xpos=0 sink_1::ypos=0 sink_1::alpha=1 sink_1::zorder=0 \
>>  sink_2::xpos=803        sink_2::ypos=427        sink_2::alpha=1 sink_2::zorder=0
>> \
>>  sink_3::xpos=100     sink_3::ypos=570           sink_3::alpha=1 sink_3::zorder=1
>> \
>>  sink_4::xpos=1 sink_4::ypos=100        sink_4::alpha=1 sink_4::zorder=1
>> \
>>  sink_5::xpos=450        sink_5::ypos=1 sink_5::alpha=1 sink_5::zorder=1
>> \
>>  sink_6::xpos=500     sink_6::ypos=250            sink_6::alpha=0.6 sink_6::zorder=2
>> \
>>  sink_7::xpos=450         sink_7::ypos=300          sink_7::alpha=0.8 sink_7::zorder=1
>> \
>>  sink_8::xpos=100        sink_8::ypos=250          sink_8::alpha=0.6 sink_8::zorder=2
>> ! \
>>     ffmpegcolorspace ! xvimagesink \
>> videotestsrc pattern="4" ! video/x-raw-yuv, framerate=8/1, width=1024,
>> height=768 ! mix.sink_0 \
>>  filesrc location="runners_720p_30fps.avi" ! avidemux ! queue  !
>> decodebin ! videoscale ! ffmpegcolorspace ! \
>> video/x-raw-yuv, width=1020, height=766 ! \
>>  videobox border-alpha=1.0 top=-2 bottom=-2 left=-2 right=-2 ! \
>> videorate ! video/x-raw-yuv,framerate=8/1 ! mix.sink_1 \
>>  ximagesrc  startx=3156 starty=120 endx=3285 endy=780 ! videoscale !
>> video/x-raw-rgb,width=150, height=400 ! ffmpegcolorspace ! mix.sink_5 \
>> ximagesrc  startx=2676 starty=120 endx=2806 endy=740 ! videoscale !
>> video/x-raw-rgb,width=500, height=180 ! ffmpegcolorspace ! mix.sink_6 \
>>  ximagesrc  startx=2196 starty=120 endx=2326 endy=740 ! videoscale !
>> video/x-raw-rgb,width=150, height=400 ! ffmpegcolorspace ! mix.sink_7 \
>> ximagesrc  startx=1716 starty=120 endx=1846 endy=740 ! videoscale !
>> video/x-raw-rgb,width=400, height=180 ! ffmpegcolorspace ! mix.sink_8
>>
>>
>> here is the script so u can see the error
>>
>> Script started on Fri 23 Sep 2011 09:08:03 AM GMT
>> ]0;meego at localhost:~/TEST [?1034h[root at localhost TEST]# ./av itest2.sh
>> Setting pipeline to PAUSED ...
>> Pipeline is live and does not need PREROLL ...
>> Setting pipeline to PLAYING ...
>> New clock: GstSystemClock
>> libva: libva version 0.31.1
>> libva: va_getDriverName() returns 0
>> libva: Trying to open /usr/lib/xorg/modules/drivers/emgd_drv_video.so
>> Intel(R) Embedded Media and Graphics Driver 1.6 Build 1922
>> Using XCB based dispatch table.
>> libva: va_openDriver() returns 0
>> ERROR: from element /GstPipeline:pipeline0/GstAviDemux:avidemux0: Internal
>> data stream error.
>> Additional debug info:
>> gstavidemux.c(5134): gst_avi_demux_loop ():
>> /GstPipeline:pipeline0/GstAviDemux:avidemux0:
>> streaming stopped, reason not-negotiated
>> Execution ended after 219849491 ns.
>> Setting pipeline to PAUSED ...
>> Setting pipeline to READY ...
>> Setting pipeline to NULL ...
>> Freeing pipeline ...
>> ]0;meego at localhost:~/TEST [root at localhost TEST]# exit
>> exit
>>
>>
>>
>> Script done on Fri 23 Sep 2011 09:08:14 AM GMT
>>
>> On Thu, Sep 22, 2011 at 5:02 PM, Thabelo Mmbengeni <thabelo at gmail.com>wrote:
>>
>>> you do not necessarily need the kenburns element you can remove it if you
>>> want but its installed manually from https://github.com/dirjud/kenburns.
>>> Its for image rotations.
>>>
>>>
>>> On Thu, Sep 22, 2011 at 10:46 AM, M. Amirul Syahmi <
>>> amirulsyahmi at gmail.com> wrote:
>>>
>>>> Hi Thabelo
>>>>
>>>>
>>>> so I modify this code to this one
>>>>
>>>> gst-launch -e \
>>>>    videomixer name=mix sink_0::zorder=0 sink_0::sync=false\
>>>>  sink_1::xpos=0 sink_1::ypos=0 sink_1::alpha=1 sink_1::zorder=0 \
>>>>  sink_2::xpos=803        sink_2::ypos=427        sink_2::alpha=1 sink_2::zorder=0
>>>> \
>>>>  sink_3::xpos=100     sink_3::ypos=570           sink_3::alpha=1 sink_3::zorder=1
>>>> \
>>>>  sink_4::xpos=1 sink_4::ypos=100        sink_4::alpha=1 sink_4::zorder=1
>>>> \
>>>>  sink_5::xpos=450        sink_5::ypos=1 sink_5::alpha=1 sink_5::zorder=1
>>>> \
>>>>  sink_6::xpos=500     sink_6::ypos=250            sink_6::alpha=0.6 sink_6::zorder=2
>>>> \
>>>>  sink_7::xpos=450         sink_7::ypos=300          sink_7::alpha=0.8 sink_7::zorder=1
>>>> \
>>>>  sink_8::xpos=100        sink_8::ypos=250          sink_8::alpha=0.6 sink_8::zorder=2
>>>> ! \
>>>>     ffmpegcolorspace ! xvimagesink \
>>>> videotestsrc pattern="4" ! video/x-raw-yuv, framerate=8/1, width=1024,
>>>> height=768 ! mix.sink_0 \
>>>>  filesrc location="runners_720p_30fps.avi" ! avidemux ! queue  !
>>>> decodebin ! videoscale ! ffmpegcolorspace ! \
>>>> video/x-raw-yuv, width=1020, height=766 ! \
>>>>  videobox border-alpha=1.0 top=-2 bottom=-2 left=-2 right=-2 ! \
>>>> videorate ! video/x-raw-yuv,framerate=8/1 ! mix.sink_1 \
>>>>  ximagesrc  startx=3156 starty=120 endx=3285 endy=780 ! videoscale !
>>>> video/x-raw-rgb,width=150, height=400 ! kenburns background-color=0xFFF333 !
>>>> \
>>>>  ffmpegcolorspace !mix.sink_5 \
>>>> ximagesrc  startx=2676 starty=120 endx=2806 endy=740 ! kenburns
>>>>  background-color=0xFFF333 ! videoflip method="1" ! \
>>>>  videoscale ! video/x-raw-rgb,width=500, height=180 ! ffmpegcolorspace
>>>> ! mix.sink_6 \
>>>> ximagesrc  startx=2196 starty=120 endx=2326 endy=740 ! kenburns
>>>>  background-color=0xFFF333 ! videoflip method="2" ! \
>>>>  videoscale ! video/x-raw-rgb,width=150, height=400 ! ffmpegcolorspace
>>>> ! mix.sink_7 \
>>>> ximagesrc  startx=1716 starty=120 endx=1846 endy=740 ! kenburns
>>>> background-color=0xFFF333 ! videoflip method="3" ! \
>>>>  videoscale ! video/x-raw-rgb,width=400, height=180 ! ffmpegcolorspace
>>>> ! mix.sink_8
>>>>
>>>>
>>>> and save it as videotest.sh. Im using meego 1.1. after run
>>>> ./videotest.sh i got error.
>>>>
>>>> no elements "kenburns".
>>>>
>>>> is it this kenburns is good, bad or ugly plugin?
>>>>
>>>> On Thu, Sep 22, 2011 at 4:34 PM, Thabelo Mmbengeni <thabelo at gmail.com>wrote:
>>>>
>>>>> try it...
>>>>>
>>>>>
>>>>> On Thu, Sep 22, 2011 at 10:28 AM, M. Amirul Syahmi <
>>>>> amirulsyahmi at gmail.com> wrote:
>>>>>
>>>>>> so if i have avi file i just can replace my avi file at video.avi?
>>>>>>
>>>>>>
>>>>>> On Thu, Sep 22, 2011 at 4:17 PM, Thabelo Mmbengeni <thabelo at gmail.com
>>>>>> > wrote:
>>>>>>
>>>>>>> you can use some thing like this, I used this to play an avi file and
>>>>>>> 4 cropped-desktop captures on top of the avi video.  Just use the Idea and
>>>>>>> uses proper muxers and decoders for mp4. If you want to test the script just
>>>>>>> make a video and name it video.avi  and proper screen resolutions.
>>>>>>>
>>>>>>> gst-launch -e \
>>>>>>>    videomixer name=mix sink_0::zorder=0 sink_0::sync=false\
>>>>>>>  sink_1::xpos=0 sink_1::ypos=0 sink_1::alpha=1 sink_1::zorder=0 \
>>>>>>>  sink_2::xpos=803         sink_2::ypos=427         sink_2::alpha=1 sink_2::zorder=0
>>>>>>> \
>>>>>>>  sink_3::xpos=100      sink_3::ypos=570            sink_3::alpha=1 sink_3::zorder=1
>>>>>>> \
>>>>>>>  sink_4::xpos=1 sink_4::ypos=100         sink_4::alpha=1 sink_4::zorder=1
>>>>>>> \
>>>>>>>  sink_5::xpos=450         sink_5::ypos=1 sink_5::alpha=1 sink_5::zorder=1
>>>>>>> \
>>>>>>>  sink_6::xpos=500      sink_6::ypos=250            sink_6::alpha=0.6 sink_6::zorder=2
>>>>>>> \
>>>>>>>  sink_7::xpos=450         sink_7::ypos=300
>>>>>>>  sink_7::alpha=0.8 sink_7::zorder=1 \
>>>>>>>  sink_8::xpos=100        sink_8::ypos=250          sink_8::alpha=0.6 sink_8::zorder=2
>>>>>>> ! \
>>>>>>>     ffmpegcolorspace ! xvimagesink \
>>>>>>> videotestsrc pattern="4" ! video/x-raw-yuv, framerate=8/1,
>>>>>>> width=1024, height=768 ! mix.sink_0 \
>>>>>>>  filesrc location="video.avi" ! avidemux ! queue  ! decodebin !
>>>>>>> videoscale ! ffmpegcolorspace ! \
>>>>>>> video/x-raw-yuv, width=1020, height=766 ! \
>>>>>>>  videobox border-alpha=1.0 top=-2 bottom=-2 left=-2 right=-2 ! \
>>>>>>> videorate ! video/x-raw-yuv,framerate=8/1 ! mix.sink_1 \
>>>>>>>  ximagesrc  startx=3156 starty=120 endx=3285 endy=780 ! videoscale !
>>>>>>> video/x-raw-rgb,width=150, height=400 ! kenburns background-color=0xFFF333 !
>>>>>>> \
>>>>>>>  ffmpegcolorspace !mix.sink_5 \
>>>>>>> ximagesrc  startx=2676 starty=120 endx=2806 endy=740 ! kenburns
>>>>>>>  background-color=0xFFF333 ! videoflip method="1" ! \
>>>>>>>  videoscale ! video/x-raw-rgb,width=500, height=180 !
>>>>>>> ffmpegcolorspace ! mix.sink_6 \
>>>>>>> ximagesrc  startx=2196 starty=120 endx=2326 endy=740 ! kenburns
>>>>>>>  background-color=0xFFF333 ! videoflip method="2" ! \
>>>>>>>  videoscale ! video/x-raw-rgb,width=150, height=400 !
>>>>>>> ffmpegcolorspace ! mix.sink_7 \
>>>>>>> ximagesrc  startx=1716 starty=120 endx=1846 endy=740 ! kenburns
>>>>>>> background-color=0xFFF333 ! videoflip method="3" ! \
>>>>>>>  videoscale ! video/x-raw-rgb,width=400, height=180 !
>>>>>>> ffmpegcolorspace ! mix.sink_8
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Sep 22, 2011 at 9:37 AM, <amirulsyahmi at gmail.com> wrote:
>>>>>>>
>>>>>>>> Hye.
>>>>>>>>
>>>>>>>> Did you know how to play four mp4 files simultaneously on gstreamer?
>>>>>>>> _______________________________________________
>>>>>>>> gstreamer-devel mailing list
>>>>>>>> gstreamer-devel at lists.freedesktop.org
>>>>>>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Regards
>>>>>>>
>>>>>>> Thabelo Mmbengeni (TMT Services Cape Town HO, Engineering dep)
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> gstreamer-devel mailing list
>>>>>>> gstreamer-devel at lists.freedesktop.org
>>>>>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Yang Benar*
>>>>>>
>>>>>> *Pekerja Separuh Masa,*
>>>>>> *Warung Pak Joko (Pecel ayam dan Ayam Penyet)*
>>>>>> *Relau, Bayan Lepas, Pulau Pinang*
>>>>>> *
>>>>>> *
>>>>>> *
>>>>>> *
>>>>>> *
>>>>>> *
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> gstreamer-devel mailing list
>>>>>> gstreamer-devel at lists.freedesktop.org
>>>>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards
>>>>>
>>>>> Thabelo Mmbengeni (TMT Services Cape Town HO, Engineering dep)
>>>>>
>>>>> _______________________________________________
>>>>> gstreamer-devel mailing list
>>>>> gstreamer-devel at lists.freedesktop.org
>>>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Yang Benar*
>>>>
>>>> *Pekerja Separuh Masa,*
>>>> *Warung Pak Joko (Pecel ayam dan Ayam Penyet)*
>>>> *Relau, Bayan Lepas, Pulau Pinang*
>>>> *
>>>> *
>>>> *
>>>> *
>>>> *
>>>> *
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> gstreamer-devel mailing list
>>>> gstreamer-devel at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards
>>>
>>> Thabelo Mmbengeni (TMT Services Cape Town HO, Engineering dep)
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>>>
>>
>>
>> --
>> *Yang Benar*
>>
>> *Pekerja Separuh Masa,*
>> *Warung Pak Joko (Pecel ayam dan Ayam Penyet)*
>> *Relau, Bayan Lepas, Pulau Pinang*
>> *
>> *
>> *
>> *
>> *
>> *
>>
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
>
> --
> Regards
>
> Thabelo Mmbengeni (TMT Services Cape Town HO, Engineering dep)
>



-- 
Regards

Thabelo Mmbengeni (TMT Services Cape Town HO, Engineering dep)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110922/9daedd52/attachment-0001.htm>


More information about the gstreamer-devel mailing list