Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (37)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

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

Sur d’autres sites (7257)

  • PowerShell script to Embed Album art in MP3 files - issues with accelerated audio files in ffmpeg

    4 mars, par moshe baruchi

    I am trying to embed album art into an MP3 file using a PowerShell script along with the TagLib library. The MP3 file has been speed-boosted using FFmpeg. When I run the script on regular audio files, it works fine, but with the accelerated audio files, the album art is only visible when I open the file in MP3Tag or in VLC. It's not showing up in Windows audio players and definitely not in File Explorer.

    


    PowerShell code

    


    param (
    [string]$audio,
    [string]$picture
)
Add-Type -Path "TagLib-Sharp.dll"
$audioFilePath = $audio
$albumArtPath = $picture
$audioFile = [TagLib.File]::Create($audioFilePath)
$tag = $audioFile.Tag
$newPictures = New-Object System.Collections.Generic.List[TagLib.Picture]
$newPictures.Add((New-Object TagLib.Picture($albumArtPath)))
$tag.Pictures = $newPictures.ToArray()
$audioFile.Save()


    


    Commands in cmd

    


    ffmpeg -i song.mp3 -i cover.jpg -map 0:a -map 1 -c:a copy -c:v mjpeg -metadata:s:vtitle="Album Cover" -metadata:s:v comment="Cover (front)" output_with_cover.mp3
del song.mp3
rename output_with_cover.mp3 song.mp3
powershell -ExecutionPolicy Bypass -File "albumart.ps1" -audio "song.mp3" -picture "picture.jpg"


    


  • Sub-pixel rendering with imagettftext()

    8 mars 2016, par user1661677

    I’m creating an image sequence, and encoding it to a video using PHP, GD library and ffmpeg. You’ll see I’m animating the two text layers inversely of each other, on the X axis. And with some simple operators $i/2 and $i/3, I’m trying to make their movement slower in the final animation.

    The problem I’m having is that when the video is rendered out, each layer’s text is only moving ever second, and third frame, respectively. This causes the animation to be a bit ’jerky’ and just not as smooth as Adobe After Effects with it’s ability to support sub-pixel rendering of elements.

    Is there any way to get imagettftext(), or some other method of drawing on images to support sub-pixel rendering ?

    Thank you.

    for ($i = 1; $i <= 125; $i++) {

       // Text on Image
       $front = imagecreatefromjpeg('front.jpg');
       $white = imagecolorallocate($front, 255, 255, 255);
       $text = 'some text';
       $text2 = 'some other text';
       $font = '/var/www/html/test/OpenSans-Bold.ttf';

       // Add text
       imagettftext($front, 60, 0, 1340-($i/2), 720, $white, $font, $text);
       imagettftext($front, 35, 0, 1240+($i/3), 800, $white, $font, $text2);

       // Write image to file
       imagejpeg($front, "images/".$i.".jpg", 100);
    }
  • Merge commit ’abe5268c3328bf0e8fcfb7dc6e231b8920177c3a’

    6 août 2013, par Michael Niedermayer
    Merge commit ’abe5268c3328bf0e8fcfb7dc6e231b8920177c3a’
    

    * commit ’abe5268c3328bf0e8fcfb7dc6e231b8920177c3a’ :
    tcp : Use a different log message and level if there’s more addresses to try

    Conflicts :
    libavformat/tcp.c

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/network.c
    • [DH] libavformat/network.h
    • [DH] libavformat/tcp.c
    • [DH] libavformat/unix.c