Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (33)

  • 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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (6480)

  • FFMPEG on android giving corrupted MP4 from captured photos.

    5 août 2015, par qstra

    im using this project :
    https://github.com/hiteshsondhi88/ffmpeg-android-java

    To convert set of images (1img.jpg, 2img.jpg etc.) to mp4 movie, from my test folder to emulated/0/

    I have app that taking pics every X seconds to that test folder, the output file has always sobie MBs so it isnt empty, tell my what part of code You want or what files i have to give You.

    Im beeging for help ! :)

    This is my command :

       public void onClick(View v) {
       switch (v.getId()) {
           case R.id.run_command:


               String cmd = "-y -framerate 1 -i /sdcard/test/%dimg.jpg /sdcard/a.mp4";

              // String cmd = commandEditText.getText().toString();
               String[] command = cmd.split(" ");
               if (command.length != 0) {
                   execFFmpegBinary(command);
               } else {
                   Toast.makeText(Home.this, getString(R.string.empty_command_toast), Toast.LENGTH_LONG).show();
               }
               break;
       }
    }

    I want to add, that if im get some images from google its working, but not working on capptured photos from phone.

  • Encode Android's frame's .raw file to .png file format using ffmpeg

    12 avril 2017, par Glex

    I used the script from source. What it does is that it reads the frame-buffer information from the mobile (android) phone and save it as a .raw file. It then uses ffmpeg encoder to create .png file. Unfortunately the png image that I am getting is like (attached below). I tried to play with the "-pix_fmt" option used and tried using rgba instead of rgb32 used in that code (none of them work btw). I used another script (ascreenshooter.py) to analyse the header for this raw image to find few image headers. they are listed as :

    version : 1
    bpp : 32
    size : 2088960
    width : 544
    height : 960
    red_offset : 0
    red_length : 8
    blue_offset : 16
    blue_length : 8
    green_offset : 8
    green_length : 8
    alpha_offset : 0
    alpha_length : 8

    Please suggest if it is possible to encode this .raw image file to png format. If it is possible than what ffmpeg options I should use and if some other more efficient tool does exit for this encoding process.

    Sample raw image as requested :

    http://tabak.csc.ncsu.edu/arpit.raw

    enter image description here

  • Should I use the MP3 or AAC codec for a .mp4 file ?

    8 novembre 2014, par Justin Jenkins

    We have an encoding process in place using ffmpeg on Mac OS X. This process will take a source video and a couple files from that : .m3u8 video, .mp4 video and .mp3 audio file.

    By default we’ve used the video from our m3u8 process which is a h264 (via libx264) video with AAC (via libfaac) audio.

    We are mostly using these videos on mobile devices (hence the m3u8 files) but we also use the .mp4 files for Android, Windows Phone, etc. More and more we also need to offer these same videos on the web via either a flash player or HTML5 player.

    Therefore, we’d like to have the best audio/video codec combo for all these uses ... where I’m confused is to what is "standard" for a .mp4 file ?

    If the .mp4 uses the mp3 codec then it plays just fine everywhere but QuickTime, in QuickTime the video plays but there is not audio (works just fine in VLC player tho.)

    I’ve been told it’s due to how QuickTime uses file extensions to assume information about the video instead of trying to actually get the codec data from the file ? This does make some sense, if we encode the same file but use AAC for the audio codec then it works just fine in QuickTime.

    So --- what’s the "correct" or "ideal" audio/video codec combo --- is it best and safe to use AAC (i.e. will it work on a broad range of devices) even though it’s not a "free" codec ?