Recherche avancée

Médias (91)

Autres articles (112)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (11510)

  • The FFmpeg just show the number form the input text (no characters , just numbers) error=13, Permission denied

    14 avril 2021, par gejivi2011

    I was trying to use FFmpeg to create a video form gif and audio, on Android 10, doesn't work
The code is working fine on android 9 and below, and not work 10 and above
the Cmd, as I mentioned it is work so good on android 9 and below

    


     String[] cmd = new String[24];
    cmd[0] = "-i";
    cmd[1] = audio.getPath();
    cmd[2] = "-ignore_loop";
    cmd[3] = "0";
    cmd[4] = "-i";
    cmd[5] = image_path;
    cmd[6] = "-vf";
    cmd[7] = "scale=trunc(iw/2)*2:trunc(ih/2)*2";
    cmd[8] = "-filter:v";
    cmd[9] = ayat_drawer + qara_draw;
    cmd[10] = "-vcodec";
    cmd[11] = "libx264";
    cmd[12] = "-pix_fmt";
    cmd[13] = "yuv420p";
    cmd[14] = "-r";
    cmd[15] = "25";
    cmd[16] = "-preset";
    cmd[17] = "ultrafast";
    cmd[18] = "-c:a";
    cmd[19] = "aac";
    cmd[20] = "-b:a";
    cmd[21] = "128k";
    cmd[22] = "-shortest";
    cmd[23] = outputLocation.getPath();


    


    The Java code :

    


     FFmpeg mFFmpeg = FFmpeg.getInstance(context);&#xA;        try {&#xA;            mFFmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {&#xA;                @Override&#xA;                public void onProgress(String message) {&#xA;                    super.onProgress(message);&#xA;                    callback.onProgress(message);&#xA;                }&#xA;&#xA;                @Override&#xA;                public void onSuccess(String message) {&#xA;                    super.onSuccess(message);&#xA;                    Utils.refreshGallery(outputLocation.getPath(), context);&#xA;                    callback.onSuccess(outputLocation, "video");&#xA;                }&#xA;&#xA;                @Override&#xA;                public void onFailure(String message) {&#xA;                    super.onFailure(message);&#xA;                    if (outputLocation.exists()) {&#xA;                        outputLocation.delete();&#xA;                    }&#xA;                    callback.onFailure(new IOException(message));&#xA;                }&#xA;&#xA;                @Override&#xA;                public void onStart() {&#xA;                    Log.d("TAG", "<ffmpeg>Started command : mFFmpeg " &#x2B; java.util.Arrays.toString(cmd));&#xA;                }&#xA;&#xA;                @Override&#xA;                public void onFinish() {&#xA;                    Log.d("TAG", "<ffmpeg>Finished command : mFFmpeg " &#x2B; java.util.Arrays.toString(cmd));&#xA;                    super.onFinish();&#xA;                    callback.onFinish();&#xA;                }&#xA;            });&#xA;        } catch (FFmpegCommandAlreadyRunningException e) {&#xA;            Log.e("MAS" , e.getMessage());&#xA;            e.printStackTrace();&#xA;        }&#xA;</ffmpeg></ffmpeg>

    &#xA;

    I think that because FFmpeg using Asynctask and it is deprecated

    &#xA;

  • ffmpeg direct show obvoius problem. ffmpeg is not letting to reconnect to camera

    11 avril 2021, par josh joyer

    I use ffmpeg with command

    &#xA;

    ffmpeg -f dshow -i video="@device_pnp_\\?\usb#vid_1908&amp;pid_2311&amp;mi_00#6&amp;353461d3&amp;0&amp;0000#{65e8773d-8f56-`11d0-a3b9-00a0c9223196}\global" output.mkv`&#xA;

    &#xA;

    It is fine to record camera but it uses direct show standard&#xA;Microsoft Windows library that is faulty.&#xA;Once connected to camera one is unable to use camera again or disconnect from it.&#xA;One should restart computer to connect to camera again.&#xA;Microsoft tells not to use direct show (dshow) for camera but&#xA;to use AForge or VisioForge libraries.

    &#xA;

    But ffpmeg uses faulty dshow library. Is there any way to&#xA;change direct show to some other so one could connect to camer multiple times ?

    &#xA;

  • avfilter/vf_datascope : add option to show only subset of components

    17 janvier 2021, par Paul B Mahol
    avfilter/vf_datascope : add option to show only subset of components
    
    • [DH] doc/filters.texi
    • [DH] libavfilter/vf_datascope.c