Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (85)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (5490)

  • FFMPEG : how to wrap h264 stream into FLV container ?

    6 juillet 2017, par jiandingzhe

    What I want is straightforward : wrap H.264 video stream into a FLV container. However, ffmpeg just decode the input stream and pack raw video stream into FLV. The details are described below :

    The input stream is captured from a hardware-encoder video camera, and the FLV will be sent to some video server. Firstly I used following command :

    $ ffmpeg -framerate 15 -s 320x240 -i /dev/video1 -f flv "rtmp://some.website.com/receive/path"

    However, the resultant stream is suspicious. The watching side don’t get any H.264 thing. Then I made a test by writing output to local files.

    1 : Read raw stream, encode by h264_omx, write to FLV file :

    $ ffmpeg -framerate 15 -s 320x240 -i /dev/video0 -codec h264_omx -f flv raw_input_h264_omx.flv

    ......
    Input #0, video4linux2,v4l2, from '/dev/video0':
     Duration: N/A, start: 194017.870905, bitrate: 18432 kb/s
       Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 320x240, 18432 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_omx))
    ......

    2 : Read H264 stream, write to FLV file :

    $ ffmpeg -framerate 15 -s 320x240 -i /dev/video1  -f flv h264_input.flv

    ......
    Input #0, video4linux2,v4l2, from '/dev/video1':
     Duration: N/A, start: 194610.307096, bitrate: N/A
       Stream #0:0: Video: h264 (Main), yuv420p(progressive), 320x240, 15 fps, 15 tbr, 1000k tbn, 2000k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> flv1 (flv))
    ......

    Then read the two files correspondingly :

    $ ffmpeg -i raw_input_h264_omx.flv
    ......
       Stream #0:0: Video: h264 (High), yuv420p(progressive), 320x240, 200 kb/s, 15 fps, 15 tbr, 1k tbn

    $ ffmpeg -i h264_input.flv
    ......
       Stream #0:0: Video: flv1, yuv420p, 320x240, 200 kb/s, 15 fps, 15 tbr, 1k tbn

    It is clear when I give a H.264 stream, ffmpeg firstly decodes it, then pack the raw video into FLV. How to avoid that happen, and have the H.264 stream packed directly ?

    Supplement : I will eventually pushing multiple video streams, so don’t ask me to allow ffmpeg’s silent decoding, and encode the stream again.

  • Anomalie #3523 : Gestion des plugins avec spip 3.0.20

    5 août 2015, par Gilles VINCENT

    en ajoutant la directive

    opcache.validate_timestamps=0

    à ma config php, comme conseillé dans http://wiki.mikejung.biz/PHP_OPcache pour un serveur en production, la page de gestion des plugins refonctionne à nouveau correctement. De plus, la valeur

    opcache.revalidate_freq=60

    (valeur par défaut fournie lors de l’install) est vraiment longue.
    Si je commente cette ligne dans le fichier de config, le phpinfo() indique une valeur plus raisonnable de 2 seulement.
    Je pense que le chargement méga long venait de cette constante.

    La différence de comportement avec la config "pour développement" entre une 3.0.19 et une 3.0.20 reste encore surprenante.
    Si j’ai le temps, je creuserai dans une semaine à mon retour de vacance, car tout le monde ne peut as jouer avec ces paramètres du serveur... :/

  • run ffmpeg commands from my own project

    28 octobre 2013, par bruno

    I'm starting a project where I want ppl to upload videos of a talk and a the video of slides for that talk and want to merge them (to play at the same time) and then show results.

    My question is :
    Is it possible to do that from code ? if it is, can you point me to the right doc ?
    I was able to do it running command line, but as I want this to run on a server with different ppl uploading their videos I think this would not be the best approach.
    I have a preference for Java if it's possible to do it, but I can manage to use other languages what do you guys suggest ?

    The idea would be to have a service where I can point the urls of the videos stored in my server and it would merge them and save file where I can later stream. With different ppl uploading videos at the same time and being able to watch the result in a reasonable amount of time.

    I used this tutorial to test :
    https://trac.ffmpeg.org/wiki/Create%20a%20mosaic%20out%20of%20several%20input%20videos

    Thanks for your time