Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (66)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (7482)

  • OpenCV no longer working after Homebrew install

    28 mars 2014, par Tom smith

    I have have been running OpenCV from QT creator on Mac OSX.
    I was having trouble getting VideoWriter to work so it was suggested I try installing ffmpeg with opencv.
    Using brew I executed this command

    brew install homebrew/science/opencv --with-ffmpeg

    However, during this process I received the following error

    Warning: Could not link opencv. Unlinking...
    Error: The `brew link` step did not complete successfully
    The formula built, but is not symlinked into /usr/local
    You can try again using `brew link opencv'

    The "possible conflicting files were mostly from "/usr/local/include/opencv2/"

    I tried the command brew suggested but this gave me a permission denied warning so I found a fix to execute before the command, both of which are below.

    sudo chown -R `whoami` /usr/local
    brew link --overwrite opencv

    This appeared to execute correctly giving me the following response

    Linking /usr/local/Cellar/opencv/2.4.8.2... 251 symlinks created

    The problem is this now seems to have broken my working project. When I try to run the project now I get the following errors
    Unfortunately after trying to rebuild the project I cannot get the error below to show up in the terminal again but it said the following error, was expected in /usr/local/include but not found in the build directory (afraid I cannot be sure of the exact wording)

    dyld: lazy symbol binding failed:

    In QT creator however, when trying to build the project it says

    error: symbol(s) not found for architecture x86_64
    error: linker command failed with exit code 1 (use -v to see invocation)

    Any suggestions for a fix, and also how I can get VideoWriter to work with opencv on Mac OSX after I have my project working again ?

  • running ffmpeg command in java Process hangs in waitFor()

    9 juin 2015, par Mahesha M

    I’m running ffmpeg command to generate video for given images (img001.jpg, img002.jpg ...) it’s creating slide.mp4, but it waits infinitely :

    public class Ffmpeg {

    public static void main(String[] args) throws IOException, InterruptedException {
       String path = "E:\\pics\\Santhosh\\FadeOut\\testing";      
       String cmd = "ffmpeg -r 1/5 -i img%03d.jpg -c:v libx264 -r 30 -y -pix_fmt yuv420p slide.mp4";
       runScript (path, cmd);
    }

    private static boolean runScript(String path, String cmd) throws IOException, InterruptedException {      
       List<string> commands = new ArrayList<string>();
       commands.add("cmd");
       commands.add("/c");
       commands.add(cmd);
       ProcessBuilder pb = new ProcessBuilder(commands);
       pb.directory(new File(path));
       pb.redirectErrorStream(true);
       Process process = pb.start();  
       flushInputStreamReader(process);                
       int exitCode = process.waitFor();
       return exitCode == 0;
    }    
    }

    private static void flushInputStreamReader (Process process) throws IOException, InterruptedException {
               BufferedReader input = new BufferedReader(new InputStreamReader(process.getInputStream()));
               String line=null;
               StringBuilder s = new StringBuilder();
               while((line=input.readLine()) != null) {            
                   s.append(line);
               }
           }
    </string></string>

    Any suggestions ?

    After writing the function flushInputStreamReader, its working

  • running ffmpeg command in java Process hangs in waitFor()

    14 février 2021, par Mahesha M

    I'm running ffmpeg command to generate video for given images (img001.jpg, img002.jpg ...) it's creating slide.mp4, but it waits infinitely :

    &#xA;&#xA;

    public class Ffmpeg {&#xA;&#xA;public static void main(String[] args) throws IOException, InterruptedException {&#xA;    String path = "E:\\pics\\Santhosh\\FadeOut\\testing";       &#xA;    String cmd = "ffmpeg -r 1/5 -i img%03d.jpg -c:v libx264 -r 30 -y -pix_fmt yuv420p slide.mp4";&#xA;    runScript (path, cmd);&#xA;}&#xA;&#xA;private static boolean runScript(String path, String cmd) throws IOException, InterruptedException {       &#xA;    List<string> commands = new ArrayList<string>();&#xA;    commands.add("cmd");&#xA;    commands.add("/c");&#xA;    commands.add(cmd);&#xA;    ProcessBuilder pb = new ProcessBuilder(commands);&#xA;    pb.directory(new File(path));&#xA;    pb.redirectErrorStream(true);&#xA;    Process process = pb.start();   &#xA;    flushInputStreamReader(process);                &#xA;    int exitCode = process.waitFor();&#xA;    return exitCode == 0;&#xA;}    &#xA;}&#xA;&#xA;private static void flushInputStreamReader (Process process) throws IOException, InterruptedException {&#xA;            BufferedReader input = new BufferedReader(new InputStreamReader(process.getInputStream()));&#xA;            String line=null;&#xA;            StringBuilder s = new StringBuilder();&#xA;            while((line=input.readLine()) != null) {            &#xA;                s.append(line);&#xA;            }&#xA;        }&#xA;</string></string>

    &#xA;&#xA;

    Any suggestions ?

    &#xA;&#xA;

    After writing the function flushInputStreamReader, its working

    &#xA;