Recherche avancée

Médias (91)

Autres articles (102)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (13315)

  • Revert "avutil/timecode : fix sscanf format string with garbage at the end"

    16 janvier 2021, par Marton Balint
    Revert "avutil/timecode : fix sscanf format string with garbage at the end"
    

    This reverts commit 6696a07ac62bfec49dd488510a719367918b9f7a.

    It is wrong to restrict timecodes to always contain leading zeros or for hours
    or frames to be 2 chars only.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavutil/timecode.c
  • avformat/aaxdec : Check string before strcmp()

    23 octobre 2020, par Michael Niedermayer
    avformat/aaxdec : Check string before strcmp()
    

    Fixes : NULL ptr dereference
    Fixes : 26508/clusterfuzz-testcase-minimized-ffmpeg_dem_AAX_fuzzer-5694725249826816

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/aaxdec.c
  • Trouble using ffmpeg in c# how to correctly format string to upscale videos ?

    30 décembre 2020, par user14527374

    So I am writing an app in c# to upscale videos to a certain resolution. It uses ffmpeg to do this. What happens is after selecting the video file, and clicking 1080p it creates the directory folder but does not actually write the upscaled video to it.

    &#xA;

    I think I must have a string format issue :

    &#xA;

    private void HD_Click(object sender, EventArgs e)&#xA;        {&#xA;            if (textBox1.Text == null)&#xA;            {&#xA;                MessageBox.Show("You&#x27;ve not selected your video file yet. Please do so before continuing, cheers.");&#xA;&#xA;            }&#xA;            else&#xA;            {&#xA;             &#xA;                    var originFilePath = textBox1.Text;&#xA;                    string name = Path.GetFileName(originFilePath);&#xA;                    byte[] bytes = null;&#xA;                    using (FileStream fileStream = new FileStream(originFilePath, FileMode.Open, FileAccess.Read))&#xA;                    {&#xA;                        using (MemoryStream ms = new MemoryStream())&#xA;                        {&#xA;                            fileStream.CopyTo(ms);&#xA;                            bytes = ms.ToArray();&#xA;                        }&#xA;&#xA;                        var localStoragePath = Path.Combine(Path.GetTempPath(), name);&#xA;                        var directoryPath = Path.GetDirectoryName(localStoragePath);&#xA;                        Directory.CreateDirectory(directoryPath);&#xA;                        File.WriteAllBytes(localStoragePath, bytes);&#xA;                        Console.WriteLine($"File copy successful: {File.Exists(localStoragePath)}");&#xA;                        var readBack = File.ReadAllBytes(localStoragePath);&#xA;                        Console.WriteLine($"Read file Back: {readBack.Length}, {localStoragePath}");&#xA;                    var resizedFolderPath = @"C:\upscaledvideohere";&#xA;                        Directory.CreateDirectory(resizedFolderPath);&#xA;                        var resizedFiePath = Path.Combine(resizedFolderPath, Path.GetFileName(localStoragePath));&#xA;&#xA;                        var psi = new ProcessStartInfo();&#xA;                        psi.FileName = @"C:\ffmpeg-2020-12-27-git-bff6fbead8-full_build\binffmpeg.exe";&#xA;                        psi.Arguments = $"-i \"{localStoragePath}\" -vf scale=1080 \"{resizedFiePath}\"";&#xA;                        psi.RedirectStandardOutput = false;&#xA;                        psi.RedirectStandardError = false;&#xA;                        psi.UseShellExecute = true;&#xA;                        Console.WriteLine($"Args: {psi.Arguments}");&#xA;&#xA;                        try&#xA;                        {&#xA;                            using (Process exeProcess = Process.Start(psi))&#xA;                            {&#xA;                                Console.WriteLine($"process started with processId: {exeProcess.Id}");&#xA;                                exeProcess.WaitForExit();&#xA;                                Console.WriteLine($"Exit Code: {exeProcess.ExitCode}");&#xA;                            }&#xA;                        }&#xA;                        catch (Exception ex)&#xA;                        {&#xA;                            Console.WriteLine(ex.StackTrace.ToString());&#xA;                            Console.WriteLine(ex.Message.ToString());&#xA;                            return;&#xA;                        }&#xA;                        Console.WriteLine($"process completed");&#xA;                        Console.WriteLine($"Temp Out Exists: {File.Exists(resizedFiePath)}");&#xA;                    }&#xA;&#xA;                    Console.ReadLine();&#xA;                }&#xA;            }&#xA;        &#xA;    &#xA;

    &#xA;

    I am wondering where the string format error could be ? Thank you.

    &#xA;