Recherche avancée

Médias (91)

Autres articles (74)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

Sur d’autres sites (12638)

  • allow configuration of imageSmoothingQuality. default is "low", othe…

    9 avril 2021, par redemption
    allow configuration of imageSmoothingQuality.  default is "low", other options are "medium" and "high".
    

    Usage :

    $(’#fileupload’).fileupload(
    disableImageResize : /Android(?!.*Chrome)|Opera/
    .test(window.navigator && navigator.userAgent),
    imageSmoothingQuality : ’medium’,

  • Transcode video with php ffmpeg library

    27 juin 2019, par dev

    I need to upload video in 3 formate/resolution as 360p, 480p, 720p.

    After some research i got to know that some paid service are there like Amazone Elastic Transcoder . But i want to do with open source so i found FFMPEG.

    Also i want to upload video on Amazon s3 after transcode and video are in big size like video may contain 1GB size.

    I got php library for FFMPEG Library Link

    I have installed ffmpeg and it successfully generate new video. But i cannot figure out that how can i generate different formate/resolution as 360p, 480p, 720p.

    My sample Code is

           error_reporting(E_ALL);
           ini_set('display_errors', 1);

           require 'vendor/autoload.php';

           //$ffmpeg = FFMpeg\FFMpeg::create();
           $video = $ffmpeg->open('assets/small.mp4');
           $video
               ->filters()
               ->resize(new FFMpeg\Coordinate\Dimension(320, 240))
               ->synchronize();
           $video
               ->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(2))
               ->save('assets/frame.jpg');

           $format = new FFMpeg\Format\Video\X264();
           $format->setAudioCodec("libmp3lame");

           $video->save($format, 'assets/new.mp4');

    Can anyone suggest me any way that how can i achieve this ??

  • 24kHz audio file problem : unsupported bitrate 64000

    28 novembre 2018, par R. Vait

    I use alexa audio tags a lot. I know that now audio tags support 24kHz audio files so tried converting my audio files from 16kHz. I used the provided command in the docs to do so :

    ffmpeg -i  -ac 2 -codec:a libmp3lame -b:a 48k -ar 24000

    But when I try to play this file, I get an invalid response error, saying : Error: The audio is of an unsupported bitrate 64000. By looking into file details I clearly see, that bitrate is 48kbps and sample rate is 24kHz. I don’t see any value where it would say 64 or anything close to it.

    If I encode my file back to 16kHz it plays fine again.

    It seems that there is a problem with this command, because if I encode my files using audacity, they work with 24kHz. I still would prefer to use ffmpeg, because I need to encode a lot of files.

    I am asking, not about file format, format is correct. I need files in 24kHz sample rate and that is what causes issues. I saw another question about similar problem and others having the discussion there about sample rates, but no one was able to encode file to be 24kHz using ffmpeg.

    Did anyone had any luck on encoding files to 24kHz using ffmpeg ?