[완료] 자막과 동영상을 동시에 토템으로 재생할때 발생하는 오류의 해결방법은?
글쓴이: 회니 / 작성시간: 수, 2007/07/25 - 10:57오후
우선은 위의 질답문을 참조하여 따라 하였습니다.
모든 로그는 정상적으로 출력되었습니다.
(GST_DEBUG=decodebin:4,decodebin2:4 totem blahblah.avi 로그는 첨부하였습니다.)
동영상과 자막을 동시에 재생하면 Internal data flow error 메시지는 발생하지 않지만, 토템이 멈춰버립니다.
역시 동영상만 재생하면 잘됩니다.
어떻게 해야 합니까?
임시로 자막과 동영상을 같이 재생할 경우에는 vlc를 사용하고 있습니다.
참조 : http://kldp.org/node/81499
echo $USE_DECODEBIN2 1 gst-inspect decodebin2 Factory Details: Long name: Decoder Bin Class: Generic/Bin/Decoder Description: Autoplug and decode to raw media Author(s): Edward Hervey <edward@fluendo.com> Rank: none (0) Plugin Details: Name: decodebin2 Description: decoder bin newer version Filename: /usr/lib64/gstreamer-0.10/libgstdecodebin2.so Version: 0.10.12 License: LGPL Source module: gst-plugins-base Binary package: Fedora Core gstreamer-plugins-base package Origin URL: <a href="http://download.fedora.redhat.com/fedora GObject " rel="nofollow">http://download.fedora.redhat.com/fedora GObject </a> +----GstObject +----GstElement +----GstBin +----GstDecodeBin2 Implemented Interfaces: GstChildProxy Pad Templates: SINK template: 'sink' Availability: Always Capabilities: ANY SRC template: 'src%d' Availability: Sometimes Capabilities: ANY Element Flags: no flags set Bin Flags: no flags set Element Implementation: No loopfunc(), must be chain-based or not configured yet Has change_state() function: gst_decode_bin_change_state Has custom save_thyself() function: gst_bin_save_thyself Has custom restore_thyself() function: gst_bin_restore_thyself Clocking Interaction: element requires a clock element is supposed to provide a clock but returned NULL Indexing capabilities: element can do indexing Pads: SINK: 'sink' Implementation: Has chainfunc(): gst_proxy_pad_do_chain Has custom eventfunc(): gst_proxy_pad_do_event Has custom queryfunc(): gst_proxy_pad_do_query Provides query types: Has custom intconnfunc(): gst_proxy_pad_do_internal_link Has bufferallocfunc(): gst_proxy_pad_do_bufferalloc Element Properties: name : The name of the object flags: readable, writable String. Default: null Current: "decodebin20" caps : The caps on which to stop decoding. flags: readable, writable video/x-raw-yuv video/x-raw-rgb video/x-raw-gray audio/x-raw-int audio/x-raw-float text/plain text/x-pango-markup Element Signals: "new-decoded-pad" : void user_function (GstElement* object, GstPad* arg0, gboolean arg1, gpointer user_data); "removed-decoded-pad" : void user_function (GstElement* object, GstPad* arg0, gpointer user_data); "unknown-type" : void user_function (GstElement* object, GstPad* arg0, GstCaps* arg1, gpointer user_data); "autoplug-continue" : gboolean user_function (GstElement* object, GstCaps* arg0, gpointer user_data); "autoplug-sort" : gboolean user_function (GstElement* object, GstCaps* arg0, gpointer arg1, gpointer user_data); Children: async-fakesink typefind
File attachments:
첨부 | 파일 크기 |
---|---|
![]() | 67.75 KB |
Forums:
답변이라고 하긴 좀
답변이라고 하긴 좀 그렇지만, 토템을 껐다가 켜면 될 때도 있더군요. -_-;;
말씀대로
몇번씩 껐다가 켜도, 재부팅해도 동일한 현상이 발생합니다.
동일한 이슈가 있는 사람은 없으신가요?
해결했습니다.
아마도 gstreamer의 0.10.12버전에 버그가 있었나 봅니다.
gstreamer-plugins-base-0.10.13으로 업데이트 하니, USE_DECODEBIN2변수설정에 관계없이 양쪽다 자막이 잘 나옵니다.
간단하게 아래와 같이하면 됩니다.
yum -y update gstreamer*
패키지의 링크도 걸어두도록 하겠습니다.
http://download.fedora.redhat.com/pub/fedora/linux/updates/7/x86_64/gstreamer-0.10.13-0.1.fc7.x86_64.rpm
http://download.fedora.redhat.com/pub/fedora/linux/updates/7/x86_64/gstreamer-0.10.13-0.1.fc7.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/updates/7/x86_64/gstreamer-tools-0.10.13-0.1.fc7.x86_64.rpm
http://download.fedora.redhat.com/pub/fedora/linux/updates/7/i386/gstreamer-tools-0.10.13-0.1.fc7.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/updates/7/x86_64/gstreamer-plugins-base-0.10.13-1.fc7.x86_64.rpm
http://download.fedora.redhat.com/pub/fedora/linux/updates/7/x86_64/gstreamer-plugins-base-0.10.13-1.fc7.i386.rpm
댓글 달기