ffmpeg 'depends' on qtbase

  • Done
  • quality assurance status badge
Details
2 participants
  • Efraim Flashner
  • Leo Famulari
Owner
unassigned
Submitted by
Efraim Flashner
Severity
normal
E
E
Efraim Flashner wrote on 3 May 2020 10:41
(address . bug-guix@gnu.org)
20200503084149.GA12573@E5400
qtbase seems like a rather heavy dependency for ffmpeg. After looking
through 'guix graph ffmpeg'

qtbase -> extra-cmake-modules -> fcitx -> sdl2 -> ffmpeg

What does sdl2 bring to ffmpeg?
(on a similar note, what does it bring to u-boot?)
'guix size ffmpeg'
with sdl2: 713.3 MiB
without sdl2: 699.2 MiB



--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6ug8wACgkQQarn3Mo9
g1FbzQ//eJjBmWu84DkNbZ/A8nKyvdrhLmYcX0GfYOWti5CHasDl4DJVu1eG8mIS
Pnkej4GJlNq/ntHvuw+gXoNlIUtCobiGXyosx3fIaMRS5y36g8i9kOWnBuVpI2JE
ijhv7yQyjz1UfRbfOvY7rv+VYJAjtXha64RIYAMaLd2qv7+Y9hR3LtFQ6BkMqZYY
WhNkS0ea/FUG9g6xiT7VhgZm2GfjXozDIFRM6VGZMyXnWKv9MaL+z/n0XfayZX7b
aufyECyarsAZyEIttFDIVIFCLXelzpSHGestXPYqia9IbE4DC7ctcbMbhnCW3a9D
I18MzdiS9O5A7+9aqvM9sOg4GsHYQeSpxwi1IZBb32KZD66zV9fC4R4HzBesx1bQ
oOyZpdRvkrfOGF6YORTsjo180UJP5VUUzapItZFIctAzaWtGvuQo9FbXSn9VSmLA
GxVuErY7ky8t6KGSPO24YUJNQyIeEoTLVi5KO715QCwrhdcIJPoy7MQttQx18+Rd
YEUXoEENFodgPEoCGJBUMCAE1PxzON1Jwkq5DY48t0z+pvJthvIYjMlhK/EHV5Fj
OvyEMpCCYESQE+PgUmvnqFHanaGdKKZbn3oIunbRlUvBouzY6YbGSbxe55Vck6hU
iFtQd5qko68zzdxEeIqe/Psj++g4OZd8e5x/Mp94c6bTdpzlVyA=
=kNCf
-----END PGP SIGNATURE-----


L
L
Leo Famulari wrote on 3 May 2020 20:31
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 41043@debbugs.gnu.org)
20200503183135.GA19138@jasmine.lan
On Sun, May 03, 2020 at 11:41:49AM +0300, Efraim Flashner wrote:
Toggle quote (13 lines)
> qtbase seems like a rather heavy dependency for ffmpeg. After looking
> through 'guix graph ffmpeg'
>
> qtbase -> extra-cmake-modules -> fcitx -> sdl2 -> ffmpeg
>
> What does sdl2 bring to ffmpeg?
> (on a similar note, what does it bring to u-boot?)
> 'guix size ffmpeg'
> with sdl2: 713.3 MiB
> without sdl2: 699.2 MiB
>
> https://ffmpeg.org/ffmpeg-devices.html#sdl

According to that page, "This output device allows one to show a video
stream in an SDL window. Only one SDL window is allowed per application,
so you can have only one instance of this output device in an
application."

Personally, I think FFmpeg is useful because it does everything. It's
supposed to be heavy. But maybe the dependency chain could be cut
earlier, if that's important. Although, I think most systems will
include Qtbase for other reasons.
E
E
Efraim Flashner wrote on 4 May 2020 09:15
(name . Leo Famulari)(address . leo@famulari.name)(address . 41043@debbugs.gnu.org)
20200504071552.GA1920@E5400
On Sun, May 03, 2020 at 02:31:35PM -0400, Leo Famulari wrote:
Toggle quote (24 lines)
> On Sun, May 03, 2020 at 11:41:49AM +0300, Efraim Flashner wrote:
> > qtbase seems like a rather heavy dependency for ffmpeg. After looking
> > through 'guix graph ffmpeg'
> >
> > qtbase -> extra-cmake-modules -> fcitx -> sdl2 -> ffmpeg
> >
> > What does sdl2 bring to ffmpeg?
> > (on a similar note, what does it bring to u-boot?)
> > 'guix size ffmpeg'
> > with sdl2: 713.3 MiB
> > without sdl2: 699.2 MiB
> >
> > https://ffmpeg.org/ffmpeg-devices.html#sdl
>
> According to that page, "This output device allows one to show a video
> stream in an SDL window. Only one SDL window is allowed per application,
> so you can have only one instance of this output device in an
> application."
>
> Personally, I think FFmpeg is useful because it does everything. It's
> supposed to be heavy. But maybe the dependency chain could be cut
> earlier, if that's important. Although, I think most systems will
> include Qtbase for other reasons.

