Recherche avancée

Médias (91)

Autres articles (60)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (4584)

  • merging audio files using FFmpegFrameRecorder

    1er juin 2015, par Sargam Modak

    I have successfully merged(not concatenate) two .aac audio files using ffmpegframerecorder but the output file is like very slow.
    Below is the code i have used.
    Is there anything i can use to speed up the output audio file. Is it related to framerate ?

    FFmpegFrameGrabber frameGrabber =
                   new FFmpegFrameGrabber("storage/sdcard0/Audio/audio.aac");      
           f=new File("/storage/sdcard0/Audio/audnew.aac");
           try {
               f.createNewFile();
           } catch (IOException e2) {
               // TODO Auto-generated catch block
               Log.d("def",e2.getLocalizedMessage());
           }
          FFmpegFrameGrabber grabber1 = new FFmpegFrameGrabber("/storage/sdcard0/Audio/smoke.aac");
           try {
               frameGrabber.start();
               grabber1.start();
           } catch (org.bytedeco.javacv.FrameGrabber.Exception e1) {
               // TODO Auto-generated catch block
               Log.d("here",e1.getLocalizedMessage());
           }
           FFmpegFrameRecorder recorde = new FFmpegFrameRecorder(f, frameGrabber.getAudioChannels());
           try {
               recorde.setAudioCodec(AV_CODEC_ID_AAC);
               Log.d("12","here");
               recorde.setFrameRate(12);
               recorde.start();
               Frame frame1 = new Frame();
               Frame frame2 = new Frame();
               for (int i=0;i<1000000;i++)
               {
                   frame1 = grabber1.grabFrame();
                   frame2 = frameGrabber.grabFrame();
                   if (frame1==null || frame2==null) {
                       Log.d("er","Failed cvQueryFrame");
                       frameGrabber.release();
                       grabber1.release();
                       break;
                   }
                   recorde.record(frame1);
                   recorde.record(frame2);

               }
               recorde.stop();
               grabber1.stop();

           }catch(Exception e){
               Log.d("abc", e.getLocalizedMessage());
           }
  • ffmpeg armv7s compile segmentation fault

    13 mai 2015, par Sergey92zp

    I use https://github.com/kewlbear/FFmpeg-iOS-build-script to compile ffmpeg,
    but when i try to compile, for armv7s architecture i have next error

    all other archs compile fine

    clang : error : unable to execute command : Segmentation fault : 11 clang :
    error : clang frontend command failed due to signal (use -v to see
    invocation) Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM
    3.6.0svn) Target : arm-apple-darwin14.3.0 Thread model : posix clang : note : diagnostic msg : PLEASE submit a bug report to
    http://developer.apple.com/bugreporter/ and include the crash
    backtrace, preprocessed source, and associated run script. clang :
    note : diagnostic msg :


    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT : Preprocessed
    source(s) and associated run script(s) are located at : clang : note :
    diagnostic msg :
    /var/folders/zk/wj2cn08s26x64nlzk3_kjnv80000gn/T/vp8-c6ec27.c clang :
    note : diagnostic msg :
    /var/folders/zk/wj2cn08s26x64nlzk3_kjnv80000gn/T/vp8-c6ec27.sh clang :
    note : diagnostic msg :

    ******************** make : * [libavcodec/vp8.o] Error 254 make : * Waiting for unfinished jobs.... CC libavcodec/wmv2enc.o

    Couple months ago all compiled without any errors.
    Tried on couple versions of ffmpeg

    Here is Clang -v

    Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
    Target : x86_64-apple-darwin14.3.0 Thread model : posix

    and xcode version is Version 6.3.1 (6D1002)

  • Unable to upload video from iPhone with paperclip-ffmpeg in Ruby on Rails

    13 mai 2015, par sank

    When I upload a video from an iPhone, I’m getting the following error :

    Command :: PATH=/usr/bin/:$PATH; file -b --mime '/tmp/6da355e988ec841811d8803dfd5cf44c20150513-8103-b4lkam.MOV'
    [paperclip] Content Type Spoof: Filename IMG_2637.MOV (["video/quicktime"]), content type discovered from file command: inode/x-empty. See documentation to allow this combination.
    (0.6ms)  ROLLBACK
    Completed 400 Bad Request in 58ms (Views: 0.9ms | ActiveRecord: 5.0ms)

    (This works perfectly when I upload the same video from desktop.)

    I used gems "paperclip", "~> 4.1" and "paperclip-ffmpeg".

    In my video model :

    validates_attachment_content_type :student_video, content_type: /\Avideo\/.*\Z/

    also tried out

    validates_attachment_content_type :student_video, :content_type => ['video/x-  
    #                                        msvideo', 'video/avi', 'video/quicktime', 'video/3gpp', 'video/x-ms-
    #                                        wmv', 'video/mp4', 'flv-application/octet-stream', 'video/x-
    #                                        flv', 'video/mpeg', 'video/mpeg4', 'video/x-la-asf', 'video/x-ms-asf']

    But I’m getting the same error.