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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 <[hidden email]> 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
The GStreamer version im using :
Name : gstreamer Arch : i386 Version : 0.10.21 On Wed, Apr 15, 2009 at 1:18 PM, ved kpl <[hidden email]> wrote: Hi, ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 <[hidden email]> 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 <[hidden email]> 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 >> <[hidden email]> 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 >> > [hidden email] >> > 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 >> [hidden email] >> 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 <[hidden email]> wrote: gst-ffmpeg version? ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 <[hidden email]> 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 <[hidden email]> 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 >> <[hidden email]> 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 <[hidden email]> 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 >> >> <[hidden email]> 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 >> >> > [hidden email] >> >> > 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 >> >> [hidden email] >> >> 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 >> > [hidden email] >> > 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 >> [hidden email] >> 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hm. Thanks a lot.
Regards, Nikhil. On Wed, Apr 15, 2009 at 3:35 PM, ved kpl <[hidden email]> wrote: Hi, ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by ved kpl
hello,
Could you please post the working command for gst-launch with data rate property set. I'm trying the following command but couldn't able to get the correct video output. gst-launch-0.10 filesrc location="/home/damodar/Desktop/TsFile/newsink.yuv" num_buffers=3041280 blocksize=152064 ! video/x-raw-yuv,format = \(fourcc\)I420, width =352,height=288, framerate=30/1 ! ffenc_mpeg2video ! ffdec_mpeg2video ! ffmpegcolorspace ! videoscale ! ximagesink Thanks in advance Suvir |
Free forum by Nabble | Edit this page |