您尚未登录。

#1 工业芯 匠芯创 » D13X功耗 » 2024-02-25 22:06:29

baicaiaichibaicai
回复: 1

有功耗相关说明么? 多少uA/Mhz,各种外设功耗呢?

#2 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » 海思hi3798MV100平台h264硬件编码后本地播放出错 » 2023-04-09 13:30:48

baicaiaichibaicai
回复: 0

hi各位,在hi3798MV100平台使用以下命令进行h264编码
gst-launch-1.0 -vv videotestsrc !  'video/x-raw,format=I420, width=1280,height=720,framerate=10/1' ! videoconvert ! omxh264enc ! h264parse ! filesink location=test.mkv -e

输出如下:
Setting pipeline to PAUSED ...
OMX_Init :: enter!
OMX_Init :: exit!
OMX_GetHandle :: enter!
OMX_GetHandle :: component name:OMX.hisi.video.encoder.avc !
OMX_GetHandle :: prepare to load  libOMX.hisi.video.encoder.so
OMX_GetHandle :: load  libOMX.hisi.video.encoder.so ok
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)10/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)10/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)10/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:sink: caps = video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)10/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)10/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)10/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
create venc ==> Picture Width(1280) Heigth(720) ====>bitrate = 3145728, QP = 48,16
Loaded-->Idle-Pending
[OmxState] Idle_Pending --> Idle
idle-->Executing-Pending
/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)main, level=(string)3.1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)10/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)main, level=(string)3.1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)10/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, parsed=(boolean)true
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)main, level=(string)3.1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)10/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, parsed=(boolean)true
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)main, level=(string)3.1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)10/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
^Chandling interrupt.
Interrupt: Stopping pipeline ...
EOS on shutdown enabled -- Forcing EOS on the pipeline
Waiting for EOS...
[ETB]get EOS buffer !PTS = 14600000, 0, len= 0
[FBD]report EOS buffer !PTS = 14600000, 0, len= 0
Got EOS from element "pipeline0".
EOS received - stopping pipeline...
Execution ended after 0:00:03.616382904
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Executing-->Idle OK!
State Idle-pending -> Idle
idle-->Loaded-Pending
loaded-pending ->loaded
Setting pipeline to NULL ...
Freeing pipeline ...




然后将 test.mkv 放在本地上使用以下命令
mplayer test.mkv -fps 10
播放,其图像如下
2023-04-09_13-27_20230409-1328.png
不会有变化
请教下这个问题如何排查,
另外我有两个疑问
1. test.mkv 中未有 fps信息,必须手动 -fps 10 进行指定
2. [FBD]report EOS buffer !PTS = 14600000, 0, len= 0   的 14600000 代表啥 ,视频录制时间 Execution ended after 0:00:03.616382904 是,但是播放时长比0.3秒要长,感觉跟 14600000 这个有关。

#3 哇酷地摊(跳蚤市场) » 改行甩卖,有需要的进来看看。走闲鱼 » 2020-06-09 13:56:01

baicaiaichibaicai
回复: 0

LPC11U24 官方评估板         50         低成本USB设备   
FRDM KL02Z官方评估板      25         
GD32F450官方评估板          40          兼容STM32F450
PIC16F1619官方评估板        60
米尔科技i.MX6开发板           120
OneNET开发板                     25          STM32F103 + ESP8266
LPC54110                             87          M4 + M0 双核
LPC54608官方评估板           330        带屏
LPC55S69官方评估板           200        M33双核
电鱼派  AM3352                    100

闲鱼搜索用户 白菜爱吃白菜

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn