【系统更新】更新多媒体中间件,在Tina D1上支持gstreamer
-
基于D1_Tina_Open V1.0.1版本更新对gstreamer的支持:
1、Tina升级gstreamer主包及其各插件包到1.16.3版本,支持RV架构;
2、gstreamer显示插件sunxifbsink支持g2d硬件旋转;
3、更新多媒体中间件。
详见全志客户服务平台:全志客户服务平台
-
修改内核disp相关参数,旋转fb上UI的显示后,sunxifbsink显示异常问题
-
上图参数实现旋转fb以达到旋转UI的目的,但此修改会导致sunxifbsink中获取到的视频层信息也随之改变,所以需要重置视频层的分辨率为屏幕物理分辨率,改动如下图所示:
-
隐藏有点深, 终于看到了.
-
cube@ubuntu:/opt/D1/package$ patch -p1 < /mnt/hgfs/D/work2/D1_open_tina_multimedia_update_0730/0001-libatomic_ops-upgraded-version-from-v 7.4.8-to-v7.6.8.patch patching file libs/libatomic_ops/Makefile cube@ubuntu:/opt/D1/package$ cube@ubuntu:/opt/D1/package$ cube@ubuntu:/opt/D1/package$ cube@ubuntu:/opt/D1/package$ patch -p1 < /mnt/hgfs/D/work2/D1_open_tina_multimedia_update_0730/0002-alsa-plugins-resolving-compilation-er rors.patch patching file libs/alsa-plugins/Makefile cube@ubuntu:/opt/D1/package$ cube@ubuntu:/opt/D1/package$ patch -p1 < /mnt/hgfs/D/work2/D1_open_tina_multimedia_update_0730/0003-libv4l-upgraded-version-from-v1.10.0- to-v1.20.0.patch patching file libs/libv4l/Makefile patching file libs/libv4l/patches/020-add-missing-includes-and-libs.patch patching file libs/libv4l/patches/020-add-missing-includes.patch patching file libs/libv4l/patches/030-dont-call-getsubopt.patch cube@ubuntu:/opt/D1/package$ cube@ubuntu:/opt/D1/package$ patch -p1 < /mnt/hgfs/D/work2/D1_open_tina_multimedia_update_0730/0004-multimedia-update-gstreamer-from-1.14 .4-to-1.16.3-fo.patch patching file allwinner/tina_multimedia/libcedarc/openmax/vdec/inc/omx_vdec_config.h patching file multimedia/gst1-libav/Makefile patching file multimedia/gst1-omx/Makefile patching file multimedia/gst1-omx/patches/0001-gst-omx-adapter-omx-to-Cedarc.patch patching file multimedia/gst1-omx/patches/0002-gst-omx-support-YV12-format.patch patching file multimedia/gst1-omx/patches/0003-encode-re-allocate-buffers-to-support-omx-video-enco.patch (renamed from multimedia/gst1-o mx/patches/0004-encode-re-allocate-buffers-to-support-omx-video-enco.patch) patching file multimedia/gst1-omx/patches/0003-gst-omx-fix-vital-error-for-failing-to-load-omx-plug.patch patching file multimedia/gst1-omx/patches/0004-gstomx-drop-20-frames.patch (renamed from multimedia/gst1-omx/patches/0005-gstomx-drop-20- frames.patch) patching file multimedia/gst1-omx/patches/0005-omx-modify-dec-to-adapt-changed-resolution-video.patch (renamed from multimedia/gst1-omx/p atches/0006-omx-modify-dec-to-adapt-changed-resolution-video.patch) patching file multimedia/gst1-omx/patches/0006-gst-omx-omx-fix-green-bottom-of-video-playbacking.patch (renamed from multimedia/gst1-omx/ patches/0008-gst-omx-omx-fix-green-bottom-of-video-playbacking.patch) patching file multimedia/gst1-omx/patches/0007-add-byte-stream-property-to-enable-nalu-when-use-omx.patch (renamed from multimedia/gst1-o mx/patches/0009-add-byte-stream-property-to-enable-nalu-when-use-omx.patch) patching file multimedia/gst1-omx/patches/0007-gstreamer-gst-omx-support-external-openmax-and-HEVC.patch patching file multimedia/gst1-plugins-aw/Makefile Hunk #1 succeeded at 81 (offset -25 lines). Hunk #2 succeeded at 119 with fuzz 2 (offset -27 lines). patching file multimedia/gst1-plugins-bad/Makefile patching file multimedia/gst1-plugins-bad/patches--bk/0001-disable-fdkaac-to-avoid-compile-error-temporarily.patch (renamed from multimed ia/gst1-plugins-bad/patches/0001-disable-fdkaac-to-avoid-compile-error-temporarily.patch) patching file multimedia/gst1-plugins-bad/patches--bk/0002-waylandsink-resize-window-and-position.patch (renamed from multimedia/gst1-plu gins-bad/patches/0002-waylandsink-resize-window-and-position.patch) patching file multimedia/gst1-plugins-bad/patches--bk/0003-waylandsink-fix-waylandsink-not-support-YV12-src.patch (renamed from multimedi a/gst1-plugins-bad/patches/0003-waylandsink-fix-waylandsink-not-support-YV12-src.patch) patching file multimedia/gst1-plugins-bad/patches--bk/0004-waylandsink-add-linux-dmabuf.patch (renamed from multimedia/gst1-plugins-bad/p atches/0004-waylandsink-add-linux-dmabuf.patch) patching file multimedia/gst1-plugins-bad/patches--bk/0005-waylandsink-fix-compile-error-for-viewporter-src-fil.patch (renamed from multi media/gst1-plugins-bad/patches/0005-waylandsink-fix-compile-error-for-viewporter-src-fil.patch) patching file multimedia/gst1-plugins-bad/patches--bk/0006-waylandsink-wayland-support-zero-copy-decoding.patch (renamed from multimedia/ gst1-plugins-bad/patches/0006-waylandsink-wayland-support-zero-copy-decoding.patch) patching file multimedia/gst1-plugins-bad/patches--bk/0007-wayland-add-crop-and-resize-width-and-height-when-no.patch (renamed from multi media/gst1-plugins-bad/patches/0007-wayland-add-crop-and-resize-width-and-height-when-no.patch) patching file multimedia/gst1-plugins-bad/patches--bk/0008-wayland-add-waylandsink-initial-window-position.patch (renamed from multimedia /gst1-plugins-bad/patches/0008-wayland-add-waylandsink-initial-window-position.patch) patching file multimedia/gst1-plugins-bad/patches--bk/0009-wayland-add-waylandsink-vflip-and-hflip-function.patch (renamed from multimedi a/gst1-plugins-bad/patches/0009-wayland-add-waylandsink-vflip-and-hflip-function.patch) patching file multimedia/gst1-plugins-bad/patches--bk/0010-wayland-fix-waylandsink-crash-by-a-silly-mistake.patch (renamed from multimedi a/gst1-plugins-bad/patches/0010-wayland-fix-waylandsink-crash-by-a-silly-mistake.patch) patching file multimedia/gst1-plugins-bad/patches--bk/0011-wayland-fix-display-position-not-correct.patch (renamed from multimedia/gst1-p lugins-bad/patches/0011-wayland-fix-display-position-not-correct.patch) patching file multimedia/gst1-plugins-bad/patches/0001-fix-compile-error.patch (renamed from multimedia/gst1-plugins-bad/patches/0013-fix -compile-error.patch) patching file multimedia/gst1-plugins-bad/patches/0002-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch (renamed from multimedi a/gst1-plugins-bad/patches/0014-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch) patching file multimedia/gst1-plugins-bad/patches/0003-mssdemux-support-playready-decrypt.patch (renamed from multimedia/gst1-plugins-bad /patches/0016-mssdemux-support-playready-decrypt.patch) patching file multimedia/gst1-plugins-bad/patches/0004-avoid-including-sys-poll.h-directly.patch (renamed from multimedia/gst1-plugins-ba d/patches/0017-avoid-including-sys-poll.h-directly.patch) patching file multimedia/gst1-plugins-bad/patches/0005-fix-maybe-uninitialized-warnings-when-compiling-with.patch (renamed from multimedi a/gst1-plugins-bad/patches/0018-fix-maybe-uninitialized-warnings-when-compiling-with.patch) patching file multimedia/gst1-plugins-bad/patches/0012-fix-the-compile-err-when-update-openssl-to-1.1.0i.patch patching file multimedia/gst1-plugins-bad/patches/0015-Makefile.am-don-t-hardcode-libtool-name-when-running.patch patching file multimedia/gst1-plugins-base/Makefile patching file multimedia/gst1-plugins-base/patches/0001-no-translations.patch patching file multimedia/gst1-plugins-base/patches/0002-alsa-NOT-let-alsa-select-params-automaticaly-thus-fi.patch patching file multimedia/gst1-plugins-base/patches/0002-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch (renamed from multimed ia/gst1-plugins-base/patches/0004-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch) patching file multimedia/gst1-plugins-base/patches/0003-Makefile.am-don-t-hardcode-libtool-name-when-running.patch patching file multimedia/gst1-plugins-base/patches/0003-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch (renamed from multimedi a/gst1-plugins-base/patches/0005-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch) patching file multimedia/gst1-plugins-base/patches/0004-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch (renamed from multimed ia/gst1-plugins-base/patches/0006-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch) patching file multimedia/gst1-plugins-base/patches/0005-riff-add-missing-include-directories-when-calling-in.patch (renamed from multimed ia/gst1-plugins-base/patches/0007-riff-add-missing-include-directories-when-calling-in.patch) patching file multimedia/gst1-plugins-base/patches/0006-ssaparse-enhance-SSA-text-lines-parsing.patch (renamed from multimedia/gst1-plugi ns-base/patches/0008-ssaparse-enhance-SSA-text-lines-parsing.patch) patching file multimedia/gst1-plugins-base/patches/0007-glimagesink-Downrank-to-marginal.patch (renamed from multimedia/gst1-plugins-base /patches/0010-glimagesink-Downrank-to-marginal.patch) patching file multimedia/gst1-plugins-base/patches/0008-glimagesink-wayland-initial-window-position.patch (renamed from multimedia/gst1-p lugins-base/patches/0011-glimagesink-wayland-initial-window-position.patch) patching file multimedia/gst1-plugins-base/patches/0009-get-caps-from-src-pad-when-query-caps.patch (renamed from multimedia/gst1-plugins -base/patches/0012-get-caps-from-src-pad-when-query-caps.patch) patching file multimedia/gst1-plugins-base/patches/0009-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch patching file multimedia/gst1-plugins-base/patches/0010-Add-lvchostif-to-link-when-using-lEGL-on-rpi.patch (renamed from multimedia/gst1- plugins-base/patches/0013-Add-lvchostif-to-link-when-using-lEGL-on-rpi.patch) patching file multimedia/gst1-plugins-base/patches/0011-make-gio_unix_2_0-dependency-configurable.patch (renamed from multimedia/gst1-plu gins-base/patches/0014-make-gio_unix_2_0-dependency-configurable.patch) patching file multimedia/gst1-plugins-good/Makefile patching file multimedia/gst1-plugins-good/patches/0001-no-translations.patch patching file multimedia/gst1-plugins-good/patches/0002-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch patching file multimedia/gst1-plugins-good/patches/0003-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch patching file multimedia/gst1-plugins-good/patches/0004-add-pause-and-resume-to-mute-camera.patch patching file multimedia/gst1-plugins-good/patches/0005-matroskamux-set-final-total-duration.patch patching file multimedia/gst1-plugins-good/patches/0006-qtdemux-support-playready-decrypt.patch patching file multimedia/gst1-plugins-good/patches/0007-avoid-including-sys-poll.h-directly.patch patching file multimedia/gst1-plugins-good/patches/0008-ensure-valid-sentinal-for-gst_structure_get.patch patching file multimedia/gst1-plugins-ugly/Makefile patching file multimedia/gstreamer1/Makefile patching file multimedia/gstreamer1/patches/0001-no-translations.patch cube@ubuntu:/opt/D1/package$
这个算patch成功吗?
-
发现patch之后,与压缩包有很多不同,看来直接文件夹替换算了?
-
@cube_work patch是成功的
-
@cube_work 上面的patch只有一个是修改了这个目录里面的头文件,其他的patch并不作用在这个目录,而是package下面的multimedia目录,还有dl目录。
-
@cube_work 可以直接替换,没有问题
-
@houxiaoni 我替换了里面的文件,然后编译提示如下错误,但是bootstrap我是给了权限的了,但是还是提示没权限,是什么原因呢!
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号