* Where to put media demonstrating Gnu Elpa packages?
@ 2018-08-29 16:48 Michael Heerdegen
2018-08-29 17:06 ` Kaushal Modi
0 siblings, 1 reply; 24+ messages in thread
From: Michael Heerdegen @ 2018-08-29 16:48 UTC (permalink / raw)
To: Emacs mailing list
Hi,
If someone would want to provide a video demonstration for a Gnu Elpa
package (or at least images) - what would be the canonical and ethically
acceptable place to put it to? Most people seem to use github for
advertising and demonstrating their stuff, but that probably doesn't
fulfill the requirements. Gnu Elpa package pages can only contain text,
right?
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2018-08-29 16:48 Where to put media demonstrating Gnu Elpa packages? Michael Heerdegen
@ 2018-08-29 17:06 ` Kaushal Modi
2018-08-29 19:43 ` Stefan Monnier
2018-09-01 15:32 ` Michael Heerdegen
0 siblings, 2 replies; 24+ messages in thread
From: Kaushal Modi @ 2018-08-29 17:06 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: Emacs mailing list
On Wed, Aug 29, 2018 at 12:49 PM Michael Heerdegen <michael_heerdegen@web.de>
wrote:
>
> If someone would want to provide a video demonstration for a Gnu Elpa
> package (or at least images) - what would be the canonical and ethically
> acceptable place to put it to? Most people seem to use github for
> advertising and demonstrating their stuff, but that probably doesn't
> fulfill the requirements. Gnu Elpa package pages can only contain text,
> right?
>
It would be nice if Org mode can be used for this. We already have ox-html
in Emacs core.
With a default CSS file for the GNU Elpa package pages, it should be
possible to have "homepages" for all packages with pics and videos.
The GNU Elpa builder can look for README.org (or something like that) in
the package root dir. If present, it kicks of its export to HTML.
--
Kaushal Modi
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2018-08-29 17:06 ` Kaushal Modi
@ 2018-08-29 19:43 ` Stefan Monnier
2018-09-01 15:32 ` Michael Heerdegen
1 sibling, 0 replies; 24+ messages in thread
From: Stefan Monnier @ 2018-08-29 19:43 UTC (permalink / raw)
To: help-gnu-emacs
> The GNU Elpa builder can look for README.org (or something like that) in
> the package root dir. If present, it kicks of its export to HTML.
Agreed. Patches to elpa.git's admin/archive-contents.el welcome.
One important detail, tho: the export code should be *safe* regardless
even in the face of an attacker getting access to the README.org.
[ I hope to be able to lift this restriction by running such untrusted code in
a sandbox, but so far I haven't gotten it to work. ]
Stefan
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2018-08-29 17:06 ` Kaushal Modi
2018-08-29 19:43 ` Stefan Monnier
@ 2018-09-01 15:32 ` Michael Heerdegen
2018-09-01 22:27 ` Stefan Monnier
1 sibling, 1 reply; 24+ messages in thread
From: Michael Heerdegen @ 2018-09-01 15:32 UTC (permalink / raw)
To: Kaushal Modi; +Cc: Emacs mailing list
Kaushal Modi <kaushal.modi@gmail.com> writes:
> It would be nice if Org mode can be used for this. We already have
> ox-html in Emacs core.
>
> With a default CSS file for the GNU Elpa package pages, it should be
> possible to have "homepages" for all packages with pics and videos.
>
> The GNU Elpa builder can look for README.org (or something like that) in
> the package root dir. If present, it kicks of its export to HTML.
Does that mean the preferred way of providing media would currently be
to add the media files to the repository and to refer to the files from
the documentation the package provides (file header or info)?
Thanks,
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2018-09-01 15:32 ` Michael Heerdegen
@ 2018-09-01 22:27 ` Stefan Monnier
2018-09-01 22:40 ` Michael Heerdegen
0 siblings, 1 reply; 24+ messages in thread
From: Stefan Monnier @ 2018-09-01 22:27 UTC (permalink / raw)
To: help-gnu-emacs
>> It would be nice if Org mode can be used for this. We already have
>> ox-html in Emacs core.
>>
>> With a default CSS file for the GNU Elpa package pages, it should be
>> possible to have "homepages" for all packages with pics and videos.
>>
>> The GNU Elpa builder can look for README.org (or something like that) in
>> the package root dir. If present, it kicks of its export to HTML.
>
> Does that mean the preferred way of providing media would currently be
> to add the media files to the repository and to refer to the files from
> the documentation the package provides (file header or info)?
Probably not: elpa.gnu.org is a pretty feeble server, so it's fine to
serve HTML and tarballs, but it's definitely not fit to serve videos.
Stefan
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2018-09-01 22:27 ` Stefan Monnier
@ 2018-09-01 22:40 ` Michael Heerdegen
2018-09-01 22:55 ` Stefan Monnier
0 siblings, 1 reply; 24+ messages in thread
From: Michael Heerdegen @ 2018-09-01 22:40 UTC (permalink / raw)
To: Stefan Monnier; +Cc: help-gnu-emacs
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Probably not: elpa.gnu.org is a pretty feeble server, so it's fine to
> serve HTML and tarballs, but it's definitely not fit to serve videos.
Is there at all any Gnu thing that could do it?
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2018-09-01 22:40 ` Michael Heerdegen
@ 2018-09-01 22:55 ` Stefan Monnier
2018-09-01 23:45 ` Michael Heerdegen
2019-07-29 1:39 ` Michael Heerdegen
0 siblings, 2 replies; 24+ messages in thread
From: Stefan Monnier @ 2018-09-01 22:55 UTC (permalink / raw)
To: help-gnu-emacs
>> Probably not: elpa.gnu.org is a pretty feeble server, so it's fine to
>> serve HTML and tarballs, but it's definitely not fit to serve videos.
> Is there at all any Gnu thing that could do it?
I think MediaGoblin is part of the answer, so I think all you need is to
find the FSF's MediaGoblin instance.
Stefan
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2018-09-01 22:55 ` Stefan Monnier
@ 2018-09-01 23:45 ` Michael Heerdegen
2018-09-02 2:48 ` Amin Bandali
2019-07-29 1:39 ` Michael Heerdegen
1 sibling, 1 reply; 24+ messages in thread
From: Michael Heerdegen @ 2018-09-01 23:45 UTC (permalink / raw)
To: Stefan Monnier; +Cc: help-gnu-emacs
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> I think MediaGoblin is part of the answer,
Wow, I always wondered where Gavroche in Supertuxkart did come from.
> so I think all you need is to find the FSF's MediaGoblin instance.
Hmm,
https://www.fsf.org/youtube
says that it's this:
https://media.libreplanet.org/
but the contents are quite restricted to LibrePlanet conference media.
I guess I'll go with one of the instances listed in
https://wiki.mediagoblin.org/Live_instances.
Thanks for the tip,
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2018-09-01 22:55 ` Stefan Monnier
2018-09-01 23:45 ` Michael Heerdegen
@ 2019-07-29 1:39 ` Michael Heerdegen
2019-07-29 13:37 ` Stefan Monnier
2019-07-29 17:04 ` Jean Louis
1 sibling, 2 replies; 24+ messages in thread
From: Michael Heerdegen @ 2019-07-29 1:39 UTC (permalink / raw)
To: Stefan Monnier; +Cc: help-gnu-emacs
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> I think MediaGoblin is part of the answer, so I think all you need is
> to find the FSF's MediaGoblin instance.
I went with https://goblinrefuge.com. It's a disaster. My first video
I uploaded took ~ 12 hours to appear. It had 350kB. You get no
feedback, no failure message, no meaningful info about transcoding
progress, etc. My second video was a bit larger, 12.5MB - I wait for it
to appear since four days.
The 350k video was a demonstration of an Emacs bug. I posted it as an
attachment in an answer to the bug report - nobody complained. Is such
a size acceptable to attach?
FWIW I'll try PeerTube now which had also been suggested in this thread.
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2019-07-29 1:39 ` Michael Heerdegen
@ 2019-07-29 13:37 ` Stefan Monnier
2019-07-29 17:04 ` Jean Louis
1 sibling, 0 replies; 24+ messages in thread
From: Stefan Monnier @ 2019-07-29 13:37 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: help-gnu-emacs
> The 350k video was a demonstration of an Emacs bug. I posted it as an
> attachment in an answer to the bug report - nobody complained. Is such
> a size acceptable to attach?
IMO, 350kB is on the large side of acceptable attachments for
non-personal messages, but as long as it's rare, I find it acceptable,
yes (and preferable to a link to a web page, since it then gets properly
archived). 12MB is too large, OTOH: in such a case I'd prefer to put it
on some web server somewhere and only put a link in the message.
Regarding MediaGoblin, I have no experience with it, but I suggested it
for use with videos like tutorials, rather than for bug-reports.
Stefan
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2019-07-29 1:39 ` Michael Heerdegen
2019-07-29 13:37 ` Stefan Monnier
@ 2019-07-29 17:04 ` Jean Louis
2019-07-29 21:28 ` Michael Heerdegen
1 sibling, 1 reply; 24+ messages in thread
From: Jean Louis @ 2019-07-29 17:04 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: help-gnu-emacs
* Michael Heerdegen <michael_heerdegen@web.de> [2019-07-29 03:40]:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
> > I think MediaGoblin is part of the answer, so I think all you need is
> > to find the FSF's MediaGoblin instance.
>
> I went with https://goblinrefuge.com. It's a disaster. My first video
> I uploaded took ~ 12 hours to appear. It had 350kB. You get no
> feedback, no failure message, no meaningful info about transcoding
> progress, etc. My second video was a bit larger, 12.5MB - I wait for it
> to appear since four days.
>
> The 350k video was a demonstration of an Emacs bug. I posted it as an
> attachment in an answer to the bug report - nobody complained. Is such
> a size acceptable to attach?
>
> FWIW I'll try PeerTube now which had also been suggested in this
> thread.
It could be simple. Just find ANY hosting account and upload video,
and provide link to it.
I use following bash function to convert video to webm:
function video2webm () {
bitrate=$1;
shift;
for file in "$@";
do out=${file%.*}.webm;
ffmpeg -y -i "$file" -c:v libvpx-vp9 -b:v $bitrate -pass 1 -speed 4 -c:a libopus -f webm /dev/null -async 1 -vsync passthrough && \
ffmpeg -i "$file" -c:v libvpx-vp9 -b:v $bitrate -pass 2 -speed 1 -c:a libopus "$out" -async 1 -vsync passthrough;
done;
}
then I do like:
video2webm 300k video.mp4
so this way I get smaller video when necessary.
Jean
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2019-07-29 17:04 ` Jean Louis
@ 2019-07-29 21:28 ` Michael Heerdegen
2019-07-29 21:49 ` Stefan Monnier
2019-07-30 7:54 ` Jean Louis
0 siblings, 2 replies; 24+ messages in thread
From: Michael Heerdegen @ 2019-07-29 21:28 UTC (permalink / raw)
To: Jean Louis; +Cc: help-gnu-emacs
Jean Louis <bugs@gnu.support> writes:
> It could be simple. Just find ANY hosting account and upload video,
> and provide link to it.
Sure. But it's a question if Emacs development should rely on something
like youtube, and if it is only for demonstration stuff. Also some
people don't like to run nonfree javascript code on their side. That's
why I'm looking for something better than "any".
> I use following bash function to convert video to webm:
>
> function video2webm () {
> bitrate=$1;
> shift;
> for file in "$@";
> do out=${file%.*}.webm;
> ffmpeg -y -i "$file" -c:v libvpx-vp9 -b:v $bitrate -pass 1 -speed 4 -c:a libopus -f webm /dev/null -async 1 -vsync passthrough && \
> ffmpeg -i "$file" -c:v libvpx-vp9 -b:v $bitrate -pass 2 -speed 1 -c:a libopus "$out" -async 1 -vsync passthrough;
> done;
> }
>
> then I do like:
>
> video2webm 300k video.mp4
>
> so this way I get smaller video when necessary.
Thanks for sharing. I think I'm doing something similar with shotcut,
though I need a mouse. I can also choose a lot of parameters and the
result is pretty small. I expected an animated gif would be even
smaller, but it seems it is actually much larger (about a factor of 50
or so).
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2019-07-29 21:28 ` Michael Heerdegen
@ 2019-07-29 21:49 ` Stefan Monnier
2019-07-30 1:05 ` Michael Heerdegen
2019-07-30 7:54 ` Jean Louis
1 sibling, 1 reply; 24+ messages in thread
From: Stefan Monnier @ 2019-07-29 21:49 UTC (permalink / raw)
To: help-gnu-emacs
>> It could be simple. Just find ANY hosting account and upload video,
>> and provide link to it.
>
> Sure. But it's a question if Emacs development should rely on something
> like youtube, and if it is only for demonstration stuff. Also some
> people don't like to run nonfree javascript code on their side. That's
> why I'm looking for something better than "any".
I don't think he was thinking of youtube, but rather "any random
web-server to which you can add documents".
E.g. for me I typically `scp <doc> <host>:html/<name>`
after which the file is available under
http://www.iro.umontreal.ca/~monnier/<name>
For bug-reports, this is perfectly sufficient. For a tutorial to which
you want to refer beginners it might not be as good since the browser
might just decide to download the file and not play it (and also it
probably won't stream, so the playback will only start after the whole
file is downloaded).
Stefan
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2019-07-29 21:49 ` Stefan Monnier
@ 2019-07-30 1:05 ` Michael Heerdegen
0 siblings, 0 replies; 24+ messages in thread
From: Michael Heerdegen @ 2019-07-30 1:05 UTC (permalink / raw)
To: Stefan Monnier; +Cc: help-gnu-emacs
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> http://www.iro.umontreal.ca/~monnier/<name>
>
> For bug-reports, this is perfectly sufficient.
Yes, but for those it seems a 300k video can better be attached, and it
will even be less of a problem in the future (when disk space gets
cheaper).
> For a tutorial to which you want to refer beginners it might not be
> as good since the browser might just decide to download the file and
> not play it (and also it probably won't stream, so the playback will
> only start after the whole file is downloaded).
That's the case I'm thinking about, yes. I think I will need something
like media goblin for this.
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2019-07-29 21:28 ` Michael Heerdegen
2019-07-29 21:49 ` Stefan Monnier
@ 2019-07-30 7:54 ` Jean Louis
2019-07-31 0:29 ` Michael Heerdegen
1 sibling, 1 reply; 24+ messages in thread
From: Jean Louis @ 2019-07-30 7:54 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: help-gnu-emacs
* Michael Heerdegen <michael_heerdegen@web.de> [2019-07-29 23:29]:
> Jean Louis <bugs@gnu.support> writes:
>
> > It could be simple. Just find ANY hosting account and upload video,
> > and provide link to it.
>
> Sure. But it's a question if Emacs development should rely on something
> like youtube, and if it is only for demonstration stuff. Also some
> people don't like to run nonfree javascript code on their side. That's
> why I'm looking for something better than "any".
Sorry again, I meant simple hosting account, and you do not need to
use any HTML neither Javascript.
Just like this https://www.example.com/my-files/my-video.ogv
Jean
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2019-07-30 7:54 ` Jean Louis
@ 2019-07-31 0:29 ` Michael Heerdegen
2019-08-04 7:22 ` Jean Louis
0 siblings, 1 reply; 24+ messages in thread
From: Michael Heerdegen @ 2019-07-31 0:29 UTC (permalink / raw)
To: Jean Louis; +Cc: help-gnu-emacs
Jean Louis <bugs@gnu.support> writes:
> Sorry again, I meant simple hosting account, and you do not need to
> use any HTML neither Javascript.
>
> Just like this https://www.example.com/my-files/my-video.ogv
Oh, ok I indeed misunderstood.
That would be a fallback solution. But as Stefan mentioned, it would
probably be inconvenient because streaming wouldn't work if you open
such an url in the browser, right?
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2019-07-31 0:29 ` Michael Heerdegen
@ 2019-08-04 7:22 ` Jean Louis
2019-08-05 5:40 ` Michael Heerdegen
0 siblings, 1 reply; 24+ messages in thread
From: Jean Louis @ 2019-08-04 7:22 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: help-gnu-emacs
* Michael Heerdegen <michael_heerdegen@web.de> [2019-07-31 02:36]:
> Jean Louis <bugs@gnu.support> writes:
>
> > Sorry again, I meant simple hosting account, and you do not need to
> > use any HTML neither Javascript.
> >
> > Just like this https://www.example.com/my-files/my-video.ogv
>
> Oh, ok I indeed misunderstood.
>
> That would be a fallback solution. But as Stefan mentioned, it would
> probably be inconvenient because streaming wouldn't work if you open
> such an url in the browser, right?
I am not sure if that would be "streaming".
Majority of web browsers can open various video files, hosting a video
file is not problematic.
Everybody can host their videos and provide them similarly as YouTube,
just put a file on a web server and it works with any browser that
supports videos.
When it is necessary to enclose it in HTML that also works.
Jean
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2019-08-04 7:22 ` Jean Louis
@ 2019-08-05 5:40 ` Michael Heerdegen
2019-08-06 16:45 ` Jean Louis
0 siblings, 1 reply; 24+ messages in thread
From: Michael Heerdegen @ 2019-08-05 5:40 UTC (permalink / raw)
To: Jean Louis; +Cc: help-gnu-emacs
Jean Louis <bugs@gnu.support> writes:
> Everybody can host their videos and provide them similarly as YouTube,
> just put a file on a web server and it works with any browser that
> supports videos.
>
> When it is necessary to enclose it in HTML that also works.
Well, my problem with that solution is that I don't have any server, and
that I probably would also not know how to enclose it in html.
BTW, the video finally appeared on goblinrefuge.com. It took five days
or so, but finally it worked.
Michael.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Where to put media demonstrating Gnu Elpa packages?
2019-08-05 5:40 ` Michael Heerdegen
@ 2019-08-06 16:45 ` Jean Louis
2019-08-07 7:02 ` Michael Heerdegen
0 siblings, 1 reply; 24+ messages in thread
From: Jean Louis @ 2019-08-06 16:45 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: help-gnu-emacs
* Michael Heerdegen <michael_heerdegen@web.de> [2019-08-05 07:40]:
> Well, my problem with that solution is that I don't have any server, and
> that I probably would also not know how to enclose it in html.
>
> BTW, the video finally appeared on goblinrefuge.com. It took five days
> or so, but finally it worked.
Good solution!
Where is it?
^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2019-08-10 10:48 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-29 16:48 Where to put media demonstrating Gnu Elpa packages? Michael Heerdegen
2018-08-29 17:06 ` Kaushal Modi
2018-08-29 19:43 ` Stefan Monnier
2018-09-01 15:32 ` Michael Heerdegen
2018-09-01 22:27 ` Stefan Monnier
2018-09-01 22:40 ` Michael Heerdegen
2018-09-01 22:55 ` Stefan Monnier
2018-09-01 23:45 ` Michael Heerdegen
2018-09-02 2:48 ` Amin Bandali
2018-09-07 4:42 ` Michael Heerdegen
2019-07-29 1:39 ` Michael Heerdegen
2019-07-29 13:37 ` Stefan Monnier
2019-07-29 17:04 ` Jean Louis
2019-07-29 21:28 ` Michael Heerdegen
2019-07-29 21:49 ` Stefan Monnier
2019-07-30 1:05 ` Michael Heerdegen
2019-07-30 7:54 ` Jean Louis
2019-07-31 0:29 ` Michael Heerdegen
2019-08-04 7:22 ` Jean Louis
2019-08-05 5:40 ` Michael Heerdegen
2019-08-06 16:45 ` Jean Louis
2019-08-07 7:02 ` Michael Heerdegen
2019-08-08 20:43 ` Jean Louis
2019-08-10 10:48 ` Michael Heerdegen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).