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