VillageScribeAssociation / awarenet

awareNet social learning software for schools needing to save bandwidth/traffic
awarenet.org
8 stars 0 forks source link

video pictures and audio track thumbnails #373

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The are no pictures available for the videos on 
http://awarenet.eu/videos/listallgalleries/.

If that also caused by the sync, or do pictures for videos have to be uploaded 
manually?

If the latter is the case, please add pictures this week, so that awarenet 
looks neat and good for the Social Media Week on Monday. - This would be a task 
for Rieke and Antje.

Original issue reported on code.google.com by a...@villagescribe.org on 18 Sep 2013 at 1:21

GoogleCodeExporter commented 9 years ago
Pictures are there now. Thank you.

A default image for audio tracks would be great at some stage.

Original comment by a...@villagescribe.org on 22 Sep 2013 at 8:19

GoogleCodeExporter commented 9 years ago

Original comment by a...@villagescribe.org on 22 Sep 2013 at 8:21

GoogleCodeExporter commented 9 years ago
Awarenet runs on a variety of platforms and can optionally use a range of 
companion software.  In the case of video thumbnails, we can use mplayer or 
ffmpeg to extract video metadata and a keyframe to use as a thumbnail.  mplayer 
is available for linux, windows and OS X, but is not present on every awarenet 
instance.

A solution I'd like to implement in this case is for another peer to fill in 
missing metadata/thumbnails when the machine which first received the video 
cannot generate them.  This will also be important for mobile platforms and 
embedded devices on which I'd like it to run. 

Original comment by awarenet...@gmail.com on 27 Sep 2013 at 9:40

GoogleCodeExporter commented 9 years ago
Sounds interesting. Where would this peer be?

Original comment by a...@villagescribe.org on 30 Sep 2013 at 2:36

GoogleCodeExporter commented 9 years ago
I have added code to the default processing that retrieves an image/icon to be 
displayed in the gallery for a video file. New added processing displays an 
audio icon crafted by the German Volunteers if the file it deals with is a mp3 
file.

Some background information: An Audio file like mp3 is in awarenet terms a 
video file because it uses the same player as a video file does (flowplayer). 
At upload the processing cannot automatically create an image for mp3 files 
like it does with videos so until now all that could happen was that in the 
list videos gallery action the "unavailable image" would be displayed. Now this 
default image retrieval function contains a check that will select and display 
the audio icon if it is a mp3 file and for all the other typed files it selects 
and displays the "unavailable image" if no personalised icon is found. 

The beneficial result of implementing it like this is that a file owner can 
still personalise the icon for his mp3 recording should he want to.

Original comment by appiapp...@gmail.com on 21 Nov 2013 at 6:03

GoogleCodeExporter commented 9 years ago
It will be tested on mothsorchid.com (our test network). Will let you know once 
the code changes are available there.

Original comment by appiapp...@gmail.com on 25 Nov 2013 at 2:36

GoogleCodeExporter commented 9 years ago
Ok, thank you. Will have more time to test next week. 

Original comment by a...@villagescribe.org on 25 Nov 2013 at 7:51

GoogleCodeExporter commented 9 years ago
I noticed that I only managed to show the audio icon in the gallery main 
display area and on the audio player. Audio Icon is not showing in popular list 
and recent list. The icon handling works a bit different there and so I have to 
research how I can tap into it.

Original comment by appiapp...@gmail.com on 29 Nov 2013 at 3:58

GoogleCodeExporter commented 9 years ago
Ok, thanks for the notice. 

Original comment by a...@villagescribe.org on 2 Dec 2013 at 10:18

GoogleCodeExporter commented 9 years ago
I managed to make the changes so that the audio icon also displays in popular 
and recently added lists.

Was not able to update code base yet due to work being done by master admin on 
the code base.

Original comment by appiapp...@gmail.com on 3 Dec 2013 at 12:20

GoogleCodeExporter commented 9 years ago
Ok, let me know when it is updated. Thank you. 

Original comment by a...@villagescribe.org on 3 Dec 2013 at 8:20

GoogleCodeExporter commented 9 years ago
code is updated on google code base and this can be tested. Do not know when 
the changes are available on mothsorchid though.

Original comment by appiapp...@gmail.com on 4 Dec 2013 at 6:46