Andys-MacBook-Pro:Temp1 andy$ gst-launch-1.0 filesrc location=Bear.wmv ! decodebin ! videoconvert ! x264enc bitrate=1280 ! mp4mux ! filesink location=out1.mp4
Setting pipeline to PAUSED ...
0:00:00.051120000  2245 0x7ffbc971be00 WARN                 basesrc gstbasesrc.c:3486:void gst_base_src_start_complete(GstBaseSrc *, GstFlowReturn):<filesrc0> pad not activated yet
Pipeline is PREROLLING ...
0:00:00.057641000  2245 0x7ffbc99780f0 WARN                 basesrc gstbasesrc.c:2396:gboolean gst_base_src_update_length(GstBaseSrc *, guint64, guint *, gboolean):<filesrc0> processing at or past EOS
Redistribute latency...
Redistribute latency...
0:00:00.265156000  2245 0x7ffbc9978b70 FIXME               basesink gstbasesink.c:3125:gboolean gst_base_sink_default_event(GstBaseSink *, GstEvent *):<filesink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:02.040154000
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Andys-MacBook-Pro:Temp1 andy$ lldb gst-launch-1.0 filesrc location=out1.mp4 ! decodebin ! fakesink
(lldb) target create "gst-launch-1.0"
Current executable set to 'gst-launch-1.0' (x86_64).
(lldb) settings set -- target.run-args  "filesrc" "location=out1.mp4" "!" "decodebin" "!" "fakesink"
(lldb) r
Process 2248 launched: '/usr/bin/gst-launch-1.0' (x86_64)
Setting pipeline to PAUSED ...
0:00:00.055274000  2248    0x101b05090 WARN                 basesrc gstbasesrc.c:3486:void gst_base_src_start_complete(GstBaseSrc *, GstFlowReturn):<filesrc0> pad not activated yet
Pipeline is PREROLLING ...
0:00:00.087578000  2248    0x100912140 WARN                 qtdemux qtdemux.c:2642:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults for stream 1
0:00:00.087723000  2248    0x100912140 WARN                 basesrc gstbasesrc.c:2396:gboolean gst_base_src_update_length(GstBaseSrc *, guint64, guint *, gboolean):<filesrc0> processing at or past EOS
0:00:00.184221000  2248    0x1010200a0 DEBUG                  vtdec vtdec.c:179:gst_vtdec_start:<vtdechw0> start
0:00:00.184256000  2248    0x1010200a0 FIXME           videodecoder gstvideodecoder.c:1057:GstFlowReturn gst_video_decoder_drain_out(GstVideoDecoder *, gboolean):<vtdechw0> Sub-class should implement drain()
0:00:00.184350000  2248    0x1010200a0 DEBUG                  vtdec vtdec.c:318:gst_vtdec_set_format:<vtdechw0> set_format
0:00:00.184360000  2248    0x1010200a0 INFO                   vtdec vtdec.c:941:compute_h264_decode_picture_buffer_length:<vtdechw0> parsed profile 100, level 30
0:00:00.184368000  2248    0x1010200a0 INFO                   vtdec vtdec.c:977:gst_vtdec_set_latency:<vtdechw0> setting latency frames:6 time:0:00:00.200199996
0:00:00.184456000  2248    0x1010200a0 INFO                   vtdec vtdec.c:271:gst_vtdec_negotiate:<vtdechw0> negotiated output format video/x-raw(memory:GLMemory), format=(string)NV12, width=(int)720, height=(int)480, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)8/9, chroma-site=(string)jpeg, colorimetry=(string)bt601, framerate=(fraction)30000/1001, texture-target=(string)rectangle
Redistribute latency...
0:00:00.272583000  2248    0x1010200a0 INFO                   vtdec vtdec.c:987:gst_vtdec_set_context:<vtdechw0> setting context gst.gl.GLDisplay
Got context from element 'vtdechw0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayCocoa\)\ gldisplaycocoa0";
0:00:00.453668000  2248    0x1010200a0 INFO                   vtdec vtdec.c:289:gst_vtdec_negotiate:<vtdechw0> pushing textures, context 0x10087b9d0 old context 0x0
0:00:00.453929000  2248    0x1010200a0 FIXME           videodecoder gstvideodecoder.c:1057:GstFlowReturn gst_video_decoder_drain_out(GstVideoDecoder *, gboolean):<vtdechw0> Sub-class should implement drain()
0:00:00.454433000  2248    0x1010200a0 LOG                    vtdec vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 0
0:00:00.455315000  2248    0x1010200a0 LOG                    vtdec vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 0
0:00:00.455378000  2248    0x1010200a0 LOG                    vtdec vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 1
0:00:00.455839000  2248    0x1010200a0 LOG                    vtdec vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 1
0:00:00.455917000  2248    0x1010200a0 LOG                    vtdec vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 2
0:00:00.456297000  2248    0x1010200a0 LOG                    vtdec vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 2
0:00:00.456349000  2248    0x1010200a0 LOG                    vtdec vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 3
0:00:00.456436000  2248    0x100738a40 LOG                    vtdec vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame 0x10202cd70 0 and VT buffer 0x100750360
0:00:00.456734000  2248    0x1010200a0 LOG                    vtdec vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 3
0:00:00.456784000  2248    0x1010200a0 LOG                    vtdec vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 4
0:00:00.457047000  2248    0x100738a40 LOG                    vtdec vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame 0x103015660 1 and VT buffer 0x10040cd60
0:00:00.457138000  2248    0x1010200a0 LOG                    vtdec vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 4
0:00:00.457191000  2248    0x1010200a0 LOG                    vtdec vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 5
0:00:00.457466000  2248    0x100738a40 LOG                    vtdec vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame 0x10202ce80 2 and VT buffer 0x101b07fa0
0:00:00.457510000  2248    0x1010200a0 LOG                    vtdec vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 5
0:00:00.457564000  2248    0x1010200a0 LOG                    vtdec vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 6
0:00:00.457858000  2248    0x100738a40 LOG                    vtdec vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame 0x10202cc60 3 and VT buffer 0x101b4dc00
0:00:00.457916000  2248    0x1010200a0 LOG                    vtdec vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 6
0:00:00.457999000  2248    0x1010200a0 LOG                    vtdec vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 7
0:00:00.458265000  2248    0x100738a40 LOG                    vtdec vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame 0x103015990 4 and VT buffer 0x100751a60
0:00:00.458321000  2248    0x1010200a0 LOG                    vtdec vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 7
0:00:00.458368000  2248    0x1010200a0 LOG                    vtdec vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 8
0:00:00.458618000  2248    0x100738a40 LOG                    vtdec vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame 0x103015dd0 5 and VT buffer 0x100752940
0:00:00.458690000  2248    0x1010200a0 LOG                    vtdec vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 8
0:00:00.458769000  2248    0x1010200a0 LOG                    vtdec vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 9
0:00:00.458913000  2248    0x100738a40 LOG                    vtdec vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame 0x1010411a0 6 and VT buffer 0x100752e20
0:00:00.459142000  2248    0x100738a40 LOG                    vtdec vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame 0x1010414d0 7 and VT buffer 0x1007532a0
0:00:00.459319000  2248    0x100738a40 LOG                    vtdec vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame 0x103015bb0 8 and VT buffer 0x1007526d0

