Hi,

I am using gstreamer port in android. When i tried to play an mp3 file over
http, it reported error.


GstPlayer.cpp:35, GstPlayer(): Enter
D/GstPlayer(  823): [835], DEBUG   GstPlayerPipeline.cpp:460,
GstPlayerPipeline(): Enter
D/GstPlayer(  823): [835], DEBUG   GstPlayerPipeline.cpp:200, init_gst():
Check gstreamer environment variables.
D/GstPlayer(  823): [835], DEBUG   GstPlayerPipeline.cpp:201, init_gst():
GST_PLUGIN_PATH="/system/plugins"
D/GstPlayer(  823): [835], DEBUG   GstPlayerPipeline.cpp:202, init_gst():
LD_LIBRARY_PATH="/system/lib"
D/GstPlayer(  823): [835], DEBUG   GstPlayerPipeline.cpp:203, init_gst():
GST_REGISTRY="/sdcard/reg.bin"
D/GstPlayer(  823): [835], DEBUG   GstPlayerPipeline.cpp:237, init_gst():
Gst has been initialized
D/GstPlayer(  823): [835], DEBUG   GstPlayerPipeline.cpp:576,
create_pipeline(): Pipeline is created successfully
D/GstPlayer(  823): [835], DEBUG   GstPlayerPipeline.cpp:501,
GstPlayerPipeline(): Leave
D/GstPlayer(  823): [835], DEBUG   GstPlayer.cpp:45, GstPlayer(): Leave
D/GstPlayer(  823): [835], DEBUG   GstPlayer.cpp:50, initCheck(): mInit = OK
D/GstPlayer(  823): [835], DEBUG   GstPlayerPipeline.cpp:674,
setDataSource(): Enter, url=
http://play.last.fm/user/902c6e92fd6fc3471a51dd7b8ea67c72.mp3
D/GstPlayer(  823): [835], DEBUG   GstPlayerPipeline.cpp:712,
setDataSource(): playbin2 uri:
http://play.last.fm/user/902c6e92fd6fc3471a51dd7b8ea67c72.mp3
D/GstPlayer(  823): [835], DEBUG   gstplaybin2.c:1031:gst_play_bin_set_uri:
set new uri to http://play.last.fm/user/902c6e92fd6fc3471a51dd7b8ea67c72.mp3
D/GstPlayer(  823): [835], DEBUG   GstPlayerPipeline.cpp:789,
setAudioSink(): MediaPlayerInterface::AudioSink: 0x6f3d8
D/GstPlayer(  823): [1000], DEBUG   GstPlayerPipeline.cpp:888,
prepareAsync(): Enter
D/GstPlayer(  823): [1000], DEBUG   gstplaybin2.c:2308:setup_next_source:
setup sources
D/GstPlayer(  823): [1017], DEBUG   GstPlayerPipeline.cpp:252,
bus_callback(): Get state-changed Message From playsink4
D/GstPlayer(  823): [1000], DEBUG   gstplaybin2.c:2132:activate_group:
making new uridecodebin
D/GstPlayer(  823): [1000], DEBUG   gsturidecodebin.c:1324:setup_source:
setup source
W/GstPlayer(  823): [1000], WARN
gsturidecodebin.c:835:gen_source_element: error: No URI handler implemented
for "http".
D/GstPlayer(  823): [1000], DEBUG   gstplaybin2.c:2245:activate_group:
failed state change of uridecodebin
D/GstPlayer(  823): [1000], DEBUG   gstplaybin2.c:2344:setup_next_source:
activate failed
D/GstPlayer(  823): [1000], DEBUG   GstPlayerPipeline.cpp:890,
prepareAsync(): state_return = 0
E/GstPlayer(  823): [1000], ERROR   GstPlayerPipeline.cpp:893,
prepareAsync(): Fail to set pipeline to PAUSED
D/GstPlayer(  823): [1017], DEBUG   GstPlayerPipeline.cpp:1318,
handleStateChanged(): State changed message: playsink4, old-1, new-2,
pending-0
D/GstPlayer(  823): [1017], DEBUG   GstPlayerPipeline.cpp:252,
bus_callback(): Get state-changed Message From playbin24
D/GstPlayer(  823): [1017], DEBUG   GstPlayerPipeline.cpp:1318,
handleStateChanged(): State changed message: playbin24, old-1, new-2,
pending-3
D/GstPlayer(  823): [1017], DEBUG   GstPlayerPipeline.cpp:252,
bus_callback(): Get state-changed Message From uridecodebin4
D/GstPlayer(  823): [1017], DEBUG   GstPlayerPipeline.cpp:1318,
handleStateChanged(): State changed message: uridecodebin4, old-1, new-2,
pending-3
D/GstPlayer(  823): [1017], DEBUG   GstPlayerPipeline.cpp:252,
bus_callback(): Get error Message From uridecodebin4
D/GstPlayer(  823): [1017], DEBUG   GstPlayerPipeline.cpp:1277,
handleError(): gst-resource-error-quark error(1): No URI handler implemented
for "http". debug: exter4
E/MediaPlayer(  960): error (1, 0)



Is gstreamer supports http other than rtp,rtsp. if so, any plugin have to be
ported.

Thanks and Regards,
HarishKumar.V

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to