
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (92)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (16072)
-
How to use NSProcessInfo's operatingSystemVersion property in place of gestaltSystemVersionMinor and gestaltSystemVersionBugFix
28 octobre 2016, par Michael WhiteacreNewbie here, but longtime frequenter of this essential resource.
Using :
MacBook Pro (Retina, 13-inch, Early 2015).
Processor : 3.1 GHz Intel Core i7
Memory : 16 GB 1867 MHz DDR3
Running Yosemite 10.10.5I’m attempting to compile my own Perian- and FFmpeg-based FFusion.component (for Quicktime), for 10.11 using Xcode 7.2.1, and in this relatively simple project, as in others, am trying to move away from Gestalt. The original FFusion-RJVB.xcodeproj I’m employing is Xcode-3.2 compatible.
I have yet to find a clear, definitive solution to what must appear a painfully simple problem to you all. Here is the Gestalt version :
`#if TARGET_OS_MAC
static int GetSystemMinorVersion()
{
static SInt32 minorVersion = -1;
if (minorVersion == -1)
Gestalt(gestaltSystemVersionMinor, &minorVersion);
return minorVersion;
}
static int GetSystemMicroVersion()
{
static SInt32 microVersion = -1;
if (microVersion == -1)
Gestalt(gestaltSystemVersionBugFix, &microVersion);
return microVersion;
}
#endif`
I’ve tried what seems like endless variations of NSProcessInfo i.e.([[NSProcessInfo processInfo] respondsToSelector:@selector(operatingSystemVersion)])
but I’m afraid I’m not formatting it correctly to achieve my ends. It just hasn’t ’clicked’ in my head yet, so Im hoping someone can give me a push when I see the difference between the gestalt version, my stumbling attempts, and the correct way.
Many thanks.
-
Illegal instruction : 4 in ffmpeg
3 mars 2015, par rs41I tried brew installed ffmpeg, i am also tried to compile ffmpeg but in all cases i have the error
Illegal instruction : 4
I run something like this :
./ffmpeg -i /Users/ruslan/Torrents/Weird\ smiling\ dog.3gp -codec:v libx264 -b:v 360k -maxrate 360k -bufsize 720k -movflags +faststart -vprofile high -preset slow -vf 'scale=trunc(iw/2)*2:360' -threads 0 -codec:a libfdk_aac -b:a 96k -ac 2 -f mp4 -threads 0 -y /dev/null >> /Users/ruslan/erosite/log/ffmpeg_convertation.log 2>&1
Illegal instruction: 4Or only ffmpeg with options when used homebrews installed version
Additional info :
OS X Yosemite 10.10.2
MacBook Pro (15-inch, Mid 2009)
-
Unable to recognize text with 100 % accuracy in a jpg file using Tess4J
21 février 2013, par sonali mishraI want to split a .flv video file into .jpg/png frames of good resolution & then want to recognize the character sequence in it using Tess4J tool (JNA wrapper around Tesseract).
Currently I tried the ffmpeg command line tool to split the .flv video file into jpg images.The ffmpeg command I used is :
ffmpeg -i myinput.flv myoutput%d.jpg
It is giving me the output image having the detail :
Image Dimensions : 1280 * 696
Horizontal resolution : 96 dpi
Vertical resolution : 96 dpi
bit depth : 24
My Problem is :
I tried to recognize the characters in the video frames(jpg image files which i splitted) using the following code snippet using Tess4J, it is recognizing the characters, but not identifying with 100 % accuracy. It is adding some junk characters as well which is not there in the image.Java code snippet I am using :
import java.io.BufferedWriter
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import net.sourceforge.tess4j.Tesseract;
import net.sourceforge.tess4j.TesseractException;
public class TesseractDemo {
public static void main(String[] args) {
File imageFile = new File("D:\\myinput1.jpg");
Tesseract instance = Tesseract.getInstance();
// Tesseract1 instance = new Tesseract1();
try {
String result = instance.doOCR(imageFile);
System.out.println(result);
// write in a file
try {
File file = new File("D:\\myoutput1.txt");
BufferedWriter out = new BufferedWriter(new FileWriter(file));
out.write(result);
out.close();
} catch (IOException ex) {
}
} catch (TesseractException ep) {
System.err.println(ep.getMessage());
}
}}
Note : In Tess4J site they have told that the image you are using for doing OCR should be of more than 200 dpi(dot per inch). How to get the jpg image of more than 200 dpi using ffmpeg ??
Any body having any java code snippet or any suggestion in this regard please help.