Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (97)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (11256)

  • ffmpeg outputs single frame video while I'm trying to create video from set of frames

    31 octobre 2019, par int_32

    I have set of frames, and want to create video from them.

    I use the following command :

    /usr/local/bin/ffmpeg -i /tmp/frames/0.png -i /tmp/frames/1.png -i /tmp/frames/2.png -i /tmp/frames/3.png -i /tmp/frames/4.png -i /tmp/frames/5.png -i /tmp/frames/6.png -i /tmp/frames/7.png -i /tmp/frames/8.png -i /tmp/frames/9.png -i /tmp/frames/10.png -i /tmp/frames/11.png -i /tmp/frames/12.png -i /tmp/frames/13.png -i /tmp/frames/14.png -i /tmp/frames/15.png -i /tmp/frames/16.png -i /tmp/frames/17.png -i /tmp/frames/18.png -i /tmp/frames/19.png -i /tmp/frames/20.png -i /tmp/frames/21.png -i /tmp/frames/22.png -i /tmp/frames/23.png -i /tmp/frames/24.png -i /tmp/frames/25.png -i /tmp/frames/26.png -i /tmp/frames/27.png -i /tmp/frames/28.png -i /tmp/frames/29.png -i /tmp/frames/30.png -i /tmp/frames/31.png -i /tmp/frames/32.png -i /tmp/frames/33.png -i /tmp/frames/34.png -i /tmp/frames/35.png -i /tmp/frames/36.png -i /tmp/frames/37.png -i /tmp/frames/38.png -i /tmp/frames/39.png -i /tmp/frames/40.png -i /tmp/frames/41.png -i /tmp/frames/42.png -i /tmp/frames/43.png -i /tmp/frames/44.png -i /tmp/frames/45.png -i /tmp/frames/46.png -i /tmp/frames/47.png -i /tmp/frames/48.png -i /tmp/frames/49.png -i /tmp/frames/50.png -i /tmp/frames/51.png -i /tmp/frames/52.png -i /tmp/frames/53.png -i /tmp/frames/54.png -i /tmp/frames/55.png -i /tmp/frames/56.png -i /tmp/frames/57.png -i /tmp/frames/58.png -i /tmp/frames/59.png -i /tmp/frames/60.png -i /tmp/frames/61.png -i /tmp/frames/62.png -i /tmp/frames/63.png -i /tmp/frames/64.png -i /tmp/frames/65.png -i /tmp/frames/66.png -i /tmp/frames/67.png -i /tmp/frames/68.png -i /tmp/frames/69.png -i /tmp/frames/70.png -i /tmp/frames/71.png -i /tmp/frames/72.png -i /tmp/frames/73.png -i /tmp/frames/74.png -i /tmp/frames/75.png -i /tmp/frames/76.png -i /tmp/frames/77.png -i /tmp/frames/78.png -i /tmp/frames/79.png -i /tmp/frames/80.png -i /tmp/frames/81.png -i /tmp/frames/82.png -i /tmp/frames/83.png -i /tmp/frames/84.png -i /tmp/frames/85.png -i /tmp/frames/86.png -i /tmp/frames/87.png -i /tmp/frames/88.png -i /tmp/frames/89.png -i /tmp/frames/90.png -i /tmp/frames/91.png -i /tmp/frames/92.png -i /tmp/frames/93.png -i /tmp/frames/94.png -i /tmp/frames/95.png -i /tmp/frames/96.png -i /tmp/frames/97.png -i /tmp/frames/98.png -i /tmp/frames/99.png -vcodec libx264 -pix_fmt yuv420p -r 25 -t 4 -y /tmp/0.mp4

    But resulting video is just single frame :

    ffmpeg -i /tmp/0.mp4
    ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
     built with Apple LLVM version 10.0.0 (clang-1000.10.44.4)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1_1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-chromaprint --enable-frei0r --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libgme --enable-libgsm --enable-libmodplug --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-librsvg --enable-librtmp --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtesseract --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libwavpack --enable-libwebp --enable-libzimg --enable-libzmq --enable-opencl --enable-openssl --enable-videotoolbox --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3 --enable-nonfree
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/0.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.20.100
     Duration: 00:00:00.04, start: 0.000000, bitrate: 684 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 800x800, 524 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler

    What’s wrong ?

  • vaapi_encode : Convert to send/receive API

    20 décembre 2018, par Mark Thompson
    vaapi_encode : Convert to send/receive API
    

    This attaches the logic of picking the mode of for the next picture to
    the output, which simplifies some choices by removing the concept of
    the picture for which input is not yet available. At the same time,
    we allow more complex reference structures and track more reference
    metadata (particularly the contents of the DPB) for use in the
    codec-specific code.

    It also adds flags to explicitly track the available features of the
    different codecs. The new structure also allows open-GOP support, so
    that is now available for codecs which can do it.

    • [DH] doc/encoders.texi
    • [DH] libavcodec/vaapi_encode.c
    • [DH] libavcodec/vaapi_encode.h
    • [DH] libavcodec/vaapi_encode_h264.c
    • [DH] libavcodec/vaapi_encode_h265.c
    • [DH] libavcodec/vaapi_encode_mjpeg.c
    • [DH] libavcodec/vaapi_encode_mpeg2.c
    • [DH] libavcodec/vaapi_encode_vp8.c
    • [DH] libavcodec/vaapi_encode_vp9.c
  • Apply filters to video while preview and save it with applied filter and original audio in android

    27 novembre 2019, par FreakInDroid

    I am new to video processing. I want to apply a filter to a video at runtime, and I want to save that video after filter applied.

    Regarding this I’m doing a research. I has gone through many libraries but I’m struggling to achieve my aim.

    Developement environment

    Migw-64 with windows 7 64 bit
    Android Studio 2.1 preview 5
    heap space 4GB
    com.android.tools.build:gradle:2.1.0
    android-ndk-r12-win-x86_64
    com.android.tools.build:gradle-experimental:0.7.0  --> to build NDK

    I have tried

    1. AndroidFastImageprocessingLibrary

      Chrisbatt -> AndroidFastImageProcessing in github

      This library use GLSurfaceview to display filters but we could not save it to mp4 file.

      So I found another implementation of it icmobilelab -> AndroidFastImageProcessing in github

      This library use JavaCV with ffmpeg compiled. But it failed.

    2. JavaCV

      JavaCV use outdated ffmpeg and it is abandoned.

    3. Grafika -> on github

      I tried Android Fast Image Processing with RecordFBOActivity in grafika. But i have failed. This library use MediaRecorder to record the contents of GLSurfaceView. But it records video without audio (I have tested the RecordFBOActivity and analyze the code).

    4. filter packs in platform_frameworks

      github.com/android/platform_frameworks_base/blob/master/media/mca/filterpacks/java/android/filterpacks/videosink/MediaEncoderFilter.java
      its android 4.2 edited core. I can’t run this code because too many jni dependencies.

    5. ffmpeg

      github.com/guardianproject/android-ffmpeg
      I tried ffmpeg3.1 compilation procedure implemented by guardianproject. it successfullay built a static library but i cannot build dynamic library (so files). I’m stuck with a linker error. I think the linking order matters. I tried the linking order specified in below link
      https://fritzone.wordpress.com/2010/05/11/link-with-static-ffmpeg/
      but it won’t help. the following error occurs

      [armeabi-v7a] SharedLibrary  : libffmpeg.so
      jni/ffmpeg.c:200: error: undefined reference to 'av_frame_alloc'
      jni/ffmpeg.c:201: error: undefined reference to 'av_frame_alloc'
      jni/ffmpeg.c:209: error: undefined reference to 'av_register_all'
      jni/ffmpeg.c:210: error: undefined reference to 'avfilter_register_all'
      jni/ffmpeg.c:45: error: undefined reference to 'avformat_open_input'
      jni/ffmpeg.c:50: error: undefined reference to 'avformat_find_stream_info'
      jni/ffmpeg.c:56: error: undefined reference to 'av_find_best_stream'
      jni/ffmpeg.c:63: error: undefined reference to 'av_opt_set_int'
      jni/ffmpeg.c:66: error: undefined reference to 'avcodec_open2'
      jni/ffmpeg.c:67: error: undefined reference to 'av_log'
      jni/ffmpeg.c:78: error: undefined reference to 'avfilter_get_by_name'
      jni/ffmpeg.c:79: error: undefined reference to 'avfilter_get_by_name'
      jni/ffmpeg.c:80: error: undefined reference to 'avfilter_inout_alloc'
      jni/ffmpeg.c:81: error: undefined reference to 'avfilter_inout_alloc'
      jni/ffmpeg.c:85: error: undefined reference to 'avfilter_graph_alloc'
      jni/ffmpeg.c:98: error: undefined reference to 'avfilter_graph_create_filter'
      jni/ffmpeg.c:106: error: undefined reference to 'avfilter_graph_create_filter'
      jni/ffmpeg.c:113: error: undefined reference to 'av_int_list_length_for_size'
      jni/ffmpeg.c:113: error: undefined reference to 'av_opt_set_bin'
      jni/ffmpeg.c:116: error: undefined reference to 'av_log'
      jni/ffmpeg.c:131: error: undefined reference to 'av_strdup'
      jni/ffmpeg.c:142: error: undefined reference to 'av_strdup'
      jni/ffmpeg.c:147: error: undefined reference to 'avfilter_graph_parse_ptr'
      jni/ffmpeg.c:151: error: undefined reference to 'avfilter_graph_config'
      jni/ffmpeg.c:155: error: undefined reference to 'avfilter_inout_free'
      jni/ffmpeg.c:156: error: undefined reference to 'avfilter_inout_free'
      jni/ffmpeg.c:218: error: undefined reference to 'av_read_frame'
      jni/ffmpeg.c:223: error: undefined reference to 'avcodec_decode_video2'
      jni/ffmpeg.c:230: error: undefined reference to 'av_frame_get_best_effort_timestamp'
      jni/ffmpeg.c:233: error: undefined reference to 'av_buffersrc_add_frame_flags'
      jni/ffmpeg.c:234: error: undefined reference to 'av_log'
      jni/ffmpeg.c:240: error: undefined reference to 'av_buffersink_get_frame'
      jni/ffmpeg.c:171: error: undefined reference to 'av_rescale_q'
      jni/ffmpeg.c:246: error: undefined reference to 'av_frame_unref'
      jni/ffmpeg.c:248: error: undefined reference to 'av_frame_unref'
      jni/ffmpeg.c:251: error: undefined reference to 'av_packet_unref'
      jni/ffmpeg.c:254: error: undefined reference to 'avfilter_graph_free'
      jni/ffmpeg.c:255: error: undefined reference to 'avcodec_close'
      jni/ffmpeg.c:256: error: undefined reference to 'avformat_close_input'
      jni/ffmpeg.c:257: error: undefined reference to 'av_frame_free'
      jni/ffmpeg.c:258: error: undefined reference to 'av_frame_free'
      jni/include/libavutil/error.h:111: error: undefined reference to 'av_strerror'
      collect2.exe: error: ld returned 1 exit status
      make: *** [obj/local/armeabi/libffmpeg.so] Error 1
    6. MediaCodec, MediaExtractor,MediaRecord,MediaMuxer

      Finally I planned to combine AndroidFastImageProcessing with MediaCodec, MediaExtractor,MediaRecord,MediaMuxer.

      So I try to Extract audio from video using mediamuxer
      https://gist.github.com/sayan801/9a39ccad0818d2b3499a.
      I use mp4 video (MIME Type video/avc that have 2 tracks audio and video) to extract audio but the resultant file is corrupted (just 4 kb)

    I think this question is another view of the existing problem if anybody experienced this problem please guide me.