Recherche avancée

Médias (91)

Autres articles (36)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (3165)

  • Paperclip AV Transcoder not working on remote server

    16 juin 2016, par zreitano

    I am able to upload videos locally. The videos are processed using paperclip and all the meta data is saved correctly, as well. When I tried to upload a video using our remote server, I received the error :

    Av::UnableToDetect (Unable to detect any supported library)

    I have installed ffmpeg using LinuxBrew. It says everything is installed correctly (checking which brew and which ffmpeg, as well as checking if the gem is appropriately installed).

    When I have styling in my model for the video (which is what enables the meta information to be stored and to have control over how the video is uploaded) it doesn’t work remotely.

    has_attached_file :video, path: "/posts/:id/:style.:extension",
     :styles => {
       :medium => { :geometry => "493x877", :format => 'flv' },
       :thumb => { :geometry => "100x100#", :format => 'jpg', :time => 10 },
       # :mobile => {:geometry => "640X480", :format => 'mp4', :streaming => true}
     }, :processors => [:transcoder]

    However, when I remove this from my model and have :

    has_attached_file :video, path: "/posts/:id/:style.:extension"

    The video is uploaded to S3 (without the data or styling that I need).

    Any help would be greatly appreciated. I think AV is having trouble finding ffmpeg but I am not sure why or how to go about fixing it. Thanks in advance for any advice.

  • aacpsy : Add energy spread for each band

    26 juin 2015, par Rostislav Pehlivanov
    aacpsy : Add energy spread for each band
    

    This commit adds the energy spread to the struct for each band and removes 2 unused fields.
    distortion and perceptual_weight were not referenced in any file nor were they set to any value,
    so it was safe to remove them. The energy spread is currently only used in the aac psy model.
    It’s defined as being proportional to the tonality of each band.

    Reviewed-by : Claudio Freire <klaussfreire@gmail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/aacpsy.c
    • [DH] libavcodec/psymodel.h
  • Segmentation Fault when running ffmpeg+sdl program

    23 juin 2015, par user2270995

    I started with Dranger’s tutorials on building a video player using FFMPEG and SDL. The code tutorial4 compiles fine but when i run it i get a segmentation fault error. here’s the code for tutorial4.

    I am using gcc

    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

    on Mac 10.10.3.

    Here’s GDB Backtrace :

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x1813 of process 84136]
    0x00007fff955d4432 in stack_not_16_byte_aligned_error ()
    from /usr/lib/system/libdyld.dylib
    (gdb) backtrace
    #0  0x00007fff955d4432 in stack_not_16_byte_aligned_error ()
    from /usr/lib/system/libdyld.dylib
    #1  0x000000010a2f1ee0 in ?? ()
    #2  0x0000000101341008 in ?? () from /usr/local/lib/libSDL-1.2.0.dylib
    #3  0x00000000000005d0 in ?? ()
    #4  0x00000001013362e9 in RunThread () from /usr/local/lib/libSDL-1.2.0.dylib
    #5  0x00000001013362e2 in RunThread () from /usr/local/lib/libSDL-1.2.0.dylib
    #6  0x00007fff8d1d4268 in ?? () from /usr/lib/system/libsystem_pthread.dylib
    #7  0x0000000000006f23 in ?? ()
    #8  0x000000010a2f2000 in ?? ()
    #9  0x000000010a2f1f50 in ?? ()  
    #10 0x00007fff8d1d41e5 in ?? () from /usr/lib/system/libsystem_pthread.dylib
    #11 0x0000000000000000 in ?? ()
    (gdb)

    Backtrace for another SIGSEGV :

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x15eb of process 11453]
    0x00000001012c9475 in av_log_format_line ()
    from /usr/local/lib/libavutil.54.dylib
    (gdb) bt
    #0  0x00000001012c9475 in av_log_format_line ()
    from /usr/local/lib/libavutil.54.dylib
    #1  0x00000001012f7338 in av_pix_fmt_descriptors ()
    from /usr/local/lib/libavutil.54.dylib
    #2  0x00000018012f7358 in ?? ()
    #3  0x000000010a2f3010 in ?? ()
    #4  0x000000010a2f2c10 in ?? ()
    #5  0x000000010011d65a in ?? () from  /usr/local/lib/libavformat.56.dylib
    #6  0x000000010a2f3900 in ?? ()
    #7  0x0000000000000018 in ?? ()
    #8  0x0000000000000018 in ?? ()
    #9  0x000000010011d65a in ?? () from /usr/local/lib/libavformat.56.dylib
    #10 0x000000010a2f3900 in ?? ()
    #11 0x910016d093cdc267 in ?? ()
    #12 0x000000010a2f3eb0 in ?? ()
    #13 0x00000001012c96e8 in av_log_default_callback ()
    from /usr/local/lib/libavutil.54.dylib
    #14 0x0000000000000000 in ?? ()
    (gdb)

    The call to SDL_WaitEvent in main method is where these errors occur in my debugging.

    for(;;) {
    SDL_WaitEvent(&amp;event);
    switch(event.type) {
    case FF_QUIT_EVENT:
    case SDL_QUIT:
     is->quit = 1;
     SDL_Quit();
     return 0;
     break;
    case FF_REFRESH_EVENT:
     video_refresh_timer(event.user.data1);
     break;
    default:
     break;
    }
    }

    is this related to pthread library or sdl And how do i resolve it ?