Recherche avancée

Médias (91)

Autres articles (112)

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

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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (10155)

  • Merge commit ’c9527bf3444c5332fa04931d32997308784fc862’

    23 mars 2017, par Clément Bœsch
    Merge commit ’c9527bf3444c5332fa04931d32997308784fc862’
    

    * commit ’c9527bf3444c5332fa04931d32997308784fc862’ :
    Make the RELEASE file match with the most recent tag

    This commit is noop.

    Merged-by : Clément Bœsch <u@pkh.me>

  • Finding the time of a thumbnail in a video

    10 mai 2013, par Liam

    I have a large set of pre-generated thumbnails and videos. What is the easiest way to figure out the specific time in the video of the associated thumbnail ?

    I'd imagine that I would have to use something to loop through all the frames in a video to find a match. What libraries should I use ? Something like OpenCV maybe ? ffmpeg ?

    Python is preferred but not required.

  • Converting files before merging with FFMPEG

    25 mars 2022, par user1748217

    I'm trying to merge a series of files with the same format (taken from a camera) with another of a different format (an outro).

    &#xA;

    TARGET file ffprobe output :

    &#xA;

       Duration: 00:00:21.60, start: 0.000000, bitrate: 1847 kb/s&#xA;&#xA;   Stream #0:0[0x1](eng): &#xA;   Video: h264 (Main) (avc1 / 0x31637661), &#xA;          yuv420p(progressive), &#xA;          1280x720, &#xA;          1050 kb/s, &#xA;          30 fps, &#xA;          30 tbr, &#xA;          30k tbn (default)&#xA;&#xA;   Stream #0:1[0x2](eng): &#xA;   Audio: pcm_s16le (sowt / 0x74776F73), &#xA;          32000 Hz, &#xA;          1 channels, &#xA;          s16,  &#xA;          512 kb/s (default)&#xA;

    &#xA;

    OUTRO file ffprobe output :

    &#xA;

       Duration: 00:00:13.03, start: 0.000000, bitrate: 21890 kb/s&#xA;&#xA;   Stream #0:0[0x1](eng): &#xA;   Video: h264 (High) (avc1 / 0x31637661), &#xA;          yuv420p(progressive), &#xA;          1920x1080 [SAR 1:1 DAR 16:9], &#xA;          21492 kb/s, &#xA;          24 fps, &#xA;          24 tbr, &#xA;          24k tbn (default)&#xA;&#xA;   Stream #0:1[0x2](eng): &#xA;   Audio: aac (LC) (mp4a / 0x6134706D), &#xA;          48000 Hz, &#xA;          stereo, &#xA;          fltp, &#xA;          316 kb/s (default)&#xA;

    &#xA;

    ... and I'm trying to convert the outro to match the others using :

    &#xA;

    ffmpeg -i outro.mp4 \ &#xA;       -c:v h264 \&#xA;       -s 1280x720 \&#xA;       -pix_fmt yuv420p \&#xA;       -framerate 30 \ &#xA;       -r 30 \&#xA;       -c:a pcm_s16le \&#xA;       -ac 1 \ &#xA;       -b:a 512k \&#xA;       -ar 32000 \ &#xA;       outro.mov&#xA;

    &#xA;

    After the transcode the outro plays fine.&#xA;but then I merge the files with :

    &#xA;

    ffmpeg -f concat -safe 0 -i videos.txt -c copy merged.mov -y&#xA;

    &#xA;

    In the merged output the outro video is messed up, though the audio on it is ok.
    &#xA;It seems like the outro plays way too fast (milliseconds) but I'm not sure as the original/source outro video fades to black at the end and the "corrupted" merged outro "pauses" on the last frame prior to fading.

    &#xA;

    I noticed the outro has a lower FPS than the other files (24 FPS vs 30 on the others). When I run ffprobe on the outro after the conversion, it reads ...

    &#xA;

     Stream #0:0[0x1](eng): &#xA; Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), &#xA;        1280x720 [SAR 1:1 DAR 16:9], &#xA;        1031 kb/s, &#xA;        24 fps, &#xA;        24 tbr, &#xA;        12288 tbn (default)&#xA;

    &#xA;

    ... so the FPS is still 24 ? How come ? Is this my problem ? What am I missing ? How do I get this to convert so I can join it seamlessly ?

    &#xA;

    Thanks in advance.

    &#xA;

    UPDATE :

    &#xA;

    adding -r 30 (Thanks @Kesh) on the conversion got the FPS to match but but unfortunately it didn't fix the merge issue :-(

    &#xA;

    audio is all good however...

    &#xA;

    ... If I add the "pre-converted" file to the end of the concat list then series of files I'm trying to match play video fine but the "pre-converted" file plays video through in roughly a second.

    &#xA;

    If I add the "pre-converted" file to the start of the list then it plays fine, but the rest play video far too slow.

    &#xA;