GNU bug report logs - #42607
guix.gnu.org/videos don't play on iOS

Previous Next

Package: guix;

Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>

Date: Wed, 29 Jul 2020 23:09:01 UTC

Severity: normal

To reply to this bug, email your comments to 42607 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#42607; Package guix. (Wed, 29 Jul 2020 23:09:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 29 Jul 2020 23:09:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: bug-guix <at> gnu.org
Subject: guix.gnu.org/videos don't play on iOS
Date: Thu, 30 Jul 2020 01:08:48 +0200
[Message part 1 (text/plain, inline)]
Guix,

A sympathetic PotentialUser reported that they were unable to play 
any of our home-page videos on their iPad.  Even Firefox didn't 
work.

Leo pointed out that we use the VP9 and Opus codecs — both of 
which are still not supported by Apple[0][1].  Nor is Vorbis.

nginx can easily sniff iOS/Macintosh user agents and serve them an 
inferior format to match, such as h264 with MP3 audio, which can 
both be encoded using free software in Guix.

Kind regards,

T G-R

[0]: https://caniuse.com/#feat=opus
[1]: https://caniuse.com/#search=vp9
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#42607; Package guix. (Wed, 29 Jul 2020 23:28:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: 42607 <at> debbugs.gnu.org
Subject: Re: bug#42607: guix.gnu.org/videos don't play on iOS
Date: Wed, 29 Jul 2020 19:26:57 -0400
[Message part 1 (text/plain, inline)]
On Thu, Jul 30, 2020 at 01:08:48AM +0200, Tobias Geerinckx-Rice via Bug reports for GNU Guix wrote:
> nginx can easily sniff iOS/Macintosh user agents and serve them an inferior
> format to match, such as h264 with MP3 audio, which can both be encoded
> using free software in Guix.

Here is where the videos are created:

https://git.savannah.gnu.org/cgit/guix/videos.git/tree/Makefile

------
$(NUMBER).clino.$(VIDEO).webm: \
	 $(VIDEO)/$(LOCALE_LANG)/durations.txt        \
	 $(VIDEO)/$(LOCALE_LANG)/audios/all.mp3	
		ffmpeg -y -f concat -vsync cfr \
		-i $(VIDEO)/$(LOCALE_LANG)/durations.txt \
		-i $(VIDEO)/$(LOCALE_LANG)/audios/all.mp3 \
		-c:a libopus -b:a 192k \
		-c:v libvpx-vp9 -crf 31 -b:v 0 -pix_fmt yuv420p \
		-af apad -shortest \
		-vf fps=25 -threads 4 $(VIDEO)/$(LOCALE_LANG)/videos/$@;
		make clean_noCli
------

So, we'd need to add a target that did "-c:a copy -c:v libx264" and add
some logic to create two videos instead of one. I didn't look into it
closely yet to see if that will be simple or not.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#42607; Package guix. (Wed, 29 Jul 2020 23:28:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#42607; Package guix. (Mon, 01 Feb 2021 20:55:01 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: 42607 <at> debbugs.gnu.org
Subject: Re: bug#42607: guix.gnu.org/videos don't play on iOS
Date: Mon, 1 Feb 2021 15:54:02 -0500
[Message part 1 (text/plain, inline)]
On Wed, Jul 29, 2020 at 07:26:57PM -0400, Leo Famulari wrote:
> > nginx can easily sniff iOS/Macintosh user agents and serve them an inferior
> > format to match, such as h264 with MP3 audio, which can both be encoded
> > using free software in Guix.
> 
> Here is where the videos are created:
> 
> https://git.savannah.gnu.org/cgit/guix/videos.git/tree/Makefile
> 
> ------
> $(NUMBER).clino.$(VIDEO).webm: \
> 	 $(VIDEO)/$(LOCALE_LANG)/durations.txt        \
> 	 $(VIDEO)/$(LOCALE_LANG)/audios/all.mp3	
> 		ffmpeg -y -f concat -vsync cfr \
> 		-i $(VIDEO)/$(LOCALE_LANG)/durations.txt \
> 		-i $(VIDEO)/$(LOCALE_LANG)/audios/all.mp3 \
> 		-c:a libopus -b:a 192k \
> 		-c:v libvpx-vp9 -crf 31 -b:v 0 -pix_fmt yuv420p \
> 		-af apad -shortest \
> 		-vf fps=25 -threads 4 $(VIDEO)/$(LOCALE_LANG)/videos/$@;
> 		make clean_noCli
> ------
> 
> So, we'd need to add a target that did "-c:a copy -c:v libx264" and add
> some logic to create two videos instead of one. I didn't look into it
> closely yet to see if that will be simple or not.

Coming back to this, I don't remember why I suggested "c:a copy". We
would want to transcode the audio as well, because the standard codec is
h264/aac.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#42607; Package guix. (Mon, 01 Feb 2021 20:55:01 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 77 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.