[gst-devel] playing ogg problem

laurent belmonte laurent.belmonte at aliacom.fr
Wed Jun 23 00:29:16 CEST 2004


Hi,

I am porting my program from gst-0.6 to gst-0.8 and i have a simple
problem. 
I can't play ogg file. With gst-launch, it is just work fine but with my
code it doesn't.


gst-launch-0.8 filesrc location=toto.ogg ! oggdemux ! vorbisdec  !
audioconvert ! esdsink

so if someone can look at my code and explain me why it doesn't, i will
be happy 

to compile :
gcc -c main.c `pkg-config --cflags gstreamer-0.8`
gcc -o test main.o `pkg-config --libs  gstreamer-0.8`

and to launch : 
./test test.ogg

Thanks for any help,

LaurentB

-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.c
Type: text/x-csrc
Size: 1344 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20040623/2390227c/attachment.c>


More information about the gstreamer-devel mailing list