[gst-devel] CLI player

ram kumar heyram_2002 at yahoo.com
Mon Dec 4 11:16:55 CET 2006


hi,
    Iam able to build a simple CLI player.For that i
had built "mp3parse" mpegaudio parser,"mad" mad
decoder "directsoundsink" directsound for output...And
my piece of code is pipeline = gst_pipeline_new
("audio-player");
source = gst_element_factory_make ("filesrc",
"file-source");
parser = gst_element_factory_make ("mp3parse",
"mp3-parser");
decoder = gst_element_factory_make ("mad",
"mp3-decoder");
conv = gst_element_factory_make ("audioconvert",
"converter");
sink = gst_element_factory_make ("directsoundsink",
"directsound-output");
if (!pipeline || !source || !parser || !decoder ||
!conv || !sink) {
g_print ("One element could not be created\n");
and i didn't get any error msg and the exe got
created..When play an mp3 file it says that
gstreamer/gst/gstinfo.c:line 413:assertion 'category
!=NULL' failed and iam not able to hear anything in
the speaker...Pls give me solution.....
1.whether it would be any problem with the file iam
trying to play..
2.or whether the directsound DLL may ne corrupt...


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com




More information about the gstreamer-devel mailing list