Recherche avancée

Médias (91)

Autres articles (83)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (3641)

  • Ffmpeg gets aborted in an Electron sandboxed application

    6 décembre 2017, par YoannM

    I have an Electron app, published on the Mac AppStore, and sandboxed.

    I’m trying to add a new feature that will encode/decode videos on the fly so I can stream more video formats in an Electron context.

    I’m using fluent-ffmpeg and a static exec of ffmpeg.

    Everything works awesomely, I’ve uploaded the sandboxed app to Apple, and got rejected because ffmpeg is using by default a secure transport protocol which is using non-public API, this is what they’ve sent me with the rejection :

    Your app uses or references the following non-public API(s) :

    ’/System/Library/Frameworks/Security.framework/Versions/A/Security’

     : SecIdentityCreate

    Alright, after much investigation, it appears that I have to compile ffmpeg myself with a --disable-securetransport flag. Easy enough, I do it using the same config as the static build I’ve downloaded simply adding the new flag.

    I manage to install every dependencies needed, except libxavs, no big deal I guess and simply remove its flag from the configure command :

    ./configure \
    --cc=/usr/bin/clang \
    --prefix=/opt/ffmpeg \
    --extra-version=tessus \
    --enable-avisynth \
    --enable-fontconfig \
    --enable-gpl \
    --enable-libass \
    --enable-libbluray \
    --enable-libfreetype \
    --enable-libgsm \
    --enable-libmodplug \
    --enable-libmp3lame \
    --enable-libopencore-amrnb \
    --enable-libopencore-amrwb \
    --enable-libopus \
    --enable-libsnappy \
    --enable-libsoxr \
    --enable-libspeex \
    --enable-libtheora \
    --enable-libvidstab \
    --enable-libvo-amrwbenc \
    --enable-libvorbis \
    --enable-libvpx \
    --enable-libwavpack \
    --enable-libx264 \
    --enable-libx265 \
    --enable-libxvid \
    --enable-libzmq \
    --enable-libzvbi \
    --enable-version3 \
    --pkg-config-flags=--static \
    --disable-securetransport \
    --disable-ffplay

    With the new ffmpeg exec, everything still works as expected. But once I’m packaging, signing and sandboxing the app, ffmpeg stops working as soon as I try to launch it throwing this error :

    An error occurred ffmpeg was killed with signal SIGABRT Error: ffmpeg was killed with signal SIGABRT
       at ChildProcess.eval (webpack:///../node_modules/fluent-ffmpeg/lib/processor.js?:180:22)
       at emitTwo (events.js:125:13)
       at ChildProcess.emit (events.js:213:7)
       at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

    I’ve tried to remove the --disable-securetransport flag, see if it could have messed with something, same result.

    I’ve tried to compile on a Linux machine, just to see if it could help, same thing.

    As soon as I’m using my custom compiled exec it doesn’t work in the sandbox, but when using the static one, everything is ok (after I xattr it, because it’s quarantined and blocked in sandbox).

    The only thing I’ve noticed that seems odd is that my custom compilation is only 20mo or so, when the static install I’ve downloaded is 43mo.

    I’m really stuck with this.

  • Create multiframe DICOM from mp4

    6 octobre 2020, par Sergio Roldán

    I was trying to follow this tutorial that uses DCM4CHE software to create DICOM from JSON objects :

    


    https://wingumd.atlassian.net/wiki/spaces/WDCW/pages/368246791/How+To+Create+MultiFrame+DICOM+Object+from+an+MP4+Video

    


    However, I got into an issue related to step 3 :enter image description here

    


    I just followed the tutorial and used the same video. Could it be related with using new DCM4CHE version ?

    


  • FFmpeg with multiple output streams

    22 novembre 2018, par William Blake

    I am using ffmpeg to combine an rtsp stream with an audio stream from a usb mic. I would like to stream the combined audio and and video to an RTMP stream and just the audio to an icecast stream simultaneously. I have them working separately but am having difficulty finding the magic combination using the -f tee parameter. It seems like that would be the best way. This was the reference I was trying to use : https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs

    Here are the separate commands :

    ffmpeg -rtsp_transport tcp -use_wallclock_as_timestamps 1 -thread_queue_size 1024  \
    -i "rtsp://RTSP-SERVER-ADDRESS" \
    -f alsa -thread_queue_size 1024 -ac 1 -itsoffset 00:00:01.2 -i hw:1,0 \
    -vcodec copy -acodec mp3 -ar 44100 -ab 32k -map 0:v -map 1:a -bufsize 12000k \
    -f flv 'RTMP-SERVER-ADDRESS'

    ffmpeg -ac 1 -f alsa -i hw:1,0 -acodec mp3 -ab 32k -ac 1 -content_type audio/mpeg -f mp3 icecast://ICECAST-ADDRESS

    However my attempts to combine them have been futile. Any thoughts ?