On Thu, 2012-10-25 at 16:52 -0400, Daniel Berlin wrote:
> I suspect it's not using hardware decoding. i can play
> big_buck_bunny_1080p_surround.avi with no cpu usage.
the cpu usage is not a problem i'm fighting with. the problem is the
gstreamer does not play video properly. and I could not figure out
what's wrong with my setup =((
> > and have compiled the latest build with almost same results.
> This should work, however, and i've verified it.
tried to get the latest with:
hg clone
http://hg.geexbox.org/geexbox
hg update geexbox-3.0
./scripts/loadcfg geexbox-xbmc-omap4-pandaboard
make
does this get me the latest version or something stale from the past?
> I do disable graphite/loop tree optimizations (the graphite options
> being used will at best do nothing, and at worst generate wrong code,
> and in 4.6, loop tree stuff is way too experimental.
ok, i'll try this next.
> Can you telnet in, verify you have gst-ducati install (opkg can show you)
"opkg list-installes" shows (besides other things):
gst-ducati - 1.6.5.1+bba7d3e-1
gst-ffmpeg - 0.10.13+a2edbf4-1
gst-plugins-bad - 0.10.23+c647d2a-1
gst-plugins-base - 0.10.36+7a5b437-1
gst-plugins-gl - 0.10.2-1
gst-plugins-good - 0.10.31+a270839-1
gst-plugins-ugly - 0.10.18+e294810-1
gstreamer - 0.10.36+27a7d77-1
is there anything out of order?
> grab the output of running "dmesg" and the output of:
http://pastebin.com/mtQjG1kg
> gst-launch-0.10 -tvm playbin2
> uri=file:///root/big_buck_bunny_1080p_surround.avi audio-sink=fakesink
> video-sink=fakesink
# gst-launch-0.10 -tvm playbin2
uri=file:///root/Big.Buck.Bunny.1080p.Surround.avi audio-sink=fakesink
video-sink=fakesink
Setting pipeline to PAUSED ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0:
ring-buffer-max-size = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration =
-1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: use-buffering =
FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri =
"file:///root/Big.Buck.Bunny.1080p.Surround.avi"
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed =
0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source =
(GstFileSrc) source
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = video/x-msvideo
Pipeline is PREROLLING ...
Got message #1 from element "streamsynchronizer0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #2 from element "playsink0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #3 from element "playbin20" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_PAUSED;
Got message #5 from element "uridecodebin0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #8 from element "streamsynchronizer0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #12 from element "typefind" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #13 from element "decodebin20" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_PAUSED;
Got message #31 from element "avidemux0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #32 from pad "avidemux0:sink" (stream-status):
GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_CREATE,
owner=(GstElement)"\(GstAviDemux\)\ avidemux0",
object=(GstTask)"\(GstTask\)\ task0";
Got message #33 from element "avidemux0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #34 from element "typefind" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #35 from element "source" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_PAUSED;
Got message #36 from element "source" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0.GstPad:sink: caps = video/x-msvideo
Got message #37 from pad "avidemux0:sink" (stream-status):
GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER,
owner=(GstElement)"\(GstAviDemux\)\ avidemux0",
object=(GstTask)"\(GstTask\)\ avidemux0:sink";
Got message #38 from element "multiqueue0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_PAUSED;
Got message #39 from element "multiqueue0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #49 from pad "multiqueue0:src0" (stream-status):
GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER,
owner=(GstElement)"\(GstMultiQueue\)\ multiqueue0",
object=(GstTask)"\(GstTask\)\ multiqueue0:src0";
Got message #57 from element "mpeg4vparse0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
libdce.c:437: init info: attempting to open X11 connection
Got message #72 from element "ducatimpeg4dec0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #75 from element "ducatimpeg4dec0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #76 from element "mpeg4vparse0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #87 from pad "multiqueue0:src1" (stream-status):
GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER,
owner=(GstElement)"\(GstMultiQueue\)\ multiqueue0",
object=(GstTask)"\(GstTask\)\ multiqueue0:src1";
Got message #94 from element "ac3parse0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #107 from element
"ac3parse0" (state-changed): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-buffers = 5
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-time = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-bytes = 8388608
Got message #110 from element "avidemux0" (tag): taglist,
video-codec=(string)"FFmpeg\ MPEG-4", source-pad=(GstPad)"\(GstPad\)\
video_00";
FOUND TAG : found by element "avidemux0".
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)5000000/208333, width=(int)1920, height=(int)1080
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)5000000/208333, width=(int)1920, height=(int)1080
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)5000000/208333, width=(int)1920, height=(int)1080
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)5000000/208333, width=(int)1920, height=(int)1080
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMpeg4VParse:mpeg4vparse0.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)5000000/208333, width=(int)1920, height=(int)1080
video codec: FFmpeg MPEG-4
Got message #112 from element "avidemux0" (tag): taglist,
audio-codec=(string)"AC-3\ audio", source-pad=(GstPad)"\(GstPad\)\
audio_00";
FOUND TAG : found by element "avidemux0".
audio codec: AC-3 audio
Got message #114 from element "avidemux0" (tag): taglist,
encoder=(string)"AVI-Mux\ GUI\ 1.17.7\,\ Aug\ \ 8\ 2006\ \ 20:59:17",
container-format=(string)AVI;
FOUND TAG : found by element "avidemux0".
encoder: AVI-Mux GUI 1.17.7, Aug 8 2006 20:59:17
container format: AVI
Got message #115 from element "ac3parse0" (duration):
GstMessageDuration, format=(GstFormat)GST_FORMAT_TIME,
duration=(gint64)596480000000;
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMpeg4VParse:mpeg4vparse0.GstPad:src: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)5000000/208333, width=(int)1920, height=(int)1080, systemstream=(boolean)false, parsed=(boolean)true, profile=(string)simple, level=(string)1, codec_data=(buffer)000001b001000001b58913000001000000012000c48d8800c53c04871463000001b24c61766335312e34342e30, pixel-aspect-ratio=(fraction)1/1
Got message #128 from element "mpeg4vparse0" (duration):
GstMessageDuration, format=(GstFormat)GST_FORMAT_TIME,
duration=(gint64)596457379000;
No accelerated IMDCT transform found
Got message #131 from element "a52dec0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #134 from element "a52dec0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstCapsFilter:capsfilter0.GstPad:src: caps = audio/x-ac3, framed=(boolean)true, rate=(int)48000, channels=(int)6, alignment=(string)frame
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstCapsFilter:capsfilter0.GstPad:sink: caps = audio/x-ac3, framed=(boolean)true, rate=(int)48000, channels=(int)6, alignment=(string)frame
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-buffers = 5
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-time = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-bytes = 8388608
Got message #137 from element "inputselector0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_PAUSED;
Got message #138 from element "inputselector0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: always-ok = FALSE
Got message #143 from element "inputselector1" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_PAUSED;
Got message #144 from element "inputselector1" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPlayBin2:playbin20/GstInputSelector:inputselector1.GstSelectorPad:sink0: always-ok = FALSE
Got message #147 from element "audiotee" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_PAUSED;
Got message #148 from element "audiotee" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPlayBin2:playbin20/GstInputSelector:inputselector0: active-pad =
(GstSelectorPad) sink0
Got message #159 from element "decodebin20" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #161 from element "uridecodebin0" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPlayBin2:playbin20/GstInputSelector:inputselector1: active-pad =
(GstSelectorPad) sink0
Got message #168 from element "vconv" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #169 from element "vqueue" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #170 from element "vbin" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_PAUSED;
Got message #175 from element "vconv" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #176 from pad "vqueue:src" (stream-status):
GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_CREATE,
owner=(GstElement)"\(GstQueue\)\ vqueue", object=(GstTask)"\(GstTask\)\
task3";
Got message #177 from element "vqueue" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #178 from pad "vqueue:src" (stream-status):
GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER,
owner=(GstElement)"\(GstQueue\)\ vqueue", object=(GstTask)"\(GstTask\)\
vqueue:src";
/GstPlayBin2:playbin20/GstPlaySink:playsink0: volume = 1.000000
/GstPlayBin2:playbin20/GstPlaySink:playsink0: mute = FALSE
Got message #196 from element "volume" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #197 from element "resample" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #198 from element "conv" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #199 from element "identity" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #200 from element "aconv" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #201 from element "aqueue" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #202 from element "abin" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_PAUSED;
Got message #209 from element "volume" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #210 from element "resample" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #211 from element "conv" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #212 from element "identity" (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #213 from element "aconv" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #214 from pad "aqueue:src" (stream-status):
GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_CREATE,
owner=(GstElement)"\(GstQueue\)\ aqueue", object=(GstTask)"\(GstTask\)\
task4";
Got message #215 from element "aqueue" (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #216 from pad "aqueue:src" (stream-status):
GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER,
owner=(GstElement)"\(GstQueue\)\ aqueue", object=(GstTask)"\(GstTask\)\
aqueue:src";
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstBin:bin0/GstFakeSink:fakesink0: ts-offset = 0
/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstBin:bin1/GstFakeSink:fakesink1: ts-offset = 0
Aborted
#