Recherche avancée

Médias (91)

Autres articles (106)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (10017)

  • ffmpeg produces mp4 I cannot load on latest Safari on iOS

    28 mars 2016, par Michael Heuberger

    When I encode a video with these ffmpeg parameters (based on images), I cannot play that mp4 it produces on latest Safari (inside a tag) inside my iPhone 6s using the latest iOS too :

    ffmpeg
    -r 15.279071668502123
    -f image2 -thread_queue_size 64
    -i /home/michael-heuberger/abcd/frames/%d.webp
    -y
    -an
    -vcodec libx264
    -vf scale=trunc(iw/2)*2:trunc(ih/2)*2
    -crf 16
    -preset fast
    -profile:v baseline
    -pix_fmt yuv420p
    -loglevel warning
    -movflags faststart
    /home/michael-heuberger/abcd/videomail_good.mp4

    I think the above parameters should be solid. I am adding baseline and yuv420p, yet no luck on Safari 9. Why ?

    This makes it difficult for me to play videomails recorded on www.videomail.io on iOS devices.

    Am I missing something here ? Already did lots of research and tried various combinations, no luck.

    If you want to reproduce that, easy : just record a video on www.videomail.io and after that, copy the link of the recorded video page to your iPhone or just download it for local investigation.

    Any clues very welcome !

  • Cannot use FFmpeg in Xcode iOS Project (file .h not found)

    19 mars 2016, par BlackBox

    I followed almost step by step this guide.

    Almost because I downloaded, as a user suggested, ffmpeg ios library already built from here

    I followed from "Linking static libraries in Xcode" but I cannot import anyway the header files of ffmpeg. (So I got the .a files)

    For example

    #include "avformat.h"
    // or
    #import "libavformat/avformat.h"
    // or
    #import <libavformat></libavformat>avformat.h>

    Everything that I use does not work.

    I specify that those .a files are currently in my project directory, indeed, if I import the .a file, it doesn’t complain that it isn’t found, but when compiling, it complains about UTF-8 stuff because .a files are object libraries and cannot be imported that way.

    I put also the Header Search Paths for the project as it was suggested and the config.log file but nothing.

    Also I see libraries are missing from every project example of FFmpeg I was able to find on GitHub.

    Any ideas ?

  • Using ffmpeg to display a static image if an RTMP input source is missing

    19 mars 2016, par iameli

    Here is what I would like ffmpeg to output :

    • If I am streaming from my iPhone to my RTMP server, ffmpeg should output the live video from my iPhone.
    • If not, ffmpeg should output a blank red screen.

    Here’s what I have so far. It sort of works.

    ffmpeg \
     -f lavfi \
     -re \
     -i 'color=s=320x240:r=30:c=red' \
     -thread_queue_size 512 \
     -i 'rtmp://localhost/stream/iphone' \
     -c:v libx264 \
     -f flv \
     -filter_complex "\
       [1:v]scale=320:240[stream]; \
       [0:v][stream]overlay=0:0:eof_action=pass[output] \
     "\
     -map '[output]' \
     -tune zerolatency \
     'rtmp://localhost/stream/output'

    What happens : it boots up and starts streaming my iPhone’s output no problem. When I disconnect, it hangs for a long time, perhaps 20 seconds. Then it starts outputting red, okay. But then if I reconnect my phone, it doesn’t resume. It’s still red. Two questions :

    • Is there a way to configure the buffering so that it starts outputting red as soon as it stops getting data from the RTMP stream ?
    • Is there a way to have it auto-retry, so after the RTMP stream returns, it will switch back ?

    Full verbose output, if that’s helpful. I’m using the latest git version of ffmpeg as of 2016-03-18 on Ubuntu Wily. The RTMP server is nginx-rtmp.