Recherche avancée

Médias (1)

Mot : - Tags -/punk

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

  • 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

Sur d’autres sites (11014)

  • avfilter/vf_framerate : change blend factor precision

    15 janvier 2018, par Marton Balint
    avfilter/vf_framerate : change blend factor precision
    

    This is done mainly in preparation for the SIMD patches.

    - for the 8-bit input, decrease the blend factor precision to 7-bit.
    - for the 16-bit input, increase the blend factor precision to 15-bit.
    - make sure the blend functions are not called with 0 or maximum blending
    factors, because we don't want the signed factor integers to overflow.

    Fate test changes are due to different rounding.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavfilter/vf_framerate.c
    • [DH] tests/ref/fate/filter-framerate-12bit-down
    • [DH] tests/ref/fate/filter-framerate-12bit-up
    • [DH] tests/ref/fate/filter-framerate-up
  • Use FFMPEG to blend streaming overlay onto second stream

    31 août 2017, par Louwrens Benade

    I’m trying to build a form of monitoring that can be superimposed onto a live stream.

    Monitor Overlay

    ffmpeg -i rtmp://localhost/pool/livestream -filter_complex \
     "nullsrc=1024x576[1:v]; \
     [0:a]showvolume=v=0:o=1:t=0:f=0.1,drawbox=x=ih-40:y=0:w=40:h=ih[volume]; \
     [1:v]drawtext=x=(main_w/2)-(text_w/2):y=text_h:fontsize=30:fontcolor=white:borderw=1:text='Stream Label',scale=-1:-1[label]; \
     [label][volume]overlay=x=main_w-40:y=0[output]" \
     -map "[output]" -f flv rtmp://localhost/pool/livestream_overlay

    What I would like to accomplish is that this stream be superimposed onto the original stream and pushed to a third RTMP endpoint, like this :

    ffmpeg -i rtmp://localhost/pool/livestream -i rtmp://localhost/pool/livestream_overlay \
     -filter_complex "[0:v][1:v]overlay=shortest=1[output]" \
     -f flv rtmp://localhost/pool/livestream_monitor

    While the workflow seems to be working, the overlay is not blending (subtracted ?) onto the original video :

    Actual output

    Actual output

    Expected output

    Expected output

    Note : codec options have been removed for brevity’s sake.

  • How to blend/merge two videos in android programmatically

    7 août 2017, par endryha

    As description says I am trying to create a video which consists of background video and semi-transparent video overlay on top of it.

    My initial attempt was to use ffmpeg for android https://github.com/WritingMinds/ffmpeg-android-java and use blend filter in overlay mode.

    But it turned out that ffmpeg android library is built on top of ffmpeg 2.4 but blend filter is available since ffmpeg 2.6. So far ffmpeg failed for me and I am looking for alternative solution.

    Any advices are warmly appreciated.

    UPDATE#1

    I finally managed to build ffmpeg 2.6.4 for android which contains blend filter but another issue appeared. When it start video processing it just stops in the beginning and never ends, there is not output from ffmpeg tool, no errors, no warnings, there is nothing that can help me to trace down the problem.

    On android device it runs following command :

    /data/user/0/com.test.app/files/ffmpeg
    -i /storage/emulated/0/Android/data/com.test.app/files/video/vid1.mp4
    -i /storage/emulated/0/Android/data/com.test.app/files/video/overlay.mp4
    -filter_complex blend=all_mode='overlay':all_opacity=0.8"
    -strict -2 /storage/emulated/0/Android/data/com.test.app/files/video/blended.mp4

    And there is following output :

    ffmpeg version n2.6.4 Copyright (c) 2000-2015 the FFmpeg developers
      built with gcc 4.8 (GCC)
      configuration: --target-os=linux --cross-prefix=/media/ubuntu/data/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/media/ubuntu/data/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/media/ubuntu/data/ffmpeg-android/ffmpeg-pkg-config --prefix=/media/ubuntu/data/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/media/ubuntu/data/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/media/ubuntu/data/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
      libavutil      54. 20.100 / 54. 20.100
      libavcodec     56. 26.100 / 56. 26.100
      libavformat    56. 25.101 / 56. 25.101
      libavdevice    56.  4.100 / 56.  4.100
      libavfilter     5. 11.102 /  5. 11.102
      libswscale      3.  1.101 /  3.  1.101
      libswresample   1.  1.100 /  1.  1.100
      libpostproc    53.  3.100 / 53.  3.100
    [h264 @ 0xb5e03000] no frame!
    [aac @ 0xb5e03400] Input buffer exhausted before END element found
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Android/data/com.test.app/files/video/vid1.mp4':
      Metadata:
        major_brand     : mp42
        minor_version   : 0
        compatible_brands: isommp42
        creation_time   : 2015-08-30 17:19:07
      Duration: 00:00:05.03, start: 0.000000, bitrate: 3449 kb/s
        Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x640, 3381 kb/s, SAR 1:1 DAR 1:1, 30 fps, 30 tbr, 90k tbn, 180k tbc (default)
        Metadata:
          creation_time   : 2015-08-30 17:19:07
          handler_name    : VideoHandle
        Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 63 kb/s (default)
        Metadata:
          creation_time   : 2015-08-30 17:19:07
          handler_name    : SoundHandle
    [h264 @ 0xb5e03800] no frame!
    [aac @ 0xb5e04400] Input buffer exhausted before END element found
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Android/data/com.test.app/files/video/overlay.mp4':
      Metadata:
        major_brand     : mp42
        minor_version   : 0
        compatible_brands: isommp42
        creation_time   : 2015-08-30 17:19:07
      Duration: 00:00:05.03, start: 0.000000, bitrate: 3449 kb/s
        Stream #1:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x640, 3381 kb/s, SAR 1:1 DAR 1:1, 30 fps, 30 tbr, 90k tbn, 180k tbc (default)
        Metadata:
          creation_time   : 2015-08-30 17:19:07
          handler_name    : VideoHandle
        Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 63 kb/s (default)
        Metadata:
          creation_time   : 2015-08-30 17:19:07
          handler_name    : SoundHandle

    After this output ffmpeg process is still running but it doesn’t provide any response... I am not sure how to deal with such issue, maybe I can try to use different codecs which works better on android or enable some debugging logging in ffmpeg.
    Any advices would help.

    UPDATE#2

    Thank you