UWP: Play AAC/AC3 audio

Andy Devar andy.devar at gmail.com
Wed Oct 28 22:43:09 UTC 2020


Hi,

can't get this to work:

Code: https://gitlab.freedesktop.org/nirbheek/cerbero.git
Branch: uwp-more-recipes-wip

python ./cerbero-uninstalled -c config/win64.cbc -v uwp  package
gstreamer-1.0

When zlib is built for example, the following error is thrown:
..\meson.build:1:0: ERROR: Unable to detect GNU compiler type:

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.

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:

[binaries]
c = ['false']
cpp = ['false']
objc = ['false']
objcpp = ['false']
ar = ['false']
pkgconfig = ['false']
cmake = ['false']

Is this expected?

In the meson-cross-file, which is also passed to meson, this section looks
better:

[binaries]
c = ['cl']
cpp = ['cl']
objc = ['false']
objcpp = ['false']
ar = ['lib']
pkgconfig = 'pkg-config'
cmake = ['false']
comspec = ['C:\\WINDOWS\\SysWOW64\\cmd.exe']
msyscon = ['sh.exe']
perl = ['perl']
gendef = ['gendef']
dlltool = ['x86_64-w64-mingw32-dlltool']
windres = ['rc']

But it's obviously not used.

This is the command called by cerbero-uninstalled:

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

Versions:
Meson: 0.55.3
Python: 3.9.0


Thanks.

Andy

Am Mo., 26. Okt. 2020 um 16:30 Uhr schrieb Nirbheek Chauhan <
nirbheek.chauhan at gmail.com>:

> Hi,
>
> Your best bet for decoding AAC / AC3 on UWP is described in this issue:
> https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/286
>
> 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.
>
> Cheers,
> Nirbheek
>
> On Mon, Oct 26, 2020 at 5:30 AM Andy Devar <andy.devar at gmail.com> wrote:
>
>>
>>
>> ---------- Forwarded message ---------
>> Von: Andy Devar <andy.devar at gmail.com>
>> Date: So., 25. Okt. 2020 um 23:46 Uhr
>> Subject: UWP: Play AAC/AC3 audio
>> To: <gstreamer-commits at lists.freedesktop.org>
>>
>>
>> Hi,
>>
>> 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.
>>
>> 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?
>>
>> Thanks,
>>
>> Andy
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201028/2eec2d2f/attachment-0001.htm>


More information about the gstreamer-devel mailing list