(gst-launch-1.0:2248): GStreamer-CRITICAL **: gst_debug_log_valist: assertion 'category != NULL' failed
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.500868000  2248    0x1010200a0 INFO                   vtdec vtdec.c:289:gst_vtdec_negotiate:<vtdechw0> pushing textures, context 0x10087b9d0 old context 0x10087b9d0
Process 2248 stopped
* thread #11: tid = 0xe8cf, 0x00007fff978f035a libsystem_platform.dylib`OSAtomicAdd32Barrier$VARIANT$mp + 2, name = 'gstglcontext', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
    frame #0: 0x00007fff978f035a libsystem_platform.dylib`OSAtomicAdd32Barrier$VARIANT$mp + 2
libsystem_platform.dylib`OSAtomicAdd32Barrier$VARIANT$mp:
->  0x7fff978f035a <+2>: lock   
    0x7fff978f035b <+3>: xaddl  %edi, (%rsi)
    0x7fff978f035e <+6>: addl   %edi, %eax
    0x7fff978f0360 <+8>: retq   
(lldb) bt
* thread #11: tid = 0xe8cf, 0x00007fff978f035a libsystem_platform.dylib`OSAtomicAdd32Barrier$VARIANT$mp + 2, name = 'gstglcontext', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
  * frame #0: 0x00007fff978f035a libsystem_platform.dylib`OSAtomicAdd32Barrier$VARIANT$mp + 2
    frame #1: 0x00007fff952b8709 IOSurface`IOSurfaceClientDecrementUseCount + 26
    frame #2: 0x0000000105f99047 libgstapplemedia.so`_io_surface_memory_destroy + 39
    frame #3: 0x0000000105fdaaa1 libgstgl-1.0.0.dylib`_destroy_gl_objects + 33
    frame #4: 0x0000000105ff033d libgstgl-1.0.0.dylib`_run_message_sync + 29
    frame #5: 0x0000000105ff02f7 libgstgl-1.0.0.dylib`_run_message_async + 23
    frame #6: 0x000000010021f9c6 libglib-2.0.0.dylib`g_main_context_dispatch + 326
    frame #7: 0x000000010021fcf4 libglib-2.0.0.dylib`g_main_context_iterate + 420
    frame #8: 0x000000010022001f libglib-2.0.0.dylib`g_main_loop_run + 223
    frame #9: 0x0000000105fd76af libgstgl-1.0.0.dylib`gst_gl_context_create_thread + 575
    frame #10: 0x000000010024744a libglib-2.0.0.dylib`g_thread_proxy + 90
    frame #11: 0x00007fff9790905a libsystem_pthread.dylib`_pthread_body + 131
    frame #12: 0x00007fff97908fd7 libsystem_pthread.dylib`_pthread_start + 176
    frame #13: 0x00007fff979063ed libsystem_pthread.dylib`thread_start + 13
(lldb) 