[gst-devel] [mpeg2dec] not negotiated after aspect change?

Michael Smith msmith at xiph.org
Sat May 16 20:43:34 CEST 2009


On Sat, May 16, 2009 at 10:45 AM, Thomas Loewe <lazyt at gmx.net> wrote:
>
> Hi,
>
> i'm using the following Pipeline to show a TS-Video:
>
>     gst-launch filesrc location=video.ts ! mpegtsdemux name=dmx dmx. !
> queue2 max-size-buffers=0 max-size-time=0 ! mpeg2dec ! directdrawsink dmx. !
> queue2 max-size-buffers=0 max-size-time=0 ! mad ! audioconvert !
> directsoundsink
>
> which works fine.
>
> This Transportstream contains an Aspectchange from 16:9 <-> 4:3 and at this
> Point the Pipeline stops with:
>
>     mpeg2dec gstmpeg2dec.c:1002:handle_slice:<mpeg2dec0> pushed with result
> not-negotiated
>     mpeg2dec gstmpeg2dec.c:1227:gst_mpeg2dec_chain:<mpeg2dec0> exit loop,
> reason not-negotiated

This looks like it's because directdrawsink won't accept the changed caps.

Since directdrawsink is low quality, very buggy, and deprecated, you
probably shouldn't use it anyway.

Maybe one of the other windows video sinks can handle this better - or
at least could be changed to handle it better. dshowvideosink or the
gl sink are the supported options.

Mike




More information about the gstreamer-devel mailing list