Recherche avancée

Médias (91)

Autres articles (53)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (6830)

  • FFMPEG "Could find no file with path" and "No such file or directory"

    4 mai 2020, par bmw_58

    I try to convert a sequence of pictures to video file. 
But I get from ffmpeg the response, that no such file or directory

    



    Does someone have a solution for it ?

    



    My command line :

    



    ffmpeg -r 1/5 -start_number 0 -i "C:\Users\USER\Desktop\Pictures\%3d.png" -c:v libx264 -r 30 -pix_fmt yuv420p C:\Users\USER\Desktop\Pictures\out.mp4


    



    The error :

    



            C:\Users\USER>ffmpeg -r 1/5 -start_number 0 -i "C:\Users\USER\Desktop\Pictures\%3d.png" -c:v libx264 -r 30 -pix_fmt yuv420p C:\Users\USER\Desktop\Pictures\out.mp4
    ffmpeg version git-2020-05-01-39fb1e9 Copyright (c) 2000-2020 the FFmpeg developers
      built with gcc 9.3.1 (GCC) 20200328
      configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
      libavutil      56. 43.100 / 56. 43.100
      libavcodec     58. 82.100 / 58. 82.100
      libavformat    58. 42.101 / 58. 42.101
      libavdevice    58.  9.103 / 58.  9.103
      libavfilter     7. 80.100 /  7. 80.100
      libswscale      5.  6.101 /  5.  6.101
      libswresample   3.  6.100 /  3.  6.100
      libpostproc    55.  6.100 / 55.  6.100
    [image2 @ 000002169186c440] Could find no file with path 'C:\Users\USER\Desktop\Pictures\%3d.png' and index in the range 0-4
    C:\Users\USER\Desktop\Pictures\%3d.png: No such file or directory


    



    Error screenshot

    


  • using ffmpeg to capture the screen why it's not saving the output file to the folder and not saving the output file at all ?

    17 juillet 2023, par Shelly Ron

    at the top

    


    private bool recordFullScreen = true;
private Process ffmpegProcess;


    


    Load event

    


    private void Form1_Load(object sender, EventArgs e)
        {
            // Hide the FFmpeg console window
            var ffmpegStartInfo = new ProcessStartInfo
            {
                FileName = @"D:\Captured Videos\ffmpeg.exe",
                Arguments = "-hide_banner -loglevel panic",
                UseShellExecute = false,
                CreateNoWindow = true,
                RedirectStandardInput = true
            };

            ffmpegProcess = Process.Start(ffmpegStartInfo);
        }


    


    Closing event

    


    private void Form1_FormClosing(object sender, FormClosingEventArgs e)
        {
            // Terminate FFmpeg process before closing the application
            ffmpegProcess.StandardInput.WriteLine("q");
            ffmpegProcess.WaitForExit();
            ffmpegProcess.Close();
        }


    


    recording button click event

    


    private void btnRecord_Click(object sender, EventArgs e)
        {
            if (recordFullScreen)
            {
                // Record the whole screen
                RecordScreen();
            }
        }


    


    the method recordscreen

    


    private void RecordScreen()
        {
            // Set the output folder path
            string outputFolder = @"D:\Captured Videos\";

            // Generate a unique file name based on the current date and time
            string fileName = DateTime.Now.ToString("Screen_yyyyMMdd_HHmmss") + ".mp4";

            // Set the output file path
            string outputFile = Path.Combine(outputFolder, fileName);

            // FFmpeg command to record the whole screen
            string ffmpegCommand = $"-f gdigrab -framerate 24 -i desktop -preset ultrafast -pix_fmt yuv420p \"{outputFile}\"";

            StartFFmpeg(ffmpegCommand);
        }


    


    the method startffmpeg

    


    private void StartFFmpeg(string command)
        {
            // Send the FFmpeg command to the process for execution
            ffmpegProcess.StandardInput.WriteLine(command);
            ffmpegProcess.StandardInput.Flush();
        }


    


    but when running the application pressing the button to record after some seconds i click the form red X on the top right to close it but it's not saving the mp4 output file. not sure if it's even recording at all.

    


  • shell scripting no such file or directory

    15 mars 2018, par Toto Tata

    I wrote a shell script that calls the ffmpeg tool but when I run it, it says No such file or directory yet it does !

    Here is my script :

    #!/bin/bash

    MAIN_DIR="/media/sf_data/pipeline"

    FFMPEG_DIR="/media/sf_data/livraison_transcripts/ffmpeg-git-20180208-64bit-static"

    for file in MAIN_DIR/audio_mp3/*.mp3;
    do
       cp -p file FFMPEG_DIR;
    done

    for file in FFMPEG_DIR/*.mp3;
    do
       ./ffmpeg -i ${file%.mp3}.ogg
       sox $file -t raw --channels=1 --bits=16 --rate=16000 --encoding=signed-
    integer --endian=little ${file%.ogg}.raw;
    done

    for file in FFMPEG_DIR/*.raw;
    do
       cp -p file MAIN_DIR/pipeline/audio_raw/;
    done

    and here is the debug response :

    cp: cannot stat ‘file’: No such file or directory
    ./essai.sh: line 14: ./ffmpeg: No such file or directory
    sox FAIL formats: can't open input file `FFMPEG_DIR/*.mp3': No such file or
    directory
    cp: cannot stat ‘file’: No such file or directory

    FYI I’m running CentOS7 on VirtualBox

    Thank you