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

Tristan Matthews tristan at sat.qc.ca
Tue Feb 9 19:34:58 CET 2010


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

>
> 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



> Everything works if I substitute the file source with the test source
> videotestsrc or a webcam v4l2src but this does not allow me to use standard
> test videos.
> Is something missing in my pipeline or am I using the wrong format?
> Any suggestions will be appreciated.
>
> Thank you in advance,
> Katarina
>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> 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/20100209/35fbfa42/attachment.htm>


More information about the gstreamer-devel mailing list