newbie gstreamer sdk problem

Andoni Morales ylatuya at gmail.com
Thu Nov 15 16:02:38 PST 2012


2012/11/15 Perdie Perduta <rsperduta at gmail.com>:
> I just got the gstreamer SDK for Windows from
> http://docs.gstreamer.com/display/GstSDK/Installing+on+Windows and the
> tutorials seem to compile and run which is a good start. :)
>
> Then as suggested in the first tutorial I edited the source code to
> specify a local file and it doesn't work :(
>
> I tested the link by Ctrl clicking it in the source code in visual
> studio and windows media player then opens and plays my media no
> problem. I tried an .avi file as well as .mp4 file and neither of them
> will render on gstreamer :(
>
> IOW in basic-tutorial-1.c I replaced the line:
>
> pipeline = gst_parse_launch ("playbin2
> uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL);

Hi,

You are missing a slash, it should be file:// + /d:/path/to/file. It's
a bit weird but even if it's a windows-style path, it should start
with a slash. We will update the docs to make this clear.

Andoni
>
> with:
>
> pipeline = gst_parse_launch ("playbin2
> uri=file://D:/AudioDriver/sample.avi", NULL);
>
> what could be going wrong?
> Thanks for any help :)
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es


More information about the gstreamer-devel mailing list