Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (70)

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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (11235)

  • Generate a thumbnail image every X seconds

    1er août 2013, par rabotalius

    I'm trying to generate a thumbnail every minute, but i'm getting the following error :

    ffmpeg -i Hung.mp4 -f image2 -vf fps=fps=1/60 img%03d.jpg

    [mjpeg @ 0x2f06da0] bitrate tolerance too small for bitrate
    [mjpeg @ 0x2f1b7c0] ff_frame_thread_encoder_init failed
    Output #0, image2, to 'img%03d.jpg':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: mp41
       Stream #0:0(eng): Video: mjpeg, yuvj420p, 1280x536 [SAR 1:1 DAR 160:67], q=2-31, 200 kb/s, 90k tbn, 0.02 tbc
       Metadata:
         creation_time   : 2013-07-22 00:01:41
         handler_name    : VideoHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> mjpeg)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  • Set a subtitle language using ffmpeg

    19 mars 2017, par Sam

    I tried googling a way to set the language of a subtitle stream with ffmpeg and found the -slang option. So I tried the following command but immediately receive an error :

    ffmpeg -i input.avi -i subs.srt -c:a copy -c:s mov_text -slang eng -c:v libx264 -profile:v high -level:v 4.0 output.mp4
    ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
    built on Jul 18 2013 23:00:53 with Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)

    libavutil 52. 13.100 / 52. 13.100

    libavcodec 54. 86.100 / 54. 86.100

    libavformat 54. 59.106 / 54. 59.106

    libavdevice 54. 3.102 / 54. 3.102

    libavfilter 3. 32.100 / 3. 32.100

    libswscale 2. 1.103 / 2. 1.103

    libswresample 0. 17.102 / 0. 17.102

    libpostproc 52. 2.100 / 52. 2.100

    Unrecognized option ’slang’.

    Error splitting the argument list : Option not found

    After more googling I found another way to do it using the -metadata command :

    ffmpeg -i input.mp4 -i subs.srt -c:a copy -c:v copy -c:s mov_text -metadata:s:s:0 language=eng output.mp4

    And that works absolutely fine. But this isn’t mentioned in the ffmpeg man page, whereas -slang is, which makes me think the -metadata command is maybe outdated or in some other way not as good as -slang.

    1. What is the difference between using the two above methods (-slang vs -metadata) ?
    2. Why did my -slang command give an error ? Have I used it incorrectly ?
  • ffempg editing metadata major_brand

    29 juillet 2013, par circler

    Hello I have an MP4 video, I want to change the creation_time using ffmepg, without changing the rest of metadata. but I am facing some problems..

    The major_brand and more stuff are changed. I want those to be the same. if I put it in ffprobe.exe this is what I see :

       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '6.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp41mp42isom
       creation_time   : 2013-03-23 16:25:53
     Duration: 00:00:06.55, start: 0.000000, bitrate: 919 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x480,
    862 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc
       Metadata:
         creation_time   : 2013-03-23 16:25:53
         handler_name    : Core Media Video
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 62 k
    b/s
       Metadata:
         creation_time   : 2013-03-23 16:25:53
         handler_name    : Core Media Audio

    I want to change the creation_time of the video, when I run :

    ffmpeg.exe -i 6.mp4 -metadata creation_time="2013-06-22 15:00:00" -acodec copy -vcodec copy output.mp4

    I get :

    Output #0, mp4, to 'output.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp41mp42isom
       creation_time   : 2013-06-22 15:00:00
       encoder         : Lavf55.12.102
       Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 480x480, q=
    2-31, 862 kb/s, 29.97 fps, 19200 tbn, 600 tbc
       Metadata:
         creation_time   : 2013-03-23 16:25:53
         handler_name    : Core Media Video
       Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, mono, 62 kb
    /s
       Metadata:
         creation_time   : 2013-03-23 16:25:53
         handler_name    : Core Media Audio
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame=  194 fps=0.0 q=-1.0 Lsize=     738kB time=00:00:06.61 bitrate= 913.9kbits
    /s

    According to the output and because I chose "-acodec copy -vcodec copy" everything should stay the same. But when I run ffprobe for the newly created .mp4 file. Here is the output :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 2013-06-22 15:00:00
       encoder         : Lavf55.12.102
     Duration: 00:00:06.62, start: 0.000000, bitrate: 913 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x480,
    862 kb/s, 29.97 fps, 30 tbr, 19200 tbn, 38400 tbc
       Metadata:
         creation_time   : 2013-06-22 15:00:00
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 62 k
    b/s
       Metadata:
         creation_time   : 2013-06-22 15:00:00
         handler_name    : SoundHandler

    As you see everything has changed, even though i chose to keep everything the same.

    Please help me on this. Thanks !