Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (96)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (7851)

  • I got a green overlay in my video when using multiply blend mode in ffmpeg [on hold]

    30 avril 2014, par GJG

    i´m trying to blend two videos with the multiply blend mode. But I got a green overlay in the resulting video.

    This is a image where are one frame of each input video and one frame of the resulting video
    Composition

    I got this script, this is extracted from a part of my code :

    #!/bin/bash
    ffmpeg -y -i video_top.avi -i video_background.mp4 -filter_complex "blend=all_mode=multiply" -f mp4 -vcodec libx264 out.mp4

    This is the ffmpeg output :

    built on Mar 20 2014 14:51:45 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
    configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3
    libavutil      52. 67.100 / 52. 67.100
    libavcodec     55. 52.102 / 55. 52.102
    libavformat    55. 34.101 / 55. 34.101
    libavdevice    55. 11.100 / 55. 11.100
    libavfilter     4.  3.100 /  4.  3.100
    libswscale      2.  5.102 /  2.  5.102
    libswresample   0. 18.100 /  0. 18.100
    libpostproc    52.  3.100 / 52.  3.100
    Input #0, avi, from 'video_top.avi':
    Metadata:
    encoder         : Lavf54.29.104
    Duration: 00:00:10.72, start: 0.000000, bitrate: 688 kb/s
    Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 704x576 [SAR 1:1 DAR 11:9], 682 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'video_background.mp4':
    Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    creation_time   : 2014-04-29 12:51:17
    Duration: 00:00:08.90, start: 0.033333, bitrate: 3417 kb/s
    Stream #1:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 704x576 [SAR 1:1 DAR 11:9], 3408 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
    Metadata:
     creation_time   : 2014-04-29 12:51:17
     handler_name    : ?Mainconcept Video Media Handler
    [libx264 @ 0x2e42660] using SAR=1/1
    [libx264 @ 0x2e42660] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x2e42660] profile High, level 3.0
    [libx264 @ 0x2e42660] 264 - core 142 r2 d6b4e63 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to 'out.mp4':
    Metadata:
    encoder         : Lavf55.34.101
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 704x576 [SAR 1:1 DAR 11:9], q=-1--1, 12800 tbn, 25 tbc (default)
    Stream mapping:
    Stream #0:0 (h264) -> blend:top
    Stream #1:0 (h264) -> blend:bottom
    blend -> Stream #0:0 (libx264)
    Press [q] to stop, [?] for help
    frame=  268 fps=121 q=-1.0 Lsize=     732kB time=00:00:10.64 bitrate= 563.2kbits/s
    video:728kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 0.539149%
    [libx264 @ 0x2e42660] frame I:2     Avg QP:17.96  size: 35789
    [libx264 @ 0x2e42660] frame P:77    Avg QP:21.68  size:  5552
    [libx264 @ 0x2e42660] frame B:189   Avg QP:24.79  size:  1298
    [libx264 @ 0x2e42660] consecutive B-frames:  1.1% 11.2% 10.1% 77.6%
    [libx264 @ 0x2e42660] mb I  I16..4: 30.7% 36.5% 32.7%
    [libx264 @ 0x2e42660] mb P  I16..4:  3.0%  2.6%  0.4%  P16..4: 41.3% 14.4%  6.6%  0.0%  0.0%    skip:31.7%
    [libx264 @ 0x2e42660] mb B  I16..4:  0.2%  0.1%  0.0%  B16..8: 43.8%  2.8%  0.3%  direct: 0.2%  skip:52.5%  L0:42.2% L1:56.1% BI: 1.7%
    [libx264 @ 0x2e42660] 8x8 transform intra:40.7% inter:79.1%
    [libx264 @ 0x2e42660] coded y,uvDC,uvAC intra: 48.9% 29.0% 8.3% inter: 7.1% 4.5% 0.1%
    [libx264 @ 0x2e42660] i16 v,h,dc,p: 23% 19% 33% 26%
    [libx264 @ 0x2e42660] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 15% 45%  3%  3%  3%  5%  3%  6%
    [libx264 @ 0x2e42660] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 23% 19%  4%  3%  3%  7%  2%  7%
    [libx264 @ 0x2e42660] i8c dc,h,v,p: 67% 15% 16%  1%
    [libx264 @ 0x2e42660] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x2e42660] ref P L0: 67.4% 10.1% 17.0%  5.6%
    [libx264 @ 0x2e42660] ref B L0: 91.6%  7.3%  1.1%
    [libx264 @ 0x2e42660] ref B L1: 94.9%  5.1%
    [libx264 @ 0x2e42660] kb/s:555.48

    I don’t know what is wrong, and using others blend modes got others ridiculous results, like having a pink overlay in the video.

    Suggestions will be well appreciated, thanks very much.

  • Install ffmpeg on elastic beanstalk using ebextensions config

    18 mai 2017, par user3581244

    I’m attempting to install an up to date version of ffmpeg on an elastic beanstalk instance on amazon servers. I’ve created my config file and added these container_commands :

       container_commands:
           01-ffmpeg:
               command: wget -O/usr/local/bin/ffmpeg http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.2014-03-05.tar.gz
               leader_only: false
           02-ffmpeg:
               command: tar -xzf /usr/local/bin/ffmpeg
               leader_only: false
           03-ffmpeg:
               command: ln -s /usr/local/bin/ffmpeg /usr/bin/ffmpeg
               leader_only: false

    Command 01 and 03 seems to work perfectly but 02 doesn’t seem to work so ffmpeg doesn’t unzip. Any ideas what the issue might be ?

    Thanks,
    Helen

  • Carrierwave-video "Process hung" error while encoding uncompressed video files

    28 avril 2014, par Cramps

    I have an API for a mobile app that accepts video uploads. This app is for both iOS and Android devices, so for video compatibility’s sake these videos are encoded to H.264 once uploaded to the server using carrierwave-video (ffmpeg wrapper gem for Ruby on Rails). Right now this seems to be working, and videos are uploaded and encoded and can be played in both Android and iOS devices. However, sometimes the process hangs while encoding heavy (uncompressed ?) video files, usually 10+ seconds long. This is the output of ffmpeg :

    Failed to transcode with FFmpeg.
    Check ffmpeg install and verify video is not corrupt or cut short.
    Original error: Process hung. Full output:

    (That’s it, the full output seems empty.)

    These are the encoding parameters I’m using in my Carrierwave Uploader :

    encode_video(:mp4, custom: '-y -vcodec libx264 -acodec libfaac -vpre ultrafast 2> /home/user/log/ffmpeg.log, resolution: '640x640')

    According to the SuperUser question I linked above a solution would be to encode the video twice, once to AVI for compression(?) and then encode to MP4. I don’t know if that would work, but I don’t know how to do this either in my uploader. I would have to encode the output video file of my first (AVI) encoding process.

    Now that there’s some context, my question is : How can I solve this "Process hung" error ?

    In case the answer to that is to go with this double encoding method suggested, how can I achieve this using Carrierwave-video ?

    One last note is that if I try to encode these videos using ffmpeg straight from command-line the videos encode and playback successfully.

    Thank you for your time !

    PD : Wasn’t sure if I should add ruby-on-rails tag. I’ll remove it if necessary !

    Edit
    This is what I get from ffmpeg -i filename.mp4

    ffmpeg version 0.10.3 Copyright (c) 2000-2012 the FFmpeg developers
     built on Apr 30 2013 11:26:53 with gcc 4.5.4
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -march=athlon64 -pipe' --extra-cflags='-O2 -march=athlon64 -pipe' --extra-cxxflags='-O2 -march=athlon64 -pipe' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-vaapi --disable-vdpau --disable-ffplay --enable-openssl --enable-nonfree --enable-libmp3lame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libaacplus --enable-nonfree --enable-libfaac --enable-nonfree --disable-indev=v4l --disable-indev=v4l2 --disable-indev=alsa --disable-indev=oss --disable-indev=jack --disable-outdev=alsa --disable-outdev=oss --disable-outdev=sdl --enable-pthreads --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libvpx --enable-libope  libavutil      51. 35.100 / 51. 35.100
     libavcodec     53. 61.100 / 53. 61.100
     libavformat    53. 32.100 / 53. 32.100
     libavdevice    53.  4.100 / 53.  4.100
     libavfilter     2. 61.100 /  2. 61.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0.  6.100 /  0.  6.100
     libpostproc    52.  0.100 / 52.  0.100

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/user/api/uploads/tmp/e54zfghzt9.mp4':


    Metadata:
       major_brand     : isom
       minor_version   : 0
       compatible_brands: isom3gp4
       creation_time   : 2014-04-23 14:56:19
     Duration: 00:00:14.27, start: 0.000000, bitrate: 20757 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 20993 kb/s, SAR 65536:65536 DAR 16:9, 30 fps, 30 tbr, 90k tbn, 180k tbc


    Metadata:
         creation_time   : 2014-04-23 14:56:19
         handler_name    : VideoHandle
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 190 kb/s


    Metadata:
         creation_time   : 2014-04-23 14:56:19
         handler_name    : SoundHandle

    Then it just starts buffering as such :

    time=00:00:13.20 bitrate=2533.2kbits/s    
    frame=  405 fps=  7 q=24.0 size=    4083kB time=00:00:13.20 bitrate=2533.2kbits/s    
    frame=  407 fps=  7 q=24.0 size=    4083kB time=00:00:13.20 bitrate=2533.2kbits/s    
    frame=  409 fps=  7 q=24.0 size=    4083kB time=00:00:13.20 bitrate=2533.2kbits/s    
    frame=  412 fps=  7 q=24.0 size=    4083kB time=00:00:13.20 bitrate=2533.2kbits/s    
    frame=  417 fps=  7 q=24.0 size=    4083kB time=00:00:13.20 bitrate=2533.2kbits/s    
    frame=  417 fps=  7 q=24.0 Lsize=    4194kB time=00:00:13.90 bitrate=2471.5kbits/s    
    video:3957kB audio:223kB global headers:0kB muxing overhead 0.310939%
    [libx264 @ 0x7f28327ccc50] frame I:2     Avg QP:21.50  size: 25120
    [libx264 @ 0x7f28327ccc50] frame P:415   Avg QP:25.32  size:  9642
    [libx264 @ 0x7f28327ccc50] mb I  I16..4: 35.8%  0.0% 64.2%
    [libx264 @ 0x7f28327ccc50] mb P  I16..4:  8.4%  0.0%  3.2%  P16..4: 43.6% 19.0%  5.6%  0.0%  0.0%    skip:20.2%
    [libx264 @ 0x7f28327ccc50] coded y,uvDC,uvAC intra: 45.2% 53.6% 27.3% inter: 39.4% 27.6% 2.7%
    [libx264 @ 0x7f28327ccc50] i16 v,h,dc,p: 28% 57% 11%  5%
    [libx264 @ 0x7f28327ccc50] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 66% 11%  1%  1%  1%  2%  1%  2%
    [libx264 @ 0x7f28327ccc50] i8c dc,h,v,p: 23% 58% 17%  3%
    [libx264 @ 0x7f28327ccc50] kb/s:2331.88

    `