Recherche avancée

Médias (91)

Autres articles (75)

  • 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 ;

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (9805)

  • "Format" or style the output of showwaves/showwavespic in ffmpeg

    9 avril 2020, par flomei

    I'm trying to get my head wrapped around ffmpeg and its functions and filters.

    



    showwaves and showwavespic already create nice output, but I'm looking to style it even more. Lots of audioplayers for example create a "waveform" like the following, which would be a job for showwavespic, I think. (I think soundcloud for example does create a form like this with actual data.)
pretty waveform

    



    I wonder if I can use ffmpeg to create something like this directly from my raw input data. I thought I might need to split my audio track into X parts, calculate the average distance from the Y-axis and then create a bar. But I'm not sure if I can manage to do that with ffmpeg or if I need to build more of a toolchain for that.

    



    If I could create the output of showwaves to look like that above, that would be great. On the other hand I'd already be happy if I could just increase the stroke width of the showwaves output.

    



    Didn't found anything about the in the documentation or I looked at the wrong places, because I don't yet get the big picture of ffmpeg.

    


  • ffmpeg : Send mp4 to fake webcam, "Invalid argument"

    9 avril 2020, par Joe Bid

    Trying to create a new fake webcam device (/dev/video2) and play a video on it so I can use it as a virtual webcam.

    



    Steps I took :

    



    sudo apt-get install v4l2loopback-dkms
sudo modprobe v4l2loopback
sudo depmod -a

ffmpeg -i vid1.mp4 -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video2


    



    The error from the ffmpeg command :

    



    ioctl(VIDIOC_G_FMT): Invalid argument
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:0
Conversion failed!


    



    No idea what to do.

    


  • java.io.IOException : Cannot run program "/data/user/0/com.package.name/files/ffmpeg" : error=13, Permission denied

    12 avril 2020, par KANAYO AUGUSTIN UG

    I am trying to cut a video using FFmpeg library from com.writingminds:FFmpegAndroid:0.3.2...
When I try to run my command

    



    String[] complexCommand = { "-y", "-i", inputFilePath,"-ss", "" + trimStart, "-t", "" + trim, "-c","copy", outputFilePath};
execFFmpegBinary(complexCommand);


    



    I get this error :

    



    


    E/FFmpeg : Exception while trying to run : [Ljava.lang.String ;@c7a48dd

    
 


    java.io.IOException : Cannot run program "/data/user/0/com.package.name/files/ffmpeg" : error=13, Permission denied

    


    



    Even after making sure the library loaded successfully

    



    private void loadFFMpegBinary() {
    try {
        if (ffmpeg == null) {
            ffmpeg = FFmpeg.getInstance(cntxt);
        }
        ffmpeg.loadBinary(new LoadBinaryResponseHandler() {
            @Override
            public void onFailure() {
                Log.i("success", "false");
            }

            @Override
            public void onSuccess() {
                Log.i("success", "true");
            }
        });
    } catch (FFmpegNotSupportedException e) {
    } catch (Exception e) {
    }
}


    



    I have enabled WRITE_PERMISSION in Android.manifest file, and I also tried to write a file to the storage and it worked.

    



    I guess FFmpeg has a default path to write a file which is /data/user/0/com.package.name/files/ffmpeg, but I need to change the default path please anyone with an idea ?