[gst-devel] video file and pad...

Erwan Masson masson.erwan1 at gmail.com
Mon May 14 17:04:02 CEST 2007


Hi,
I have try some test, it seems if you dont put the pipevideo to pause, and
you put pieAudio to play it works.
I dont know why, moreover if I put your main pipeline to play it crashes, in
my code it dont crashes.

For your notify caps, I have never be able to retrieves info, I use have
type callback.

For your have data function, I would have make a hand off callback instead.

This code works fine with me.
Try it,
Erwan

2007/5/14, fabien <fabien.castan at free.fr>:
>
> Thank you for your fast answer.
> But I did remove the capsfilter but it still doesn't work... :(
> From time to time, the sound begins to play and stop after 2 seconds or
> so and I get no video.
> Fabien
>
> Erwan Masson a écrit :
> > Hello,
> >  Remove the capsfilter and it will works:) .
> > I used capsfilter linked with fakesink to grab each frame in a
> > specific format(with a hand off signal).
> >  Erwan
> >
> >
> > 2007/5/14, Michael Smith < msmith at fluendo.com
> > <mailto:msmith at fluendo.com>>:
> >
> >     On Mon, 2007-05-14 at 14:14 +0200, fabien wrote:
> >     > Hello,
> >     > I tested your code, but it still doesn't work. If I comment the
> >     video
> >     > part, the audio is playing (from avi file but not from mpeg..).
> >     So it
> >     > must be an error on the video pipeline. I made a sketch of the
> >     pipeline...
> >     > If anyone could find the error, it would be of great help for me.
> >     > Thank you
> >     >
> >
> >     You're using a capsfilter to force a particular pixel format,
> >     size, and
> >     framerate.
> >
> >     You use ffmpegcolorspace (which can convert to the required pixel
> >     format), but you don't have anything to convert to the size and
> >     framerate you're asking for.
> >
> >     One specific problem you're likely to run into is that many files
> have
> >     non-square pixels, but ximagesink requires square pixels. You can
> use
> >     the 'videoscale' element to resize appropriately.
> >
> >     You can also try using videorate to change video framerate.
> >
> >     There may be other problems with your code, I didn't read it
> >     closely or
> >     try it myself.
> >
> >     Mike
> >
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070514/99278364/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exampleNew.c
Type: text/x-csrc
Size: 13750 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070514/99278364/attachment.c>


More information about the gstreamer-devel mailing list