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.

[参考译文] Linux/AM5728:am5728 h264编码质量问题

Guru**** 2543380 points
Other Parts Discussed in Thread: AM5728

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/617644/linux-am5728-am5728-h264-encode-quality-problem

主题中讨论的其他器件:AM5728

工具/软件:Linux

您好!

TI、

我使用 am5728对 PC 上的视频进行编码:am5728 -- adv7611 -- PC,,我发现视频中是否包含大量文本,在 h264编码后,文本周围有噪音,文本不清晰。

这可能是什么原因? 是否有任何旋转变压器?

而不是。  视频分辨率为1920x1080。编码命令为:

gst-launch-1.0 -v v4l2src device=/dev/video1 num-buffers=-1 io-mode=4! "video/x-raw、format=(string) YUY2、width=(int) 1920、height=(int) 108"! VPE num-input-buffers=8 ! "video/x-raw、format=(string) NV12、width=(int) 1920、height=(int) 1080/h"! ducatih264enc! 文件链接位置=`dATE +%Y%m%d-%H%M%S`.264

原始照片:  

H264编码:

 我可以通过放大图片来看到文本周围的噪声。

BR、

Vefone

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    encode 命令为:
    gst-launch-1.0 -v v4l2src device=/dev/video1 num-buffers=-1 io-mode=4! "video/x-raw、format=(string) YUY2、width=(int) 1920、height=(int) 108"! VPE num-input-buffers=8! "video/x-raw、format=(string) NV12、width=(int) 1920、height=(int) 108"! ducatih264enc! 文件链接位置=`dATE +%Y%m%d-%H%M%S`.264
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    我已通知我们的 GST 专家。 反馈将发布在此处。

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

    您好!

    Yordan,谢谢! 我在等。

    BR、

    Vefone

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

    能否将这些属性设置为 gstreamer 中的编码器元素:
    !! ducatih264enc level=level-51 profile=high bitrate =6000!……
    我在您的流水线中的编码器之后也看不到 h264parse 元素。
    您能否在编码器和文件链接之间添加解析器?

    BR
    玛格丽塔
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!
    玛格丽塔
    非常感谢。它很有效!

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

    我很高兴这个问题得到解决。

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

    您好!

    玛格丽塔

    添加"ducatih264enc level=level-51 profile=high bitrate =6000"后、 当它运行很长时间(大约1分钟)时、am5728会打印以下日志、然后 GS-launch-1.0进程 被终止!

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败
    连接= 1.

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:1391):严重**:GST_FD_MEMORY_GET_FD:断言"GST_is_FD_LOADator (mem->allocator)"失败
    错误:来自元素/GstPipeline:流水 线0/GstV4l2Src:v4l2src0:内部数据流错误。
    其他调试信息:
    ./../../../gstreamer-1.6.3/libs/gst/base/gstbasesrc.c (2943):gst_base_src_loop ():/GstPipeline:流水线0/GstV4l2Src:v4l2src0:
    流任务暂停、原因错误(-5)
    执行在0:01:40.939470972之后结束

    但是、当我将  电平设置为4级或  41级时、不会发生这种情况!

    原因可能是什么?

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

    是否可以尝试增加 VPE 的 num 输入缓冲区?
    您使用的最新管道是什么?

    BR
    玛格丽塔
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!
    玛格丽塔
    h264编码命令为:
    gst-launch-1.0 -v v4l2src device=/dev/video1 num-buffers=-1 io-mode=4! "video/x-raw、format=(string) YUY2、width=(int) 1920、height=(int) 108"! VPE num-input-buffers=8! "video/x-raw、format=(string) NV12、width=(int) 1920、height=(int) 108"! ducatih264enc level=level-51 profile=high bitrate =6000! 文件链接位置=`dATE +%Y%m%d-%H%M%S`.264

    root@am57xx-EVM:~# gst-launch-1.0 -版本
    GST-LAUNCH-1.0版本1.6.3
    GStreamer 1.6.3
    未知的包来源
    root@am57xx-EVM:~#

    当我将 VPE 的 num-input-buffers 增加到16或24时、错误仍然会发生!

    为什么会发生错误?
    BR、
    Vefone
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    我尝试了以下管道:
    gst-launch-1.0 -v v4l2src device=/dev/video1 io-mode=4! "video/x-raw、format=(string) YUY2、width=(int) 1920、height=(int) 108"! VPE num-input-buffers=8! "video/x-raw、format=(string) NV12、width=(int) 1920、height=(int) 108"! ducatih264enc level=level-51 profile=high bitrate =6000! h264parse! filesink location=test.264

    我应该等待多长时间?
    我在以下时间停止了它:
    执行在0:06:04.379587656之后结束

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

    您好!

    玛格丽塔,我运行您提供的命令,有时会发生错误。我怀疑它可能是输入视频导致 GstV4l2Src 不能正常工作。

    root@am57xx-EVM:~# gst-launch-1.0 -v v4l2src device=/dev/video1 io-mode=4! "video/x-raw、format=(string) YUY2、width=(int) 1920、height=(int) 108"! VPE num-input-buffers=8! "video/x-raw、format=(string) NV12、width=(int) 1920、height=(int) 108"! ducatih264enc level=level-51 profile=high bitrate =6000! h264parse! filesink location=test.264
    [3659.589044] adv7604_stdi.BL = 0xd3a adv7604_stdi.lcCF = 0x464 adv7604_stdi.lcvs = 0x5
    正在将管道设置为暂停...
    [3659.789020] adv7604_stdi.BL = 0xd3a adv7604_stdi.lcCF = 0x464 adv7604_stdi.lcvs = 0x5
    管道处于活动状态,不需要 PREROLL...
    正在将管道设置为正在播放...
    新时钟:GstSystemClock
    [3659.979002] adv7604_stdi.BL = 0xd3a adv7604_stdi.lcCF = 0x464 adv7604_stdi.lcvs = 0x5
    /GstPipeline0/GstV4l2Src:v4l2src0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) YUY2、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\、\(byte-bace-pixel =) 1001 (bace-dite-diter=)、bapy (pixel-amperity\) mity= 1) mcyr (pixel 1) mcyr (bacity\) 1001、badecess-diterti-d/(frecess-ditr) diterti-
    /GstPipeline0/GstCapsFilter:capsfilter0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) YUy2、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素纵横比= 1) 3001、色带1 (tracket/framex) metry)
    /GstPipeline0/GstVpe:vpe0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素纵横比\=(string\) 30000\(frame\)/frategray\
    /GstPipeline0/GstCapsFilter:capsfilter1.GstPad:src:cap ="video/x-raw、\ format\=(string\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素宽高宽高比\=(frame\) 1001)/fraperate (frate\)/1001"
    /GstPipeline0/GstDucatiH264Enc:ducatih264enc0.GstPad:src:cap ="VIDEO/x-h264\、\对齐\=(字符串\) au\、\流格式\=(字符串\) byte-stream\、\宽\=(int \) 1001)、damperity= 1 (x 1) x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x
    /GstPipeline0/GstH264Parse:h264parse0.GstPad:src:cap ="video/x-h264\、\ alignment\=(string\) au\、\ stream-format\=(string\) byte-stream\、\ width\=(int\) 1920\、\(try\) mixel 比率= 1) 1001、trape1 (tured raties/frame=) misfam1)/framex (torex 1) 1001 (turbegray\
    /GstPipeline0/GstFileSink:文件 ink0.GstPad:sink:cap ="VIDEO/x-h264\、\ alignment\=(string\) au\、\ stream-format\=(string\) byte-stream\、\ width\=(int\) 1001\、tortex\(tortex\) mage= 1)/framex (tager= 1) mixpixel、tage= 1) mixel (tage= 1) mixel (tage= 1)/fraint/fam1) 1001) mixelt (tage= 1) mixel
    /GstPipeline0/GstH264Parse:h264parse0.GstPad:sink:cap ="video/x-h264\、\ alignmention\=(string\) au\、\ stream-format\=(string\) byte-stream\、\ width\=(int\) 1920\、\、\(frame\) 1001 (pixel 比率\) 1001)/frame\
    /GstPipeline0/GstDucatiH264Enc:ducatih264enc0.GstPad:灌电流:电容="VIDEO/x-RAW\、\ format\\(string\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/1001、pertion\(pixel-amperity\)/frame\、tapperity\
    /GstPipeline0/GstCapsFilter:capsfilter1.GstPad:SINK:SINK:CAPs ="VIDEO/x-RAW\、\ FORMAT\=(STRING\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/bers\、\像素宽高宽高比\=(1001)/framex (frature\) 1001)/frate\
    /GstPipeline0/GstVpe:vpe0.GstPad:SINK:SINK:SINK:CAPs ="VIDEO/x-RAW\、\ FORMAT\=(STRING\) Y2\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、PIXEL -纵横比\=(STRING\) 1001)、色带1 (渐变模式/分色1) 1001)
    /GstPipeline0/GstCapsFilter:capsfilter0.GstPad:SINK:SINK:CAPs ="VIDEO/x-RAW\、\ format\=(string\) YUy2、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素纵横比=(track-pix1) 3001)、色带1 (track/framex)/track-mess=(track-met=) 1001)
    /GstPipeline0/GstVpe:vpe0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素纵横比\=(string\) 30000\(frame\)/frategray\
    /GstPipeline0/GstCapsFilter:capsfilter1.GstPad:SINK:SINK:CAPs ="VIDEO/x-RAW\、\ FORMAT\=(STRING\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/bers\、\像素宽高宽高比\=(1001)/framex (frature\) 1001)/frate\
    /GstPipeline0/GstDucatiH264Enc:ducatih264enc0.GstPad:src:cap ="VIDEO/x-h264\、\ width\=(int\) 1920\、\ height\(int\) 1080/\、\ framera\\\\\\\\\\\(diter\\)30000/(bytes= 1)、rand-stream= 1、rand-rale= 1 (pixel-rame= 1)、rale= 1、rand-rale= 1 (pix-rale= 1)/rale= 1 (byte-rale= 1)/rale= 1)/rale= 1 (pixel-rfixel-1000、rfixel-rfixel-rale= 1、
    /GstPipeline0/GstH264Parse:h264parse0.GstPad:sink:cap ="video/x-h264\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、帧速率=(frame\) 30000/1001、1 (byte-reorder =)、recture-ral= 1 (num) ralign、1 (frame=) ring\(frame\) ring\(frame\) ring\
    /GstPipeline0/GstH264Parse:h264parse0.GstPad:src:cap ="video/x-h264\、\ width\=(int\) 1920\、\ height\=(int\) 1088\、帧速率\=(video/x-h1001)、begray=(frame=)、tramex (frame=)/tramex (framex (framex)、ring=) ring=(framex (framex)/ring=) ring=)/ring=(trybegra-rand/rand/rand/randrand/rand/rand/randrandrand/rand/rand/ring=) vegra-randrand/rand/rand/rand/rand/rand/rand/rand/rand/rand/
    /GstPipeline0/GstFileSlink:filesink0.GstPad:sink:cap ="VIDEO/x-h264\、\ width\=(int\) 1920\、\ height\=(int\) 1088\、\(frame\) 30000\、\、\(frame\) x (trages\) 1) rich=(trage-order-1)、trages=(try=(traged)、trages=(trage-order-traged)、trages=(trage=)、trages=(trage-order-traged)、trages=(trage=(traged)、trage-order-trages=)、rand-rand-ra-rand-rand-ring=(trage=(trages=)、tragesx (trages=)、

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败
    错误:来自元素/GstPipeline:流水 线0/GstV4l2Src:v4l2src0:内部数据流错误。
    其他调试信息:
    ./../../../gstreamer-1.6.3/libs/gst/base/gstbasesrc.c (2943):gst_base_src_loop ():/GstPipeline:流水线0/GstV4l2Src:v4l2src0:
    流任务暂停、原因错误(-5)
    0:02:09.231635954后结束执行
    正在将管道设置为暂停...
    正在将管道设置为就绪...
    正在将管道设置为 NULL ...
    正在释放管道...
    root@am57xx-EVM:~#

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

    玛格丽塔,我运行您提供的命令,有时会发生错误。我怀疑它可能是输入视频导致 GstV4l2Src 不能正常工作。

    root@am57xx-EVM:~# gst-launch-1.0 -v v4l2src device=/dev/video1 io-mode=4! "video/x-raw、format=(string) YUY2、width=(int) 1920、height=(int) 108"! VPE num-input-buffers=8! "video/x-raw、format=(string) NV12、width=(int) 1920、height=(int) 108"! ducatih264enc level=level-51 profile=high bitrate =6000! h264parse! filesink location=test.264
    [3659.589044] adv7604_stdi.BL = 0xd3a adv7604_stdi.lcCF = 0x464 adv7604_stdi.lcvs = 0x5
    正在将管道设置为暂停...
    [3659.789020] adv7604_stdi.BL = 0xd3a adv7604_stdi.lcCF = 0x464 adv7604_stdi.lcvs = 0x5
    管道处于活动状态,不需要 PREROLL...
    正在将管道设置为正在播放...
    新时钟:GstSystemClock
    [3659.979002] adv7604_stdi.BL = 0xd3a adv7604_stdi.lcCF = 0x464 adv7604_stdi.lcvs = 0x5
    /GstPipeline0/GstV4l2Src:v4l2src0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) YUY2、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\、\(byte-bace-pixel =) 1001 (bace-dite-diter=)、bapy (pixel-amperity\) mity= 1) mcyr (pixel 1) mcyr (bacity\) 1001、badecess-diterti-d/(frecess-ditr) diterti-
    /GstPipeline0/GstCapsFilter:capsfilter0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) YUy2、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素纵横比= 1) 3001、色带1 (tracket/framex) metry)
    /GstPipeline0/GstVpe:vpe0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素纵横比\=(string\) 30000\(frame\)/frategray\
    /GstPipeline0/GstCapsFilter:capsfilter1.GstPad:src:cap ="video/x-raw、\ format\=(string\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素宽高宽高比\=(frame\) 1001)/fraperate (frate\)/1001"
    /GstPipeline0/GstDucatiH264Enc:ducatih264enc0.GstPad:src:cap ="VIDEO/x-h264\、\对齐\=(字符串\) au\、\流格式\=(字符串\) byte-stream\、\宽\=(int \) 1001)、damperity= 1 (x 1) x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x
    /GstPipeline0/GstH264Parse:h264parse0.GstPad:src:cap ="video/x-h264\、\ alignment\=(string\) au\、\ stream-format\=(string\) byte-stream\、\ width\=(int\) 1920\、\(try\) mixel 比率= 1) 1001、trape1 (tured raties/frame=) misfam1)/framex (torex 1) 1001 (turbegray\
    /GstPipeline0/GstFileSink:文件 ink0.GstPad:sink:cap ="VIDEO/x-h264\、\ alignment\=(string\) au\、\ stream-format\=(string\) byte-stream\、\ width\=(int\) 1001\、tortex\(tortex\) mage= 1)/framex (tager= 1) mixpixel、tage= 1) mixel (tage= 1) mixel (tage= 1)/fraint/fam1) 1001) mixelt (tage= 1) mixel
    /GstPipeline0/GstH264Parse:h264parse0.GstPad:sink:cap ="video/x-h264\、\ alignmention\=(string\) au\、\ stream-format\=(string\) byte-stream\、\ width\=(int\) 1920\、\、\(frame\) 1001 (pixel 比率\) 1001)/frame\
    /GstPipeline0/GstDucatiH264Enc:ducatih264enc0.GstPad:灌电流:电容="VIDEO/x-RAW\、\ format\\(string\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/1001、pertion\(pixel-amperity\)/frame\、tapperity\
    /GstPipeline0/GstCapsFilter:capsfilter1.GstPad:SINK:SINK:CAPs ="VIDEO/x-RAW\、\ FORMAT\=(STRING\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/bers\、\像素宽高宽高比\=(1001)/framex (frature\) 1001)/frate\
    /GstPipeline0/GstVpe:vpe0.GstPad:SINK:SINK:SINK:CAPs ="VIDEO/x-RAW\、\ FORMAT\=(STRING\) Y2\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、PIXEL -纵横比\=(STRING\) 1001)、色带1 (渐变模式/分色1) 1001)
    /GstPipeline0/GstCapsFilter:capsfilter0.GstPad:SINK:SINK:CAPs ="VIDEO/x-RAW\、\ format\=(string\) YUy2、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素纵横比=(track-pix1) 3001)、色带1 (track/framex)/track-mess=(track-met=) 1001)
    /GstPipeline0/GstVpe:vpe0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素纵横比\=(string\) 30000\(frame\)/frategray\
    /GstPipeline0/GstCapsFilter:capsfilter1.GstPad:SINK:SINK:CAPs ="VIDEO/x-RAW\、\ FORMAT\=(STRING\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/bers\、\像素宽高宽高比\=(1001)/framex (frature\) 1001)/frate\
    /GstPipeline0/GstDucatiH264Enc:ducatih264enc0.GstPad:src:cap ="VIDEO/x-h264\、\ width\=(int\) 1920\、\ height\(int\) 1080/\、\ framera\\\\\\\\\\\(diter\\)30000/(bytes= 1)、rand-stream= 1、rand-rale= 1 (pixel-rame= 1)、rale= 1、rand-rale= 1 (pix-rale= 1)/rale= 1 (byte-rale= 1)/rale= 1)/rale= 1 (pixel-rfixel-1000、rfixel-rfixel-rale= 1、
    /GstPipeline0/GstH264Parse:h264parse0.GstPad:sink:cap ="video/x-h264\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、帧速率=(frame\) 30000/1001、1 (byte-reorder =)、recture-ral= 1 (num) ralign、1 (frame=) ring\(frame\) ring\(frame\) ring\
    /GstPipeline0/GstH264Parse:h264parse0.GstPad:src:cap ="video/x-h264\、\ width\=(int\) 1920\、\ height\=(int\) 1088\、帧速率\=(video/x-h1001)、begray=(frame=)、tramex (frame=)/tramex (framex (framex)、ring=) ring=(framex (framex)/ring=) ring=)/ring=(trybegra-rand/rand/rand/randrand/rand/rand/randrandrand/rand/rand/ring=) vegra-randrand/rand/rand/rand/rand/rand/rand/rand/rand/rand/
    /GstPipeline0/GstFileSlink:filesink0.GstPad:sink:cap ="VIDEO/x-h264\、\ width\=(int\) 1920\、\ height\=(int\) 1088\、\(frame\) 30000\、\、\(frame\) x (trages\) 1) rich=(trage-order-1)、trages=(try=(traged)、trages=(trage-order-traged)、trages=(trage=)、trages=(trage-order-traged)、trages=(trage=(traged)、trage-order-trages=)、rand-rand-ra-rand-rand-ring=(trage=(trages=)、tragesx (trages=)、

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败
    错误:来自元素/GstPipeline:流水 线0/GstV4l2Src:v4l2src0:内部数据流错误。
    其他调试信息:
    ./../../../gstreamer-1.6.3/libs/gst/base/gstbasesrc.c (2943):gst_base_src_loop ():/GstPipeline:流水线0/GstV4l2Src:v4l2src0:
    流任务暂停、原因错误(-5)
    0:02:09.231635954后结束执行
    正在将管道设置为暂停...
    正在将管道设置为就绪...
    正在将管道设置为 NULL ...
    正在释放管道...
    root@am57xx-EVM:~#

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

    您好!

    玛格丽塔,我运行您提供的命令,有时会发生错误。我怀疑它可能是输入视频导致 GstV4l2Src 不能正常工作。

    root@am57xx-EVM:~# gst-launch-1.0 -v v4l2src device=/dev/video1 io-mode=4! "video/x-raw、format=(string) YUY2、width=(int) 1920、height=(int) 108"! VPE num-input-buffers=8! "video/x-raw、format=(string) NV12、width=(int) 1920、height=(int) 108"! ducatih264enc level=level-51 profile=high bitrate =6000! h264parse! filesink location=test.264

    [3659.589044] adv7604_stdi.BL = 0xd3a adv7604_stdi.lcCF = 0x464 adv7604_stdi.lcvs = 0x5

    正在将管道设置为暂停...

    [3659.789020] adv7604_stdi.BL = 0xd3a adv7604_stdi.lcCF = 0x464 adv7604_stdi.lcvs = 0x5

    管道处于活动状态,不需要 PREROLL...

    正在将管道设置为正在播放...

    新时钟:GstSystemClock

    [3659.979002] adv7604_stdi.BL = 0xd3a adv7604_stdi.lcCF = 0x464 adv7604_stdi.lcvs = 0x5

    /GstPipeline0/GstV4l2Src:v4l2src0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) YUY2、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\、\(byte-bace-pixel =) 1001 (bace-dite-diter=)、bapy (pixel-amperity\) mity= 1) mcyr (pixel 1) mcyr (bacity\) 1001、badecess-diterti-d/(frecess-ditr) diterti-

    /GstPipeline0/GstCapsFilter:capsfilter0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) YUy2、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素纵横比= 1) 3001、色带1 (tracket/framex) metry)

    /GstPipeline0/GstVpe:vpe0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素纵横比\=(string\) 30000\(frame\)/frategray\

    /GstPipeline0/GstCapsFilter:capsfilter1.GstPad:src:cap ="video/x-raw、\ format\=(string\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素宽高宽高比\=(frame\) 1001)/fraperate (frate\)/1001"

    /GstPipeline0/GstDucatiH264Enc:ducatih264enc0.GstPad:src:cap ="VIDEO/x-h264\、\对齐\=(字符串\) au\、\流格式\=(字符串\) byte-stream\、\宽\=(int \) 1001)、damperity= 1 (x 1) x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x

    /GstPipeline0/GstH264Parse:h264parse0.GstPad:src:cap ="video/x-h264\、\ alignment\=(string\) au\、\ stream-format\=(string\) byte-stream\、\ width\=(int\) 1920\、\(try\) mixel 比率= 1) 1001、trape1 (tured raties/frame=) misfam1)/framex (torex 1) 1001 (turbegray\

    /GstPipeline0/GstFileSink:文件 ink0.GstPad:sink:cap ="VIDEO/x-h264\、\ alignment\=(string\) au\、\ stream-format\=(string\) byte-stream\、\ width\=(int\) 1001\、tortex\(tortex\) mage= 1)/framex (tager= 1) mixpixel、tage= 1) mixel (tage= 1) mixel (tage= 1)/fraint/fam1) 1001) mixelt (tage= 1) mixel

    /GstPipeline0/GstH264Parse:h264parse0.GstPad:sink:cap ="video/x-h264\、\ alignmention\=(string\) au\、\ stream-format\=(string\) byte-stream\、\ width\=(int\) 1920\、\、\(frame\) 1001 (pixel 比率\) 1001)/frame\

    /GstPipeline0/GstDucatiH264Enc:ducatih264enc0.GstPad:灌电流:电容="VIDEO/x-RAW\、\ format\\(string\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/1001、pertion\(pixel-amperity\)/frame\、tapperity\

    /GstPipeline0/GstCapsFilter:capsfilter1.GstPad:SINK:SINK:CAPs ="VIDEO/x-RAW\、\ FORMAT\=(STRING\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/bers\、\像素宽高宽高比\=(1001)/framex (frature\) 1001)/frate\

    /GstPipeline0/GstVpe:vpe0.GstPad:SINK:SINK:SINK:CAPs ="VIDEO/x-RAW\、\ FORMAT\=(STRING\) Y2\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、PIXEL -纵横比\=(STRING\) 1001)、色带1 (渐变模式/分色1) 1001)

    /GstPipeline0/GstCapsFilter:capsfilter0.GstPad:SINK:SINK:CAPs ="VIDEO/x-RAW\、\ format\=(string\) YUy2、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素纵横比=(track-pix1) 3001)、色带1 (track/framex)/track-mess=(track-met=) 1001)

    /GstPipeline0/GstVpe:vpe0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、\像素纵横比\=(string\) 30000\(frame\)/frategray\

    /GstPipeline0/GstCapsFilter:capsfilter1.GstPad:SINK:SINK:CAPs ="VIDEO/x-RAW\、\ FORMAT\=(STRING\) NV12\、\ width\=(int\) 1920\、\ height\=(int\) 1080/bers\、\像素宽高宽高比\=(1001)/framex (frature\) 1001)/frate\

    /GstPipeline0/GstDucatiH264Enc:ducatih264enc0.GstPad:src:cap ="VIDEO/x-h264\、\ width\=(int\) 1920\、\ height\(int\) 1080/\、\ framera\\\\\\\\\\\(diter\\)30000/(bytes= 1)、rand-stream= 1、rand-rale= 1 (pixel-rame= 1)、rale= 1、rand-rale= 1 (pix-rale= 1)/rale= 1 (byte-rale= 1)/rale= 1)/rale= 1 (pixel-rfixel-1000、rfixel-rfixel-rale= 1、

    /GstPipeline0/GstH264Parse:h264parse0.GstPad:sink:cap ="video/x-h264\、\ width\=(int\) 1920\、\ height\=(int\) 1080/\、帧速率=(frame\) 30000/1001、1 (byte-reorder =)、recture-ral= 1 (num) ralign、1 (frame=) ring\(frame\) ring\(frame\) ring\

    /GstPipeline0/GstH264Parse:h264parse0.GstPad:src:cap ="video/x-h264\、\ width\=(int\) 1920\、\ height\=(int\) 1088\、帧速率\=(video/x-h1001)、begray=(frame=)、tramex (frame=)/tramex (framex (framex)、ring=) ring=(framex (framex)/ring=) ring=)/ring=(trybegra-rand/rand/rand/randrand/rand/rand/randrandrand/rand/rand/ring=) vegra-randrand/rand/rand/rand/rand/rand/rand/rand/rand/rand/

    /GstPipeline0/GstFileSlink:filesink0.GstPad:sink:cap ="VIDEO/x-h264\、\ width\=(int\) 1920\、\ height\=(int\) 1088\、\(frame\) 30000\、\、\(frame\) x (trages\) 1) rich=(trage-order-1)、trages=(try=(traged)、trages=(trage-order-traged)、trages=(trage=)、trages=(trage-order-traged)、trages=(trage=(traged)、trage-order-trages=)、rand-rand-ra-rand-rand-ring=(trage=(trages=)、tragesx (trages=)、

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    **(GST-LAUNCH-1.0:8728):严重**:GST_FD_MEMORY_GET_FD:断言"GST_IS _FD_LOADator (mem->allocator)"失败

    错误:来自元素/GstPipeline:流水 线0/GstV4l2Src:v4l2src0:内部数据流错误。

    其他调试信息:

    ./../../../gstreamer-1.6.3/libs/gst/base/gstbasesrc.c (2943):gst_base_src_loop ():/GstPipeline:流水线0/GstV4l2Src:v4l2src0:

    流任务暂停、原因错误(-5)

    0:02:09.231635954后结束执行

    正在将管道设置为暂停...

    正在将管道设置为就绪...

    正在将管道设置为 NULL ...

    正在释放管道...

    root@am57xx-EVM:~#

    Vefone

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

    我使用的 PSDK 是4和 gstreamer 1.8。

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

    如果级别为4.1、您是否会看到错误?

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

    您好!

    玛格丽塔

    是的、当级别为4.1时、我可以在某个时间看到错误。 现在、我将内核配置 CONFIG_CMA_SIZE 从80更改为240、出错的可能性变小、我不知道原因。那么、让它开始吧。

    谢谢!