您尚未登录。

#1 Re: 全志 SOC » 编解码引擎 CedarX for Mainline Linux v5.4 » 2021-08-23 17:24:04

configuration: --enable-cross-compile --cross-prefix=/home/rsltueb/buildroot-2021.05.1/output/host/bin/arm-buildroot-linux-gnueabihf- --sysroot=/home/rsltueb/buildroot-2021.05.1/output/host/arm-buildroot-linux-gnueabihf/sysroot --host-cc=/usr/bin/gcc --arch=arm --target-os=linux --disable-stripping --pkg-config=/home/rsltueb/buildroot-2021.05.1/output/host/bin/pkg-config --disable-static --enable-shared --prefix=/usr --enable-avfilter --disable-version3 --enable-logging --enable-optimizations --disable-extra-warnings --enable-avdevice --enable-avcodec --enable-avformat --enable-network --disable-gray --enable-swscale-alpha --disable-small --enable-dct --enable-fft --enable-mdct --enable-rdft --disable-crystalhd --disable-dxva2 --enable-runtime-cpudetect --disable-hardcoded-tables --disable-mipsdsp --disable-mipsdspr2 --disable-msa --enable-hwaccels --disable-cuda --disable-cuvid --disable-nvenc --disable-avisynth --disable-frei0r --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libdc1394 --disable-libgsm --disable-libilbc --disable-libvo-amrwbenc --disable-symver --disable-doc --enable-gpl --enable-nonfree --enable-ffmpeg --disable-ffplay --disable-libv4l2 --enable-avresample --disable-ffprobe --disable-libxcb --enable-postproc --enable-swscale --enable-indevs --disable-alsa --enable-outdevs --enable-pthreads --enable-zlib --disable-bzlib --disable-libfdk-aac --disable-libcdio --disable-gnutls --enable-openssl --disable-libdrm --disable-libopenh264 --disable-vaapi --disable-vdpau --disable-mmal --disable-omx --disable-omx-rpi --disable-libopencv --disable-libopus --disable-libvpx --disable-libass --disable-libbluray --disable-libmfx --disable-librtmp --disable-libmp3lame --disable-libmodplug --disable-libspeex --disable-libtheora --disable-iconv --disable-libfreetype --disable-fontconfig --disable-libopenjpeg --disable-libx264 --disable-libx265 --disable-libdav1d --disable-x86asm --disable-mmx --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-avx --disable-avx2 --enable-armv6 --enable-vfp --enable-neon --disable-altivec --extra-libs=-latomic --enable-pic --cpu=cortex-a7 --enable-omx
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Input #0, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, start: 335.276266, bitrate: 147456 kb/s
  Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
File '/tmp/av.avi' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_omx))
Press [q] to stop, [?] for help
[h264_omx @ 0x4c1b20] libOMX_Core.so not found
 Leaving OMX_GetComponentsOfRole
[h264_omx @ 0x4c1b20] Using OMX.allwinner.video.encoder.avc
debug  : omx_venc <__AwOmxVencComponentCreate:2501>: COMPONENT_CREATE
debug  : cedarc <AwOmxComponentInit:26>:OMXCORE: aw_omx_component_init 4d24c8

debug  : omx_venc <__AwOmxVencInit:392>: COMPONENT_INIT
debug  : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS ***
debug  : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open

debug  : cedarc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug  : cedarc <VeInitialize:1198>: ve init ok

debug  : ionAlloc <ion_alloc_open:175>:** phy offset = 40000000
debug  : cedarc <VeRelease:1253>: ve release ok

debug  : cedarc <CdcMessageQueueCreate:47>:nMessageSize = 20
debug  : cedarc <CdcMessageQueueCreate:47>:nMessageSize = 20
debug  : cedarc <updateOmxDebugFlag:238>:DEBUG_TYPE is (null).
debug  : cedarc <AwOmxComponentSetCallbacks:309>:OMXCORE: aw_omx_component_set_callbacks 4d24c8, b64495ec , 4c1ec0

