Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (103)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (5965)

  • ffmpeg adding play image to thumbnail output

    26 août 2014, par StealthRT

    Hey all I am currently able to get a thumbnail capture from my MP4 video by doing the following command line :

          [Sets Per-file main options time_off start time offset]
          || [The # of start time offsets]
          || || [Sets input video file option]
          || || ||   [Video file name here]
          || || ||   ||         [Sets video option to # of video frames to record]        
          || || ||   ||         ||     [Asking for the first frame]
          || || ||   ||         ||     ||  [Name of the captured video frame]
          || || ||   ||         ||     ||  ||
          \/ \/ \/   \/         \/     \/  \/
    ffmpeg -ss 0 -i vidfile.mp4 -vframes 1 frame.png

    Now as I said above, this command works just fine in producing a thumbnail of the first frame of my MP3 video. However, I am needing to place an overlay image of a "play" button on top of that newly created frame image.

    Is there another command that i can tell it to overlay another image on top of frame.png ?

    The image I would like to overlay on top of the frame looks like this (a transparent PNG) :

    enter image description here

    Any help would be great ! Thanks !

  • ffmpeg output doesn't play on multiple devices

    22 janvier 2019, par jchaykow

    I have read the other stackoverflow posts regarding this topic so I am fairly certain this is not exact duplicate.

    ffmpeg exports a video that seems to only play on select players. I want to export a video that plays on iphone/mac/general players. I have seen the suggestions for the -pix_fmt yuv420p tag but this does not seem to work anymore - I read that Mac has since changed their systems that makes it not compatible anymore.

    I am running :

    ffmpeg -start_number 1 -framerate 4 -pix_fmt yuv420p -i screen%01d.png output.mp4

    This all works fine and I can see the video by doing :

    ffplay output.mp4

    But I would like to be able to transfer this to mobile or general playback, any way to do this, ideally using ffmpeg ? I’d rather not use two tools to do 1 job.


    • Works on gmail
    • Doesn’t work on QuickTime Player
    • Doesn’t work on Flip Player
    • Doesn’t work on iPhone
  • PHP file that outputs a video does not play

    2 septembre 2014, par Rob Avery IV

    So, I created a php file that has the following code (abridged version) :

    <?php

    //Full version of file does a lot of database stuff

    //Get $path of file

    header('Content-type: video/mp4');
    header('Content-Length: '.filesize($path)); // provide file size

    $contents = file_get_contents($path);
    echo $contents;

    I use this php to obtain the video content, so I don’t have to hardcode the video path into the HTML and so I can keep the videos outside public_html. I have tested this before, and it works with other video files.

    Here is a timeline of where this file has been and what I’m trying to do :

    1. File is uploaded
    2. File is converted to mp4 using ffmpeg-php
    3. Stream it (similar to youtube) using the php code above

    The file uploads and converts fine (I tested this by downloading the video file locally after it has been converted and I was able to play the video). I use the following ffmpeg command to convert ALL videos to mp4 :

    "ffmpeg -i '".$srcFile."' -vcodec h264 -acodec aac -strict -2 -f mp4 '".$destFile."'";

    My only problems is with step 3. When I use the above php file to output the video, it doesn’t work sometimes (Right now, it only works with a few videos). Every file I’m outputting is converted the same way with the above ffmpeg command.

    How do I make it so I am able to convert all (or at least most) video files to be able to stream them ?