Hi All,
I can't get gstvideoparse to recognize my raw video format. The following works gst-launch-0.10 videotestsrc num-buffers=100 ! \ video/x-raw-yuv,format=\(fourcc\)"I420",width=640,height=480 ! filesink location=video.yuv cat ./video.yuv | gst-launch-0.10 fdsrc ! \ videoparse format="i420" width=640 height=480 ! xvimagesink But I do not have Y420, I have gray8 (aka Y800?). The following *does not work* gst-launch-0.10 videotestsrc num-buffers=100 ! \ video/x-raw-gray,width=640,height=480 ! filesink location=video.raw cat ./video.raw | gst-launch-0.10 fdsrc ! \ videoparse format="gray8" width=640 height=480 ! xvimagesink It dies withSetting pipeline to PAUSED ... Pipeline is PREROLLING ... /GstPipeline:pipeline0/GstVideoParse:videoparse0.GstPad:src: caps = video/x-raw-gray, bpp=(int)8, depth=(int)8, width=(int)640, height=(int)480, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1 ERROR: from element /GstPipeline:pipeline0/GstFdSrc:fdsrc0: Internal data flow error. Additional debug info: gstbasesrc.c(2625): gst_base_src_loop (): /GstPipeline:pipeline0/GstFdSrc:fdsrc0: streaming task paused, reason not-negotiated (-4) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... /GstPipeline:pipeline0/GstVideoParse:videoparse0.GstPad:src: caps = NULL Any ideas? John _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On 06/25/2012 04:13 PM, John Stowers wrote:
> Hi All, > > I can't get gstvideoparse to recognize my raw video format. The following works > > gst-launch-0.10 videotestsrc num-buffers=100 ! \ > video/x-raw-yuv,format=\(fourcc\)"I420",width=640,height=480 ! > filesink location=video.yuv > > cat ./video.yuv | gst-launch-0.10 fdsrc ! \ > videoparse format="i420" width=640 height=480 ! xvimagesink > > But I do not have Y420, I have gray8 (aka Y800?). The following *does not work* > > gst-launch-0.10 videotestsrc num-buffers=100 ! \ > video/x-raw-gray,width=640,height=480 ! filesink location=video.raw > > cat ./video.raw | gst-launch-0.10 fdsrc ! \ > videoparse format="gray8" width=640 height=480 ! xvimagesink this won't work, xvimagesink doesn't accept gray8, use ffmpegcolorspace before xvimagesink to convert it. Wim > > It dies withSetting pipeline to PAUSED ... > Pipeline is PREROLLING ... > /GstPipeline:pipeline0/GstVideoParse:videoparse0.GstPad:src: caps = > video/x-raw-gray, bpp=(int)8, depth=(int)8, width=(int)640, > height=(int)480, framerate=(fraction)25/1, > pixel-aspect-ratio=(fraction)1/1 > ERROR: from element /GstPipeline:pipeline0/GstFdSrc:fdsrc0: Internal > data flow error. > Additional debug info: > gstbasesrc.c(2625): gst_base_src_loop (): > /GstPipeline:pipeline0/GstFdSrc:fdsrc0: > streaming task paused, reason not-negotiated (-4) > ERROR: pipeline doesn't want to preroll. > Setting pipeline to NULL ... > /GstPipeline:pipeline0/GstVideoParse:videoparse0.GstPad:src: caps = NULL > > Any ideas? > > John > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
>> cat ./video.raw | gst-launch-0.10 fdsrc ! \
>> videoparse format="gray8" width=640 height=480 ! xvimagesink > > > this won't work, xvimagesink doesn't accept gray8, use ffmpegcolorspace > before > xvimagesink to convert it. That works thanks. FWIW I wasted some time assuming it was because I hadn't or couldn't set the bpp correctly, getting confused because despite their being a bpp property here http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-videoparse.html I was unable to set it. Thanks for your help John _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |