Recherche avancée

Médias (91)

Autres articles (92)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (13903)

  • ffmpeg screen recording with camera overlay on OSX

    8 novembre 2015, par lockdoc

    I would like to use ffmpeg to record my desktop as well as my camera as an overlay on top of the desktop.

    So basically I will have two input sources that need to be recorded

    $ ffmpeg -f avfoundation -list_devices true -i ''
    [AVFoundation input device @ 0x7fded1c223e0] AVFoundation video devices:
    [AVFoundation input device @ 0x7fded1c223e0] [0] FaceTime HD Camera
    [AVFoundation input device @ 0x7fded1c223e0] [1] Capture screen 0
    [AVFoundation input device @ 0x7fded1c223e0] AVFoundation audio devices:
    [AVFoundation input device @ 0x7fded1c223e0] [0] Built-in Microphone

    From the above, I need [0] FaceTime HD Camera as an overlay and [1] Capture screen 0 as the main video.

    Is this even possible ?

    UPDATE (2015-10-06) :

    I found the following command from ffscreencast :

    ffmpeg \
    -f avfoundation -i "1" \
    -f avfoundation -r 30 -video_size 640x480 -i "0" \
    -c:v libx264 -crf 0 -preset ultrafast \
    -filter_complex 'overlay=main_w-overlay_w-10:main_h-overlay_h-10' "out.mkv"

    Unfortunately the output has a pretty slow framerate (i7 Macbook Pro 2014)

    Output #0, matroska, to 'out.mkv':
     Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 3840x2400, q=-1--1, 1000k fps, 1k tbn, 1000k tbc (default)
    Metadata:
     encoder         : Lavc56.60.100 libx264
    Stream mapping:
     Stream #0:0 (rawvideo) -> overlay:main
     Stream #1:0 (rawvideo) -> overlay:overlay
     overlay -> Stream #0:0 (libx264)

    frame=  756 fps=9.1 q=-1.0 Lsize=  193660kB time=00:01:21.86 bitrate=19378.5kbits/s
    Press [q] to stop, [?] for help

    Anyone an idea of how to get a higher framerate ?
    My camera is only able to record at 30 frames per second, but the output seems to only have around 9 frames. Why the difference ?

  • unable to find a suitable output format for 'ffmpeg'

    23 septembre 2015, par KDeogharkar

    I am using ffmpeg library for android.

    I am passing one ffmpeg command for convert video format from .mp4 to .avi

    ffmpeg -r 20 -i /storage/emulated/0/WisperMedia/WisperVideos/sample.mp4 -b:v 20M /storage/emulated/0/WisperMedia/WisperVideos/output.avi

    But I am getting error like

       09-23 09:29:41.525: E/Home(31343): FAILED with output : ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
    09-23 09:29:41.525: E/Home(31343):   built on Oct  7 2014 15:08:46 with gcc 4.8 (GCC)
    09-23 09:29:41.525: E/Home(31343):   configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/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=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    09-23 09:29:41.525: E/Home(31343):   libavutil      54.  7.100 / 54.  7.100
    09-23 09:29:41.525: E/Home(31343):   libavcodec     56.  1.100 / 56.  1.100
    09-23 09:29:41.525: E/Home(31343):   libavformat    56.  4.101 / 56.  4.101
    09-23 09:29:41.525: E/Home(31343):   libavdevice    56.  0.100 / 56.  0.100
    09-23 09:29:41.525: E/Home(31343):   libavfilter     5.  1.100 /  5.  1.100
    09-23 09:29:41.525: E/Home(31343):   libswscale      3.  0.100 /  3.  0.100
    09-23 09:29:41.525: E/Home(31343):   libswresample   1.  1.100 /  1.  1.100
    09-23 09:29:41.525: E/Home(31343):   libpostproc    53.  0.100 / 53.  0.100
    09-23 09:29:41.525: E/Home(31343): Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/WisperMedia/WisperVideos/sample.mp4':
    09-23 09:29:41.525: E/Home(31343):   Metadata:
    09-23 09:29:41.525: E/Home(31343):     major_brand     : isom
    09-23 09:29:41.525: E/Home(31343):     minor_version   : 0
    09-23 09:29:41.525: E/Home(31343):     compatible_brands: isom3gp4
    09-23 09:29:41.525: E/Home(31343):     creation_time   : 2015-09-23 03:50:16
    09-23 09:29:41.525: E/Home(31343):   Duration: 00:00:01.56, start: 0.000000, bitrate: 14737 kb/s
    09-23 09:29:41.525: E/Home(31343):     Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 11819 kb/s, SAR 65536:65536 DAR 16:9, 29.79 fps, 29.92 tbr, 90k tbn, 180k tbc (default)
    09-23 09:29:41.525: E/Home(31343):     Metadata:
    09-23 09:29:41.525: E/Home(31343):       rotate          : 90
    09-23 09:29:41.525: E/Home(31343):       creation_time   : 2015-09-23 03:50:16
    09-23 09:29:41.525: E/Home(31343):       handler_name    : VideoHandle
    09-23 09:29:41.525: E/Home(31343):     Side data:
    09-23 09:29:41.525: E/Home(31343):       displaymatrix: rotation of -90.00 degrees
    09-23 09:29:41.525: E/Home(31343):     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 128 kb/s (default)
    09-23 09:29:41.525: E/Home(31343):     Metadata:
    09-23 09:29:41.525: E/Home(31343):       creation_time   : 2015-09-23 03:50:16
    09-23 09:29:41.525: E/Home(31343):       handler_name    : SoundHandle
    09-23 09:29:41.525: E/Home(31343): [NULL @ 0x41f7f420] Unable to find a suitable output format for 'ffmpeg'
    09-23 09:29:41.525: E/Home(31343): ffmpeg: Invalid argument
  • Evolution #3195 : Séléction de langue automatique

    28 septembre 2015, par Valéry -

    Il faut créer un ticket pour une fonction copie d’article alors : )

    Il existe un plugin de suivi de versions qui permet de se passer de ce
    détournement (enfin si tu l’utilise pour ca).

    Le lun. 28 sept. 2015 18:58, <> a écrit :

    La demande #3195 a été mise à jour par realet RealET.

    Une remarque : il m’arrive d’utiliser le bouton de création d’une
    traduction pour dupliquer un article dans la même langue.

    Oui, je sais, c’est un détournement d’usage. Mais c’est vachement pratique
     !
    ------------------------------
    Evolution #3195 : Séléction de langue automatique
    <https://core.spip.net/issues/3195#change-11043>

    - Auteur : Debondt Didier
    - Statut : Nouveau
    - Priorité : Normal
    - Assigné à :
    - Catégorie : ergonomie
    - Version cible : 3.2
    - Resolution :

    Hello,

    Petite proposition d’ergonomie :

    Quand il n’y a que 2 langues activées dans SPIP et que l’on créer une
    nouvelle traduction, séléctionner automatiquement la langue seconde langue.

    On peu gagner 3/4 click avec ça.
    Fichiers plein-de-langues.png
    <https://core.spip.net/attachments/download/759/plein-de-langues.png>
    (8,459 ko)
    2-langues.png
    <https://core.spip.net/attachments/download/760/2-langues.png> (8,263 ko)
    ------------------------------

    Vous recevez ce mail car vous êtes impliqués sur ce projet.
    Pour changer les préférences d’envoi de mail, allez sur
    http://core.spip.org/my/account