Recherche avancée

Médias (91)

Autres articles (89)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

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

  • ffmpeg : how to extract keyframes from certain time ranges into filenames with timestamps from the original video ?

    18 mai 2023, par Display Name

    I have as input specific timestamps I'm interested in, and I wish to extract keyframes closest to them. I thus use skip_frame nokey and a select='between(t,...,...)+between(t,...,...)+...' where I add a few seconds around each time I'm interested in (enough so that at least one keyframe will fall in that range based on the input video I have, and then can manually delete if more than one came out in a given time range in my sequence). Chaining the between()s lets me use a single command to extract all of these images in order to avoid seeking from the beginning of the video for each image, were I to use separate command per image. So this part works fine.

    


    The problem is that I want the output image filenames to correspond to the timestamps, in seconds (or some decimal fraction of seconds like tenths or milliseconds) of the extracted frames with respect to the INPUT video. With older versions of ffmpeg, I used to be able for example to get output filenames being times in terms of tenths of a second with -vsync 0 -r 10 -frame_pts true %05d.webp but with recent versions, that results in the error One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory. Replacing the deprecated -vsync with -fps_mode and one of the CFR values results in ffmpeg DUPLICATING frames to fulfill the specified -r value which results in a huge number of output images. The way I am able to get just the set of keyframes I want and no duplications is to drop the -r and use -fps_mode passthrough, but then I lose the naming of the output files by their time in the original video. Searching around here and elsewhere on the web, I have tried things like setting settb=...,setpts=... and -copyts but in the end couldn't get it to work.

    


    As a complete example, the command
ffmpeg -skip_frame nokey -i "input.mp4" -vf "select='between(t,15,25)+between(t,40,50)+between(t,95,105)+between(t,120,130)+between(t,190,200)',scale='min(480,iw)':-2:flags=lanczos" -fps_mode passthrough -copyts -c:v libwebp -quality 75 -preset photo -frame_pts true %05d.webp gives me the right set of output images, but not the filenames that would make it easy for me to quickly manually find frames corresponding to specific times in the original video.

    


  • How to restore a recorded mkv video back to its original state [closed]

    5 avril 2023, par itpotatoes

    The mkv video recorded with the Kinect camera was converted to mp4 after converting the color, depth, and ir video to avi using mkvtoolnix.
When I try to convert this back to avi with ffmpeg, it says that the depth and ir images cannot contain rawvideo gray16be in the avi container. Does anyone know of another way ?

    


    I could change it to another codec, but I couldn't convert it to rawvideo gray16be format.

    


  • ffmpeg : Generate video's thumbnail in original orientation in php

    17 décembre 2015, par user2899728

    I am trying to generate thumbnail from a video. My command is working fine but it is generating thumbnail in wrong orientation.

    I want to keep same orientation of the video I am using.

    Here is my command :

    exec("ffmpeg  -i  567293a3a6b48.mp4 -ss   01:00  -vframes 1  thumbnail.jpg");

    Also thumbnail does not contain any orientation info in exif data.