guix refresh -l sdl2: 355 packages
guix refresh -l ffmpeg: 154 packages
guix refresh -l qtbase: 768 packages
(with fcitx removed from sdl2)
guix refresh -l qtbase: 508

not enough to drop it into master for updates. I saw it mostly where it
comes to building on slow machines without substitutes. Since I'm
building without substitutes I'll probably make a change somewhere
locally.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6vwSUACgkQQarn3Mo9
g1EWcg//VWNDeYbzhGeITe/zVOuGVoL/mec93dnrQKj2pC6Uyyb+t0DY917o22Se
tgaqlmSvHRzmtAsoxnDJQriSYmTU5mS/DOyazZPWwIm6a+KV8j3WH4kybtlc8zBa
vh+HAwQCo9CwqDGN2l4sbgw8mLDxlB2P681DRQ9t87bkY0viOFQZJwksu4dlX2tq
Tf3zeg2z2Df/NY8dI7lFp5uy47FYSOgRmRXAqGhEWiYgBuWMm0dq4saFTl9PJdVy
uK81eV13zcvI0lacI9AzAOnEW1hR/o0ImUpoILA+tsxwXyNPpDZKjhuOGxg8/2z3
QhelsgKbpKkCAoeVlwj/rNwYjpvQnICfXqLxMHxJUtIdeZ/zHn/wMeSW+afS/WYi
DTAdoOkTVfk8G9mZXbWR/4PP+vj2ElBphW4xzVVAn5H4ElMrASBdBmAGgznFIXjz
SrfFRemp56wRimhHfO0DbRV0FAk65RbOlcz9eNuNRpTOblzpT0NHo1YLhkgrag8t
b00ZMkz437IZT6aOFlE1nAEwEeMwO1/cjkVN8Li+5mjGKaRgd+iOIeqI2NW2i9Kr
UgfOnYkr/Cwu4h7KEqbdQDCMziwa1YWWPSq2IkErQH+C8fmFTzdaU4N27ZmZR2fT
+1lMNLNcnckSFDuNCwGqZhiZx2pJvrbC1NOjNQxDhl59EmY5Pj4=
=QXry
-----END PGP SIGNATURE-----


L
L
Leo Famulari wrote on 5 May 2020 06:10
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 41043-done@debbugs.gnu.org)
20200505041025.GB18640@jasmine.lan
On Mon, May 04, 2020 at 10:15:52AM +0300, Efraim Flashner wrote:
Toggle quote (5 lines)
> not enough to drop it into master for updates. I saw it mostly where it
> comes to building on slow machines without substitutes. Since I'm
> building without substitutes I'll probably make a change somewhere
> locally.

Alright, closing
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAl6w5zEACgkQJkb6MLrK
fwhyvxAAtV1oa4ptU2pHIqBunvWqs4tWg6o5QS4FCKaLO3sZmVaodDP7uvVhqz5L
kLMYcC1bIY6ngyXfjjpNZ+4uWOlpkYbcG+9/lqEIYMKN8YHWCNszebVxEXKeqxLA
YkG4JH0vUjVSqR5AlvF1zm4ZjWPNtdT1T2euFoO6zvWx7aJe0eFnmbSaHUiLoXMC
TZtVDVuerVXoX3uvA2sBOkQ5CANRIWagcd6Bz6noegO3jS7zYDNzLpsxgpv4mhxd
qSrmD9sN20HT4e98JAsLFz3ooCz16tw5A+dh260E8Zf/b1OgnLkrkHAm9zG4OpHT
shzhV3Y0iEtLCaU45DsldMwP4h1POApqL86jaJl+qV8FemkT1rgStJ4Urm7MoPjQ
J++LbJoxao/MoeZWfxDko94XxGdIqythAXj4k6o/oG41J4CJClDc70sirWx06CU8
8drYwxVRmfbCAC2WE9ZREQmgF8Q6ubIzAQQDFta5iXYC8rHe+cOKS2hoX+a7xZTD
7NCa5sanRQpVZzY4pDc0yLzQkakH1XWzovepEnGOTQMAP9c0d8W+0LAza90R/SqJ
TSX7MnMsRNKFathRPUeHb4M9ZqsYGkLce3uJaESV4oK35KtcJ6136QTlWxPBEGm+
U4sEVKOJ20yYQaBiBFhkypBs6oEPbxM1NJVbctxCR4zlPZAdsLo=
=XXot
-----END PGP SIGNATURE-----


Closed
?