Recherche avancée

Médias (91)

Autres articles (57)

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

  • 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 (...)

  • 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 (...)

Sur d’autres sites (10027)

  • FFmpeg_frame toGDImage produces messed up thumbs

    27 juin 2013, par user2526873

    I have written a script in PHP that uploads a movie, converts it to FFmpeg movie and gets the thumb. Everything is working ok, but my thumbs have some sort of blue overlay. My code is :

    $movie = new ffmpeg_movie($uploadFile);
    $frame = $movie->getFrame(15)->toGDimage();

    $width = imagesx($frame);
    $height = imagesy($frame);

    $framecrop = imagecreatetruecolor(100, 80);
    imagecopyresampled($framecrop, $frame, 0, 0, 0, 0, 100, 80, $width, $height);
    imagejpeg($framecrop,"file.jpg");

    What am I doing wrong ? I have this problem with all the movies I upload.

    Thanks in advance for your answers !

  • Stremio::FFMPEG Error while opening encoder for output stream #0:1

    28 février 2015, par user2547496

    Getting this error using Stremio::FFMPEG wrapper for converting /MOV to .MP4

    Error while opening encoder for output stream #0:1 - maybe incorrect     parameters such as bit_rate, rate, width or height

    Here are my commands

    require 'streamio-ffmpeg'
    movie = FFMPEG::Movie.new("tmp/movie.ogg")
    movie.transcode("tmp/movie.mp4")

    Here’s the output =>

    Running transcoding...
    ffmpeg -y -i tmp/movie.ogg  tmp/movie.mp4

    E, [2015-02-28T03:06:00.797778 #6381] ERROR -- : Failed encoding...
    ffmpeg -y -i tmp/movie.ogg  tmp/movie.mp4

    Output #0, mp4, to 'tmp/movie.mp4':
       Stream #0:0: Video: h264, yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 90k tbn, 24 tbc

    Stream mapping:
     Stream #0:0 -> #0:0 (theora -> libx264)
     Stream #0:1 -> #0:1 (flac -> libaacplus)
    Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

    Errors: encoded file is invalid.

    Stream mapping:
     Stream #0:0 -> #0:0 (theora -> libx264)
     Stream #0:1 -> #0:1 (flac -> libaacplus)
    Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
  • Applescript to automatically convert new downloaded MKV files using ffmpeg

    18 février 2014, par user3315469

    I'm new to Applescript and would love some help figuring out how to use it to make my life easier. I want to create a script that automatically selects new movies added to a folder (actually a folder within a folder, as I have a "Movies" folder and then each movie gets its own folder within that), checks the extensions, and converts them using the Terminal if they have extension .mkv. The Terminal command I want to run is

    ffmpeg -i -y [movie_name].mkv -c copy [movie_name].mp4

    It will need to look in the correct folder for the movie, which is already automatically created when the movie is added. So, to clarify, there's a "Movies" folder, which contains the newly created folder for a specific movie, which in turn contains the newly added movie file.

    I am running Mavericks on a MacBook Pro.