#/bin/bash #casio_prototype.sh gst-launch \ videotestsrc pattern=2 ! \ videorate ! \ videoscale ! \ video/x-raw-yuv,format=\(fourcc\)I420,width=112,height=80,rate=\(fraction\)4/1 ! \ ffmpegcolorspace ! \ textoverlay ! \ ffmpegcolorspace ! \ tee ! \ queue ! \ mix. \ filesrc location=video.ogg ! \ decodebin ! \ queue ! \ videoscale ! \ video/x-raw-yuv,format=\(fourcc\)AYUV,width=320,height=240 ! \ ffmpegcolorspace ! \ videomixer name=mix ! \ ffmpegcolorspace ! \ videoscale ! \ sdlvideosink \ videotestsrc pattern=1 ! \ videoscale ! \ video/x-raw-yuv,format=\(fourcc\)I420,width=320,height=240 ! \ ffmpegcolorspace ! \ tee ! \ queue ! \ mix. \ $ ./casio_prototype.sh Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /pipeline0/decodebin0/oggdemux0: Internal data stream error. Additional debug info: gstoggdemux.c(3085): gst_ogg_demux_loop (): /pipeline0/decodebin0/oggdemux0: stream stopped, reason error ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... FREEING pipeline ... $ ./casio_prototype.sh 2>&1 | grep -i error0:00:04.778585000 17953 0xb3a24890 LOG GST_SCHEDULING gstpad.c:3455:gst_pad_chain_unchecked: called chainfunction &0xb3baa0b0, returned error 0:00:04.778655000 17953 0xb3a24890 LOG queue_dataflow gstqueue.c:1010:gst_queue_loop: pause task, reason: error 0:00:04.778830000 17953 0x81e3328 LOG queue_dataflow gstqueue.c:910:gst_queue_chain: exit because task paused, reason: error 0:00:04.778897000 17953 0x81e3328 LOG GST_SCHEDULING gstpad.c:3455:gst_pad_chain_unchecked: called chainfunction &gst_queue_chain, returned error 0:00:04.778935000 17953 0x81e3328 WARN oggdemux gstoggdemux.c:1113:gst_ogg_pad_stream_out: could not submit packet for stream 37110686, error: -5 0:00:04.778976000 17953 0x81e3328 LOG oggdemux gstoggdemux.c:3058:gst_ogg_demux_loop: pausing task, reason error 0:00:04.779045000 17953 0x81e3328 WARN oggdemux gstoggdemux.c:3085:gst_ogg_demux_loop: error: Internal data stream error. 0:00:04.779062000 17953 0x81e3328 WARN oggdemux gstoggdemux.c:3085:gst_ogg_demux_loop: error: stream stopped, reason error 0:00:04.779219000 17953 0x81e3328 INFO GST_ERROR_SYSTEM gstelement.c:1619:gst_element_message_full: posting message: Internal data stream error. 0:00:04.779287000 17953 0x81e3328 LOG GST_MESSAGE gstmessage.c:287:gst_message_new_custom: source oggdemux0: creating new message 0x81e5418 error 0:00:04.779338000 17953 0x81e3328 DEBUG GST_BUS gstbus.c:335:gst_bus_post: [msg 0x81e5418] posting on bus, type error, GstMessageError, gerror=(GstGError)(NULL), debug=(string)"gstoggdemux.c\(3085\):\ gst_ogg_demux_loop\ \(\):\ /pipeline0/decodebin0/oggdemux0:\012stream\ stopped\,\ reason\ error" 0:00:04.779388000 17953 0x81e3328 DEBUG bin gstbin.c:2623:gst_bin_handle_message_func: [msg 0x81e5418] handling child oggdemux0 message of type error 0:00:04.779439000 17953 0x81e3328 DEBUG GST_BUS gstbus.c:335:gst_bus_post: [msg 0x81e5418] posting on bus, type error, GstMessageError, gerror=(GstGError)(NULL), debug=(string)"gstoggdemux.c\(3085\):\ gst_ogg_demux_loop\ \(\):\ /pipeline0/decodebin0/oggdemux0:\012stream\ stopped\,\ reason\ error" 0:00:04.779487000 17953 0x81e3328 DEBUG bin gstbin.c:2623:gst_bin_handle_message_func: [msg 0x81e5418] handling child oggdemux0 message of type error 0:00:04.779538000 17953 0x81e3328 DEBUG GST_BUS gstbus.c:335:gst_bus_post: [msg 0x81e5418] posting on bus, type error, GstMessageError, gerror=(GstGError)(NULL), debug=(string)"gstoggdemux.c\(3085\):\ gst_ogg_demux_loop\ \(\):\ /pipeline0/decodebin0/oggdemux0:\012stream\ stopped\,\ reason\ error" 0:00:04.779732000 17953 0x81e3328 INFO GST_ERROR_SYSTEM gstelement.c:1642:gst_element_message_full: posted error message: Internal data stream error. 0:00:04.779633000 17953 0x804e050 DEBUG GST_BUS gstbus.c:523:gst_bus_timed_pop: pop from bus, have 1 messages, got message 0x81e5418, error ERROR: from element /pipeline0/decodebin0/oggdemux0: Internal data stream error. stream stopped, reason error ERROR: pipeline doesn't want to preroll.