导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    D1H RTSP拉流报错,无法解析

    MR Series
    2
    3
    675
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • C
      chenyinchang LV 4 最后由 编辑

      按照帖子:https://bbs.aw-ol.com/topic/1318/faq-全志d1芯片-如何在tina使用tplayerdemo-进行rtsp拉流说明
      进行操作,报错如下:(当前http可以播放,本地SD卡可以播放)

      root@TinaLinux:/# 
      root@TinaLinux:/# tplayerdemo rtsp://192.168.1.100:8554/input.mp4
      WARNING: awplayer <cdx_log_set_level:30>: cdx Set log level to 6
      [2025-01-23 00:42:42] INFO   : cedarc <CedarPluginVDInit:79>: register h264 decoder success!
      [2025-01-23 00:42:42] INFO   : cedarc <CedarPluginVDInit:84>: register mjpeg decoder success!
      [2025-01-23 00:42:42] INFO   : cedarc <CedarPluginVDInit:86>: register mpeg2 decoder success!
      [2025-01-23 00:42:42] INFO   : cedarc <CedarPluginVDInit:92>: register mpeg4dx decoder success!
      [2025-01-23 00:42:42] INFO   : cedarc <CedarPluginVDInit:79>: register mpeg4H263 decoder success!
      [2025-01-23 00:42:42] INFO   : cedarc <CedarPluginVDInit:90>: register mpeg4Normal decoder success!
      [2025-01-23 00:42:42] INFO   : cedarc <CedarPluginVDInit:74>: register vc1 decoder success!
      [2025-01-23 00:42:42] 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
      16001+0 records in
      16000+0 records out
      argc = 2
      argv[0] = tplayerdemo
      argv[1] = rtsp://192.168.1.100:8554/input.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]:0x3f04a580
      screen width:1920,screen height:1080
      1:playVideo:0
      before TPlayerSetDataSource,94720:rtsp://192.168.1.100:8554/input.mp4
      xplayer:process message XPLAYER_COMMAND_SET_SOURCE.
      setDataSource end
      xplayer:process message XPLAYER_COMMAND_PREPARE.
      Created new TCP socket 8 for connection
      ERROR  : CdxFlvParser.c <__CdxFlvParserProbe:4030>: FlvProbe failed.
      ERROR  : CdxAviParser <__CdxAviParserProbe:1251>: AviProbe failed.
      ERROR  : CdxPlsParser <__PlsParserProbe:1280>: Probe data is not enough.
      ERROR  : CdxPmpParser <PmpParserProbe:1128>: It is not pmp-2.0, and is not supported.
      ERROR  : CdxOggParser <OggParserProbe:2431>: It is not ogg version 0.
      ERROR  : _apepsr <CdxApeParserProbe:773>: pApe Probe Failed
      ERROR  : awplayer <__FlacParserProbe:1373>: Flac probe failed.
      ERROR  : _id3v2 <__Id3v2ParserProbe:320>: Probe ID3_header data is not enough.
      ERROR  : CdxFlvParser.c <__CdxFlvParserProbe:4030>: FlvProbe failed.
      ERROR  : CdxAviParser <__CdxAviParserProbe:1251>: AviProbe failed.
      ERROR  : CdxPlsParser <__PlsParserProbe:1280>: Probe data is not enough.
      ERROR  : CdxPmpParser <PmpParserProbe:1128>: It is not pmp-2.0, and is not supported.
      ERROR  : CdxOggParser <OggParserProbe:2431>: It is not ogg version 0.
      ERROR  : _apepsr <CdxApeParserProbe:773>: pApe Probe Failed
      ERROR  : awplayer <__FlacParserProbe:1373>: Flac probe failed.
      ERROR  : _id3v2 <__Id3v2ParserProbe:320>: Probe ID3_header data is not enough.
      ERROR  : awplayer <CdxParserPrepare:834>: open parser fail, uri(rtsp://192.168.1.100:8554/input.mp4)
      ERROR  : demuxComponent <DemuxThread:2116>: DEMUX_ERROR_IO
      TPlayerPrepare return fail.
      1:playVideo fail0
      xplayer:process message XPLAYER_COMMAND_RESET.
      Got signal 11, exiting ...
      
      
      Y 1 条回复 最后回复 回复 引用 分享 0
      • Y
        YiXinTai LV 5 @chenyinchang 最后由 编辑

        @chenyinchang RTSP的支持,解码库应该需要打开支持才可以使用的

        1 条回复 最后回复 回复 引用 分享 0
        • C
          chenyinchang LV 4 最后由 编辑

          @yixintai 要手动清空out后编译才生效,make clean make是不行的。这部分跑通了,转调gstreamer去了。现在硬解都调好了,但想用<videocrop>做画面裁切,如果最后是sunxifbsink就会报错。如果是fbdev2sink就不会,但很卡,请问这块您有相关经验吗?

          1 条回复 最后回复 回复 引用 分享 0
          • 1 / 1
          • First post
            Last post

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

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