Recherche avancée

Médias (0)

Mot : - Tags -/albums

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (44)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (7367)

  • FFMPEG command fails for file path with white spaces

    28 septembre 2016, par user3904345

    I am executing the below ffmpeg command for trimming videos.The issue I am having is that if filepath contains spaces then the command fails.I tried many ways to handle spaces but none of them worked except moving file to a path that doesn’t have space and then executing the command with new file path as source.
    Below is the command-

    execFFmpegBinary("-i " +  filepath   + " -ss " + startMs / 1000 + " -to " + endMs / 1000 + " -strict -2 -async 1 " + dest.getAbsolutePath());



    private void execFFmpegBinary(final String command) {
           try {
               ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {
                   @Override
                   public void onFailure(String s) {
                       Log.e("Previewragment", "FAILED with output : " + s);
                   }

                   @Override
                   public void onSuccess(String s) {
                       Log.e("Previewragment", "SUCCESS with output : " + s);
                   }

                   @Override
                   public void onProgress(String s) {
                       Log.e("Previewragment", "Started command : ffmpeg " + command);
                       Log.e("Previewragment", "progress : " + s);
                   }

                   @Override
                   public void onStart() {
                       Log.e("Previewragment", "Started command : ffmpeg " + command);

                   }

                   @Override
                   public void onFinish() {



                   }
               });
           } catch (FFmpegCommandAlreadyRunningException e) {
               // do nothing for now
           }
       }

    I saw this answer and tried

    String addQuotes(String in ) {
           return "\"" + in + "\"";
       }
    execFFmpegBinary("-i " +  addQuotes(filepath)   + " -ss " + startMs / 1000 + " -to " + endMs / 1000 + " -strict -2 -async 1 " + dest.getAbsolutePath())

     ;

  • How to add a path folder when using ffmpeg ?

    14 avril 2023, par Sheron Blumental
    Execute(@"d:\D:\Captured Videos\ffmpeg.exe", "ffmpeg -r 1 -i file.mp4 -r 1 \"$filename%03d.bmp");


    


    in the right side the parameters , how to add a folder for the video file name and a folder where to save the images ?

    


  • ffmpeg won't save the file when executed from a php page

    6 septembre 2015, par Tayax

    I wrote few lines of codes today to create an video from an image with ffmpeg.

    the command works well directly on my server and the file is saved at the good place, but when running it from PHP, the process goes, but the file won’t save for some reason.

    Here is the code I use :

    $ffmpegcmd= "/usr/bin/ffmpeg -loop 1 -y -i /home/mysite/www/forwork/simpletext.jpg -c:v libx264 -t 30 -pix_fmt yuv420p /home/mysite/www/forwork/movie.avi 2>&1";
    exec($ffmpegcmd, $output);  
    print_r($output);

    And here is the answer I get :

    Array ( [0] => ffmpeg version git-2015-09-06-db18b3d Copyright (c) 2000-2015 the FFmpeg developers
    [1] => built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
    [2] => configuration: --prefix=/usr/ffmpeg_build --extra-cflags=-I/usr/ffmpeg_build/include --extra-ldflags=-L/usr/ffmpeg_build/lib --bindir=/usr/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
    [3] => libavutil 55. 0.100 / 55. 0.100
    [4] => libavcodec 57. 0.100 / 57. 0.100
    [5] => libavformat 57. 0.100 / 57. 0.100
    [6] => libavdevice 57. 0.100 / 57. 0.100
    [7] => libavfilter 6. 0.100 / 6. 0.100
    [8] => libswscale 4. 0.100 / 4. 0.100
    [9] => libswresample 2. 0.100 / 2. 0.100
    [10] => libpostproc 54. 0.100 / 54. 0.100
    [11] => Input #0, image2, from '/home/mysite/www/forwork/simpletext.jpg':
    [12] => Duration: 00:00:00.04, start: 0.000000, bitrate: 10414 kb/s
    [13] => Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
    [14] => /home/mysite/www/forwork/movie.avi: Permission denied )

    I chmod the forwork directory to 755 but it won’t change anything.

    help troubleshooting this would be greatly appreciate. Thanks