Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (3)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • 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

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (1865)

  • Best way to get poster photo from mp4 upload - orientation issues

    14 février 2018, par wuzz

    The issue I am encountering is Orientation rotating via ffmpeg after I capture a frame for the poster photo, its one from a number of different orientations. The video of course looks fine, but the poster photo is all over the place depending on the device and which camera it is using. My code is as follows, this is what I have tried so far..

    $command_to_execute = "ffmpeg -vframes 1 -ss 1/2 -i " . $video_path . " " . $video_image_dir . $video_name . ".jpg -y";

    So obviously there isn’t a lot to that code, but everything else I have tried fails regardless, especially considering there is no exif data in that output jpg file from ffmpeg. Most likely have to get the orientation from the video before that, but I’m having issues on what I’ve tried there so far, like ffprob

    Thanks

  • Create poster with overlay and scale

    16 juillet 2017, par timgavin

    I’m working on creating a thumbnail from a video and adding an overlay. The following is working great ; it outputs a JPG with the PNG overlay.

    ffmpeg -ss 15 -i input.mp4 -i play-button.png \
    -filter_complex overlay='(main_w-overlay_w)/2:(main_h-overlay_h)/2' \
    -vframes 1 poster.jpg

    However, I’d like to scale the thumbnail down, so I tried adding scale='min(640\, iw):-1'

    ffmpeg -ss 15 -i input.mp4 -i play-button.png \
    -filter_complex overlay='(main_w-overlay_w)/2:(main_h-overlay_h)/2' \
    -vframes 1 scale='min(640\, iw):-1' poster.jpg

    But when doing that I receive errors

    Unable to find a suitable output format for
    'scale=min(640\, iw):-1' scale=min(640\, iw):-1: Invalid argument

    I’ve tried qscale and adding image2, and playing around with a lot of different options but just can’t find the one that works.

    Edit

    This is what I was previously using to create my poster image, I just needed to add an overlay. But when trying to combine the two it all fell apart.

    ffmpeg -ss 15 -i input.mp4 -f image2 -vf scale='min(640\, iw):-1' \
    vframes 1 poster.jpg
  • Embed a Youtube with a MP4 File as poster

    29 août 2021, par adampl

    I want to embed a youtube video with a 10 second silent looping MP4 file as the poster.

    


    Currently, I am using the Wordpress video shortcode with my MP4 as the poster source, it works on some browsers but not all. Can anyone help ? I would prefer to find a pure HTML solution separate to the wordpress shortcode as I will need to get this to work on other CMSs.

    


    [video src="https://www.youtube.com/watch?v=[videoID]" poster=<video autoplay="autoplay" loop="loop" muted="muted" playsinline="playsinline">&#xA;  <source src="/wp-content-directory/intro.mp4" type="video/mp4">&#xA;</source></video>]&#xA;

    &#xA;

    What i have found is to get a looping MP4 work on all browsers, I have to use this tag with the autoplay loop muted and playsinline

    &#xA;

    <video autoplay="autoplay" loop="loop" muted="muted" playsinline="playsinline">&#xA;<source src="/directory/intro.mp4" type="video/mp4">&#xA;</source></video>&#xA;

    &#xA;