Open wszqkzqk opened 3 months ago
我想用这款工具合成/修改安卓动图,但是不会代码😭
@liujiajia111 我想用这款工具合成/修改安卓动图,但是不会代码😭
没关系,有现成的,已经写好了:https://github.com/wszqkzqk/live-photo-conv
@liujiajia111 我想用这款工具合成/修改安卓动图,但是不会代码😭
光是使用的话后面的设计部分就不需要看了,只需要看仓库的readme
如果是Arch Linux的话可以直接在AUR里面paru -S live-photo-conv
来安装,Windows的话可以使用MSYS2的PKGBUILD构建文件https://gist.github.com/wszqkzqk/052a48feb5b84a469ee43231df91dc9d
@wszqkzqk
@liujiajia111 我想用这款工具合成/修改安卓动图,但是不会代码😭
光是使用的话后面的设计部分就不需要看了,只需要看仓库的readme
如果是Arch Linux的话可以直接在AUR里面
paru -S live-photo-conv
来安装,Windows的话可以使用MSYS2的PKGBUILD构建文件https://gist.github.com/wszqkzqk/052a48feb5b84a469ee43231df91dc9d
谢谢大佬,对于Linux小白来说这还是有点困难、尝试了一下还是选择放弃 如果安卓有一款像wink app一样直接视频转live图片就好了😂
@liujiajia111
@wszqkzqk
@liujiajia111 我想用这款工具合成/修改安卓动图,但是不会代码😭
光是使用的话后面的设计部分就不需要看了,只需要看仓库的readme
如果是Arch Linux的话可以直接在AUR里面
paru -S live-photo-conv
来安装,Windows的话可以使用MSYS2的PKGBUILD构建文件https://gist.github.com/wszqkzqk/052a48feb5b84a469ee43231df91dc9d谢谢大佬,对于Linux小白来说这还是有点困难、尝试了一下还是选择放弃 如果安卓有一款像wink app一样直接视频转live图片就好了😂
你用的是Linux吗?是什么发行版?也有中文readme的:https://github.com/wszqkzqk/live-photo-conv/blob/main/README-zh.md
如果安卓有一款像wink app一样直接视频转live图片就好了😂
后面也打算支持单个视频转live图片,但是应该仍然不会做GUI
@wszqkzqk
@liujiajia111
@wszqkzqk
@liujiajia111 我想用这款工具合成/修改安卓动图,但是不会代码😭
光是使用的话后面的设计部分就不需要看了,只需要看仓库的readme
如果是Arch Linux的话可以直接在AUR里面
paru -S live-photo-conv
来安装,Windows的话可以使用MSYS2的PKGBUILD构建文件https://gist.github.com/wszqkzqk/052a48feb5b84a469ee43231df91dc9d谢谢大佬,对于Linux小白来说这还是有点困难、尝试了一下还是选择放弃 如果安卓有一款像wink app一样直接视频转live图片就好了😂
你用的是Linux吗?是什么发行版?也有中文readme的:https://github.com/wszqkzqk/live-photo-conv/blob/main/README-zh.md
如果安卓有一款像wink app一样直接视频转live图片就好了😂
后面也打算支持单个视频转live图片,但是应该仍然不会做GUI
我用的Windows、但有centos基础 因为是在校学生且大一,所以目前还不太懂非图像界面的程序 还是谢谢大佬的答疑解惑了
大佬你好,能不能提供编译好的执行文件啊,编译难倒我了!!!
@wszqkzqk
@liujiajia111 我想用这款工具合成/修改安卓动图,但是不会代码😭
光是使用的话后面的设计部分就不需要看了,只需要看仓库的readme 如果是Arch Linux的话可以直接在AUR里面
paru -S live-photo-conv
来安装,Windows的话可以使用MSYS2的PKGBUILD构建文件https://gist.github.com/wszqkzqk/052a48feb5b84a469ee43231df91dc9d谢谢大佬,对于Linux小白来说这还是有点困难、尝试了一下还是选择放弃 如果安卓有一款像wink app一样直接视频转live图片就好了😂
已支持单个视频直接转Live
大佬你好,能不能提供编译好的执行文件啊,编译难倒我了!!!
编译的文档应该很清楚了吧
@wszqkzqk
大佬你好,能不能提供编译好的执行文件啊,编译难倒我了!!!
编译的文档应该很清楚了吧
我是用msys2 mingw-w64-ucrt-x86_64-gst-plugins-base-libs 这个依赖到处都找不到,然后编译总是失败。只能求大佬搞个编译好的文件了。
@wszqkzqk
大佬你好,能不能提供编译好的执行文件啊,编译难倒我了!!!
编译的文档应该很清楚了吧
我是用msys2 mingw-w64-ucrt-x86_64-gst-plugins-base-libs 这个依赖到处都找不到,然后编译总是失败。只能求大佬搞个编译好的文件了。
不是mingw-w64-ucrt-x86_64-gst-plugins-base-libs
,是mingw-w64-ucrt-x86_64-gst-plugins-base
@wszqkzqk
大佬你好,能不能提供编译好的执行文件啊,编译难倒我了!!!
编译的文档应该很清楚了吧
我是用msys2 mingw-w64-ucrt-x86_64-gst-plugins-base-libs 这个依赖到处都找不到,然后编译总是失败。只能求大佬搞个编译好的文件了。
文档以项目主页为准
@wszqkzqk
大佬你好,能不能提供编译好的执行文件啊,编译难倒我了!!!
编译的文档应该很清楚了吧
我是用msys2 mingw-w64-ucrt-x86_64-gst-plugins-base-libs 这个依赖到处都找不到,然后编译总是失败。只能求大佬搞个编译好的文件了。
你用msys2的话我这里也提供构建的PKGBUILD文件:https://gist.github.com/wszqkzqk/052a48feb5b84a469ee43231df91dc9d
@wszqkzqk
@wszqkzqk
大佬你好,能不能提供编译好的执行文件啊,编译难倒我了!!!
编译的文档应该很清楚了吧
我是用msys2 mingw-w64-ucrt-x86_64-gst-plugins-base-libs 这个依赖到处都找不到,然后编译总是失败。只能求大佬搞个编译好的文件了。
文档以项目主页为准
我看的是中文文档,可能是你的中文文档错了吧,我看了英文文档应该是没问题的,我回去试试。
@wszqkzqk
@wszqkzqk
大佬你好,能不能提供编译好的执行文件啊,编译难倒我了!!!
编译的文档应该很清楚了吧
我是用msys2 mingw-w64-ucrt-x86_64-gst-plugins-base-libs 这个依赖到处都找不到,然后编译总是失败。只能求大佬搞个编译好的文件了。
文档以项目主页为准
我看的是中文文档,可能是你的中文文档错了吧,我看了英文文档应该是没问题的,我回去试试。
确实是,已修改
`Administrator@WIN-FH24CINTN5O UCRT64 /d/1
The Meson build system Version: 1.5.0 Source dir: D:/1 Build dir: D:/1/builddir Build type: native build Project name: live-photo-conv Project version: 0.3.5 C compiler for the host machine: cc (gcc 14.1.0 "cc (Rev3, Built by MSYS2 project) 14.1.0") C linker for the host machine: cc ld.bfd 2.42 Vala compiler for the host machine: valac (valac 0.56.17) Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: YES (C:\msys64\ucrt64\bin/pkg-config.EXE) 2.2.0 Run-time dependency glib-2.0 found: YES 2.80.4 Run-time dependency gobject-2.0 found: YES 2.80.4 Run-time dependency gio-2.0 found: YES 2.80.4 Run-time dependency gmodule-2.0 found: YES 2.80.4 Run-time dependency gexiv2 found: YES 0.14.3 Run-time dependency gstreamer-1.0 found: YES 1.24.5 Run-time dependency gstreamer-app-1.0 found: YES 1.24.5 Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.12 Program g-ir-compiler found: YES (C:\msys64\ucrt64\bin/g-ir-compiler.EXE) Build targets in project: 5
live-photo-conv 0.3.5
User defined options buildtype: release
Found ninja-1.12.1 at C:\msys64\ucrt64\bin/ninja.EXE
Administrator@WIN-FH24CINTN5O UCRT64 /d/1
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: C:\msys64\ucrt64\bin/ninja.EXE -C D:/1/builddir
ninja: Entering directory `D:/1/builddir'
[6/24] Compiling C object src/liblivephototools.dll.p/meson-generated_errordomains.c.obj
In file included from C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:34,
from C:/msys64/ucrt64/include/glib-2.0/glib/gasyncqueue.h:34,
from C:/msys64/ucrt64/include/glib-2.0/glib.h:34,
from src/livephototools.h:6,
from src/liblivephototools.dll.p/errordomains.c:23:
src/liblivephototools.dll.p/errordomains.c: In function 'live_photo_conv_not_live_photos_error_get_t
ype':
C:/msys64/ucrt64/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of 'atomic_load' disca
rds 'volatile' qualifier [-Wdiscarded-qualifiers]
131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, ATOMIC_SEQ_CST); \
| ^~~~~
C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro 'g_atomic_pointe
r_get'
272 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~
src/liblivephototools.dll.p/errordomains.c:53:13: note: in expansion of macro 'g_once_init_enter'
53 | if (g_once_init_enter (&live_photo_conv_not_live_photos_error_type_idonce)) {
| ^~~~~
src/liblivephototools.dll.p/errordomains.c: In function 'live_photo_conv_export_error_get_type':
C:/msys64/ucrt64/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of 'atomic_load' disca
rds 'volatile' qualifier [-Wdiscarded-qualifiers]
131 | atomic_load (gapg_temp_atomic, &gapg_temp_newval, ATOMIC_SEQ_CST); \
| ^~~~~
C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro 'g_atomic_pointe
r_get'
272 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~
src/liblivephototools.dll.p/errordomains.c:80:13: note: in expansion of macro 'g_once_init_enter'
80 | if (g_once_init_enter (&live_photo_conv_export_error_type_idonce)) {
| ^~~~~
[8/24] Compiling C object src/liblivephototools.dll.p/meson-generated_utils.c.obj
src/liblivephototools.dll.p/utils.c: In function 'live_photo_conv_utils_get_string_from_file_input_s
tream':
src/liblivephototools.dll.p/utils.c:119:34: warning: variable 'tmp9' set but not used [-Wunused-bu
t-set-variable]
119 | GString* tmp9;
| ^~
src/liblivephototools.dll.p/utils.c:118:30: warning: variable '_tmp8length1' set but not used [-Wu
nused-but-set-variable]
118 | gint _tmp8length1;
| ^~~~~~
src/liblivephototools.dll.p/utils.c:79:22: warning: variable '_tmp3__length1' set but not used [-Wun
used-but-set-variable]
79 | gint _tmp3length1;
| ^~~~~~
src/liblivephototools.dll.p/utils.c:61:14: warning: variable '_buffersize' set but not used [-Wunu
sed-but-set-variable]
61 | gint _buffersize;
| ^~~~~
src/liblivephototools.dll.p/utils.c: In function 'live_photo_conv_utils_write_stream':
src/liblivephototools.dll.p/utils.c:163:14: warning: variable '_buffersize' set but not used [-Wun
used-but-set-variable]
163 | gint _buffersize;
| ^~~~~
src/liblivephototools.dll.p/utils.c: In function 'live_photo_conv_utils_write_stream_before':
src/liblivephototools.dll.p/utils.c:237:14: warning: variable '_buffersize' set but not used [-Wun
used-but-set-variable]
237 | gint _buffersize;
| ^~~~~
[9/24] Compiling C object src/liblivephototools.dll.p/meson-generated_sample2img.c.obj
src/liblivephototools.dll.p/sample2img.c: In function 'live_photo_conv_sample2_img_new':
src/liblivephototools.dll.p/sample2img.c:108:14: warning: variable '_tmp8__length1' set but not used
[-Wunused-but-set-variable]
108 | gint _tmp8__length1;
| ^~~~~~
[10/24] Compiling C object src/liblivephototools.dll.p/meson-generated_main.c.obj
src/liblivephototools.dll.p/main.c: In function 'live_photo_conv_main_main':
src/liblivephototools.dll.p/main.c:112:14: warning: variable '_argssize' set but not used [-Wunuse
d-but-set-variable]
112 | gint _argssize;
| ^~~
[11/24] Compiling C object src/liblivephototools.dll.p/meson-generated_livemakerffmpeg.c.obj
src/liblivephototools.dll.p/livemakerffmpeg.c: In function 'live_photo_conv_live_maker_ffmpeg_real_e
xport_with_video_only':
src/liblivephototools.dll.p/livemakerffmpeg.c:478:58: warning: passing argument 2 of '_vala_g_strjoi
nv' from incompatible pointer type [-Wincompatible-pointer-types]
478 | tmp48 = _vala_g_strjoinv (" ", LIVE_PHOTO_CONV_LIVE_MAKER_FFMPEG_F
FMPEG_COMMANDS, (gint) G_N_ELEMENTS (LIVE_PHOTO_CONV_LIVE_MAKER_FFMPEG_FFMPEG_COMMANDS));
| ^~~~~~~~~~~
| |
| const gchar ** {aka const char **}
src/liblivephototools.dll.p/livemakerffmpeg.c:95:27: note: expected 'gchar **' {aka 'char **'} but a
rgument is of type 'const gchar **' {aka 'const char **'}
95 | gchar** str_array,
| ~~~~~~~~^~~~~~~~~
src/liblivephototools.dll.p/livemakerffmpeg.c:496:58: warning: passing argument 2 of '_vala_g_strjoi
nv' from incompatible pointer type [-Wincompatible-pointer-types]
496 | _tmp53_ = _vala_g_strjoinv (" ", LIVE_PHOTO_CONV_LIVE_MAKER_FFMPEG_F
FMPEG_COMMANDS, (gint) G_N_ELEMENTS (LIVE_PHOTO_CONV_LIVE_MAKER_FFMPEG_FFMPEG_COMMANDS));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const gchar ** {aka const char **}
src/liblivephototools.dll.p/livemakerffmpeg.c:95:27: note: expected 'gchar ' {aka 'char '} but a rgument is of type 'const gchar ' {aka 'const char '} 95 | gchar** str_array, | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^ |
(!g_atomic_pointer_get (location) && \ | ^ |
if (g_once_init_enter (&live_photo_conv_live_maker_ffmpeg_type_id__once)) { | ^ |
static GParamSpec* live_photo_conv_live_maker_ffmpeg_properties[LIVE_PHOTO_CONV_LIVE_MAKER_F FMPEG_NUM_PROPERTIES]; | ^ |
gint _argssize; | ^ |
__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^ |
(!g_atomic_pointer_get (location) && \ | ^ |
if (g_once_init_enter (&live_photo_conv_live_maker_gst_type_id__once)) { | ^ |
static GParamSpec* live_photo_conv_live_maker_gst_properties[LIVE_PHOTO_CONV_LIVE_MAKERGST NUM_PROPERTIES]; | ^ |
const gchar* tmp5; | ^ |
const gchar* tmp18; | ^ |
__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^ |
(!g_atomic_pointer_get (location) && \ | ^ |
if (g_once_init_enter (&live_photo_conv_live_maker_type_id__once)) { | ^ |
gint _buffersize; | ^ |
const gchar* tmp16; | ^ |
gint _argssize; | ^ |
__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^ |
(!g_atomic_pointer_get (location) && \ | ^ |
if (g_once_init_enter (&live_photo_conv_live_photo_gst_type_id__once)) { | ^ |
static GParamSpec* live_photo_conv_live_photo_gst_properties[LIVE_PHOTO_CONV_LIVE_PHOTOGST NUM_PROPERTIES]; | ^ |
__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^ |
(!g_atomic_pointer_get (location) && \ | ^ |
if (g_once_init_enter ((volatile gsize*) re)) { | ^ |
const gchar* tmp5; | ^ |
tmp64 = g_subprocess_newv (tmp63, (G_SUBPROCESS_FLAGS_STDOUT_PIPE | G_SUBPROCESS _FLAGS_STDERR_PIPE) | G_SUBPROCESS_FLAGS_STDIN_PIPE, &_innererror0); | ^ |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gchar {aka char } |
In file included from C:/msys64/ucrt64/include/glib-2.0/gio/gio.h:155, from C:/msys64/ucrt64/include/gexiv2/gexiv2-metadata.h:15, from C:/msys64/ucrt64/include/gexiv2/gexiv2.h:13, from src/livephototools.h:8: C:/msys64/ucrt64/include/glib-2.0/gio/gsubprocess.h:49:80: note: expected 'const gchar const' {ak a 'const char const'} but argument is of type 'gchar ' {aka 'char '} 49 | GSubprocess g_subprocess_newv (const gchar const *argv, | gint _tmp63__length1; | ^ |
gint _commandssize = 0; | ^ |
__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^ |
(!g_atomic_pointer_get (location) && \ | ^ |
if (g_once_init_enter (&live_photo_conv_live_photo_ffmpeg_type_id__once)) { | ^ |
static GParamSpec* live_photo_conv_live_photo_ffmpeg_properties[LIVE_PHOTO_CONV_LIVE_PHOTO_F FMPEG_NUM_PROPERTIES]; | ^ |
gint _tag_collectionsize = 0; | ^ |
const gchar* tmp31; | ^ |
gint _tmp17__length1; | ^ |
gint _tmp21__length1; | ^ |
gint _tmp20__length1; | ^ |
gint _tmp15__length1; | ^ |
gint _tmp14__length1; | ^ |
gint _tmp13__length1; | ^ |
gint _tmp12__length1; | ^ |
gint _search_buffersize; | ^ |
gint _prev_buffer_tailsize; | ^ |
gint _buffersize; | ^ |
const gchar* tmp7; | ^ |
const gchar* tmp7; | ^ |
const gchar* tmp20; | ^ |
g_tree_foreach (tmp19, _lambda4gtraverse_func, data1); | ^ |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gboolean ()(const void , const void , void ) {aka int ( |
)(const void , const void , void )}
In file included from C:/msys64/ucrt64/include/glib-2.0/glib.h:95,
from src/livephototools.h:6,
from src/liblivephototools.dll.p/livephoto.c:23:
C:/msys64/ucrt64/include/glib-2.0/glib/gtree.h:140:52: note: expected 'GTraverseFunc' {aka 'int ()(
void , void , void )'} but argument is of type 'gboolean ()(const void , const void , void )'
{aka 'int ()(const void , const void , void )'}
140 | GTraverseFunc func,
| ~~~~^~
In file included from C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:34,
from C:/msys64/ucrt64/include/glib-2.0/glib/gasyncqueue.h:34,
from C:/msys64/ucrt64/include/glib-2.0/glib.h:34:
src/liblivephototools.dll.p/livephoto.c: In function 'live_photo_conv_live_photo_get_type':
C:/msys64/ucrt64/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of 'atomic_load' disca
rds 'volatile' qualifier [-Wdiscarded-qualifiers]
131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, ATOMIC_SEQ_CST); \
| ^~~~~
C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro 'g_atomic_pointe
r_get'
272 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~
src/liblivephototools.dll.p/livephoto.c:1449:13: note: in expansion of macro 'g_once_init_enter'
1449 | if (g_once_init_enter (&live_photo_conv_live_photo_type_idonce)) {
| ^~~~~
src/liblivephototools.dll.p/livephoto.c: At top level:
src/liblivephototools.dll.p/livephoto.c:1025:1: warning: 'block1_data_ref' defined but not used [-Wu
nused-function]
1025 | block1_data_ref (Block1Data* data1)
| ^~~~~~~
[18/24] Compiling C object src/copy-img-meta.exe.p/meson-generated_copyimgmeta.c.obj
src/copy-img-meta.exe.p/copyimgmeta.c: In function 'live_photo_conv_copy_img_meta_main':
src/copy-img-meta.exe.p/copyimgmeta.c:236:25: warning: variable 'tmp21' set but not used [-Wunused
-but-set-variable]
236 | gchar** tmp21;
| ^~~
src/copy-img-meta.exe.p/copyimgmeta.c:111:14: warning: variable '_tmp28length1' set but not used
-Wunused-but-set-variable]
111 | gint _tmp28length1;
| ^~~~~~~
src/copy-img-meta.exe.p/copyimgmeta.c:107:14: warning: variable '_tmp26__length1' set but not used
-Wunused-but-set-variable]
107 | gint _tmp26length1;
| ^~~~~~~
src/copy-img-meta.exe.p/copyimgmeta.c:103:17: warning: variable 'tmp19' set but not used [-Wunused
-but-set-variable]
103 | gchar** tmp19;
| ^~~
src/copy-img-meta.exe.p/copyimgmeta.c:98:14: warning: variable '_argssize' set but not used [-Wunu
sed-but-set-variable]
98 | gint _argssize;
| ^~~
[19/24] Compiling C object src/live-photo-conv.exe.p/meson-generated_main.c.obj
src/live-photo-conv.exe.p/main.c: In function 'live_photo_conv_main_main':
src/live-photo-conv.exe.p/main.c:123:14: warning: variable '_argssize' set but not used [-Wunused-
but-set-variable]
123 | gint _argssize;
| ^~~
[24/24] Generating src/LivePhotoTools-0.3.typeli... a custom command (wrapped by meson to set PATH)
Administrator@WI`跟着文档走,编译就出错了,好难啊!
@laowang678 `Administrator@WIN-FH24CINTN5O UCRT64 /d/1
meson setup builddir --buildtype=release
The Meson build system Version: 1.5.0 Source dir: D:/1 Build dir: D:/1/builddir Build type: native build Project name: live-photo-conv Project version: 0.3.5 C compiler for the host machine: cc (gcc 14.1.0 "cc (Rev3, Built by MSYS2 project) 14.1.0") C linker for the host machine: cc ld.bfd 2.42 Vala compiler for the host machine: valac (valac 0.56.17) Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: YES (C:\msys64\ucrt64\bin/pkg-config.EXE) 2.2.0 Run-time dependency glib-2.0 found: YES 2.80.4 Run-time dependency gobject-2.0 found: YES 2.80.4 Run-time dependency gio-2.0 found: YES 2.80.4 Run-time dependency gmodule-2.0 found: YES 2.80.4 Run-time dependency gexiv2 found: YES 0.14.3 Run-time dependency gstreamer-1.0 found: YES 1.24.5 Run-time dependency gstreamer-app-1.0 found: YES 1.24.5 Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.12 Program g-ir-compiler found: YES (C:\msys64\ucrt64\bin/g-ir-compiler.EXE) Build targets in project: 5
live-photo-conv 0.3.5
User defined options buildtype: release
Found ninja-1.12.1 at C:\msys64\ucrt64\bin/ninja.EXE
Administrator@WIN-FH24CINTN5O UCRT64 /d/1
meson compile -C builddir
INFO: autodetecting backend as ninja INFO: calculating backend command to run: C:\msys64\ucrt64\bin/ninja.EXE -C D:/1/builddir ninja: Entering directory `D:/1/builddir' [6/24] Compiling C object src/liblivephototools.dll.p/meson-generated_errordomains.c.obj In file included from C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:34, from C:/msys64/ucrt64/include/glib-2.0/glib/gasyncqueue.h:34, from C:/msys64/ucrt64/include/glib-2.0/glib.h:34, from src/livephototools.h:6, from src/liblivephototools.dll.p/errordomains.c:23: src/liblivephototools.dll.p/errordomains.c: In function 'live_photo_conv_not_live_photos_error_get_t ype': C:/msys64/ucrt64/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of 'atomic_load' disca rds 'volatile' qualifier [-Wdiscarded-qualifiers] 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, ATOMIC_SEQ_CST); \ | ^
~~~~ C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro 'g_atomic_pointe r_get' 272 | (!g_atomic_pointer_get (location) && \ | ^~~~~~~~ src/liblivephototools.dll.p/errordomains.c:53:13: note: in expansion of macro 'g_once_init_enter' 53 | if (g_once_init_enter (&live_photo_conv_not_live_photos_error_type_idonce)) { | ^~~~~ src/liblivephototools.dll.p/errordomains.c: In function 'live_photo_conv_export_error_get_type': C:/msys64/ucrt64/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of 'atomic_load' disca rds 'volatile' qualifier [-Wdiscarded-qualifiers] 131 | atomic_load (gapg_temp_atomic, &gapg_temp_newval, ATOMIC_SEQ_CST); \ | ^~~~~ C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro 'g_atomic_pointe r_get' 272 | (!g_atomic_pointer_get (location) && \ | ^~~~~~~~ src/liblivephototools.dll.p/errordomains.c:80:13: note: in expansion of macro 'g_once_init_enter' 80 | if (g_once_init_enter (&live_photo_conv_export_error_type_idonce)) { | ^~~~~ [8/24] Compiling C object src/liblivephototools.dll.p/meson-generated_utils.c.obj src/liblivephototools.dll.p/utils.c: In function 'live_photo_conv_utils_get_string_from_file_input_s tream': src/liblivephototools.dll.p/utils.c:119:34: warning: variable 'tmp9' set but not used [-Wunused-bu t-set-variable] 119 | GString* tmp9; | ^~src/liblivephototools.dll.p/utils.c:118:30: warning: variable '_tmp8length1' set but not used [-Wu nused-but-set-variable] 118 | gint _tmp8length1; | ^~~~~~ src/liblivephototools.dll.p/utils.c:79:22: warning: variable '_tmp3__length1' set but not used [-Wun used-but-set-variable] 79 | gint _tmp3length1; | ^~~~~~ src/liblivephototools.dll.p/utils.c:61:14: warning: variable '_buffersize' set but not used [-Wunu sed-but-set-variable] 61 | gint _buffersize; | ^~~~~ src/liblivephototools.dll.p/utils.c: In function 'live_photo_conv_utils_write_stream': src/liblivephototools.dll.p/utils.c:163:14: warning: variable '_buffersize' set but not used [-Wun used-but-set-variable] 163 | gint _buffersize; | ^~~~~ src/liblivephototools.dll.p/utils.c: In function 'live_photo_conv_utils_write_stream_before': src/liblivephototools.dll.p/utils.c:237:14: warning: variable '_buffersize' set but not used [-Wun used-but-set-variable] 237 | gint _buffersize; | ^~~~~ [9/24] Compiling C object src/liblivephototools.dll.p/meson-generated_sample2img.c.obj src/liblivephototools.dll.p/sample2img.c: In function 'live_photo_conv_sample2_img_new': src/liblivephototools.dll.p/sample2img.c:108:14: warning: variable '_tmp8__length1' set but not used [-Wunused-but-set-variable] 108 | gint _tmp8__length1; | ^~~~~~ [10/24] Compiling C object src/liblivephototools.dll.p/meson-generated_main.c.obj src/liblivephototools.dll.p/main.c: In function 'live_photo_conv_main_main': src/liblivephototools.dll.p/main.c:112:14: warning: variable '_argssize' set but not used [-Wunuse d-but-set-variable] 112 | gint _argssize; | ^~~[11/24] Compiling C object src/liblivephototools.dll.p/meson-generated_livemakerffmpeg.c.obj src/liblivephototools.dll.p/livemakerffmpeg.c: In function 'live_photo_conv_live_maker_ffmpeg_real_e xport_with_video_only': src/liblivephototools.dll.p/livemakerffmpeg.c:478:58: warning: passing argument 2 of '_vala_g_strjoi nv' from incompatible pointer type [-Wincompatible-pointer-types] 478 | tmp48 = _vala_g_strjoinv (" ", LIVE_PHOTO_CONV_LIVE_MAKER_FFMPEG_F FMPEG_COMMANDS, (gint) G_N_ELEMENTS (LIVE_PHOTO_CONV_LIVE_MAKER_FFMPEG_FFMPEG_COMMANDS)); | ^~~~~~~~~~~| | | const gchar ** {aka const char **} src/liblivephototools.dll.p/livemakerffmpeg.c:95:27: note: expected 'gchar **' {aka 'char **'} but a rgument is of type 'const gchar **' {aka 'const char **'} 95 | gchar** str_array, | ~~~~~~~~^~~~~~~~~ src/liblivephototools.dll.p/livemakerffmpeg.c:496:58: warning: passing argument 2 of '_vala_g_strjoi nv' from incompatible pointer type [-Wincompatible-pointer-types] 496 | _tmp53_ = _vala_g_strjoinv (" ", LIVE_PHOTO_CONV_LIVE_MAKER_FFMPEG_F FMPEG_COMMANDS, (gint) G_N_ELEMENTS (LIVE_PHOTO_CONV_LIVE_MAKER_FFMPEG_FFMPEG_COMMANDS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | | const gchar ** {aka const char **}
src/liblivephototools.dll.p/livemakerffmpeg.c:95:27: note: expected 'gchar ' {aka 'char '} but a rgument is of type 'const gchar ' {aka 'const char '} 95 gchar** str_array, ~~^~~ In file included from C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:34, from C:/msys64/ucrt64/include/glib-2.0/glib/gasyncqueue.h:34, from C:/msys64/ucrt64/include/glib-2.0/glib.h:34, from src/livephototools.h:6, from src/liblivephototools.dll.p/livemakerffmpeg.c:23: src/liblivephototools.dll.p/livemakerffmpeg.c: In function 'live_photo_conv_live_maker_ffmpeg_get_ty pe': C:/msys64/ucrt64/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of '__atomic_load' disca rds 'volatile' qualifier [-Wdiscarded-qualifiers] 131__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ ^ ~~~~ C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro 'g_atomic_pointe r_get' 272(!g_atomic_pointer_get (location) && \ ^ ~~~~~~~ src/liblivephototools.dll.p/livemakerffmpeg.c:590:13: note: in expansion of macro 'g_once_init_ente ' 590if (g_once_init_enter (&live_photo_conv_live_maker_ffmpeg_type_id__once)) { ^ ~~~~ src/liblivephototools.dll.p/livemakerffmpeg.c: At top level: src/liblivephototools.dll.p/livemakerffmpeg.c:44:20: warning: 'live_photo_conv_live_maker_ffmpeg_pro perties' defined but not used [-Wunused-variable] 44static GParamSpec* live_photo_conv_live_maker_ffmpeg_properties[LIVE_PHOTO_CONV_LIVE_MAKER_F FMPEG_NUM_PROPERTIES]; ^ ~~~~~~~~~~~ [12/24] Compiling C object src/liblivephototools.dll.p/meson-generated_livemakergst.c.obj src/liblivephototools.dll.p/livemakergst.c: In function 'live_photo_conv_live_maker_gst_realexport with_video_only': src/liblivephototools.dll.p/livemakergst.c:116:14: warning: variable '_argssize' set but not used [-Wunused-but-set-variable] 116gint _argssize; ^ ~~In file included from C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:34, from C:/msys64/ucrt64/include/glib-2.0/glib/gasyncqueue.h:34, from C:/msys64/ucrt64/include/glib-2.0/glib.h:34, from src/livephototools.h:6, from src/liblivephototools.dll.p/livemakergst.c:23: src/liblivephototools.dll.p/livemakergst.c: In function 'live_photo_conv_live_maker_gst_get_type': C:/msys64/ucrt64/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of '__atomic_load' disca rds 'volatile' qualifier [-Wdiscarded-qualifiers] 131__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ ^ ~~~~ C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro 'g_atomic_pointe r_get' 272(!g_atomic_pointer_get (location) && \ ^ ~~~~~~~ src/liblivephototools.dll.p/livemakergst.c:374:13: note: in expansion of macro 'g_once_init_enter' 374if (g_once_init_enter (&live_photo_conv_live_maker_gst_type_id__once)) { ^ ~~~~ src/liblivephototools.dll.p/livemakergst.c: At top level: src/liblivephototools.dll.p/livemakergst.c:46:20: warning: 'live_photo_conv_live_maker_gst_propertie s' defined but not used [-Wunused-variable] 46static GParamSpec* live_photo_conv_live_maker_gst_properties[LIVE_PHOTO_CONV_LIVE_MAKERGST NUM_PROPERTIES]; ^ ~~~~~~~~[13/24] Compiling C object src/liblivephototools.dll.p/meson-generated_livemaker.c.obj src/liblivephototools.dll.p/livemaker.c: In function 'live_photo_conv_live_maker_construct': src/liblivephototools.dll.p/livemaker.c:197:38: warning: variable 'tmp5' set but not used [-Wunuse d-but-set-variable] 197const gchar* tmp5; ^ ~src/liblivephototools.dll.p/livemaker.c:245:46: warning: variable 'tmp18' set but not used [-Wunus ed-but-set-variable] 245const gchar* tmp18; ^ ~~ In file included from C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:34, from C:/msys64/ucrt64/include/glib-2.0/glib/gasyncqueue.h:34, from C:/msys64/ucrt64/include/glib-2.0/glib.h:34, from src/livephototools.h:6, from src/liblivephototools.dll.p/livemaker.c:23: src/liblivephototools.dll.p/livemaker.c: In function 'live_photo_conv_live_maker_get_type': C:/msys64/ucrt64/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of '__atomic_load' disca rds 'volatile' qualifier [-Wdiscarded-qualifiers] 131__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ ^ ~~~~ C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro 'g_atomic_pointe r_get' 272(!g_atomic_pointer_get (location) && \ ^ ~~~~~~~ src/liblivephototools.dll.p/livemaker.c:715:13: note: in expansion of macro 'g_once_init_enter' 715if (g_once_init_enter (&live_photo_conv_live_maker_type_id__once)) { ^ ~~~~ [14/24] Compiling C object src/liblivephototools.dll.p/meson-generated_livephotogst.c.obj src/liblivephototools.dll.p/livephotogst.c: In function '_lambda6': src/liblivephototools.dll.p/livephotogst.c:202:22: warning: variable '_buffersize' set but not use d [-Wunused-but-set-variable] 202gint _buffersize; ^ ~~~~ src/liblivephototools.dll.p/livephotogst.c: In function 'live_photo_conv_live_photo_gst_real_splites _images_from_video': src/liblivephototools.dll.p/livephotogst.c:560:30: warning: variable 'tmp16' set but not used [-Wu nused-but-set-variable] 560const gchar* tmp16; ^ ~~ src/liblivephototools.dll.p/livephotogst.c:458:14: warning: variable '_argssize' set but not used [-Wunused-but-set-variable] 458gint _argssize; ^ ~~In file included from C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:34, from C:/msys64/ucrt64/include/glib-2.0/glib/gasyncqueue.h:34, from C:/msys64/ucrt64/include/glib-2.0/glib.h:34, from src/livephototools.h:6, from src/liblivephototools.dll.p/livephotogst.c:23: src/liblivephototools.dll.p/livephotogst.c: In function 'live_photo_conv_live_photo_gst_get_type': C:/msys64/ucrt64/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of '__atomic_load' disca rds 'volatile' qualifier [-Wdiscarded-qualifiers] 131__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ ^ ~~~~ C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro 'g_atomic_pointe r_get' 272(!g_atomic_pointer_get (location) && \ ^ ~~~~~~~ src/liblivephototools.dll.p/livephotogst.c:747:13: note: in expansion of macro 'g_once_init_enter' 747if (g_once_init_enter (&live_photo_conv_live_photo_gst_type_id__once)) { ^ ~~~~ src/liblivephototools.dll.p/livephotogst.c: At top level: src/liblivephototools.dll.p/livephotogst.c:47:20: warning: 'live_photo_conv_live_photo_gst_propertie s' defined but not used [-Wunused-variable] 47static GParamSpec* live_photo_conv_live_photo_gst_properties[LIVE_PHOTO_CONV_LIVE_PHOTOGST NUM_PROPERTIES]; ^ ~~~~~~~~[16/24] Compiling C object src/liblivephototools.dll.p/meson-generated_livephotoffmpeg.c.obj In file included from C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:34, from C:/msys64/ucrt64/include/glib-2.0/glib/gasyncqueue.h:34, from C:/msys64/ucrt64/include/glib-2.0/glib.h:34, from src/livephototools.h:6, from src/liblivephototools.dll.p/livephotoffmpeg.c:23: src/liblivephototools.dll.p/livephotoffmpeg.c: In function '_thread_safe_regex_init': C:/msys64/ucrt64/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of '__atomic_load' disca rds 'volatile' qualifier [-Wdiscarded-qualifiers] 131__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ ^ ~~~~ C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro 'g_atomic_pointe r_get' 272(!g_atomic_pointer_get (location) && \ ^ ~~~~~~~ src/liblivephototools.dll.p/livephotoffmpeg.c:306:13: note: in expansion of macro 'g_once_init_ente ' 306if (g_once_init_enter ((volatile gsize*) re)) { ^ ~~~~ src/liblivephototools.dll.p/livephotoffmpeg.c: In function 'live_photo_conv_live_photo_ffmpeg_real_s plites_images_from_video': src/liblivephototools.dll.p/livephotoffmpeg.c:569:30: warning: variable 'tmp5' set but not used [- Wunused-but-set-variable] 569const gchar* tmp5; ^ ~src/liblivephototools.dll.p/livephotoffmpeg.c:742:38: warning: passing argument 1 of 'g_subprocess_n ewv' from incompatible pointer type [-Wincompatible-pointer-types] 742tmp64 = g_subprocess_newv (tmp63, (G_SUBPROCESS_FLAGS_STDOUT_PIPE G_SUBPROCESS _FLAGS_STDERR_PIPE) G_SUBPROCESS_FLAGS_STDIN_PIPE, &_innererror0); ^ ~~gchar {aka char }
In file included from C:/msys64/ucrt64/include/glib-2.0/gio/gio.h:155, from C:/msys64/ucrt64/include/gexiv2/gexiv2-metadata.h:15, from C:/msys64/ucrt64/include/gexiv2/gexiv2.h:13, from src/livephototools.h:8: C:/msys64/ucrt64/include/glib-2.0/gio/gsubprocess.h:49:80: note: expected 'const gchar const' {ak a 'const char const'} but argument is of type 'gchar ' {aka 'char '} 49 GSubprocess g_subprocess_newv (const gchar const *argv, ~~~~^~ src/liblivephototools.dll.p/livephotoffmpeg.c:518:14: warning: variable '_tmp63__length1' set but no t used [-Wunused-but-set-variable] 518gint _tmp63__length1; ^ ~~~~~~ src/liblivephototools.dll.p/livephotoffmpeg.c:512:14: warning: variable '_commandssize' set but no t used [-Wunused-but-set-variable] 512gint _commandssize = 0; ^ ~~~~~~ src/liblivephototools.dll.p/livephotoffmpeg.c: In function 'live_photo_conv_live_photo_ffmpeg_get_ty pe': C:/msys64/ucrt64/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of '__atomic_load' disca rds 'volatile' qualifier [-Wdiscarded-qualifiers] 131__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ ^ ~~~~ C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro 'g_atomic_pointe r_get' 272(!g_atomic_pointer_get (location) && \ ^ ~~~~~~~ src/liblivephototools.dll.p/livephotoffmpeg.c:1066:13: note: in expansion of macro 'g_once_init_ente r' 1066if (g_once_init_enter (&live_photo_conv_live_photo_ffmpeg_type_id__once)) { ^ ~~~~ src/liblivephototools.dll.p/livephotoffmpeg.c: At top level: src/liblivephototools.dll.p/livephotoffmpeg.c:44:20: warning: 'live_photo_conv_live_photo_ffmpeg_pro perties' defined but not used [-Wunused-variable] 44static GParamSpec* live_photo_conv_live_photo_ffmpeg_properties[LIVE_PHOTO_CONV_LIVE_PHOTO_F FMPEG_NUM_PROPERTIES]; ^ ~~~~~~~~~~~ [17/24] Compiling C object src/liblivephototools.dll.p/meson-generated_livephoto.c.obj src/liblivephototools.dll.p/livephoto.c: In function 'live_photo_conv_live_photo_construct': src/liblivephototools.dll.p/livephoto.c:245:22: warning: unused variable '_tag_collectionsize' [-W unused-variable] 245gint _tag_collectionsize = 0; ^ ~~~~src/liblivephototools.dll.p/livephoto.c:337:38: warning: variable 'tmp31' set but not used [-Wunus ed-but-set-variable] 337const gchar* tmp31; ^ ~~ src/liblivephototools.dll.p/livephoto.c: In function 'live_photo_conv_live_photo_get_video_offset_fa llback': src/liblivephototools.dll.p/livephoto.c:591:46: warning: variable '_tmp17__length1' set but not used [-Wunused-but-set-variable] 591gint _tmp17__length1; ^ ~~~~~~ src/liblivephototools.dll.p/livephoto.c:553:22: warning: variable '_tmp21__length1' set but not used [-Wunused-but-set-variable] 553gint _tmp21__length1; ^ ~~~~~~ src/liblivephototools.dll.p/livephoto.c:551:22: warning: variable '_tmp20__length1' set but not used [-Wunused-but-set-variable] 551gint _tmp20__length1; ^ ~~~~~~ src/liblivephototools.dll.p/livephoto.c:548:22: warning: variable '_tmp15__length1' set but not used [-Wunused-but-set-variable] 548gint _tmp15__length1; ^ ~~~~~~ src/liblivephototools.dll.p/livephoto.c:546:22: warning: variable '_tmp14__length1' set but not used [-Wunused-but-set-variable] 546gint _tmp14__length1; ^ ~~~~~~ src/liblivephototools.dll.p/livephoto.c:544:22: warning: variable '_tmp13__length1' set but not used [-Wunused-but-set-variable] 544gint _tmp13__length1; ^ ~~~~~~ src/liblivephototools.dll.p/livephoto.c:542:22: warning: variable '_tmp12__length1' set but not used [-Wunused-but-set-variable] 542gint _tmp12__length1; ^ ~~~~~~ src/liblivephototools.dll.p/livephoto.c:506:14: warning: variable '_search_buffersize' set but not used [-Wunused-but-set-variable] 506gint _search_buffersize; ^ ~~~~~~~ src/liblivephototools.dll.p/livephoto.c:502:14: warning: variable '_prev_buffer_tailsize' set but not used [-Wunused-but-set-variable] 502gint _prev_buffer_tailsize; ^ ~~~~~~ src/liblivephototools.dll.p/livephoto.c:498:14: warning: variable '_buffersize' set but not used -Wunused-but-set-variable] 498gint _buffersize; ^ ~~~~ src/liblivephototools.dll.p/livephoto.c: In function 'live_photo_conv_live_photo_export_main_image': src/liblivephototools.dll.p/livephoto.c:695:38: warning: variable 'tmp7' set but not used [-Wunuse d-but-set-variable] 695const gchar* tmp7; ^ ~src/liblivephototools.dll.p/livephoto.c: In function 'live_photo_conv_live_photo_export_video': src/liblivephototools.dll.p/livephoto.c:880:38: warning: variable 'tmp7' set but not used [-Wunuse d-but-set-variable] 880const gchar* tmp7; ^ ~src/liblivephototools.dll.p/livephoto.c:913:46: warning: variable 'tmp20' set but not used [-Wunus ed-but-set-variable] 913const gchar* tmp20; ^ ~~ src/liblivephototools.dll.p/livephoto.c: In function 'live_photo_conv_live_photo_repair_live_metadat a': src/liblivephototools.dll.p/livephoto.c:1206:34: warning: passing argument 2 of 'g_tree_foreach' fro m incompatible pointer type [-Wincompatible-pointer-types] 1206g_tree_foreach (tmp19, _lambda4gtraverse_func, data1); ^ ~~~~~gboolean ()(const void , const void , void ) {aka int ( )(const void , const void , void )} In file included from C:/msys64/ucrt64/include/glib-2.0/glib.h:95, from src/livephototools.h:6, from src/liblivephototools.dll.p/livephoto.c:23: C:/msys64/ucrt64/include/glib-2.0/glib/gtree.h:140:52: note: expected 'GTraverseFunc' {aka 'int ()( void , void , void )'} but argument is of type 'gboolean ()(const void , const void , void )' {aka 'int ()(const void , const void , void )'} 140 | GTraverseFunc func, |
~~~~^~ In file included from C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:34, from C:/msys64/ucrt64/include/glib-2.0/glib/gasyncqueue.h:34, from C:/msys64/ucrt64/include/glib-2.0/glib.h:34: src/liblivephototools.dll.p/livephoto.c: In function 'live_photo_conv_live_photo_get_type': C:/msys64/ucrt64/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of 'atomic_load' disca rds 'volatile' qualifier [-Wdiscarded-qualifiers] 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, ATOMIC_SEQ_CST); \ | ^~~~~ C:/msys64/ucrt64/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro 'g_atomic_pointe r_get' 272 | (!g_atomic_pointer_get (location) && \ | ^~~~~~~~ src/liblivephototools.dll.p/livephoto.c:1449:13: note: in expansion of macro 'g_once_init_enter' 1449 | if (g_once_init_enter (&live_photo_conv_live_photo_type_idonce)) { | ^~~~~ src/liblivephototools.dll.p/livephoto.c: At top level: src/liblivephototools.dll.p/livephoto.c:1025:1: warning: 'block1_data_ref' defined but not used [-Wu nused-function] 1025 | block1_data_ref (Block1Data* data1) | ^~~~~~~ [18/24] Compiling C object src/copy-img-meta.exe.p/meson-generated_copyimgmeta.c.obj src/copy-img-meta.exe.p/copyimgmeta.c: In function 'live_photo_conv_copy_img_meta_main': src/copy-img-meta.exe.p/copyimgmeta.c:236:25: warning: variable 'tmp21' set but not used [-Wunused -but-set-variable] 236 | gchar** tmp21; | ^~~ src/copy-img-meta.exe.p/copyimgmeta.c:111:14: warning: variable '_tmp28length1' set but not used -Wunused-but-set-variable] 111 | gint _tmp28length1; | ^~~~~~~ src/copy-img-meta.exe.p/copyimgmeta.c:107:14: warning: variable '_tmp26__length1' set but not used -Wunused-but-set-variable] 107 | gint _tmp26length1; | ^~~~~~~ src/copy-img-meta.exe.p/copyimgmeta.c:103:17: warning: variable 'tmp19' set but not used [-Wunused -but-set-variable] 103 | gchar** tmp19; | ^~~ src/copy-img-meta.exe.p/copyimgmeta.c:98:14: warning: variable '_argssize' set but not used [-Wunu sed-but-set-variable] 98 | gint _argssize; | ^~~[19/24] Compiling C object src/live-photo-conv.exe.p/meson-generated_main.c.obj src/live-photo-conv.exe.p/main.c: In function 'live_photo_conv_main_main': src/live-photo-conv.exe.p/main.c:123:14: warning: variable '_argssize' set but not used [-Wunused- but-set-variable] 123 | gint _argssize; | ^~~[24/24] Generating src/LivePhotoTools-0.3.typeli... a custom command (wrapped by meson to set PATH)Administrator@WI`跟着文档走,编译就出错了,好难啊!
你这不是构建成功了吗
请问博主,有什么cli工具可以直接修改xmp属性吗,我尝试使用python合成live图,但是没有办法修改xmp字段,我尝试使用最主流的exiftools,但是依然无法使用,我主要使用Java、python,您知道有什么可以和您代码中metadata可以实现一样功能的库或者命令行工具吗
@SG-XM 请问博主,有什么cli工具可以直接修改xmp属性吗,我尝试使用python合成live图,但是没有办法修改xmp字段,我尝试使用最主流的exiftools,但是依然无法使用,我主要使用Java、python,您知道有什么可以和您代码中metadata可以实现一样功能的库或者命令行工具吗
我用的GExiv2,你也可以直接用Exiv2,还有我的这个程序的lib也可以直接在Python下调用,只需要安装python-gobject
,然后:
import gi
gi.require_version('LivePhotoTools', '0.3')
from gi.repository import LivePhotoTools
然后就能直接在python中调用我的这个程序。
@SG-XM 请问博主,有什么cli工具可以直接修改xmp属性吗,我尝试使用python合成live图,但是没有办法修改xmp字段,我尝试使用最主流的exiftools,但是依然无法使用,我主要使用Java、python,您知道有什么可以和您代码中metadata可以实现一样功能的库或者命令行工具吗
加上了在python中使用的基本文档
https://wszqkzqk.github.io/2024/08/01/%E8%A7%A3%E6%9E%90Android%E7%9A%84%E5%8A%A8%E6%80%81%E7%85%A7%E7%89%87/?
天下难事,必作于易;天下大事,必作于细