
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (99)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (10283)
-
Installing ffmpeg on Heroku with Go (Golang) app
17 novembre 2015, par Kevin CantwellI have a Go app that uses ffmpeg bindings that I’d like to deploy on Heroku. I am able to install ffmpeg successfully using ddollar’s multi buildpack in conjunction with shunjikonishi’s ffmpeg buildpack and kr’s go buildpack. However, no matter what I try, the app fails on the call to
pkg-config
with the following output :$ git push heroku master
Counting objects: 22, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (20/20), done.
Writing objects: 100% (22/22), 2.32 KiB | 0 bytes/s, done.
Total 22 (delta 9), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Fetching set buildpack https://github.com/ddollar/heroku-buildpack-multi... done
remote: -----> Multipack app detected
remote: =====> Downloading Buildpack: https://github.com/shunjikonishi/heroku-buildpack-ffmpeg
remote: =====> Detected Framework: ffmpeg
remote: -----> Install ffmpeg
remote: DOWNLOAD_URL = http://flect.github.io/heroku-binaries/libs/ffmpeg.tar.gz
remote: exporting PATH and LIBRARY_PATH
remote: =====> Downloading Buildpack: https://github.com/kr/heroku-buildpack-go.git
remote: =====> Detected Framework: Go
remote: -----> Checking Godeps/Godeps.json file.
remote: -----> Installing go1.5... done
remote: -----> Running: godep go install -tags heroku ./...
remote: # pkg-config --cflags libavcodec libavformat libavutil libswscale
remote: Package libavcodec was not found in the pkg-config search path.
remote: Perhaps you should add the directory containing `libavcodec.pc'
remote: to the PKG_CONFIG_PATH environment variable
remote: No package 'libavcodec' found
remote: Package libavformat was not found in the pkg-config search path.
remote: Perhaps you should add the directory containing `libavformat.pc'
remote: to the PKG_CONFIG_PATH environment variable
remote: No package 'libavformat' found
remote: Package libavutil was not found in the pkg-config search path.
remote: Perhaps you should add the directory containing `libavutil.pc'
remote: to the PKG_CONFIG_PATH environment variable
remote: No package 'libavutil' found
remote: Package libswscale was not found in the pkg-config search path.
remote: Perhaps you should add the directory containing `libswscale.pc'
remote: to the PKG_CONFIG_PATH environment variable
remote: No package 'libswscale' found
remote: pkg-config: exit status 1
remote: godep: go exit status 2
remote:
remote: ! Push rejected, failed to compile Multipack app
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to myvideoapp.
remote:
To https://git.heroku.com/myvideoapp.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/myvideoapp.git'The command that fails is
pkg-config --cflags libavcodec libavformat libavutil libswscale
. However, when I run that command in a bash console it outputs-I/app/vendor/ffmpeg/include
, which is what I’d expect.I believe that when the Go buildpack builds, it loses track of the ffmpeg package configuration information somehow. These are my config vars for the app :
$ heroku config -s
CGO_CFLAGS=-I/app/vendor/ffmpeg/include
PKG_CONFIG_PATH=vendor/ffmpeg/lib/pkgconfigMy question is : How do I get past this error ? Clearly the answer is related to the PKG_CONFIG_PATH variable, but I’m super confused on this one.
-
recording yuv data which is converted from a bitmap and images are changed constantly on this bitmap
3 février 2016, par UserAxI am trying to record images which are changed at a set time interval. These are displayed on an imageview. (something like a movie maker)
For this I am :
-
Drawing these images on a bitmap, this method is repeated over a 50ms interval
private void BitmapUpdate() {
timer = new Timer();
timer.scheduleAtFixedRate(new TimerTask() {
public void run() {
try {
new Task1().execute();
} catch (Exception e) {
// TODO: handle exception
}
}
}, 0, 50);
}
class Task1 extends AsyncTask {
@Override
protected void onPreExecute() {
super.onPreExecute();
clearBitmap();
}
@Override
protected String doInBackground(Void... arg0) {
onImageDisplayed();
return null;
}
@Override
protected void onPostExecute(String result) {
super.onPostExecute(result);
}
}
public void clearBitmap(){
if (imageview != null){
//All the 3 methods below give same error - can't call getpixels() on recycled bitmap
imageview.setDrawingCacheEnabled(false);
//OR
imageview.destroyDrawingCache();
//OR
bitmap.recycle();
}
}
public void onImageDisplayed(){
if (imageview != null) {
imageview.setDrawingCacheEnabled(true);
imageview.buildDrawingCache();
bitmap = imageview.getDrawingCache();
System.out.println(bitmap.getByteCount() + " is bitmap size ");
}
} -
Using the bitmap data to convert it to yuv data
By using getNV21 method :
Convert bitmap array to YUV (YCbCr NV21)
- Finally this yuv data is passed FFmpeg recorder, through a method similar to onPreviewFrame, except that the data is from getNV21 method. This method is started by a button click.
What I have achieved :
-
If i dont use clearBitmap() ; i get only the first image recorded in the video, even on changing to next image only first image is present throughout the video.
-
So After research on stack overflow many developers suggested clearing the previous imageCache for the next Image. But in my case if i use any of these methods, anywhere,
imageview.setDrawingCacheEnabled(false);
//OR
imageview.destroyDrawingCache();
//OR
bitmap.recycle();
I get the error ; mostly because the getNV21 method is running non stop, and always is expecting pixels flow from the Bitmap.
- If i try running the methods one after another, by stopping getpixels for a moment by a boolean, i only get a black screen.
Kindly help...!
THANKS.
-
-
Help us to improve Piwik by sending anonymous usage data (and get usage data yourself)
At Piwik we have developed a new plugin named AnonymousPiwikUsageMeasurement. The opt-in and anonymised usage tracking information will be used by us to build a better product and a great user experience. The plugin can be installed via the Piwik Marketplace with just a few clicks in your Piwik installation. As a Super User simply go to the Administration and select Marketplace in the left menu. There you will find the plugin and can install it with just one click.
The plugin allows you to track usage data into up to three Piwik installations :
- demo-anonymous.piwik.org (enabled by default, can be disabled).
- your own Piwik (can be configured optionally)
- a custom Piwik (can be configured optionally)
The usage data that is sent to Piwik can be publicly viewed by anyone under demo-anonymous.piwik.org.
What are the advantages by tracking the data into my own installation ?
You can see how your Piwik installation is used and how well your Piwik performs by checking the average generation time of pages and API calls. Use the Row Evolution feature to see how your Piwik is performing over time.
What is Piwik doing to make sure the data is anonymized ?
We are very careful in what we track and we make sure to anonymize data that could contain user data.
- We overwrite the page title as the title could contain the name of the viewed website
- We remove any referrer information
- We replace URL paramaters with a predefined value apart from a few whitelisted ones to make sure no actual
token_auth
,CSRF token
or user defined value will be tracked - On demo-anonymous.piwik.org 3 bytes of the IP are anonymised (eg when IP is 192.168.1.1 we track only 192.0.0.0). We do not track nor collect your location and provider information.
- We do not track clicks on outlinks or downloads
When should I not install this plugin ?
If you have developed a custom Piwik plugin that contains for example the name of your business in any of the following names we recommend to not install this plugin as it might be tracked :
- name of a plugin
- name of a controller action
- name of a report
- name of a widget
- name of an API method
Plugins that are installed via the Marketplace should not pose a problem as their names don't contain any user specific information such as the name of your business.
The data is tracked as efficiently as possible as to not slow down your Piwik server. If you already have some performance challenges with your Piwik, we recommend not to install this plugin.
Which data is tracked ?
When the plugin is activated, the following data will be tracked :
- The pages and reports that are viewed
- The visitors' software and devices data like the used browser and the resolution
- Some clicks or interactions with certain selectors or buttons. For example we track an event when a segment is selected (but we do not track the actual segment name or value).
- In a daily task we track the following data :
- Piwik version
- PHP version
- Number of websites
- Number of users
- Number of segments
- How often which API method was called (only plugin name and method name but no parameters) and how long the API calls took on average.
Are there any prerequisites ?
- If sending usage data to Piwik is enabled, the Piwik installation must be connected to the internet
- If tracking to a custom Piwik installation is enabled, your Piwik installation and your Piwik users must be able to connect to this instance
Where can I report any issues with the plugin ?
If you experience any issues with the plugin please create a new issue. The source code is available under GPL v3+ on GitHub. We always appreciate pull requests and suggestions to improve this plugin.