Recherche avancée

Médias (91)

Autres articles (78)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • 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 (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (10128)

  • Unable to upload video from iphon using paperclip-ffmpeg in ruby on rails

    13 mai 2015, par sank

    when i upload video from iphon then I am getting below error.

    It works perfectly when I upload same video from desktop.

    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)

    I used gems "paperclip", " > 4.1" and ’paperclip-ffmpeg’

    and in video model i used

    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 same error.

    I do not know what was an error.

    please help me.

    thanks in advance.

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

  • 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(&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 ?