Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (83)

  • 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

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (8762)

  • How to successfully use ffmpeg to convert images into videos

    6 février 2014, par user3276588

    Currently I'm trying to make 5 second videos for each image and then combining them using concat, but I'm having a lot of issues doing this.

    Here is my code :

    ffmpeg -loop 1 -i 000.jpg -t 5 000.mp4
    ffmpeg -loop 1 -i 001.jpg -t 5 001.mp4
    ffmpeg -f concat -i inputs.txt -codec copy output.mp4

    inputs.txt lists the following
    file '000.mp4'
    file '001.mp4'

    Now when I try all of this, I run the output mp4 file and the first part of it works fine, but then once it starts displaying the 001 part of the video, it switches to a gray screen. It doesn't even do that in the stand-alone file 001.mp4.

    Any suggestions on what's going on or what I could do fix this ?

    I've tried so many other things too. Like switching all the files over to png instead, which gave the same issue. I also tried using different output file types like wmv, avi, etc. I'm still very new though so I don't know what else to try.

    This is what shows up in my command prompt after running the command.

    C:\xampp\htdocs\images>ffmpeg -f concat -i inputs.txt -codec copy output.mp4
    ffmpeg version N-50911-g9efcfbe Copyright (c) 2000-2013 the FFmpeg developers
     built on Mar 13 2013 21:26:48 with gcc 4.7.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg
    sm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libo
    pencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li
    bschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-lib
    twolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enabl
    e-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 19.100 / 52. 19.100
     libavcodec     55.  0.100 / 55.  0.100
     libavformat    55.  0.100 / 55.  0.100
     libavdevice    54.  4.100 / 54.  4.100
     libavfilter     3. 45.103 /  3. 45.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    [concat @ 003b9660] Estimating duration from bitrate, this may be inaccurate
    Input #0, concat, from 'inputs.txt':
     Duration: 00:00:00.01, start: 0.000000, bitrate: 28 kb/s
       Stream #0:0: Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444
    p, 800x600 [SAR 1:1 DAR 4:3], 28 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
    Output #0, mp4, to 'output.mp4':
     Metadata:
       encoder         : Lavf55.0.100
       Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv444p, 800x600 [SAR 1:1
    DAR 4:3], q=2-31, 28 kb/s, 25 fps, 12800 tbn, 12800 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    frame=  250 fps=0.0 q=-1.0 Lsize=      31kB time=00:00:09.88 bitrate=  26.1kbits
    /s
    video:28kB audio:0kB subtitle:0 global headers:0kB muxing overhead 13.534948%

    C:\xampp\htdocs\images>
  • Evolution #3791 (Fermé) : Driver generic acces base de données

    11 février 2021, par cedric -

    Le sujet est resté en stand-by. Proposer une PR sur https://git.spip.net/spip/spip si c’est mur, pour le relancer
    en attendant je ferme ici

  • Is it possible to create new mp4 file from a single streaming byte range chunk ?

    22 avril 2014, par bevinlorenzo

    If I have a remote mp4 file on a server that supports Byte Ranges, is it possible to retrieve a single byte range and create a new/self-contained mp4 from that range data ?

    If I try and write a returned byte range data directly to an mp4 file using fs.createWriteStream(remoteFilename) it doesn’t get the video meta data (duration, dimensions, etc) that it needs to be playable.

    When I get a byte range that starts with 0 and ends with XX the output mp4 is playable, but will have the duration meta-data of the entire video length and will freeze the screen when the byte range is done for the remainder of the duration time.

    How else can I take a byte range and create a stand-alone .mp4 file from that stream object ?

    The whole point of this is to avoid downloading the entire 10 minute file before I can make a 5 second clip using ffmpeg. If I can calculate and download the byte range, there should be a way to write it to a standalone mp4 file.

    Thanks in advance for any help you can provide.