Playbin works but playbin3 doesn't for the same stream

deepthips deepthips at tataelxsi.co.in
Mon Mar 12 12:29:06 UTC 2018


I am trying to play the same stream using playbin and playbin3. It played
fine when using playbin, but didnt when using playbin3.

The stream is having:
Video: mpeg2video
Audio : ac3

Analyzed the plugins selected when using both playbin and playbin3 by using
dot files.
playbin (worked) : filesrc ! tsdemux ! mpegvideoparse ! omxmpeg2videodec !
glimagesink
playbin3 (didnt work) : filesrc ! tsdemux ! h264parse ! omxh264dec !
playsink

Why playbin3 selected h264parse when stream was mpeg2ts.
mpegvideoparse : 
rank = primary+1
bad plugin
caps: video/mpeg [1,2]

h264parse
rank = primary+1
bad plugin
caps: video/x-h264

It still would have worked for playbin3 if the pipeline was filesrc !
tsdemux ! h264parse ! omxh264dec ! glimagesink

playsink
rank : 0

glimagesink 
rank : Secondary

Why playbin3 selected rank 0 over rank secondary. Why playbin3 selected
h264parse when stream was mpeg2ts. How can I make playbin3 working.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list