Only the original webm file seems to be played properly using playbin

Lasse Laursen gazoo at 42.dk
Tue Dec 3 23:18:20 PST 2013


Hey gStreamer folks,

While I have another help-me thread going on, this particular problem 
seems to be so base, I thought I'd start another thread as others might 
have encountered this isolated issue.

The topic essentially says it all. I recently installed gStreamer 1.2.1 
and got things up and running using the executable tools as well as 
within Visual Studio 2013.

I've downloaded a few different files .mpg (mpeg-1 I believe), converted 
one to mp4, as well as two different .webm and a .mov file. Only the 
.webm file I found via a tutorial executes and runs well (synchronized 
sound/video and no visual artifacts) using the gst-launch tool (and 
playbin). It also functions pretty ok within Vs2013, albeit a little 
more choppy.

(Src = http://docs.gstreamer.com/media/sintel_trailer-480p.webm )

However - I can't get any of the other files to run properly. The other 
.webm file runs with some serious visual artifacts, as seen here:

http://picpaste.com/gstreamer-9ioJGbJk.jpg

The rest of the files all result in error messages.

An .mpg file error:

D:\SDKS\gstreamer\1.0\x86\bin>gst-launch-1.0.exe playbin 
uri=file:///D:/vids/boxdancing.mpg
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Missing element: MPEG-1 Video decoder
WARNING: from element 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available 
for type 'video/mpeg, mpegversion=(int)1, systemstream=(boolean)false, 
parsed=(boolean)true, width=(int)320, height=(int)240, 
framerate=(fraction)30000/1001, pixel-aspect-ratio=(fraction)1/1, 
codec_data=(buffer)000001b31400f01402ee20a4'.
Additional debug info:
gsturidecodebin.c(930): unknown_type_cb (): 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
ERROR: from element 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0: 
Your GStreamer installation is missing a plug-in.
Additional debug info:
gstdecodebin2.c(3896): gst_decode_bin_expose (): 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
no suitable plugins found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

A .mov file error:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Missing element: H.264 decoder
Missing element: MPEG-4 AAC decoder
WARNING: from element 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available 
for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, 
stream-format=(string)raw, level=(string)4, base-profile=(string)lc, 
profile=(string)lc, codec_data=(buffer)11b0, rate=(int)48000, 
channels=(int)6, channel-mask=(bitmask)0x0000000000000000'.
Additional debug info:
gsturidecodebin.c(930): unknown_type_cb (): 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
WARNING: from element 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available 
for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, 
level=(string)3, profile=(string)main, 
codec_data=(buffer)014d401effe10015274d401ea9181b07bcde00d4040406db0ad7bdf01001000428de09c8, 
width=(int)853, height=(int)480, framerate=(fraction)25/1, 
pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true'.
Additional debug info:
gsturidecodebin.c(930): unknown_type_cb (): 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
ERROR: from element 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0: 
Your GStreamer installation is missing a plug-in.
Additional debug info:
gstdecodebin2.c(3896): gst_decode_bin_expose (): 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
no suitable plugins found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

A .mp4 file error:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Missing element: H.264 decoder
WARNING: from element 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available 
for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, 
level=(string)4, profile=(string)main, 
codec_data=(buffer)014d4028ffe10020674d4028eca0a043f11ff92ab92c03505010640000030004000afc803c60c65801000468ef86f2, 
width=(int)320, height=(int)242, framerate=(fraction)1500/61, 
pixel-aspect-ratio=(fraction)9559/9600, parsed=(boolean)true'.
Additional debug info:
gsturidecodebin.c(930): unknown_type_cb (): 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
ERROR: from element 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0: 
Your GStreamer installation is missing a plug-in.
Additional debug info:
gstdecodebin2.c(3896): gst_decode_bin_expose (): 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
no suitable plugins found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

-------

It doesn't take a genius to see that gStreamer is missing the elements 
for decoding these other files. But aren't these supposed to be present 
with the base install? I basically just installed the standard version 
of the gStreamer SDK. Even more confusing is the fact that the webm 
decoder elements can be found, but not the rest?

It's also confusing for me that one .webm file runs and decodes 
seemingly flawlessly, but the other does not?

I've set my windows PATH to point to my gStreamer SDK as well as user 
variables for GST_PLUGIN_PATH and GSTREAMER_1_0_ROOT_X86. There must be 
something I'm over looking.

Any ideas?

Regards,
Lasse


More information about the gstreamer-devel mailing list