Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    T113麻雀播放视频卡住,求教大佬

    MR Series
    2
    4
    2228
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yunchawaishi LV 4 last edited by

      root@TinaLinux:/# tplayerdemo mnt/UDISK/bb.mp4
      WARNING: awplayer <cdx_log_set_level:30>: cdx Set log level to 6
      INFO   : cedarc <CedarPluginVDInit:79>: register h264 decoder success!
      INFO   : cedarc <CedarPluginVDInit:84>: register mjpeg decoder success!
      INFO   : cedarc <CedarPluginVDInit:86>: register mpeg2 decoder success!
      INFO   : cedarc <CedarPluginVDInit:92>: register mpeg4dx decoder success!
      INFO   : cedarc <CedarPluginVDInit:79>: register mpeg4H263 decoder success!
      INFO   : cedarc <CedarPluginVDInit:90>: register mpeg4Normal decoder success!
      INFO   : cedarc <CedarPluginVDInit:74>: register vc1 decoder success!
      INFO   : cedarc <CedarPluginVDInit:85>: register h265 decoder success!
      
      ******************************************************************************************
      * This program implements a simple player, you can type commands to control the player.
      * To show what commands supported, type 'help'.
      ******************************************************************************************
      dd: writing '/dev/fb0': No space left on device
      3001+0 records in
      3000+0 records out
      argc = 2
      argv[0] = tplayerdemo
      argv[1] = mnt/UDISK/bb.mp4
      may be is one file:cut down suffix is:.mp4
      find the matched type:.mp4
      create player:0
      
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : tina3.5
      branch: tina-dev
      date  : Mon Jul 15 19:04:59 2019 +0800
      Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
      -------------------------------------------------------------------------------
      xplayer:process message XPLAYER_COMMAND_SET_AUDIOSINK.
      xplayer:process message XPLAYER_COMMAND_SET_SURFACE.
      xplayer:process message XPLAYER_COMMAND_SET_SUBCTRL.
      xplayer:process message XPLAYER_COMMAND_SET_DI.
      create player[0]:0xb6cec890
      screen width:800,screen height:480
      1:playVideo:0
      before TPlayerSetDataSource,5197872:mnt/UDISK/bb.mp4
      xplayer:process message XPLAYER_COMMAND_SET_SOURCE.
      setDataSource end
      xplayer:process message XPLAYER_COMMAND_PREPARE.
      warning: unknown callback from Tinaplayer.
      INFO   : cedarc <log_set_level:43>: Set log level to 5 from /vendor/etc/cedarc.conf
      ERROR  : cedarc <DebugCheckConfig:301>: now cedarc log level:5
      WARNING: cedarc <getSocIdString:[ 3242.784922] VE: VE real_freq=576000000
      [ 3242.784922]
      1117>: cannot open /dev/sunxi_soc_info, it maybe ok!
      
      TPlayerPrepare end
      TPlayerSetHoldLastPicture()
      xplayer:process message XPLAYER_COMMAND_START.
      (Allwinner Audio Middle Layer),line(958) : Create Decoder!!=====
      (Allwinner Audio Middle Layer),line(592) : AudioDec_Installaudiolib ok
      (Allwinner Audio Middle Layer),line(595) : audio decoder init start ...
      (AllwinnerAlibs),line(50) :
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Audio <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : audiocodec-v1.2
      branch: new
      commit: 3ba65962c01cbf1280ddda19d843009b6ef8ce85
      date  : Tue Jan 8 16:25:27 2019 +0800
      ----------------------------------------------------------------------
      
      (AllwinnerAlibs),line(679) : ----Loading so success!
      (AllwinnerAlibs),line(877) : *************pAudioStreamInfo start******************
      (AllwinnerAlibs),line(878) : eCodecFormat         :id(4), name(aac low-complexy)
      (AllwinnerAlibs),line(879) : eSubCodecFormat      :0
      (AllwinnerAlibs),line(880) : nChannelNum          :2
      (AllwinnerAlibs),line(881) : nBitsPerSample       :16
      (AllwinnerAlibs),line(882) : nSampleRate          :22050
      (AllwinnerAlibs),line(883) : nAvgBitrate          :47992
      (AllwinnerAlibs),line(884) : nMaxBitRate          :67520
      (AllwinnerAlibs),line(885) : nFileSize            :0
      (AllwinnerAlibs),line(886) : eAudioBitstreamSource:0
      (AllwinnerAlibs),line(887) : eDataEncodeType      :0
      (AllwinnerAlibs),line(888) : nCodecSpecificDataLen:7
      (AllwinnerAlibs),line(889) : pCodecSpecificData   :0x1777d10
      (AllwinnerAlibs),line(890) : nFlags               :0
      (AllwinnerAlibs),line(891) : nBlockAlign          :0
      (AllwinnerAlibs),line(892) : *************pAudioStreamInfo end  ******************
      (AAC Decoder),line(36) : init successs...
      (Allwinner Audio Middle Layer),line(603) : AUDIO DECODE INIT OK...0
      [ 3243.943695] adbd invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
      [ 3243.954626] CPU: 1 PID: 204 Comm: adbd Not tainted 5.4.61 #7
      [ 3243.960980] Hardware name: Generic DT based system
      [ 3243.966387] [<c010de4c>] (unwind_backtrace) from [<c010a5f4>] (show_stack+0x10/0x14)
      [ 3243.975085] [<c010a5f4>] (show_stack) from [<c06849a8>] (dump_stack+0x88/0xa4)
      [ 3243.983193] [<c06849a8>] (dump_stack) from [<c018d6e0>] (dump_header+0x50/0x200)
      [ 3243.991494] [<c018d6e0>] (dump_header) from [<c018dae0>] (oom_kill_process+0x80/0x298)
      [ 3244.000379] [<c018dae0>] (oom_kill_process) from [<c018e460>] (out_of_memory+0x300/0x354)
      [ 3244.009558] [<c018e460>] (out_of_memory) from [<c01bc5cc>] (__alloc_pages_nodemask+0x704/0x970)
      [ 3244.019324] [<c01bc5cc>] (__alloc_pages_nodemask) from [<c018aff0>] (pagecache_get_page+0xf0/0x190)
      [ 3244.029480] [<c018aff0>] (pagecache_get_page) from [<c018b294>] (filemap_fault+0x1d8/0x42c)
      [ 3244.038855] [<c018b294>] (filemap_fault) from [<c01a91b0>] (__do_fault+0x54/0x7c)
      [ 3244.047256] [<c01a91b0>] (__do_fault) from [<c01ab594>] (handle_mm_fault+0x394/0x988)
      [ 3244.056047] [<c01ab594>] (handle_mm_fault) from [<c010ecf8>] (do_page_fault+0x1cc/0x2a0)
      [ 3244.065129] [<c010ecf8>] (do_page_fault) from [<c010eff8>] (do_PrefetchAbort+0x38/0x88)
      [ 3244.074113] [<c010eff8>] (do_PrefetchAbort) from [<c0102808>] (ret_from_exception+0x0/0x18)
      [ 3244.083481] Exception stack(0xc3fe3fb0 to 0xc3fe3ff8)
      [ 3244.089147] 3fa0:                                     ffffffda 00000080 00000002 00000000
      [ 3244.098322] 3fc0: 00000000 00000000 00000016 000000f0 00000080 00000000 00000002 b6f08cd8
      [ 3244.107497] 3fe0: b6f08c50 b6f08c40 b6f73130 b6f72600 60000010 ffffffff
      [ 3244.160591] Mem-Info:
      [ 3244.181563] active_anon:5438 inactive_anon:0 isolated_anon:0
      [ 3244.181563]  active_file:110 inactive_file:168 isolated_file:0
      [ 3244.181563]  unevictable:9 dirty:0 writeback:0 unstable:0
      [ 3244.181563]  slab_reclaimable:600 slab_unreclaimable:2885
      [ 3244.181563]  mapped:23 shmem:9 pagetables:129 bounce:0
      [ 3244.181563]  free:1091 free_pcp:0 free_cma:0
      [ 3244.217399] Node 0 active_anon:21752kB inactive_anon:0kB active_file:480kB inactive_file:488kB unevictable:36kB isolated(anon):0kB isolated(file):0kB mapped:92kB dirty:0kB writeback:0kB shmem:36kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
      [ 3244.243133] Normal free:4748kB min:1324kB low:1652kB high:1980kB active_anon:21752kB inactive_anon:0kB active_file:128kB inactive_file:264kB unevictable:36kB writepending:0kB present:131072kB managed:112668kB mlocked:36kB kernel_stack:880kB pagetables:516kB bounce:0kB free_pcp:160kB local_pcp:12kB free_cma:0kB
      [ 3244.273997] lowmem_reserve[]: 0 0
      [ 3244.277727] Normal: 33*4kB (UME) 70*8kB (UME) 112*16kB (U) 63*32kB (U) 2*64kB (U) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 4628kB
      [ 3244.304983] Free pages count per migrate typeat order:     0      1      2      3      4      5      6      7      8      9     10
      [ 3244.318346] zone   Normal, type    Unmovable     12     62    112     63      2      0      0      0      0      0      0
      [ 3244.331825] zone   Normal, type      Movable      3      1      0      0      0      0      0      0      0      0      0
      [ 3244.358619] zone   Normal, type  Reclaimable      6      0      0      0      0      0      0      0      0      0      0
      [ 3244.371869] zone   Normal, type          CMA      0      0      0      0      0      0      0      0      0      0      0
      [ 3244.390707] zone   Normal, type   HighAtomic      0      0      0      0      0      0      0      0      0      0      0
      [ 3244.403648] zone   Normal, type      Isolate      0      0      0      0      0      0      0      0      0      0      0
      [ 3244.416423] 290 total pagecache pages
      [ 3244.420598] 32768 pages RAM
      [ 3244.424160] 0 pages HighMem/MovableOnly
      [ 3244.428465] 4601 pages reserved
      [ 3244.432402] 1024 pages cma reserved
      [ 3244.436317] Tasks state (memory values in pages):
      [ 3244.441985] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
      [ 3244.451996] [    146]     0   146      600       26    12288        0             0 wpa_supplicant
      [ 3244.462104] [    151]     0   151      328       35     8192        0             0 adbd
      [ 3244.471216] [    154]     0   154      174        9     6144        0             0 swupdate-progre
      [ 3244.481418] [    162]     0   162      262        8     6144        0             0 sh
      [ 3244.490335] [    235]     0   235    10086      430    45056        0             0 tplayerdemo
      [ 3244.500139] [    251]     0   251     8034     1068    38912        0             0 tplayerdemo
      [ 3244.510019] [    267]     0   267     7951      976    36864        0             0 tplayerdemo
      [ 3244.519824] [    300]     0   300     8010     1041    36864        0             0 tplayerdemo
      [ 3244.529616] [    335]     0   335     8090     1130    38912        0             0 tplayerdemo
      [ 3244.539470] [    354]     0   354     5841      871    28672        0             0 tplayerdemo
      [ 3244.560295] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=tplayerdemo,pid=335,uid=0
      [ 3244.586534] Out of memory: Killed process 335 (tplayerdemo) total-vm:32360kB, anon-rss:4484kB, file-rss:0kB, shmem-rss:36kB, UID:0 pgtables:38kB oom_score_adj:0
      started.
      ERROR  : awplayer <__LayerQueueBuffer:985>: *** picNode is full when queue buffer
      ERROR  : awplayer <__LayerQueueBuffer:985>: *** picNode is full when queue buffer
      *****tplayer:video decoded width = 576,height = 432
      *****tplayerdemo:video decoded width = 576,height = 432real set to display rect:w = 576,h = 432
      warning: unknown callback from Tinaplayer.
      *****tplayer:video width = 1152,height = 864
      warning: unknown callback from Tinaplayer.
      ****player(0xb6a66720): first video pts = 80000*****
      ERROR  : awplayer <__LayerQueueBuffer:985>: *** picNode is full when queue buffer
      ERROR  : fbm.c <FbmReturnPicture:1043>: invalid frame status, a picture being returned,                 but bUsedByRender=0, bInValidPictureQueue=1, bAlreadyDisplayed=0.
      ERROR  : fbm.c <FbmReturnPicture:1044>: **picture[0x17ea340],id[9]
      WARNING: cedarc <ReturnPicture:1698>: FbmReturnPicture return fail,            it means the picture being returned it not one of this FBM.
      
      1 Reply Last reply Reply Quote Share 1
      • YuzukiTsuru
        柚木 鉉 LV 9 last edited by

        开启音频通路

        amixer -D hw:audiocodec cset numid=32 1 && \
            amixer -D hw:audiocodec cset numid=16 30 && \
            amixer -D hw:audiocodec cset numid=18 0 && \
            amixer -D hw:audiocodec cset numid=19 0
        
        Y 1 Reply Last reply Reply Quote Share 0
        • Y
          yunchawaishi LV 4 @YuzukiTsuru last edited by

          @yuzukitsuru 被大佬翻牌了,好开心。。求大佬讲的详细点,怎么打开?新手小白不知道

          YuzukiTsuru 1 Reply Last reply Reply Quote Share 0
          • YuzukiTsuru
            柚木 鉉 LV 9 @yunchawaishi last edited by

            @yunchawaishi 命令输入就行了

            1 Reply Last reply Reply Quote Share 0
            • 1 / 1
            • First post
              Last post

            Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

            行为准则 | 用户协议 | 隐私权政策