Guest User

Log

a guest
May 29th, 2023
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.64 KB | None | 0 0
  1. $ ./1-setup-windows-msys2.sh
  2. Selected ARCH: mingw-w64-x86_64
  3. Installing development tools
  4. warning: autoconf-wrapper-20221207-1 is up to date -- skipping
  5. warning: automake-wrapper-20221207-1 is up to date -- skipping
  6. warning: intltool-0.51.0-3 is up to date -- skipping
  7. warning: libtool-2.4.7-3 is up to date -- skipping
  8. warning: make-4.4.1-1 is up to date -- skipping
  9. warning: patch-2.7.6-2 is up to date -- skipping
  10. warning: tar-1.34-3 is up to date -- skipping
  11. warning: mingw-w64-x86_64-ccache-4.8-1 is up to date -- skipping
  12. warning: mingw-w64-x86_64-cmake-3.26.4-1 is up to date -- skipping
  13. warning: mingw-w64-x86_64-dlfcn-1.4.0-1 is up to date -- skipping
  14. warning: mingw-w64-x86_64-ffmpeg-6.0-3 is up to date -- skipping
  15. warning: mingw-w64-x86_64-fftw-3.3.10-5 is up to date -- skipping
  16. warning: mingw-w64-x86_64-gcc-13.1.0-6 is up to date -- skipping
  17. warning: mingw-w64-x86_64-glibmm-2.66.6-1 is up to date -- skipping
  18. warning: mingw-w64-x86_64-gtkmm3-3.24.7-1 is up to date -- skipping
  19. warning: mingw-w64-x86_64-harfbuzz-7.3.0-1 is up to date -- skipping
  20. warning: mingw-w64-x86_64-imagemagick-7.1.1.9-1 is up to date -- skipping
  21. warning: mingw-w64-x86_64-libltdl-2.4.7-1 is up to date -- skipping
  22. warning: mingw-w64-x86_64-libmng-2.0.3-6 is up to date -- skipping
  23. warning: mingw-w64-x86_64-libxml++2.6-2.42.0-4 is up to date -- skipping
  24. warning: mingw-w64-x86_64-make-4.4-2 is up to date -- skipping
  25. warning: mingw-w64-x86_64-ninja-1.11.1-3 is up to date -- skipping
  26. warning: mingw-w64-x86_64-openexr-3.1.7-1 is up to date -- skipping
  27. warning: mingw-w64-x86_64-pkgconf-1~1.8.0-2 is up to date -- skipping
  28. warning: mingw-w64-x86_64-SDL2-2.26.5-1 is up to date -- skipping
  29. there is nothing to do
  30. ======================= Compiling MLT++ =======================
  31. /tmp ~/synfigv
  32. --2023-05-29 16:45:25-- https://github.com/mltframework/mlt/releases/download/v7.2.0/mlt-7.2.0.tar.gz
  33. Loaded CA certificate '/usr/ssl/certs/ca-bundle.crt'
  34. Resolving github.com (github.com)... 20.207.73.82
  35. Connecting to github.com (github.com)|20.207.73.82|:443... connected.
  36. HTTP request sent, awaiting response... 302 Found
  37. Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/4019052/bf406d92-55b3-4786-b0c7-cd9fa13df2d0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230529%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230529T111528Z&X-Amz-Expires=300&X-Amz-Signature=e72a14ea9c403064cf9366eb142c88b76d40fa074210de6c0d31539ed6742ebe&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=4019052&response-content-disposition=attachment%3B%20filename%3Dmlt-7.2.0.tar.gz&response-content-type=application%2Foctet-stream [following]
  38. --2023-05-29 16:45:26-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/4019052/bf406d92-55b3-4786-b0c7-cd9fa13df2d0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230529%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230529T111528Z&X-Amz-Expires=300&X-Amz-Signature=e72a14ea9c403064cf9366eb142c88b76d40fa074210de6c0d31539ed6742ebe&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=4019052&response-content-disposition=attachment%3B%20filename%3Dmlt-7.2.0.tar.gz&response-content-type=application%2Foctet-stream
  39. Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
  40. Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
  41. HTTP request sent, awaiting response... 200 OK
  42. Length: 1203489 (1.1M) [application/octet-stream]
  43. Saving to: ‘mlt-7.2.0.tar.gz.2’
  44.  
  45. mlt-7.2.0.tar.gz.2 100%[==================================>] 1.15M 554KB/s in 2.1s
  46.  
  47. 2023-05-29 16:45:29 (554 KB/s) - ‘mlt-7.2.0.tar.gz.2’ saved [1203489/1203489]
  48.  
  49. /tmp/mlt-7.2.0 /tmp ~/synfigv
  50. Install path: /opt/mlt-7.2.0
  51. Fixed MLT Path: C:/msys64/opt/mlt-7.2.0
  52. /tmp/mlt-7.2.0/build /tmp/mlt-7.2.0 /tmp ~/synfigv
  53. -- Could NOT find JACK (missing: JACK_LIBRARY JACK_INCLUDE_DIR)
  54. -- Checking for module 'movit'
  55. -- Package 'movit', required by 'virtual:world', not found
  56. -- Checking for module 'libebur128'
  57. -- Package 'libebur128', required by 'virtual:world', not found
  58. -- Checking for module 'samplerate'
  59. -- Package 'samplerate', required by 'virtual:world', not found
  60. -- Checking for module 'rtaudio'
  61. -- Package 'rtaudio', required by 'virtual:world', not found
  62. -- Checking for module 'rubberband'
  63. -- Package 'rubberband', required by 'virtual:world', not found
  64. -- Checking for module 'sdl'
  65. -- Package 'sdl', required by 'virtual:world', not found
  66. -- Checking for module 'sox'
  67. -- Package 'sox', required by 'virtual:world', not found
  68. -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
  69. -- The following features have been enabled:
  70.  
  71. * GPLv2
  72. * GPLv3
  73. * Module: avformat
  74. * Module: DeckLink
  75. * Module: Frei0r
  76. * Module: JACKRack
  77. * Module: Normalize
  78. * Module: Oldfilm
  79. * Module: Plus
  80. * Module: PlusGPL
  81. * Module: RtAudio
  82. * Module: SDL2
  83. * Module: vid.stab
  84. * Module: Vorbis
  85. * Module: XINE
  86. * Module: XML
  87.  
  88. -- The following OPTIONAL packages have been found:
  89.  
  90. * OpenGL
  91.  
  92. -- The following REQUIRED packages have been found:
  93.  
  94. * Threads
  95. * Iconv
  96. * dlfcn-win32
  97. * PkgConfig
  98.  
  99. -- The following features have been disabled:
  100.  
  101. * Tests
  102. * Doxygen
  103. * Module: GDK
  104. * Module: Kdenlive
  105. * Module: NDI
  106. * Module: OpenCV
  107. * Module: Movit
  108. * Module: Qt
  109. * Module: Resample
  110. * Module: Rubberband
  111. * Module: SDL1
  112. * Module: SoX
  113. * SWIG: C#
  114. * SWIG: Java
  115. * SWIG: Lua
  116. * SWIG: Node.js
  117. * SWIG: Perl
  118. * SWIG: PHP
  119. * SWIG: Python
  120. * SWIG: Ruby
  121. * SWIG: Tcl
  122.  
  123. -- The following OPTIONAL packages have not been found:
  124.  
  125. * JACK
  126. * SWIG
  127.  
  128. -- Configuring done (0.6s)
  129. -- Generating done (0.1s)
  130. -- Build files have been written to: C:/msys64/tmp/mlt-7.2.0/build
  131. [12/70] Building C object src/modules/avformat/CMakeFiles/mltavformat.dir/consumer_avformat.c.obj
  132. FAILED: src/modules/avformat/CMakeFiles/mltavformat.dir/consumer_avformat.c.obj
  133. C:\msys64\mingw64\bin\cc.exe -DAVDATADIR=\"share/ffmpeg/\" -DAVDEVICE -DAVFILTER -DCODECS -DFILTERS -DSWRESAMPLE -DUSE_MMX -Dmltavformat_EXPORTS -IC:/msys64/tmp/mlt-7.2.0/src/framework/.. -std=gnu11 -mmmx -msse -msse2 -MD -MT src/modules/avformat/CMakeFiles/mltavformat.dir/consumer_avformat.c.obj -MF src\modules\avformat\CMakeFiles\mltavformat.dir\consumer_avformat.c.obj.d -o src/modules/avformat/CMakeFiles/mltavformat.dir/consumer_avformat.c.obj -c C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c
  134. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c: In function 'add_audio_stream':
  135. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:706:17: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations]
  136. 706 | c->channel_layout = channel_layout;
  137. | ^
  138. In file included from C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:41:
  139. C:/msys64/mingw64/include/libavcodec/avcodec.h:1100:14: note: declared here
  140. 1100 | uint64_t channel_layout;
  141. | ^~~~~~~~~~~~~~
  142. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:751:17: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  143. 751 | c->channels = channels;
  144. | ^
  145. C:/msys64/mingw64/include/libavcodec/avcodec.h:1042:9: note: declared here
  146. 1042 | int channels;
  147. | ^~~~~~~~
  148. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c: In function 'open_audio':
  149. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:773:44: error: 'AVCodec' has no member named 'priv_data_size'
  150. 773 | if ( !c->priv_data && codec->priv_data_size )
  151. | ^~
  152. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:775:57: error: 'AVCodec' has no member named 'priv_data_size'
  153. 775 | c->priv_data = av_mallocz( codec->priv_data_size );
  154. | ^~
  155. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c: In function 'add_video_stream':
  156. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:863:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  157. 863 | AVCodec *codec = avcodec_find_encoder( c->codec_id );
  158. | ^~~~~~~~~~~~~~~~~~~~
  159. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c: In function 'open_video':
  160. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:1116:52: error: 'AVCodec' has no member named 'priv_data_size'
  161. 1116 | if ( !video_enc->priv_data && codec->priv_data_size )
  162. | ^~
  163. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:1118:65: error: 'AVCodec' has no member named 'priv_data_size'
  164. 1118 | video_enc->priv_data = av_mallocz( codec->priv_data_size );
  165. | ^~
  166. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c: In function 'encode_audio':
  167. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:1270:17: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
  168. 1270 | av_init_packet( &pkt );
  169. | ^~~~~~~~~~~~~~
  170. In file included from C:/msys64/mingw64/include/libavformat/avformat.h:316,
  171. from C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:40:
  172. C:/msys64/mingw64/include/libavcodec/packet.h:512:6: note: declared here
  173. 512 | void av_init_packet(AVPacket *pkt);
  174. | ^~~~~~~~~~~~~~
  175. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:1289:25: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  176. 1289 | avcodec_fill_audio_frame( ctx->audio_avframe, codec->channels, codec->sample_fmt,
  177. | ^~~~~~~~~~~~~~~~~~~~~~~~
  178. C:/msys64/mingw64/include/libavcodec/avcodec.h:1042:9: note: declared here
  179. 1042 | int channels;
  180. | ^~~~~~~~
  181. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:1369:25: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  182. 1369 | avcodec_fill_audio_frame( ctx->audio_avframe, codec->channels, codec->sample_fmt,
  183. | ^~~~~~~~~~~~~~~~~~~~~~~~
  184. C:/msys64/mingw64/include/libavcodec/avcodec.h:1042:9: note: declared here
  185. 1042 | int channels;
  186. | ^~~~~~~~
  187. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c: In function 'consumer_thread':
  188. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:1513:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  189. 1513 | fmt = av_guess_format( format, NULL, NULL );
  190. | ^
  191. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:1517:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  192. 1517 | fmt = av_guess_format( NULL, filename, NULL );
  193. | ^
  194. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:1521:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  195. 1521 | fmt = av_guess_format( "mpeg", NULL, NULL );
  196. | ^
  197. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:1647:33: warning: 'av_get_default_channel_layout' is deprecated [-Wdeprecated-declarations]
  198. 1647 | enc_ctx->audio_st[i] = add_audio_stream( consumer, enc_ctx->oc, audio_codec, &enc_ctx->acodec_ctx[i], j, av_get_default_channel_layout( j ) );
  199. | ^~~~~~~
  200. In file included from C:/msys64/mingw64/include/libavutil/frame.h:33,
  201. from C:/msys64/mingw64/include/libswscale/swscale.h:33,
  202. from C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/common.h:24,
  203. from C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:20:
  204. C:/msys64/mingw64/include/libavutil/channel_layout.h:482:9: note: declared here
  205. 482 | int64_t av_get_default_channel_layout(int nb_channels);
  206. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  207. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:1777:25: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations]
  208. 1777 | enc_ctx->audio_avframe->channel_layout = c->channel_layout;
  209. | ^~~~~~~
  210. C:/msys64/mingw64/include/libavutil/frame.h:524:14: note: declared here
  211. 524 | uint64_t channel_layout;
  212. | ^~~~~~~~~~~~~~
  213. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:1777:25: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations]
  214. 1777 | enc_ctx->audio_avframe->channel_layout = c->channel_layout;
  215. | ^~~~~~~
  216. C:/msys64/mingw64/include/libavcodec/avcodec.h:1100:14: note: declared here
  217. 1100 | uint64_t channel_layout;
  218. | ^~~~~~~~~~~~~~
  219. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:1778:25: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  220. 1778 | enc_ctx->audio_avframe->channels = c->channels;
  221. | ^~~~~~~
  222. C:/msys64/mingw64/include/libavutil/frame.h:662:9: note: declared here
  223. 662 | int channels;
  224. | ^~~~~~~~
  225. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:1778:25: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  226. 1778 | enc_ctx->audio_avframe->channels = c->channels;
  227. | ^~~~~~~
  228. C:/msys64/mingw64/include/libavcodec/avcodec.h:1042:9: note: declared here
  229. 1042 | int channels;
  230. | ^~~~~~~~
  231. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:2024:49: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
  232. 2024 | av_init_packet( &pkt );
  233. | ^~~~~~~~~~~~~~
  234. C:/msys64/mingw64/include/libavcodec/packet.h:512:6: note: declared here
  235. 512 | void av_init_packet(AVPacket *pkt);
  236. | ^~~~~~~~~~~~~~
  237. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/consumer_avformat.c:2156:25: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
  238. 2156 | av_init_packet( &pkt );
  239. | ^~~~~~~~~~~~~~
  240. C:/msys64/mingw64/include/libavcodec/packet.h:512:6: note: declared here
  241. 512 | void av_init_packet(AVPacket *pkt);
  242. | ^~~~~~~~~~~~~~
  243. [14/70] Building C object src/modules/avformat/CMakeFiles/mltavformat.dir/producer_avformat.c.obj
  244. FAILED: src/modules/avformat/CMakeFiles/mltavformat.dir/producer_avformat.c.obj
  245. C:\msys64\mingw64\bin\cc.exe -DAVDATADIR=\"share/ffmpeg/\" -DAVDEVICE -DAVFILTER -DCODECS -DFILTERS -DSWRESAMPLE -DUSE_MMX -Dmltavformat_EXPORTS -IC:/msys64/tmp/mlt-7.2.0/src/framework/.. -std=gnu11 -mmmx -msse -msse2 -MD -MT src/modules/avformat/CMakeFiles/mltavformat.dir/producer_avformat.c.obj -MF src\modules\avformat\CMakeFiles\mltavformat.dir\producer_avformat.c.obj.d -o src/modules/avformat/CMakeFiles/mltavformat.dir/producer_avformat.c.obj -c C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c
  246. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c: In function 'list_components':
  247. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:254:35: error: 'AVCodec' has no member named 'decode'
  248. 254 | if ( codec->decode && codec->type == AVMEDIA_TYPE_AUDIO )
  249. | ^~
  250. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:266:35: error: 'AVCodec' has no member named 'decode'
  251. 266 | if ( codec->decode && codec->type == AVMEDIA_TYPE_VIDEO )
  252. | ^~
  253. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c: In function 'find_default_streams':
  254. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:453:33: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  255. 453 | if ( !codec_params->channels )
  256. | ^~
  257. In file included from C:/msys64/mingw64/include/libavformat/avformat.h:314,
  258. from C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:42:
  259. C:/msys64/mingw64/include/libavcodec/codec_par.h:173:14: note: declared here
  260. 173 | int channels;
  261. | ^~~~~~~~
  262. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:465:33: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  263. 465 | mlt_properties_set_int( meta_media, key, codec_params->channels );
  264. | ^~~~~~~~~~~~~~~~~~~~~~
  265. C:/msys64/mingw64/include/libavcodec/codec_par.h:173:14: note: declared here
  266. 173 | int channels;
  267. | ^~~~~~~~
  268. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c: In function 'producer_open':
  269. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:813:51: warning: passing argument 3 of 'parse_url' from incompatible pointer type [-Wincompatible-pointer-types]
  270. 813 | char *filename = parse_url( profile, URL, &format, &params );
  271. | ^~~~~~~
  272. | |
  273. | AVInputFormat **
  274. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:528:85: note: expected 'const AVInputFormat **' but argument is of type 'AVInputFormat **'
  275. 528 | static char* parse_url( mlt_profile profile, const char* URL, const AVInputFormat **format, AVDictionary **params )
  276. | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  277. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c: In function 'find_first_pts':
  278. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:1075:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
  279. 1075 | av_init_packet( &pkt );
  280. | ^~~~~~~~~~~~~~
  281. In file included from C:/msys64/mingw64/include/libavformat/avformat.h:316:
  282. C:/msys64/mingw64/include/libavcodec/packet.h:512:6: note: declared here
  283. 512 | void av_init_packet(AVPacket *pkt);
  284. | ^~~~~~~~~~~~~~
  285. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c: In function 'get_audio_streams_info':
  286. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:1224:33: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  287. 1224 | self->total_channels += codec_params->channels;
  288. | ^~~~
  289. C:/msys64/mingw64/include/libavcodec/codec_par.h:173:14: note: declared here
  290. 173 | int channels;
  291. | ^~~~~~~~
  292. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:1225:33: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  293. 1225 | if ( codec_params->channels > self->max_channel )
  294. | ^~
  295. C:/msys64/mingw64/include/libavcodec/codec_par.h:173:14: note: declared here
  296. 173 | int channels;
  297. | ^~~~~~~~
  298. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:1226:41: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  299. 1226 | self->max_channel = codec_params->channels;
  300. | ^~~~
  301. C:/msys64/mingw64/include/libavcodec/codec_par.h:173:14: note: declared here
  302. 173 | int channels;
  303. | ^~~~~~~~
  304. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c: In function 'producer_get_image':
  305. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:1764:33: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
  306. 1764 | av_init_packet( &self->pkt );
  307. | ^~~~~~~~~~~~~~
  308. C:/msys64/mingw64/include/libavcodec/packet.h:512:6: note: declared here
  309. 512 | void av_init_packet(AVPacket *pkt);
  310. | ^~~~~~~~~~~~~~
  311. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:1846:41: warning: 'reordered_opaque' is deprecated [-Wdeprecated-declarations]
  312. 1846 | self->video_codec->reordered_opaque = int_position;
  313. | ^~~~
  314. In file included from C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:43:
  315. C:/msys64/mingw64/include/libavcodec/avcodec.h:1397:13: note: declared here
  316. 1397 | int64_t reordered_opaque;
  317. | ^~~~~~~~~~~~~~~~
  318. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:1898:41: warning: 'reordered_opaque' is deprecated [-Wdeprecated-declarations]
  319. 1898 | int_position = self->video_frame->reordered_opaque;
  320. | ^~~~~~~~~~~~
  321. In file included from C:/msys64/mingw64/include/libswscale/swscale.h:33,
  322. from C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/common.h:24,
  323. from C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:29:
  324. C:/msys64/mingw64/include/libavutil/frame.h:510:13: note: declared here
  325. 510 | int64_t reordered_opaque;
  326. | ^~~~~~~~~~~~~~~~
  327. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c: In function 'decode_audio':
  328. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:2510:9: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  329. 2510 | int channels = codec_context->channels;
  330. | ^~~
  331. C:/msys64/mingw64/include/libavcodec/avcodec.h:1042:9: note: declared here
  332. 1042 | int channels;
  333. | ^~~~~~~~
  334. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:2534:25: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  335. 2534 | channels = codec_context->channels;
  336. | ^~~~~~~~
  337. C:/msys64/mingw64/include/libavcodec/avcodec.h:1042:9: note: declared here
  338. 1042 | int channels;
  339. | ^~~~~~~~
  340. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c: In function 'producer_get_audio':
  341. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:2677:33: warning: 'request_channel_layout' is deprecated [-Wdeprecated-declarations]
  342. 2677 | codec_context->request_channel_layout = av_get_default_channel_layout( *channels );
  343. | ^~~~~~~~~~~~~
  344. C:/msys64/mingw64/include/libavcodec/avcodec.h:1109:14: note: declared here
  345. 1109 | uint64_t request_channel_layout;
  346. | ^~~~~~~~~~~~~~~~~~~~~~
  347. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:2677:33: warning: 'av_get_default_channel_layout' is deprecated [-Wdeprecated-declarations]
  348. 2677 | codec_context->request_channel_layout = av_get_default_channel_layout( *channels );
  349. | ^~~~~~~~~~~~~
  350. In file included from C:/msys64/mingw64/include/libavutil/frame.h:33:
  351. C:/msys64/mingw64/include/libavutil/channel_layout.h:482:9: note: declared here
  352. 482 | int64_t av_get_default_channel_layout(int nb_channels);
  353. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  354. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:2697:17: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
  355. 2697 | av_init_packet( &pkt );
  356. | ^~~~~~~~~~~~~~
  357. C:/msys64/mingw64/include/libavcodec/packet.h:512:6: note: declared here
  358. 512 | void av_init_packet(AVPacket *pkt);
  359. | ^~~~~~~~~~~~~~
  360. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:2780:25: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  361. 2780 | *channels = self->audio_codec[ index ]->channels;
  362. | ^
  363. C:/msys64/mingw64/include/libavcodec/avcodec.h:1042:9: note: declared here
  364. 1042 | int channels;
  365. | ^~~~~~~~
  366. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:2784:25: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations]
  367. 2784 | if( self->audio_codec[ index ]->channel_layout == 0 )
  368. | ^~
  369. C:/msys64/mingw64/include/libavcodec/avcodec.h:1100:14: note: declared here
  370. 1100 | uint64_t channel_layout;
  371. | ^~~~~~~~~~~~~~
  372. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:2785:33: warning: 'av_get_default_channel_layout' is deprecated [-Wdeprecated-declarations]
  373. 2785 | layout = av_channel_layout_to_mlt( av_get_default_channel_layout( self->audio_codec[ index ]->channels ) );
  374. | ^~~~~~
  375. C:/msys64/mingw64/include/libavutil/channel_layout.h:482:9: note: declared here
  376. 482 | int64_t av_get_default_channel_layout(int nb_channels);
  377. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  378. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:2785:33: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  379. 2785 | layout = av_channel_layout_to_mlt( av_get_default_channel_layout( self->audio_codec[ index ]->channels ) );
  380. | ^~~~~~
  381. C:/msys64/mingw64/include/libavcodec/avcodec.h:1042:9: note: declared here
  382. 1042 | int channels;
  383. | ^~~~~~~~
  384. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:2787:33: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations]
  385. 2787 | layout = av_channel_layout_to_mlt( self->audio_codec[ index ]->channel_layout );
  386. | ^~~~~~
  387. C:/msys64/mingw64/include/libavcodec/avcodec.h:1100:14: note: declared here
  388. 1100 | uint64_t channel_layout;
  389. | ^~~~~~~~~~~~~~
  390. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:2818:41: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  391. 2818 | int current_channels = self->audio_codec[ index ]->channels;
  392. | ^~~
  393. C:/msys64/mingw64/include/libavcodec/avcodec.h:1042:9: note: declared here
  394. 1042 | int channels;
  395. | ^~~~~~~~
  396. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:2827:33: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  397. 2827 | int current_channels = self->audio_codec[ index ]->channels;
  398. | ^~~
  399. C:/msys64/mingw64/include/libavcodec/avcodec.h:1042:9: note: declared here
  400. 1042 | int channels;
  401. | ^~~~~~~~
  402. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c: In function 'producer_set_up_audio':
  403. C:/msys64/tmp/mlt-7.2.0/src/modules/avformat/producer_avformat.c:3022:17: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  404. 3022 | mlt_properties_set_int( frame_properties, "audio_channels", self->audio_codec[ index ]->channels );
  405. | ^~~~~~~~~~~~~~~~~~~~~~
  406. C:/msys64/mingw64/include/libavcodec/avcodec.h:1042:9: note: declared here
  407. 1042 | int channels;
  408. | ^~~~~~~~
  409. [25/70] Building C object src/modules/plus/CMakeFiles/mltplus.dir/producer_count.c.obj
  410. ninja: build stopped: subcommand failed.
  411.  
Advertisement
Add Comment
Please, Sign In to add comment