imx8qxp H265 サンプルビデオ再生 h265形式の動画ファイルを再生しようとしているのですが、再生できません。 IMX8QXP - スカースギャップ - L 6.6.52 h265の動画サンプルファイルを再生するための正しいコマンドやパッケージ/ライブラリをご確認いただけますか? GSTローンチ1.0-v filesrc location=/root/sample.h265 !h265parse !v4l2h265dec !imxvideoconvert_g2d !fpsdisplaysink video-sink=waylandsink text-overlay=false sync=false & i.MX 8ファミリ | i.MX 8QuadMax (8QM) | 8QuadPlus Re: imx8qxp H265 sample video play こんにちは、 更新情報はこちらです。 root@imx8qxpc0mek:~# root@imx8qxpc0mek:~# gst-launch-1.0 -v filesrc location=/navigation/aa_video_dump.h265 ! h265parse ! v4l2h265dec ! imxvideoconvert_g2d ! fpsdisplaysink video-sink=waylandsink text-overlay=false sync=false パイプラインを一時停止状態に設定しています... ====== V4L2DEC: 1.24.7 ビルド、2024 年 10 月 23 日 09:43:13。====== パイプラインはプリロール中... /GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0/GstWaylandSink:waylandsink0: sync = false レイテンシを再分配... /GstPipeline:pipeline0/GstH265Parse:h265parse0。GstPad:src: caps = video/x-h265, width=(int)1280, height=(int)720, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, stream-format=(string)byte-stream, alignment=(string)au, pixel-aspect-ratio=(fraction)1/1, profile=(string)main, tier=(string)high, level=(string)4 /GstPipeline:pipeline0/v4l2h265dec:v4l2h265dec0。GstPad:sink: caps = video/x-h265, width=(int)1280, height=(int)720, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, stream-format=(string)byte-stream, alignment=(string)au, pixel-aspect-ratio=(fraction)1/1, profile=(string)main, tier=(string)high, level=(string)4 /GstPipeline:pipeline0/v4l2h265dec:v4l2h265dec0。GstPad:src: caps = video/x-raw, format=(string)NV12_8L128, width=(int)1280, height=(int)720, 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/imxvideoconvert_g2d:imxvideoconvert_g2d0。GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, 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, framerate=(fraction)30/1, format=(string)YUY2 /GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0。GstGhostPad:sink。GstProxyPad:proxypad0: caps = video/x-raw, width=(int)1280, height=(int)720, 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, framerate=(fraction)30/1, format=(string)YUY2 /GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0/GstWaylandSink:waylandsink0。GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flipped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, format=(string)YUY2 /GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0。GstGhostPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flipped/left-flopped/right-flipped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, format=(string)YUY2 /GstPipeline:pipeline0/imxvideoconvert_g2d:imxvideoconvert_g2d0。GstPad:sink: caps = video/x-raw, format=(string)NV12_8L128, width=(int)1280, height=(int)720, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flopped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, framerate=(fraction)30/1 レイテンシを再分配... root@imx8qxpc0mek:~# gst-inspect-1.0 | grep -i h265 codectimestamper: h265timestamper: H.265タイムスタンプ rtp: rtph265depay: RTP H265 デペイローダー rtp: rtph265pay: RTP H265ペイローダー typefindfunctions: video/x-h265: h265, x265, 265 video4linux2: v4l2h265dec: V4L2 H265デコーダー videoparsersbad: h265parse: H.265パーサー root@imx8qxpc0mek:~# root@imx8qxpc0mek:~# root@imx8qxpc0mek:~# gst-inspect-1.0 | grep -i v4l2 video4linux2: v4l2deviceprovider (GstDeviceProviderFactory) video4linux2: v4l2h263dec: V4L2 H263デコーダー video4linux2: v4l2h264dec: V4L2 H264デコーダー video4linux2: v4l2h264enc: V4L2 H.264エンコーダー video4linux2: v4l2h265dec: V4L2 H265デコーダー video4linux2: v4l2mpeg2dec: V4L2 MPEG2デコーダー video4linux2: v4l2mpeg4dec: V4L2 MPEG4デコーダー video4linux2: v4l2radio: ラジオ (video4linux2) チューナー video4linux2: v4l2sink: ビデオ (video4linux2) シンク video4linux2: v4l2spkdec: V4L2 SPKデコーダー video4linux2: v4l2src: ビデオ (video4linux2) ソース video4linux2: v4l2vc1dec: V4L2 VC1デコーダー video4linux2: v4l2vp8dec: V4L2 VP8デコーダー video4linux2: v4l2xviddec: V4L2 XVIDデコーダー root@imx8qxpc0mek:~# root@imx8qxpc0mek:~# Re: imx8qxp H265 sample video play こんにちは、
Scarthgap(6.6.52)を使っている場合、問題は以下の通りかもしれません:
画像にv4l2h265decが存在しません。 H.265ファイルは、生の基本的なストリームではありません。 VPUのファームウェア/ドライバーが読み込まれていません。 BSPは、パイプラインで指定されたものとは異なるデコーダー要素を使用します。
以下の出力結果を提供してください。
シェル gst-inspect-1.0 | grep -i h265 gst-inspect-1.0 | grep -i v4l2 「
そして、これら4つのケースのいずれかが発生しているかどうかを特定するためのGST-Launch-1.0からの正確なエラーメッセージも示しています。
View full article