Recherche avancée

Médias (91)

Autres articles (41)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (7156)

  • Renaming carrierwave extension before process ends

    6 septembre 2013, par Jan

    I have an audiofile which gets uploaded via carrierwave. I wanna rename the current_file before it gets processed.

    When I do processing a version, normally I rewrite the file extension via

    def full_filename(for_file=file)
     super.chomp(File.extname(super)) + '.mp3'
    end

    but this will be executed after the version creation process.

    How can I make a version and renmame it before it gets saved.

    To be more concret :

    I am converting an WAV file to a MP3 by using ffmpeg.

    FFMPEG needs an inputfile (-i inputfile.wav) and and outputfilename which needs the mp3 fileextension to process an mp3. (output.mp3 in my case)

    How can I rename the extension before it get's saved ?

    ffmpeg -i inputfile.wav -acodec libmp3lame -f mp3 watermarked.mp3
            HOW CAN I RENAME THE EXTENSTION BEFORE IT GET SAVED? ^^^

    The above snip (-f forcing the codec and format) does NOT it's job and

    def full_filename(for_file=file)
     super.chomp(File.extname(super)) + '.mp3'
    end

    is happening too late (done after processing)

    How can I rename the temporary Carrierfile name ?

  • Renaming Carrierwave extension before saving it [on hold]

    2 septembre 2013, par Jan

    I am trying to get a mp3 version of a wav which gets watermarked by using ffmpeg.

    Spoken in steps :

    • upload wav (works)
    • watermark it (works also)
    • make a mp3 version (does not work)

    The upload and watermarking step is done correctly.

    My problem is, that ffmpeg evaluates the destination format by reading its file extension name (which is wav in my case). How can I rename the extension before it get's saved ?

    ffmpeg -i watermarked.wav -acodec libmp3lame -f mp3 watermarked.wav
                        HOW CAN I RENAME THIS BEFORE IT GET SAVED? ^^^

    The above snip (-f forcing the codec and format) does NOT it's job and

    def full_filename(for_file=file)
     super.chomp(File.extname(super)) + '.mp3'
    end

    is happening too late (after processing)

    Do I have to make a seperate (second) tempfile and remove the watermarked.wav ?
    Or do I have to make a "seperate process" and take ?
    And when yes, how ?

    I am trying this since weeks...

    many, many, many thanks in advance

  • How to use FFMPEG commands

    26 septembre 2013, par Shashank Agarwal

    In android i am making an app in which it will record an video and crop the video from center for doing so i found FFMPEG over google. I followed http://dmitrydzz-hobby.blogspot.in/2012/04/how-to-build-ffmpeg-and-use-it-in.html

    It works fine but i want to know how to use this `ffmpeg -y -i /sdcard/videokit/short.mp4 -vf crop=100:100:0:0 -s 320x240 -r 15 -aspect 3:4 -ab 12288 -vcodec mpeg4 -b 2097152 -sample_fmt s16 /sdcard/videokit/out.mp4

    ` video cropping command and Where to write this command.

    I have tried this (for concatenation just to check about how to use ffmpeg command )

    public class MainActivity extends Activity {
    private static native int logFileInfo(String[] args);
    String pathOut = "/storage/sdcard/12.mp3";
    String pathInM = "/storage/sdcard/23.mp3";
    String pathIn = "/storage/sdcard/out.mp3";
    @Override
    public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.activity_main);
       String[] args = {"ffmpeg",  "-i", "concat:", pathOut, "|",pathInM ,pathIn};
       logFileInfo(args);
       //logFileInfo("/storage/sdcard/12.mp3");
    }

    static
    {
       System.loadLibrary("mylib");
    }

    But i dont know what to write in mylib.c to execute this.somebody Please help