Skip to content

Instantly share code, notes, and snippets.

View alexandre-janniaux's full-sized avatar

Alexandre Janniaux alexandre-janniaux

  • videolabs.io
  • France
View GitHub Profile
@alexandre-janniaux
alexandre-janniaux / videolan.mak
Last active February 25, 2022 16:31
contrib-check
╭─janniaux@unidan-tower ~/Projects/videolabs/vlc/contrib/contrib-native ‹libplacebobump2*›
╰─$ make -sf ../src/list-videolan.mak check-all action_url='(echo -e "$(1) \\t\\t-> \\t\\t$(2)")' 148 ↵
https://storage.googleapis.com/aom-releases/libaom-3.3.0.tar.gz -> http://downloads.videolan.org/pub/contrib/aom/libaom-3.3.0.tar.gz
https://github.com/libass/libass/releases/download/0.15.2/libass-0.15.2.tar.gz -> http://downloads.videolan.org/pub/contrib/ass/libass-0.15.2.tar.gz
http://bellard.org/bpg/libbpg-0.9.8.tar.gz -> http://downloads.videolan.org/pub/contrib/bpg/libbpg-0.9.8.tar.gz
https://github.com/cacalabs/libcaca/releases/download/v0.99.beta20/libcaca-0.99.beta20.tar.gz -> http://downloads.videolan.org/pub/contrib/caca/libcaca-0.99.beta20.tar.gz
http://downloads.videolan.org/pub/videolan/dav1d/0.9.2/dav1d-0.9.2.tar.xz -> http://downloads.videolan.org/pub/contrib/dav1d/dav1d-0.9.2.tar.xz
https://www.sourceware.org/pub/libffi/libffi-3.0.13.tar.gz -
This file has been truncated, but you can view the full file.
[00000002802a4280] libvlc libvlc debug: VLC media player - 4.0.0-dev Otto Chriek
[00000002802a4280] libvlc libvlc debug: Copyright © 1996-2021 the VideoLAN team
[00000002802a4280] libvlc libvlc debug: revision 4.0.0-dev-14977-g536ed15bf5
[00000002802a4280] libvlc libvlc debug: configured with ../../configure '--with-contrib=/Users/unidan/Workspace/skrepo/framework/TVVLCKit/libvlc/vlc/build-appletvos-arm64/contrib/arm64-appletvos14.5' '--host=aarch64-apple-darwin' '--prefix=/Users/unidan/Workspace/skrepo/framework/TVVLCKit/libvlc/vlc/build-appletvos-arm64/vlc-appletvos14.5-arm64' '--disable-rnnoise' '--disable-sse' '--disable-mmx' '--disable-a52' '--disable-vcd' '--disable-libcddb' '--disable-macosx' '--disable-macosx-avfoundation' '--disable-lua' '--disable-qt' '--disable-skins2' '--disable-vlc' '--disable-vlm' '--disable-nls' '--disable-notify' '--disable-projectm' '--disable-goom' '--disable-dvdread' '--disable-dvdnav' '--disable-bluray' '--disable-linsys' '--disable-libva' '--disable-gme' '--disable-tremo

Compile QtGL with powershell

Necessary packages

The packages are installed through choco:

choco install pkgconfiglite
choco install make
choco install mingw

Project Threat Model

The goal of this page is to describe the limits of the project and the target threat model for the first version of the project.

Global scenario

There are two main "basic" usage of VLC Media player:

  • basic player (double click on file, url -> open with VLC)
  • media center (playlist, preparse, etc.)
This file has been truncated, but you can view the full file.
2020-07-23 09:00:06.717171+0200 testapptvos[1374:1020121] creating player instance with private library as options were given
[00000002814e08c0] libvlc libvlc debug: VLC media player - 4.0.0-dev Otto Chriek
[00000002814e08c0] libvlc libvlc debug: Copyright © 1996-2020 the VideoLAN team
[00000002814e08c0] libvlc libvlc debug: revision 4.0.0-dev-12655-g948eabfcf6
[00000002814e08c0] libvlc libvlc debug: configured with ../../configure '--with-contrib=/Users/unidan/Workspace/VLCKit/libvlc/vlc/build-appletvos-arm64/contrib/arm64-appletvos13.4' '--host=aarch64-apple-darwin' '--prefix=/Users/unidan/Workspace/VLCKit/libvlc/vlc/build-appletvos-arm64/vlc-appletvos13.4-arm64' '--disable-sse' '--disable-mmx' '--disable-a52' '--disable-vcd' '--disable-libcddb' '--disable-macosx' '--disable-macosx-avfoundation' '--disable-lua' '--disable-qt' '--disable-skins2' '--disable-vlc' '--disable-vlm' '--disable-nls' '--disable-notify' '--disable-projectm' '--disable-goom' '--disable-dvdread' '--disable-dvdnav' '--disable-bluray' '
This file has been truncated, but you can view the full file.
2020-07-22 11:41:28.568920+0200 testapptvos[1184:887763] creating player instance with private library as options were given
[0000000283984dc0] libvlc libvlc debug: VLC media player - 4.0.0-dev Otto Chriek
[0000000283984dc0] libvlc libvlc debug: Copyright © 1996-2020 the VideoLAN team
[0000000283984dc0] libvlc libvlc debug: revision 4.0.0-dev-12598-gad03d1f1a4
[0000000283984dc0] libvlc libvlc debug: configured with ../../configure '--with-contrib=/Users/unidan/Workspace/VLCKit/libvlc/vlc/build-appletvos-arm64/contrib/arm64-appletvos13.4' '--host=aarch64-apple-darwin' '--prefix=/Users/unidan/Workspace/VLCKit/libvlc/vlc/build-appletvos-arm64/vlc-appletvos13.4-arm64' '--disable-sse' '--disable-mmx' '--disable-a52' '--disable-vcd' '--disable-libcddb' '--disable-macosx' '--disable-macosx-avfoundation' '--disable-lua' '--disable-qt' '--disable-skins2' '--disable-vlc' '--disable-vlm' '--disable-nls' '--disable-notify' '--disable-projectm' '--disable-goom' '--disable-dvdread' '--disable-dvdnav' '--disable-bluray' '-
# vlc_apple runs the following command in the xcode-cross container
╰─$ vlc_apple clang main.m
Undefined symbols for architecture x86_64:
"___isOSVersionAtLeast", referenced from:
_main in main-cc2b2d.o
ld: symbol(s) not found for architecture x86_64
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
../../qrenderdoc/Windows/Dialogs/PerformanceCounterSelection.cpp: In member function ‘void PerformanceCounterSelection::Load()’:
../../qrenderdoc/Windows/Dialogs/PerformanceCounterSelection.cpp:441:51: error: ‘QList<T> QSet<T>::toList() const [with T = GPUCounter]’ is deprecated: Use values() instead. [-Werror=deprecated-declarations]
441 | SetSelectedCounters(selectedCounters.toList());
| ^
In file included from /usr/include/qt/QtCore/QSet:1,
from ../../qrenderdoc/Windows/Dialogs/PerformanceCounterSelection.cpp:27:
/usr/include/qt/QtCore/qset.h:251:14: note: declared here
251 | QList<T> toList() const { return values(); }
| ^~~~~~