Picture in Picture ts-remux

Richard tuxbox.guru at gmail.com
Fri Apr 13 09:56:36 PDT 2012


Fixed it...

For some reason a framerate=5/1 is not acceptable... changed that to
25/1 and it was happy from there on.

Richard

On 13 April 2012 14:11, Richard <tuxbox.guru at gmail.com> wrote:
> Hi all,
>
> I am trying to get a picture-in-picture image working and the below
> video mixer command seems to do the trick when using the ximagesink,
> but when I change to mpeg2enc ! mpegtsmux ! filesink
> location=/tmp/out/ts the videobox does not link to the mixer.
>
> (putting a snow icon on the top of the TS video)
>
>
> gst-launch -e videomixer name=mix ! ffmpegcolorspace ! xvimagesink \
> videotestsrc pattern=1 !
> video/x-raw-yuv,framerate=5/1,width=20,height=20 ! videoscale !
> videobox border-alpha=0 top=0 left=0 ! mix. \
> filesrc location=BBC1_DVBS.ts ! decodebin name=demux ! videoscale ! mix.
>
> This is the command I am using that gives the error.. I have tried
> adding a ! ffmpegcolorspace ! before the mix. and the error just
> moved.
>
> [Command]
>  gst-launch -e videomixer name=mix ! ffmpegcolorspace ! mpeg2enc !
> mpegtsmux name=mux ! filesink location=/tmp/a.ts videotestsrc
> pattern=1 ! video/x-raw-yuv,framerate=5/1,width=20,height=20 !
> videoscale ! videobox border-alpha=0 top=0 left=0 ! mix. filesrc
> location=BBC1_DVBS.ts ! decodebin name=demux ! videoscale ! mix.
> [/end command]
> WARNING: erroneous pipeline: could not link videobox0 to mix
>
> The main difference is the final sink destination. Can anyone shed
> some light why ximagesink works but a mpeg sink fails?
>
> Regards,
> Richard


More information about the gstreamer-devel mailing list