debug  : omx_venc <__AwOmxVencSetCallbacks:2317>:===== vdec set callbacks***************
debug  : omx_venc <__AwOmxVencGetParameter:953>:InPort definition: width = 0, height = 0
debug  : omx_venc <__AwOmxVencGetParameter:965>:OutPort definition: width = 176, height = 144
debug  : omx_venc <__AwOmxVencSetParameter:1335>:init_input_port: stride = 640, width = 640, height = 480
debug  : omx_venc <__AwOmxVencSetParameter:1341>:set video port format 0x13
debug  : omx_venc <__AwOmxVencGetParameter:953>:InPort definition: width = 640, height = 480
debug  : omx_venc <__AwOmxVencGetParameter:965>:OutPort definition: width = 176, height = 144
debug  : omx_venc <__AwOmxVencSetParameter:1405>:init_output_port: framerate: 1966080(>>16) 30, output width 640 height 480.
debug  : omx_venc <__AwOmxVencGetParameter:965>:OutPort definition: width = 640, height = 480
debug  : omx_venc <__AwOmxVencAllocateBuffer:1963>:allocate buffer, nPortIndex: InPort, nSizeBytes: 460800
debug  : omx_venc <__AwOmxVencAllocateBuffer:1963>:allocate buffer, nPortIndex: InPort, nSizeBytes: 460800
debug  : omx_venc <__AwOmxVencAllocateBuffer:1963>:allocate buffer, nPortIndex: OutPort, nSizeBytes: 460800
debug  : omx_venc <__AwOmxVencAllocateBuffer:1963>:allocate buffer, nPortIndex: OutPort, nSizeBytes: 460800
debug  : omx_venc <__AwOmxVencAllocateBuffer:1963>:allocate buffer, nPortIndex: OutPort, nSizeBytes: 460800
debug  : omx_venc <__AwOmxVencAllocateBuffer:1963>:allocate buffer, nPortIndex: OutPort, nSizeBytes: 460800
debug  : omx_venc <processThreadCommand:3317>:x set state command, cmd = main_thread_cmd_set_state, pCmdData = OMX_StateIdle.
debug  : omx_venc <processThreadCommand:3317>:x set state command, cmd = main_thread_cmd_set_state, pCmdData = OMX_StateExecuting.
Output #0, avi, to '/tmp/av.avi':
  Metadata:
    ISFT            : Lavf58.76.100
  Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(tv, progressive), 640x480, q=2-31, 200 kb/s, 30 fps, 30 tbn
    Metadata:
      encoder         : Lavc58.134.100 h264_omx
