<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi,<br>
<br>
This sounds like <a moz-do-not-send="true"
href="https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/655">https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/655</a>
which is an issue with newer versions of setuptools.<br>
<br>
Cheers<br>
-Matt<br>
<br>
<div class="moz-cite-prefix">On 29/10/20 9:43 am, Andy Devar wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGW3BCs+u5nbMVd0b_v3JgAZqo9EM=8K3KLeDfrJ8DdD66RSiw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>can't get this to work:</div>
<div><br>
</div>
<div>
<div>Code: <a
href="https://gitlab.freedesktop.org/nirbheek/cerbero.git"
moz-do-not-send="true">https://gitlab.freedesktop.org/nirbheek/cerbero.git</a></div>
<div>Branch: uwp-more-recipes-wip</div>
</div>
<div><br>
</div>
<div>python ./cerbero-uninstalled -c config/win64.cbc -v uwp
package gstreamer-1.0</div>
<div><br>
</div>
<div>When zlib is built for example, the following error is
thrown:</div>
<div>..\meson.build:1:0: ERROR: Unable to detect GNU compiler
type:</div>
<div><br>
</div>
<div>This is probably because the value of the variable named
compiler is ['false'] in method get_gnu_compiler_defines (in
environment.py). I have checked this by adding a pprint in
this method.<br>
</div>
<div><br>
</div>
<div>I guess this value is fetched from
cerbero/build/sources/uwp_x86_64/zlib-1.2.11/_builddir/meson-native-file.txt
- the binaries section looks like this:</div>
<div><br>
</div>
<div>[binaries]<br>
c = ['false']<br>
cpp = ['false']<br>
objc = ['false']<br>
objcpp = ['false']<br>
ar = ['false']<br>
pkgconfig = ['false']<br>
cmake = ['false']<br>
</div>
<div><br>
</div>
<div>Is this expected?</div>
<div><br>
</div>
<div>In the meson-cross-file, which is also passed to meson,
this section looks better:</div>
<div><br>
</div>
<div>[binaries]<br>
c = ['cl']<br>
cpp = ['cl']<br>
objc = ['false']<br>
objcpp = ['false']<br>
ar = ['lib']<br>
pkgconfig = 'pkg-config'<br>
cmake = ['false']<br>
comspec = ['C:\\WINDOWS\\SysWOW64\\cmd.exe']<br>
msyscon = ['sh.exe']<br>
perl = ['perl']<br>
gendef = ['gendef']<br>
dlltool = ['x86_64-w64-mingw32-dlltool']<br>
windres = ['rc']</div>
<div><br>
</div>
<div>But it's obviously not used.</div>
<div><br>
</div>
<div>This is the command called by cerbero-uninstalled:</div>
<div><br>
</div>
<div>C:/MinGW/msys/1.0/home/user/git/nirbheek/uwp-more-recipes/cerbero/build/build-tools/bin/meson
--prefix=C:/MinGW/msys/1.0/home/user/git/nirbheek/uwp-more-recipes/cerbero/build/dist/uwp_x86_64
--libdir=lib -Ddebug=true --default-library=both
-Doptimization=2 --backend=ninja --wrap-mode=nodownload
-Db_vscrt=md --cross-file
C:/MinGW/msys/1.0/home/user/git/nirbheek/uwp-more-recipes/cerbero/build/sources/uwp_x86_64/zlib-1.2.11/_builddir/meson-cross-file.txt
--native-file
C:/MinGW/msys/1.0/home/user/git/nirbheek/uwp-more-recipes/cerbero/build/sources/uwp_x86_64/zlib-1.2.11/_builddir/meson-native-file.txt</div>
<div><br>
</div>
<div>Versions:</div>
<div>Meson: 0.55.3</div>
<div>Python: 3.9.0</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks.</div>
<div><br>
</div>
<div>Andy<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Am Mo., 26. Okt. 2020 um
16:30 Uhr schrieb Nirbheek Chauhan <<a
href="mailto:nirbheek.chauhan@gmail.com"
moz-do-not-send="true">nirbheek.chauhan@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>Your best bet for decoding AAC / AC3 on UWP is
described in this issue: <a
href="https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/286"
target="_blank" moz-do-not-send="true">https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/286</a></div>
<div><br>
</div>
<div>Basically, the FFmpeg recipe doesn't use the Meson port
yet because it's a lot of work to test it on all platforms
supported by gstreamer. Need to ensure that the same code
is built on all platforms with basically the same flags
(and the correct optimizations). There wasn't enough time
to get that done for the 1.18 release.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Nirbheek<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Oct 26, 2020 at
5:30 AM Andy Devar <<a
href="mailto:andy.devar@gmail.com" target="_blank"
moz-do-not-send="true">andy.devar@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">---------- Forwarded
message ---------<br>
Von: <b class="gmail_sendername" dir="auto">Andy
Devar</b> <span dir="auto"><<a
href="mailto:andy.devar@gmail.com"
target="_blank" moz-do-not-send="true">andy.devar@gmail.com</a>></span><br>
Date: So., 25. Okt. 2020 um 23:46 Uhr<br>
Subject: UWP: Play AAC/AC3 audio<br>
To: <<a
href="mailto:gstreamer-commits@lists.freedesktop.org"
target="_blank" moz-do-not-send="true">gstreamer-commits@lists.freedesktop.org</a>><br>
</div>
<br>
<br>
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>while I managed to play MP4 and TS video with a
modified UWP sample app, I haven't managed to play
the audio contained in these video files.</div>
<div><br>
</div>
<div>It seems that the required decoders are missing
from the GStreamer UWP release 1.18.0 release
(e.g. avdec_aac and avdec_ac3). Are there any
alternatives in the UWP release?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Andy<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org"
target="_blank" moz-do-not-send="true">gstreamer-devel@lists.freedesktop.org</a><br>
<a
href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote>
</div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org"
target="_blank" moz-do-not-send="true">gstreamer-devel@lists.freedesktop.org</a><br>
<a
href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>