主题中讨论的其他器件:AM62P、
我正在对 SK-AM62P-LP.SDK 上的 AM62P SDK 进行评估、如下所示:
我将测试 VPU 的视频编解码器、 AM62P Yocto SDK 用户手册中有许多不同之处。3.9多媒体视频编解码器
我使用命令"v4l2-compliance -d0"
我想播放 MP4视频
警告:错误的管道:无元素"faad"
然后,我删除爸爸,
您能帮助我们来看看这个案例并给出解决方案吗?
非常感谢!
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.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
此致、
苏伦
您好!雄伟 !
我在我拥有的 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 ...
您是否使用 SD 卡作为引导介质来验证视频解码的用例? 您是否可以尝试使用其他 SD 卡并再次刷写默认 WIC 映像、看看它是否有用。 我怀疑您的设置中有什么不正确的地方。
请遵循此处提供的说明:
此致、
苏伦
您好,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 ...
尊敬的 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 ...
谢谢!