Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (104)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

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

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (7323)

  • How to convert a single photo into video with some filters without losing performance ?

    11 avril 2019, par Zedd W

    I have a picture in jpeg format : cat.

    I converted this picture into a video through some ffmpeg filter : scale and zoompan. The video is that the picture is slowly enlarged

    Then, I encountered some problems when using the following command.

    command 1

    ffmpeg -loop 1 -i cat.jpeg -filter_complex "scale=iw*2:-1,zoompan=z='zoom+0.002':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':s=720x960" -pix_fmt yuv420p -vcodec libx264 -preset ultrafast -crf 28 -y -t 5 out.mp4

    command 2 (Just adjust the scale value of command 1)

    ffmpeg -loop 1 -i cat.jpeg -filter_complex "scale=iw*8:-1,zoompan=z='zoom+0.002':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':s=720x960" -pix_fmt yuv420p -vcodec libx264 -preset ultrafast -crf 28 -y -t 5 out.mp4

    Problems :

    1. The picture in the video will zoom in slowly, which is true, but until about the fourth second, the picture will return to the minimum and re-enlarge.Is this the filter parameter I used wrong ?

    2. There is a warning after running the command : [swscaler @ 0x113c66000] Warning: data is not aligned! This can lead to a speed loss. The picture size is 720 x 960 and the video is the same. 720/16 is an integer and 960/16 also an integer. So what not aligned ?

    3. There is another warning : deprecated pixel format used, make sure you did set range correctly. Did I set the pix_fmtparameter wrong ?

    4. command 2 and command 1 are different scale value, But the time they run will vary greatly (If you try to run it). Using a larger scale will have better results. So how to choose a scale value or have better way ?

  • How to convert a single photo into video with some filters ?

    11 avril 2019, par Zedd W

    I have a picture in jpeg format : cat.

    I converted this picture into a video through some ffmpeg filter : scale and zoompan. The video is that the picture is slowly enlarged

    Then, I encountered some problems when using the following command.

    command 1

    ffmpeg -loop 1 -i cat.jpeg -filter_complex "scale=iw*2:-1,zoompan=z='zoom+0.002':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':s=720x960" -pix_fmt yuv420p -vcodec libx264 -preset ultrafast -crf 28 -y -t 5 out.mp4

    command 2 (Just adjust the scale value of command 1)

    ffmpeg -loop 1 -i cat.jpeg -filter_complex "scale=iw*8:-1,zoompan=z='zoom+0.002':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':s=720x960" -pix_fmt yuv420p -vcodec libx264 -preset ultrafast -crf 28 -y -t 5 out.mp4

    Problems :

    1. The picture in the video will zoom in slowly, which is true, but until about the fourth second, the picture will return to the minimum and re-enlarge.Is this the filter parameter I used wrong ?

    2. There is a warning after running the command : [swscaler @ 0x113c66000] Warning: data is not aligned! This can lead to a speed loss. The picture size is 720 x 960 and the video is the same. 720/16 is an integer and 960/16 also an integer. So what not aligned ?

    3. There is another warning : deprecated pixel format used, make sure you did set range correctly. Did I set the pix_fmtparameter wrong ?

    4. command 2 and command 1 are different scale value, But the time they run will vary greatly (If you try to run it). Using a larger scale will have better results. So how to choose a scale value or have better way ?

  • How to extract Geolocation metadata from an Apple Live Photo ?

    18 mars 2020, par P'P'

    I’m trying to organize my photo collection and convert .mov files to .jpeg files while retaining all of the meta data that has been stored. I’m running into a problem with Apple’s "Live Photos" though...

    I recently downloaded all of the photos from my iCloud account and found that many have been stored as .mov files as "Live Photos". As I only want to include photos in this collection, I’d like to convert all of these .mov files to .jpg files.

    So... I’m trying to use python and shell commands to do this. Here’s an extract of my code :

    # Convert the .mov file into a series of jpegs using ffmpeg
    os.system(f'ffmpeg -i {movie} -r {numFrames} -map_metadata 0 -movflags use_metadata_tags {imageRoot}_%0004d.jpg')

    # ... some code to find the best slice of the movie to keep as an image ...

    # Add any meta tags that may have been missed
    os.system(f'exiftool -tagsFromFile {movie} {image}"

    Unfortunately, the Geolocation metadata isn’t being copied from the .mov file to the .jpg files. exiftool movie.mov doesn’t list any GPS or Geolocation tags either, but I know that this data is included somewhere within the file as Apple is able to map the location that the 2 second video was taken. Any thoughts as to how I can extract this meta data from Apple’s Live Photo .mov clips ?

    Thanks in advance.

    PP