[gst-devel] seeking video file with background

Kapil Agrawal kapil.agl at gmail.com
Fri May 28 16:20:57 CEST 2010


Not sure but just a thought,

Maybe you can apply seeking on the video part of pipeline and not on the
whole pipeline.
So make a video bin having the video part before mixing and seek there ?

Note :Just an idea, havent validated or thought much about practical issues
:)

Thanks
Kapil

2010/5/28 Juan Felipe Mogollón Rodríguez <fmogollon at vicomtech.org>

> Hi
>
> I am trying a build an applicaction that mixes two diferent videos and
> shows them with a background image following the next pipeline:
>
> gst-launch filesrc location=video1.ogg ! decodebin !  videobox
> border-alpha=0 alpha=1 top=-375 bottom=0 left=-250 right=0 ! alpha
> method=3 angle=90 ! videomixer name=mixer ! ffmpegcolorspace !
> xvimagesink filesrc location=video2.ogg ! decodebin ! videobox
> border-alpha=0 alpha=1 top=-375 bottom=0 left=-400 right=0 ! alpha
> method=3 angle=90 ! mixer. filesrc location=background.jpg ! decodebin
> ! imagefreeze !  alpha method=0 target-r=0 target-g=0  target-b=0 !
> videoscale ! video/x-raw-yuv, width=1200, height=800 ! mixer.
>
>
> When I try to seek the videos, I am always getting a seek error, I
> think that the error appears because of the still image that is
> created to be used as background, I have tried with multifilesrc and
> with imagefreeze, but I always get that seek error.
>
> Does anybody knows another way to get a static background image that
> can be seekable?
>
> Thanks in advance.
>
> Regards.
>
>
> Felipe.
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
twitter handle: @gst_kaps
http://www.linkedin.com/in/kapilagrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100528/dab990f3/attachment.htm>


More information about the gstreamer-devel mailing list