Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (75)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (10562)

  • Concat filter : Error initializing output stream

    18 juin 2020, par Ittai Barkai

    This is a follow-up question to : Flutter (Dart) : Merge two videos and view the new output in the device’s gallery (photos)

    



    In essence, I am trying to record two videos, merge them and then view the new video in the gallery. I am currently having some issues with the flutter_ffmpeg package.

    



    I uploaded the my Flutter project onto GitHub here :

    



    https://github.com/IttaiBarkai/Flutter-Video-Merger

    



    Below is a snippet of my code used to execute ffmpeg :

    



    void _videoMerger() async {

    final appDir = await syspaths.getApplicationDocumentsDirectory();
    String rawDocumentPath = appDir.path;
    final outputPath = '$rawDocumentPath/output.mp4';

    final FlutterFFmpeg _flutterFFmpeg = new FlutterFFmpeg();

        String commandToExecute = '-y -i ${_storedVideoOne.path} -i ${_storedVideoTwo.path} -filter_complex \'[0:0][1:0]concat=n=2:v=1:a=0[out]\' -map \'[out]\' $outputPath';
        _flutterFFmpeg.execute(commandToExecute).then((rc) => print("FFmpeg process exited with rc $rc"));

  }


    



    and this is the output displayed on my debug console when ffmpeg gets executed :

    



    D/flutter-ffmpeg(29135): Running FFmpeg with arguments: [-y, -i, /storage/emulated/0/Android/data/com.example.video_merger_two/files/Pictures/1e8947f4-c9c2-4020-b78d-c40fb77ce0d16301015681843175998.mp4, -i, /storage/emulated/0/Android/data/com.example.video_merger_two/files/Pictures/3555b190-a9a6-450d-b6a7-7d1b8fc89ad38627500242651150494.mp4, -filter_complex, [0:0][1:0]concat=n=2:v=1:a=0[out], -map, [out], /data/user/0/com.example.video_merger_two/app_flutter/output.mp4].
    I/mobile-ffmpeg(29135): Loading mobile-ffmpeg.
    I/mobile-ffmpeg(29135): Loaded mobile-ffmpeg-https-x86-4.3.1-20200125.
    D/mobile-ffmpeg(29135): Callback thread started.
    I/mobile-ffmpeg(29135): ffmpeg version git-2020-01-25-fd11dd500
    I/mobile-ffmpeg(29135):  Copyright (c) 2000-2020 the FFmpeg developers
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):   built with Android (5220042 based on r346389c) clang version 8.0.7 (https://android.googlesource.com/toolchain/clang b55f2d4ebfd35bf643d27dbca1bb228957008617) (https://android.googlesource.com/toolchain/llvm 3c393fe7a7e13b0fba4ac75a01aa683d7a5b11cd) (based on LLVM 8.0.7svn)
    I/mobile-ffmpeg(29135):   configuration: --cross-prefix=i686-linux-android- --sysroot=/files/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/home/taner/Projects/mobile-ffmpeg/prebuilt/android-x86/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=i686 --cpu=i686 --cc=i686-linux-android24-clang --cxx=i686-linux-android24-clang++ --target-os=android --disable-neon --disable-asm --disable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --enable-shared --disable-v4l2-m2m --disable-outdev=v4l2 --disable-outdev=fbdev --disable-indev=v4l2 --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --di
    I/mobile-ffmpeg(29135):   libavutil      56. 38.100 / 56. 38.100
    I/mobile-ffmpeg(29135):   libavcodec     58. 65.102 / 58. 65.102
    I/mobile-ffmpeg(29135):   libavformat    58. 35.101 / 58. 35.101
    I/mobile-ffmpeg(29135):   libavdevice    58.  9.103 / 58.  9.103
    I/mobile-ffmpeg(29135):   libavfilter     7. 70.101 /  7. 70.101
    I/mobile-ffmpeg(29135):   libswscale      5.  6.100 /  5.  6.100
    I/mobile-ffmpeg(29135):   libswresample   3.  6.100 /  3.  6.100
    I/mobile-ffmpeg(29135): Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Android/data/com.example.video_merger_two/files/Pictures/1e8947f4-c9c2-4020-b78d-c40fb77ce0d16301015681843175998.mp4':
    I/mobile-ffmpeg(29135):   Metadata:
    I/mobile-ffmpeg(29135):     major_brand     :
    I/mobile-ffmpeg(29135): mp42
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     minor_version   :
    I/mobile-ffmpeg(29135): 0
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     compatible_brands:
    I/mobile-ffmpeg(29135): isommp42
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     creation_time   :
    I/mobile-ffmpeg(29135): 2020-06-17T18:26:00.000000Z
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     com.android.version:
    I/mobile-ffmpeg(29135): 10
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):   Duration:
    I/mobile-ffmpeg(29135): 27:34:19.38
    I/mobile-ffmpeg(29135): , start:
    I/mobile-ffmpeg(29135): 0.000000
    I/mobile-ffmpeg(29135): , bitrate:
    I/mobile-ffmpeg(29135): 0 kb/s
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     Stream #0:0
    I/mobile-ffmpeg(29135): (eng)
    I/mobile-ffmpeg(29135): : Video: h264 (avc1 / 0x31637661), yuv420p(tv, GBR), 1280x720, 3554 kb/s
    I/mobile-ffmpeg(29135): , SAR 1:1 DAR 16:9
    I/mobile-ffmpeg(29135): ,
    I/mobile-ffmpeg(29135): 29.01 fps,
    I/mobile-ffmpeg(29135): 29 tbr,
    I/mobile-ffmpeg(29135): 90k tbn,
    I/mobile-ffmpeg(29135): 180k tbc    
    I/mobile-ffmpeg(29135):  (default)
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     Metadata:
    I/mobile-ffmpeg(29135):       rotate          :
    I/mobile-ffmpeg(29135): 90
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):       creation_time   :
    I/mobile-ffmpeg(29135): 2020-06-17T18:26:00.000000Z
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):       handler_name    :
    I/mobile-ffmpeg(29135): VideoHandle
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     Side data:
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135): displaymatrix: rotation of -90.00 degrees
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     Stream #0:1
    I/mobile-ffmpeg(29135): (eng)
    I/mobile-ffmpeg(29135): : Audio: amr_nb (samr / 0x726D6173), 8000 Hz, mono, flt, 12 kb/s
    I/mobile-ffmpeg(29135):  (default)
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     Metadata:
    I/mobile-ffmpeg(29135):       creation_time   :
    I/mobile-ffmpeg(29135): 2020-06-17T18:26:00.000000Z
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):       handler_name    :
    I/mobile-ffmpeg(29135): SoundHandle
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135): Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Android/data/com.example.video_merger_two/files/Pictures/3555b190-a9a6-450d-b6a7-7d1b8fc89ad38627500242651150494.mp4':
    I/mobile-ffmpeg(29135):   Metadata:
    I/mobile-ffmpeg(29135):     major_brand     :
    I/mobile-ffmpeg(29135): mp42
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     minor_version   :
    I/mobile-ffmpeg(29135): 0
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     compatible_brands:
    I/mobile-ffmpeg(29135): isommp42
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     creation_time   :
    I/mobile-ffmpeg(29135): 2020-06-17T18:26:09.000000Z
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     com.android.version:
    I/mobile-ffmpeg(29135): 10
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):   Duration:
    I/mobile-ffmpeg(29135): 27:34:19.62
    I/mobile-ffmpeg(29135): , start:
    I/mobile-ffmpeg(29135): 0.000000
    I/mobile-ffmpeg(29135): , bitrate:
    I/mobile-ffmpeg(29135): 0 kb/s
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     Stream #1:0
    I/mobile-ffmpeg(29135): (eng)
    I/mobile-ffmpeg(29135): : Video: h264 (avc1 / 0x31637661), yuv420p(tv, GBR), 1280x720, 3765 kb/s
    I/mobile-ffmpeg(29135): , SAR 1:1 DAR 16:9
    I/mobile-ffmpeg(29135): ,
    I/mobile-ffmpeg(29135): 28.80 fps,
    I/mobile-ffmpeg(29135): 29.08 tbr,
    I/mobile-ffmpeg(29135): 90k tbn,
    I/mobile-ffmpeg(29135): 180k tbc
    I/mobile-ffmpeg(29135):  (default)
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     Metadata:
    I/mobile-ffmpeg(29135):       rotate          :
    I/mobile-ffmpeg(29135): 90
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):       creation_time   :
    I/mobile-ffmpeg(29135): 2020-06-17T18:26:09.000000Z
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):       handler_name    :
    I/mobile-ffmpeg(29135): VideoHandle
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     Side data:
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135): displaymatrix: rotation of -90.00 degrees
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     Stream #1:1
    I/mobile-ffmpeg(29135): (eng)
    I/mobile-ffmpeg(29135): : Audio: amr_nb (samr / 0x726D6173), 8000 Hz, mono, flt, 12 kb/s
    I/mobile-ffmpeg(29135):  (default)
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):     Metadata:
    I/mobile-ffmpeg(29135):       creation_time   :
    I/mobile-ffmpeg(29135): 2020-06-17T18:26:09.000000Z
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):       handler_name    :
    I/mobile-ffmpeg(29135): SoundHandle
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135): Stream mapping:
    I/mobile-ffmpeg(29135):   Stream #0:0 (h264) -> concat:in0:v0
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):   Stream #1:0 (h264) -> concat:in1:v0
    I/mobile-ffmpeg(29135):
    I/mobile-ffmpeg(29135):   concat
    I/mobile-ffmpeg(29135):  -> Stream #0:0 (mpeg4)
    I/mobile-ffmpeg(29135): Press [q] to stop, [?] for help
    W/mobile-ffmpeg(29135): [graph 0 input from stream 0:0 @ 0xed087710] sws_param option is deprecated and ignored
    W/mobile-ffmpeg(29135): [graph 0 input from stream 1:0 @ 0xed086830] sws_param option is deprecated and ignored
    W/mobile-ffmpeg(29135): [mp4 @ 0xeccd8790] Frame rate very high for a muxer not efficiently supporting it.
    W/mobile-ffmpeg(29135): Please consider specifying a lower framerate, a different muxer or -vsync 2
    E/mobile-ffmpeg(29135): [mpeg4 @ 0xe68049d0] timebase 1/1000000 not supported by MPEG 4 standard, the maximum admitted value for the timebase denominator is 65535
    E/mobile-ffmpeg(29135): Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    I/mobile-ffmpeg(29135): Conversion failed!
    D/flutter-ffmpeg(29135): FFmpeg exited with rc: 1
    I/flutter (29135): FFmpeg process exited with rc 1


    


  • How can I detect ffmpeg vs libav in CMake ?

    19 décembre 2015, par Scott Lamb

    My project uses libavformat to connect to rtsp:// URLs. It’s important that it set a socket timeout and reconnect on error. Unfortunately, the stimeout open option for this only exists in ffmpeg (and in particular, its libavformat versions >= 55.1.100), not the competing project libav (any version). And some systems I’d like to support (such as Raspbian Jessie) are still bundled with libav.

    So, I think my best option is to detect whether I have a suitable version using cmake, and install ffmpeg in-tree if not. I think I should be able to do this via something like :

    pkg_check_modules(FFMPEG libavutil libavcodec libavformat)

    if(not FFMPEG_FOUND or FFMPEG_VERSION VERSION_LESS 55.1.101)
     ExternalProject_Add(
       FfmpegProject
       URL "http://ffmpeg.org/releases/ffmpeg-2.8.3.tar.xz"
       URL_HASH "SHA1=a6f39efe1bea9a9b271c903d3c1dcb940a510c87"
       INSTALL_COMMAND "")
     ...set up flags and such to use this in-tree version...
    endif()

    except that I don’t know how to detect libav vs ffmpeg. I don’t see anything in the pkgconfig stuff or libavformat/version.h to distinguish them. The version numbers they use seem to overlap. It’s not obvious to me at all how to tell the difference programmatically, much less do so with a not-weird cmake rule. Any ideas ?

  • Analytics for the Internet of Things : collecting all your things’ data with Piwik to stay in control ?

    25 novembre 2015, par Matthieu Aubry — About

    At Piwik and Piwik PRO, our mission is to create the leading free and open source analytics platform, and supporting global organisations and communities to keep full control over their data.

    Our broad mission started 8 years ago and we focused at first helping people to liberate their website analytics data, then liberate their mobile app analytics data. But it is clear that there is much more than Web + Mobile : data is everywhere and a lot more data is being generated by software, people and their activities, robots, sensors…

    I’d like to share an interesting article which highlights one of the growing trends of technology : the rise of the Internet Of Things : 6 Ways Analytics And The Internet Of Things Will Transform Business.

    Here is an extract :

    The tech industry is no stranger to change, but the data derived from the IoT is taking disruption to a new level.

    At IBM’s Insight conference last month, Bob Picciano, senior vice president of IBM Analytics, talked about the rise of the “cognitive business”, or an enterprise that engages with analytics to improve its customer relations, business processes, and decision-making capabilities.

    There are dueling predictions over how ubiquitous the Internet of Things will be, but most indicate that the marketplace will host between 50 and 75 billion connected objects by 2020, signaling novel challenges for hardware manufacturing and development. Software engineers, likewise, may need to completely revamp programs to better exploit the influx of data, while innovators need to wrestle with the changes wrought by analytics.

    IBM’s Insight event unfolded in light of this wave of disruption. The lineup of corporate presenters converged on the same message : Analytics is for everyone, and your viability in the marketplace depends on it.

    […]

    IBM’s Insight 2015 conference sounded off on the most important trends in data usage and management. It also served a wake-up call for developers, engineers, and tech leaders. As the Internet of Things alters the landscape of analytics, hardware design needs to change, software development requires novel approaches, and tech management must become more agile in order to realize data’s greatest benefits.

    So far there are 1 million websites using Piwik… but what if there could be 10 or 50 million things (sensors, devices) being measured by Piwik ?

    Together we will be creating the best open source and generic analytics platform, that is engineered to last, and designed to help humanity keep control and gain Freedom.

    We aim for Piwik to be the ideal platform to measure the Internet Of Things.

    We’re still at the beginning of this journey and it will take the best of all of us to get there.

    See you on the way !

    PS : if you’d like to get involved with Piwik, we would be glad to welcome you !