debug  : omx_venc <ComponentVencThread:4316>:(vdrvThread receive cmd[venc_cmd_open]
debug  : cedarc <LogVersionInfo:40>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag   : createBranch_customize_sylix
branch: CedarC-v1.1.9
commit: 4a182bd42c931bea2f77b0ff9a531d233df8541e
date  : Thu May 25 15:34:03 2017 +0800
author: jenkins8080
patch :
----------------------------------------------------------------------

debug  : cedarc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug  : cedarc <VeInitialize:1198>: ve init ok

debug  : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS ***
debug  : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open

debug  : omx_venc <init_h264_param:2820>:profile-venc=66, profile-omx=1, frame_rate:1966080, bit_rate:200000, idr:12, eColorFormat:00000013

debug  : omx_venc <init_h264_param:2946>:Enable VBR. QpMin: 20. QpMax: 45. Bitrate: 200000.
debug  : cedarc <determineVencColorFormat:167>:color format: VENC_PIXEL_YUV420P/I420
debug  : omx_venc <openVencDriver:3184>:omx_venc base_config info: src_wxh:640x480, dis_wxh:640x480, stride:640

debug  : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS ***
debug  : omx_venc <openVencDriver:3221>:AVC 4 byte interleave nalu Disable.
debug  : cedarc <VideoEncInit:195>: (f:VideoEncInit, l:195)
debug  : cedarc <VideoEncInit:210>: (f:VideoEncInit, l:210)
debug  : cedarc <BitStreamCreate:102>: BitStreamCreate OK
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 19, current: 0; changing to 20. This may result in incorrect timestamps in the output file.
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 20, current: 20; changing to 21. This may result in incorrect timestamps in the output file.
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 21, current: 21; changing to 22. This may result in incorrect timestamps in the output file.
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 22, current: 22; changing to 23. This may result in incorrect timestamps in the output file.
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 23, current: 23; changing to 24. This may result in incorrect timestamps in the output file.
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 24, current: 24; changing to 25. This may result in incorrect timestamps in the output file.
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 25, current: 0; changing to 26. This may result in incorrect timestamps in the output file.
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 26, current: 25; changing to 27. This may result in incorrect timestamps in the output file.
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 27, current: 26; changing to 28. This may result in incorrect timestamps in the output file.
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 28, current: 27; changing to 29. This may result in incorrect timestamps in the output file.
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 29, current: 28; changing to 30. This may result in incorrect timestamps in the output file.
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 30, current: 29; changing to 31. This may result in incorrect timestamps in the output file.
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 31, current: 30; changing to 32. This may result in incorrect timestamps in the output file.
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 32, current: 31; changing to 33. This may result in incorrect timestamps in the output file.
debug  : omx_venc <__AwOmxVencEmptyThisBuffer:2226>:vencInPort: empty_this_buffer 50 times
debug  : omx_venc <__AwOmxVencFillThisBuffer:2278>:vencOutPort: fill_this_buffer 50 times
debug  : omx_venc <__AwOmxVencEmptyThisBuffer:2226>:vencInPort: empty_this_buffer 50 times06x
debug  : omx_venc <__AwOmxVencFillThisBuffer:2278>:vencOutPort: fill_this_buffer 50 times
debug  : omx_venc <__AwOmxVencEmptyThisBuffer:2226>:vencInPort: empty_this_buffer 50 times04x
debug  : omx_venc <__AwOmxVencFillThisBuffer:2278>:vencOutPort: fill_this_buffer 50 times
debug  : omx_venc <__AwOmxVencEmptyThisBuffer:2226>:vencInPort: empty_this_buffer 50 times67x
debug  : omx_venc <__AwOmxVencFillThisBuffer:2278>:vencOutPort: fill_this_buffer 50 times
debug  : omx_venc <dealWithInputBuffer:3821>: set up impl->m_inBufEos flag.: 0x4c3760ed=3.88x
warning: omx_venc <dealWithInputBuffer:3872>:skip this input buffer, pInBufHd:0x4c3760,buffer_type=55565757,buf_size=0
debug  : omx_venc <ComponentVencThread:4316>:(vdrvThread receive cmd[venc_cmd_enc_idle]
debug  : omx_venc <ComponentVencThread:4316>:(vdrvThread receive cmd[venc_cmd_enc_idle]
debug  : omx_venc <ComponentVencThread:4316>:(vdrvThread receive cmd[venc_cmd_enc_idle]
debug  : omx_venc <ComponentVencThread:4316>:(vdrvThread receive cmd[venc_cmd_enc_idle]
[avi @ 0x4c05b0] Non-monotonous DTS in output stream 0:0; previous: 834, current: 831; changing to 835. This may result in incorrect timestamps in the output file.
frame=  238 fps= 33 q=-0.0 Lsize=     152kB time=00:00:27.86 bitrate=  44.6kbits/s speed=3.81x
video:127kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 19.980240%
debug  : omx_venc <processThreadCommand:3317>:x set state command, cmd = main_thread_cmd_set_state, pCmdData = OMX_StateIdle.
debug  : omx_venc <ComponentVencThread:4316>:(vdrvThread receive cmd[venc_cmd_enc_idle]
debug  : omx_venc <ComponentVencThread:4316>:(vdrvThread receive cmd[venc_cmd_close]
debug  : cedarc <VeRelease:1253>: ve release ok

debug  : omx_venc <processThreadCommand:3317>:x set state command, cmd = main_thread_cmd_set_state, pCmdData = OMX_StateLoaded.
debug  : cedarc <AwOmxComponentDeinit:47>:OMXCORE: aw_omx_component_deinit 4d24c8

debug  : omx_venc <__AwOmxVencDeInit:2337>:COMPONENT_DEINIT
debug  : omx_venc <processThreadCommand:3732>:x stop command.
debug  : omx_venc <ComponentVencThread:4316>:(vdrvThread receive cmd[venc_cmd_stop]
debug  : omx_venc <ComponentVencThread:4428>:vencThread detect nStopFlag[1], exit!
debug  : cedarc <checkLibUnload:188>: Unloading the dynamic library for OMX.allwinner.video.encoder.avc

有大量的debug
Non-monotonous DTS in output stream 0:0; previous: 24, current: 24; changing to 25. This may result in incorrect timestamps in the output file.
这是怎么回事呢

页脚

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

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