This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] SK-AM62P-LP:SK-AM62P-LP:VPU 使用错误。

Guru**** 2390915 points
Other Parts Discussed in Thread: SK-AM62P-LP, AM62P

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1333565/sk-am62p-lp-sk-am62p-lp-vpu-use-error

器件型号:SK-AM62P-LP
主题中讨论的其他器件:AM62P

我正在对 SK-AM62P-LP.SDK 上的 AM62P SDK 进行评估、如下所示:

我将测试 VPU 的视频编解码器、  AM62P Yocto SDK 用户手册中有许多不同之处。3.9多媒体视频编解码器

我使用命令"v4l2-compliance -d0"

我想播放 MP4视频

警告:错误的管道:无元素"faad"

然后,我删除爸爸,

您能帮助我们来看看这个案例并给出解决方案吗?

非常感谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!雄伟!

    这在您的设置上是否起作用? 另外、是否还有要播放的 mp4文件?

    gst-launch-1.0 -v filesrc location=bbb_1080p_aac.mp4! qtdmux name=Demux Demux.video_0! \
    h264parse! v4l2h264dec capture-io-mode=dmabuf! kmssink driver-name=tidss sync=false  

    此致、

    苏伦

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Suren:

    您在谈论什么设置?

    我有 mp4文件要播放。

    我使用您向我展示的命令。 出现同样的错误。 我使用 gst-play-1.0可以 播放 mp4文件。 那么为什么 GST-LAUNCH-1.0不能?

    用户手动剂量是否与 SDK 映像不匹配?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您是否可以将 kmssink 更改为"kmssink  driver-name=tidss sync=false force-modeseting=true",看看它是否有助于显示。

    您还可以在运行管道前停止 Weston。

    systemctl 停止 Weston

    此致、

    苏伦

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我停止 Weston 并更改 kmsink,、但它不起作用。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    北京市

    让我在 AM62P 板上对其进行验证并返回。 您是否正在使用9.1 SDK 软件来测试视频解码?

    此致、

    苏伦

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    是、SDK 视觉为  09.01.00.08.

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!雄伟 !

    我在我拥有的 AM62P 板上运行这个。  

    root@am62pxx-evm:/home# gst-launch-1.0 -v filesrc location=BBB_1080_10s_30fps_h264.mp4 ! qtdemux ! h264parse ! v4l2h264dec ! kmssink driver-name=tidss sync=false force-modesetting=true
    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    /GstPipeline:pipeline0/GstKMSSink:kmssink0: display-width = 2560
    /GstPipeline:pipeline0/GstKMSSink:kmssink0: display-height = 1080
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001d67640033ac728440780227e5c044000003000400000300f03c60c6118001000768e84386cb22c0, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1
    Redistribute latency...
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
    /GstPipeline:pipeline0/v4l2h264dec:v4l2h264dec0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
    /GstPipeline:pipeline0/v4l2h264dec:v4l2h264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstKMSSink:kmssink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, framerate=(fraction)30/1
    Redistribute latency...
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    Redistribute latency...
    New clock: GstSystemClock
    Got EOS from element "pipeline0".
    Execution ended after 0:00:05.000142065
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@am62pxx-evm:/home# uname -r
    6.1.46-g247b2535b2
    

    我觉得这是一个很好的例子。  

    附件为供您参考的文件:  

    e2e.ti.com/.../0804.BBB_5F00_1080_5F00_10s_5F00_30fps_5F00_h264.mp4

    此致、

    苏伦

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    大家好、Suren、我在我拥有的 AM62P 板上运行了它。 我使用了随附的文件、但无法正常使用。

    root@am62pxx-evm:~# gst-launch-1.0 -v filesrc location=0804.BBB_1080_10s_30fps_h264.mp4 ! qtdemux ! h264parse ! v4l2h264dec ! kmssink driver-name=tidss sync=false force-modesetting=true
    Setting pipeline to PAUSED ...
    ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: Could not get allowed GstCaps of device
    Additional debug info:
    ../gst-plugins-bad-1.20.7/sys/kms/gstkmssink.c(907): gst_kms_sink_start (): /GstPipeline:pipeline0/GstKMSSink:kmssink0:
    driver does not provide mode settings configuration
    ERROR: pipeline doesn't want to preroll.
    ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
    Additional debug info:
    ../gstreamer-1.20.7/libs/gst/base/gstbasesink.c(5878): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstKMSSink:kmssink0:
    Failed to start
    ERROR: pipeline doesn't want to preroll.
    Failed to set pipeline to PAUSED.
    Setting pipeline to NULL ...
    Freeing pipeline ...
    

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!雄伟!

    在尝试此流水线之前、您是否已停止 Weston 服务? 在 AM62P 上引导9.1 SDK 映像时、您应该会看到在 Weston 上运行的应用启动器页面、因此我请求您使用" systemctl stop Weston"来停止 Weston、然后尝试使用流水线。

    此致、

    苏伦

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好, Suren M ü,

    我已经停止 韦斯顿服务.

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您是否使用 SD 卡作为引导介质来验证视频解码的用例? 您是否可以尝试使用其他 SD 卡并再次刷写默认 WIC 映像、看看它是否有用。 我怀疑您的设置中有什么不正确的地方。

    https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-9ti3Ig9hNi/09.01.00.08/tisdk-default-image-am62pxx-evm.wic.xz

    请遵循此处提供的说明:

    https://software-dl.ti.com/processor-sdk-linux/esd/AM62PX/09_01_00_08/exports/docs/linux/Overview/Processor_SDK_Linux_create_SD_card.html#create-sd-card-using-balenaetcher

    此致、

    苏伦

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好,Suren

    我创建了 SD 卡 agian,和使用你告诉我的图像。 但行不通。

    root@am62pxx-evm:~# ls
    0804.BBB_1080_10s_30fps_h264.mp4
    root@am62pxx-evm:~# uname -a
    Linux am62pxx-evm 6.1.46-g247b2535b2 #1 SMP PREEMPT Wed Dec  6 17:54:04 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
    root@am62pxx-evm:~# systemctl stop weston
    Warning: Stopping weston.service, but it can still be activated by:
      weston.socket
    root@am62pxx-evm:~# gst-launch-1.0 -v filesrc location=0804.BBB_1080_10s_30fps_h264.mp4 ! qtdemux ! h264parse ! v4l2h264dec ! kmssink driver-name=tidss sync=false force-modesetting=true
    Setting pipeline to PAUSED ...
    ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: Could not get allowed GstCaps of device
    Additional debug info:
    ../gst-plugins-bad-1.20.7/sys/kms/gstkmssink.c(907): gst_kms_sink_start (): /GstPipeline:pipeline0/GstKMSSink:kmssink0:
    driver does not provide mode settings configuration
    ERROR: pipeline doesn't want to preroll.
    ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
    Additional debug info:
    ../gstreamer-1.20.7/libs/gst/base/gstbasesink.c(5878): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstKMSSink:kmssink0:
    Failed to start
    ERROR: pipeline doesn't want to preroll.
    Failed to set pipeline to PAUSED.
    Setting pipeline to NULL ...
    Freeing pipeline ...
    

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    当您使用 wayland 水槽 而不是 kmsink 时它是否工作?

    此致、

    苏伦

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    如何使用  wayland 接收器 而不是 kmsink,什么是命令?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    gst-launch-1.0 -v filesrc location=0804.BBB_1080_10s_30fps_h264.mp4! 真的很棒! h264parse! v4l2h264dec! waylandSink synchron=false

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Suren:

    该命令是 有效的。

    root@am62pxx-evm:~# gst-launch-1.0 -v filesrc location=0804.BBB_1080_10s_30fps_h264.mp4 ! qtdemux ! h264parse ! v4l2h264dec ! waylandsink sync=false
    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001d67640033ac728440780227e5c044000003000400000300f03c60c6118001000768e84386cb22c0, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1
    Redistribute latency...
    /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
    /GstPipeline:pipeline0/v4l2h264dec:v4l2h264dec0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)5.1, profile=(string)high, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
    /GstPipeline:pipeline0/v4l2h264dec:v4l2h264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, framerate=(fraction)30/1
    /GstPipeline:pipeline0/GstWaylandSink:waylandsink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, framerate=(fraction)30/1
    Redistribute latency...
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    Redistribute latency...
    New clock: GstSystemClock
    Got EOS from element "pipeline0".
    Execution ended after 0:00:03.350592880
    Setting pipeline to NULL ...
    Freeing pipeline ...
    

    谢谢!