[gst-devel] Erroneous pipeline

nikhil almalkar nikhil.almalkar at gmail.com
Wed Apr 15 12:13:14 CEST 2009


Hm. Thanks a lot.

Regards,
Nikhil.

On Wed, Apr 15, 2009 at 3:35 PM, ved kpl <ved.kpl at gmail.com> wrote:

> Hi,
>
> >From the logs (Warning: AVFrame.pts=? trying to guess (1)),it seemed
> that the ffmpeg part needs  timestamped data and since the frames were
> coming directly from filesrc (without any timestamping), it was trying
> to guess and probably dropping the frames (i think!! :) ), making the
> pipeline race to EOS quickly.
>
> Inserting the identity will timestamp the frames as per the framerate.
> This is usually helpful, when reading from a file or so. Not when a
> live source is involved. (as live source may drop the frames, or will
> not always yield the frames as per the expected fps)
>
> ~ Regards
> Ved
>
> On Wed, Apr 15, 2009 at 3:10 PM, nikhil almalkar
> <nikhil.almalkar at gmail.com> wrote:
> > Hi ,
> >
> > It worked,...
> >
> > Thanks alot....
> >
> > (btw, gst-ffmpeg : : 0.10.7 )
> >
> > What do you think was the reason for the pipeline not working without the
> > identity element  ?
> > If you can spare some time, ill be very thankful.
> >
> > Regards,
> >
> > Nikhil.
> >
> >
> > On Wed, Apr 15, 2009 at 2:08 PM, ved kpl <ved.kpl at gmail.com> wrote:
> >>
> >> gst-ffmpeg version?
> >>
> >> try putting identity after the filesrc with datarate property set to
> >> framesize * fps.
> >>
> >> ~ Regards
> >> Ved
> >>
> >> On Wed, Apr 15, 2009 at 1:58 PM, nikhil almalkar
> >> <nikhil.almalkar at gmail.com> wrote:
> >> > The GStreamer version im using :
> >> >
> >> > Name       : gstreamer
> >> > Arch       : i386
> >> > Version    : 0.10.21
> >> >
> >> >
> >> > On Wed, Apr 15, 2009 at 1:18 PM, ved kpl <ved.kpl at gmail.com> wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> The same pipeline worked for me.
> >> >> What version are you using?
> >> >>
> >> >> ~Regards
> >> >> Ved
> >> >>
> >> >> On Tue, Apr 14, 2009 at 7:42 PM, nikhil almalkar
> >> >> <nikhil.almalkar at gmail.com> wrote:
> >> >> > gst-launch-0.10 filesrc
> >> >> > location="/home/nikhil/project/Bitstream/foreman_part_cif.yuv"
> >> >> > blocksize=152064 ! video/x-raw-yuv,format = \(fourcc\)I420, width
> >> >> > =352,height=288, framerate=30/1 ! ffenc_mpeg2video !
> ffdec_mpeg2video
> >> >> > !
> >> >> > ffmpegcolorspace ! videoscale ! ximagesink
> >> >> >
> >> >> >
> >> >> > I am rying to execute above pipeline. The problem is only two
> frames
> >> >> > are
> >> >> > displayed. In the log there are :;;
> >> >> >
> >> >> >  ffmpeg :0:: Warning: AVFrame.pts=? trying to guess (1)
> >> >> > .............for
> >> >> > every frame.
> >> >> >
> >> >> >
> >> >> > also...
> >> >> >
> >> >> > basesrc gstbasesrc.c:2185:gst_base_src_loop:<filesrc0> pausing
> after
> >> >> > gst_base_src_get_range() = unexpected
> >> >> > Got EOS from element "pipeline0".
> >> >> >
> >> >> >
> >> >> > the help will be appreciated..
> >> >> >
> >> >> > I have already put up this query.. but I put it again with the
> >> >> > pipeline
> >> >> > here. Sorry for the inconvenience.
> >> >> >
> >> >> > Regards,
> >> >> >
> >> >> > Nikhil.
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> ------------------------------------------------------------------------------
> >> >> > This SF.net email is sponsored by:
> >> >> > High Quality Requirements in a Collaborative Environment.
> >> >> > Download a free trial of Rational Requirements Composer Now!
> >> >> > http://p.sf.net/sfu/www-ibm-com
> >> >> > _______________________________________________
> >> >> > gstreamer-devel mailing list
> >> >> > gstreamer-devel at lists.sourceforge.net
> >> >> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >>
> ------------------------------------------------------------------------------
> >> >> This SF.net email is sponsored by:
> >> >> High Quality Requirements in a Collaborative Environment.
> >> >> Download a free trial of Rational Requirements Composer Now!
> >> >> http://p.sf.net/sfu/www-ibm-com
> >> >> _______________________________________________
> >> >> gstreamer-devel mailing list
> >> >> gstreamer-devel at lists.sourceforge.net
> >> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >> >
> >> >
> >> >
> >> >
> ------------------------------------------------------------------------------
> >> > This SF.net email is sponsored by:
> >> > High Quality Requirements in a Collaborative Environment.
> >> > Download a free trial of Rational Requirements Composer Now!
> >> > http://p.sf.net/sfu/www-ibm-com
> >> > _______________________________________________
> >> > gstreamer-devel mailing list
> >> > gstreamer-devel at lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >> >
> >> >
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> This SF.net email is sponsored by:
> >> High Quality Requirements in a Collaborative Environment.
> >> Download a free trial of Rational Requirements Composer Now!
> >> http://p.sf.net/sfu/www-ibm-com
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> gstreamer-devel at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
> >
> ------------------------------------------------------------------------------
> > This SF.net email is sponsored by:
> > High Quality Requirements in a Collaborative Environment.
> > Download a free trial of Rational Requirements Composer Now!
> > http://p.sf.net/sfu/www-ibm-com
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090415/8e340fb4/attachment.htm>


More information about the gstreamer-devel mailing list