[gst-devel] Simulating a video camera with a file

Tristan Matthews tristan at sat.qc.ca
Wed Feb 10 20:07:07 CET 2010


2010/2/10 katarina.balac at usi.ch <katarina.balac at usi.ch>

>
> Thank you very much for your answer. Unfortunately, this returns the error
> ERROR: from element
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind:
> Could not determine type of stream
> Is there anything else I can try?
>
>
I would focus on just trying to play it first. I tried the first file,
akiyo.yuv with a few different programs to no avail. It doesn't have any
header info as it appears to just be raw video data. You could try setting a
capsfilter with different caps, i.e.
gst-launch -v filesrc ! video/x-raw-yuv, .... ! decodebin ! xvimagesink
but i'm not sure how this will work since I don't think the files have a
fourcc.

Good luck,
Tristan


> Thanks,
> Katarina
>
>
> > Hello,
> >
> > I am trying to read raw video data from a file and then encode it using
> > theora encoder. I would like to use standard test videos such as these:
> > http://media.xiph.org/video/derf/  (uncompressed YUV4MPEG, says it is
> the
> > format accepted by the Theora encoder tools)
> > http://trace.eas.asu.edu/yuv/
> >
> > I have tried with a pipeline like this: filesrc | ffmpegcolorspace |
> > theoraenc | oggmux | filesink and the videos from the links above but I
> am
> > getting the Error: not negotiated.
> >
> >
> Try:
> filesrc ! decodebin | ffmpegcolorspace | theoraenc | oggmux | filesink
>
> decodebin is an element to "Autoplug and decode to raw media"
>
> -Tristan
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Tristan Matthews
email: tristan at sat.qc.ca
web: http://tristanswork.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100210/0bccd038/attachment.htm>


More information about the gstreamer-devel mailing list