Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (98)

  • À propos des documents

    21 juin 2013, par

    Que faire quand un document ne passe pas en traitement, dont le rendu ne correspond pas aux attentes ?
    Document bloqué en file d’attente ?
    Voici une liste d’actions ordonnée et empirique possible pour tenter de débloquer la situation : Relancer le traitement du document qui ne passe pas Retenter l’insertion du document sur le site MédiaSPIP Dans le cas d’un média de type video ou audio, retravailler le média produit à l’aide d’un éditeur ou un transcodeur. Convertir le document dans un format (...)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

Sur d’autres sites (9197)

  • PHP Sort Order Proccess Codeiginiter

    20 avril 2015, par Alan El-nino Malmsteen

    i use php codeigniter to manage video using FFMPEG, but i dont know how to delete original video after convertion succesful.

    if(!($_FILES["upload_video"]["type"] == "video/mp4"))
       {
       $prename = $r.'.'.$ext;
       $video = $prename.'.mp4';
       $directory_path  = "/home/templates/videos/".$prename;
       $directory_path_full = "/home/templates/videos/".$prename;
       exec("ffmpeg -i ".$directory_path_full." ".$directory_path.".mp4");

       // Delete original format video
       $this->load->helper("file");
       unlink($directory_path_full);

       }else{
       $video = $r.'.'.$ext;
       }

    When i use "unlink" it work good to delete file, but the video is corrupt (maybe php directly delete it when converting progress)
    So, can you help me to create sort order php process for this case ?

    Thanks

  • Bash script stops execution of ffmpeg in while loop - why ?

    20 novembre 2020, par Alex Monthy

    I have this bash script for converting .mp4 video to .mp3 audio.
It runs, but does the loop only once, though there are more mp4 files in /home/myname/mp4dir.

    



    The script converts the first .mp4 file it finds to .mp3, unless there is already an .mp3 file. This should be done in a loop, but after the first call to ffmpeg the script stops.

    



    Why ?

    



    #!/bin/bash
find /home/myname/mp4dir -name "*.mp4" | while read f
do
        fOut=`echo $f | sed s/mp4/mp3/`
        echo "convert $f => $fOut"
        if ! test -f $fOut
        then
                ffmpeg -i $f -vn -f mp3 $fOut
        fi
done


    


  • FFMPEG output file does not contain any stream [Android] video concat

    22 février 2017, par Akshay Sood

    I have been trying to merge (concatenate) two mp4 videos with same height and width but some error occurs. It says the output file doesnot have any stream.
    Please help.
    The code is written below :

    String[] arg = new String[]{
                   ActualVideoFile.getAbsolutePath(), path
           };
           String list = generateList(arg);
           String[] command = new String[]{
                   " -f concat -i " + list + " -c:v copy " + mergedVideo.getAbsolutePath()
           };
           try {
               ffmpeg.execute(command, new FFmpegExecuteResponseHandler() {
                   @Override
                   public void onSuccess(String message) {
                       Log.e("SUCCESS", message);
                   }

                   @Override
                   public void onProgress(String message) {
                       Log.e("onProgress", message);
                   }

                   @Override
                   public void onFailure(String message) {
                       Log.e("onFailure", message);
                   }

                   @Override
                   public void onStart() {
                       Log.e("onStart", "start");
                   }

                   @Override
                   public void onFinish() {
                       Log.e("FINISH", "FINISHED");

                   }
               });
           } catch (FFmpegCommandAlreadyRunningException e) {
               e.printStackTrace();
           }

    Logcat :

    E/onFailure: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
                                                               built with gcc 4.8 (GCC)
                                                               configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
                                                               libavutil      55. 17.103 / 55. 17.103
                                                               libavcodec     57. 24.102 / 57. 24.102
                                                               libavformat    57. 25.100 / 57. 25.100
                                                               libavdevice    57.  0.101 / 57.  0.101
                                                               libavfilter     6. 31.100 /  6. 31.100
                                                               libswscale      4.  0.100 /  4.  0.100
                                                               libswresample   2.  0.101 /  2.  0.101
                                                               libpostproc    54.  0.100 / 54.  0.100
                                                             Output #0, mp4, to ' -f concat -i /data/data/com.myapp/cache/ffmpeg-list-768575373.txt -c:v copy /storage/emulated/0/myapp/MergedVideos/1465426928071_Video.mp4':
                                                             Output file #0 does not contain any stream

    Any help would be appreciated
    Thanks