
root@(none):/example/stbdemo/src#
root@(none):/example/stbdemo/src#
root@(none):/example/stbdemo/src# issue nulldata to keep alive
issue_nulldata:0
GST_DEBUG=*basesrc*:4 gst-launch souphttpsrc l
ocation=http://192.168.10.101:10243/WMPNSSv3/3691493703/1_e0UyNjBDNDMxLTlBNDQtND
UwMS1BOTY3LTAwNTYwQ0M4QjAyQ30uMC43RTZFQkY1MA.avi blocksize=1048576 ! queue2 use-
buffering=TRUE max-size-bytes=20971520 max-size-buffers=0 max-size-time=0 ! qtde
mux name=demux demux.audio_00 ! emmaauddec ! queue ! emmaaudiosink volume=2 mute
=TRUE demux.video_00 ! emmaviddec ! queue ! emmavideosink videoStd=1080I videoOu
tput=COMPONENT

(gst-launch-0.10:1156): GStreamer-WARNING **: External plugin loader failed. This most likely means that the
plugin loader helper binary was not found or could not be run. If you are running an uninstalled GStreamer setup,
you might need to update your gst-uninstalled script so that the GST_PLUGIN_SCANNER environment variable gets set.
0:00:01.289323345  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:416:gst_base_src_init:<GstBaseSrc@0x4bc020> creating src pad
0:00:01.291961350  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:419:gst_base_src_init:<GstBaseSrc@0x4bc020> setting functions on src pad
0:00:01.292790680  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:432:gst_base_src_init:<GstBaseSrc@0x4bc020> adding src pad
0:00:01.293648750  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:446:gst_base_src_init:<GstBaseSrc@0x4bc020> init done
gst_emmaaudiosink_init ok
.....set mmac_volume = 2
Open /dev/mcif_cmd_audio ,ret= 3
(3)MMAC_AUDIO_SetVolume
.....set mmac_mute = TRUE
^^^^^^gst_emmavideosink_get_caps
^^^^^^gst_emmavideosink_get_caps
Setting pipeline to PAUSED ...
[audiosink_mmac_init] channel=0************************
(0)MMAC_AUDIO_Open11
(0)MMAC_AUDIO_Open22
(0)MMAC_AUDIO_Open33
(0)MMAC_AUDIO_Open44
(0)MMAC_AUDIO_Open55
(0)MMAC_AUDIO_Open66
(5)MMAC_AUDIO_Open77
(0)MMAC_AUDIO_SetVolume
(0)MMAC_AUDIO_Mute,g_AudioHandle.handle=807df424
(0)MMAC_AUDIO_Mute11,g_AudioHandleThrough.handle=807df43c
(3)MMAC_AUDIO_Mute11,g_AudioHandleDownmix.handle=807df448
(3)MMAC_AUDIO_Mute11,g_AudioHandleOutDownmix0.handle=807df460
(3)MMAC_AUDIO_Mute11,g_AudioHandleOutSPDIF.handle=807df478
(3)HDMI, g_AudioHandleOutHDMI.handle=807df46c
0:00:01.504580630  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:2928:gst_base_src_activate_push:<souphttpsrc0> Activating in push mode
0:00:01.505244340  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:2694:gst_base_src_start:<souphttpsrc0> starting source
0:00:01.521324790  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:2727:gst_base_src_start:<souphttpsrc0> setting size -1
0:00:01.522090175  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:2740:gst_base_src_start:<souphttpsrc0> format: bytes, have size: 0, size: -1, duration: -1
0:00:01.522822035  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:2743:gst_base_src_start:<souphttpsrc0> is seekable: 0
0:00:01.523396470  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:2748:gst_base_src_start:<souphttpsrc0> is random_access: 0
0:00:01.524060905  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:2604:gst_base_src_default_negotiate:<souphttpsrc0> caps of src: 0x470fa0
0:00:01.524630320  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:2652:gst_base_src_default_negotiate:<souphttpsrc0> no negotiation needed
0:00:01.525258040  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:1308:gst_base_src_perform_seek:<souphttpsrc0> doing seek: (nil)
0:00:01.526644040  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:1363:gst_base_src_perform_seek:<souphttpsrc0> seek with seqnum 36
0:00:01.527338950  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:1399:gst_base_src_perform_seek:<souphttpsrc0> segment configured from 0 to -1, position 0
0:00:01.527975405  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:1459:gst_base_src_perform_seek:<souphttpsrc0> Sending newsegment from 0 to -1
0:00:01.533113095  1156   0x4e0320 DEBUG                basesrc
gstbasesrc.c:2045:gst_base_src_update_length:<souphttpsrc0> reading offset 0, length 1048576, size -1,
segment.stop -1, maxsize -1
0:00:01.534395780  1156   0x4e0320 DEBUG                basesrc
gstbasesrc.c:2135:gst_base_src_get_range:<souphttpsrc0> calling create offset 0 length 1048576, time 0
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
[gst_emmaviddec_src_event]
[video-decoder]pad "src" EVENT received:  latency
0:00:01.628874775  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:3065:gst_base_src_change_state:<souphttpsrc0> PAUSED->PLAYING
New clock: GstSystemClock
WARNING: from element /GstPipeline:pipeline0: Internal GStreamer error: clock problem.  Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstbin.c(2375): gst_bin_do_latency_func (): /GstPipeline:pipeline0:
Failed to configure latency of 0:00:00.000000000
0:00:03.484186525  1156   0x4e0320 DEBUG                basesrc
gstbasesrc.c:2009:gst_base_src_do_sync:<souphttpsrc0> no sync needed
0:00:03.484840920  1156   0x4e0320 DEBUG                basesrc
gstbasesrc.c:2180:gst_base_src_get_range:<souphttpsrc0> buffer ok
buffering... 0%  Buffering, setting pipeline to PAUSED ...
__ENTER video_pause
Open /dev/mcif_cmd_video ,ret= 11
(8)MMAC_VIDEO_Play_0
Open /dev/mcif_cmd_audio ,ret= 12
(3)MC_CMD_AUDIO_PAUSE ON
0:00:03.499971605  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:3082:gst_base_src_change_state:<souphttpsrc0> PLAYING->PAUSED
0:00:03.511974535  1156   0x4d87d0 DEBUG                basesrc
gstbasesrc.c:1710:gst_base_src_default_event:<souphttpsrc0> handle event 0x4dee30
0:00:03.512797270  1156   0x4d87d0 DEBUG                basesrc
gstbasesrc.c:1308:gst_base_src_perform_seek:<souphttpsrc0> doing seek: 0x4dee30
0:00:03.514299900  1156   0x4e0320 DEBUG                basesrc gstbasesrc.c:2527:gst_base_src_loop:<souphttpsrc0>
we are flushing
0:00:03.514876225  1156   0x4e0320 DEBUG                basesrc gstbasesrc.c:2537:gst_base_src_loop:<souphttpsrc0>
pausing task, reason wrong-state
0:00:03.516034395  1156   0x4d87d0 DEBUG                basesrc
gstbasesrc.c:1363:gst_base_src_perform_seek:<souphttpsrc0> seek with seqnum 69
0:00:03.516736725  1156   0x4d87d0 DEBUG                basesrc
gstbasesrc.c:1399:gst_base_src_perform_seek:<souphttpsrc0> segment configured from 1086534893 to -1, position
1086534893
0:00:03.519066060  1156   0x4d87d0 DEBUG                basesrc
gstbasesrc.c:1459:gst_base_src_perform_seek:<souphttpsrc0> Sending newsegment from 1086534893 to 1086686196
0:00:03.521009245  1156   0x4e0320 DEBUG                basesrc
gstbasesrc.c:2045:gst_base_src_update_length:<souphttpsrc0> reading offset 1086534893, length 1048576, size
1086686196, segment.stop -1, maxsize 1086686196
0:00:03.521784525  1156   0x4e0320 DEBUG                basesrc
gstbasesrc.c:2135:gst_base_src_get_range:<souphttpsrc0> calling create offset 1086534893 length 151303, time
1086534893
Prerolled, waiting for buffering to finish...
buffering... 5%  buffering... 0%  0:00:03.780898085  1156   0x4e0320 DEBUG                basesrc
gstbasesrc.c:2009:gst_base_src_do_sync:<souphttpsrc0> no sync needed
0:00:03.781545145  1156   0x4e0320 DEBUG                basesrc
gstbasesrc.c:2180:gst_base_src_get_range:<souphttpsrc0> buffer ok
0:00:03.806531760  1156   0x4e0320 DEBUG                basesrc
gstbasesrc.c:2045:gst_base_src_update_length:<souphttpsrc0> reading offset 1086686196, length 1048576, size
1086686196, segment.stop -1, maxsize 1086686196
0:00:03.807307155  1156   0x4e0320 DEBUG                basesrc
gstbasesrc.c:2240:gst_base_src_get_range:<souphttpsrc0> unexpected length 1048576 (offset=1086686196,
size=1086686196)
0:00:03.808038575  1156   0x4e0320 INFO                 basesrc gstbasesrc.c:2397:gst_base_src_loop:<souphttpsrc0>
pausing after gst_base_src_get_range() = unexpected
0:00:03.808635305  1156   0x4e0320 DEBUG                basesrc gstbasesrc.c:2537:gst_base_src_loop:<souphttpsrc0>
pausing task, reason unexpected
buffering... 100%  Done buffering, setting pipeline to PLAYING ...
[gst_emmaviddec_src_event]
[video-decoder]pad "src" EVENT received:  latency
__ENTER video_pause
(8)MMAC_VIDEO_GetDisplayingPts3
(8)MMAC_VIDEO_Play_1000
(3)MMAC_AUDIO_GETAVSYNCSTATUS, g_AudioHandle.handle=0x0
get_av_status.avSyncStatus.pts=0
(3)MC_CMD_AUDIO_PAUSE OFF
0:00:03.833727270  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:3065:gst_base_src_change_state:<souphttpsrc0> PAUSED->PLAYING
WARNING: from element /GstPipeline:pipeline0: Internal GStreamer error: clock problem.  Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstbin.c(2375): gst_bin_do_latency_func (): /GstPipeline:pipeline0:
Failed to configure latency of 0:00:00.000000000
0:00:03.867029225  1156   0x4d87d0 DEBUG                basesrc
gstbasesrc.c:1710:gst_base_src_default_event:<souphttpsrc0> handle event 0x4ea060
0:00:03.867716945  1156   0x4d87d0 DEBUG                basesrc
gstbasesrc.c:1308:gst_base_src_perform_seek:<souphttpsrc0> doing seek: 0x4ea060
[audio-decoder]pad "sink" EVENT received:  flush-start
[audiodec]---------AUDIO FLUSH_START
(3)MC_CMD_AUDIO_STOP
(3)MC_CMD_AUDIO_RESETBUFFER
[gst_emmaviddec_sink_event]1
[gst_emmaviddec_sink_event]2
[video-decoder]pad "sink" EVENT received:  flush-start
[Viddec]---------VIDEO FLUSH_START
(8)MMAC_VIDEO_SetBlackBackMode
(8)MMAC_VIDEO_Stop
(8)MMAC_VIDEO_BufferFlush
0:00:04.074898535  1156   0x4d87d0 DEBUG                basesrc
gstbasesrc.c:1363:gst_base_src_perform_seek:<souphttpsrc0> seek with seqnum 94
0:00:04.075558165  1156   0x4d87d0 DEBUG                basesrc
gstbasesrc.c:1399:gst_base_src_perform_seek:<souphttpsrc0> segment configured from 32 to -1, position 32
[audio-decoder]pad "sink" EVENT received:  flush-stop
[gst_emmaviddec_sink_event]1
[gst_emmaviddec_sink_event]2
[video-decoder]pad "sink" EVENT received:  flush-stop
0:00:04.079738735  1156   0x4d87d0 DEBUG                basesrc
gstbasesrc.c:1459:gst_base_src_perform_seek:<souphttpsrc0> Sending newsegment from 32 to 1086686196
0:00:04.080958315  1156   0x4e0320 DEBUG                basesrc
gstbasesrc.c:2045:gst_base_src_update_length:<souphttpsrc0> reading offset 32, length 1048576, size 1086686196,
segment.stop -1, maxsize 1086686196
0:00:04.081761410  1156   0x4e0320 DEBUG                basesrc
gstbasesrc.c:2135:gst_base_src_get_range:<souphttpsrc0> calling create offset 32 length 1048576, time 32
0:00:04.082589960  1156   0x4e0320 DEBUG                basesrc
gstbasesrc.c:2224:gst_base_src_get_range:<souphttpsrc0> create returned -3 (unexpected)
0:00:04.083234850  1156   0x4e0320 INFO                 basesrc gstbasesrc.c:2397:gst_base_src_loop:<souphttpsrc0>
pausing after gst_base_src_get_range() = unexpected
0:00:04.083825030  1156   0x4e0320 DEBUG                basesrc gstbasesrc.c:2537:gst_base_src_loop:<souphttpsrc0>
pausing task, reason unexpected
[audio-decoder]pad "sink" EVENT received:  eos
[gst_emmaviddec_sink_event]1
[gst_emmaviddec_sink_event]2
[video-decoder]pad "sink" EVENT received:  eos
++++++++++++VIDEO EOS !!!!!!!!!!!!!!
Got EOS from element "pipeline0".
Execution ended after 2460205895 ns.
Setting pipeline to PAUSED ...
__ENTER video_pause
(8)MMAC_VIDEO_Play_0
(3)MC_CMD_AUDIO_PAUSE ON
0:00:04.098742815  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:3082:gst_base_src_change_state:<souphttpsrc0> PLAYING->PAUSED
Setting pipeline to READY ...
+++++++++++++++++the play end!!!!!!!!!!!!!!
(8)MMAC_VIDEO_Stop
(8)MMAC_VIDEO_BufferFlush
(8)MMAC_VIDEO_Close
(3)MC_CMD_AUDIO_STOP
Open /dev/mcif_cmd_demux ,ret= 13
(3)MMAC_DEMUX_DisablePidFilter
(3)MMAC_DEMUX_SetPidFilterBufferNearlyFullPointerOffset
(3)MMAC_DEMUX_FreePidFilter
(3)MMAC_DEMUX_FreePidFilter
(3)MMAC_AUDIO_ResetBuffer
(3)MMAC_AUDIO_CLOSE
(3)MMAC_AUDIO_CLOSE
(3)MMAC_AUDIO_CLOSE
(3)MMAC_AUDIO_CLOSE
(3)MMAC_AUDIO_CLOSE
(3)MMAC_AUDIO_CLOSE
0:00:04.327186945  1156   0x417018 DEBUG                basesrc
gstbasesrc.c:2955:gst_base_src_activate_push:<souphttpsrc0> Deactivating in push mode
0:00:04.328787000  1156   0x417018 DEBUG                basesrc gstbasesrc.c:2802:gst_base_src_stop:<souphttpsrc0>
stopping source
Setting pipeline to NULL ...
Open /dev/mcif_cmd_scaler ,ret= 6
(65538)MC_CMD_SCALER_DELETEWINDOW
(65538)MC_CMD_SCALER_CLOSE
(8)MMAC_VIDEO_Stop
(8)MMAC_VIDEO_BufferFlush
(8)MMAC_VIDEO_Close
(3)MC_CMD_AUDIO_STOP
(3)MMAC_DEMUX_DisablePidFilter
(3)MMAC_DEMUX_SetPidFilterBufferNearlyFullPointerOffset
(3)MMAC_DEMUX_FreePidFilter
(3)MMAC_DEMUX_FreePidFilter
(3)MMAC_AUDIO_ResetBuffer
(3)MMAC_AUDIO_CLOSE
(3)MMAC_AUDIO_CLOSE
(3)MMAC_AUDIO_CLOSE
(3)MMAC_AUDIO_CLOSE
(3)MMAC_AUDIO_CLOSE
(3)MMAC_AUDIO_CLOSE
(3)MMAC_DEMUX_CloseDevice
Freeing pipeline ...
root@(none):/example/stbdemo/src# issue nulldata to keep alive
issue_nulldata:0
issue nulldata to keep alive
issue_nulldata:0
issue nulldata to keep alive
issue_nulldata:0
issue nulldata to keep alive
issue_nulldata:0
issue nulldata to keep alive
issue_nulldata:0
issue nulldata to keep alive
issue_nulldata:0
issue nulldata to keep alive
issue_nulldata:0
