Recherche avancée

Médias (91)

Autres articles (75)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • avformat/evcdec : Avoid nonsense casts

    6 juillet 2023, par Andreas Rheinhardt
    avformat/evcdec : Avoid nonsense casts
    

    For uint8_t buf[EVC_NALU_LENGTH_PREFIX_SIZE], &buf still points
    to the beginning of buf, but it is of type "pointer to array of
    EVC_NALU_LENGTH_PREFIX_SIZE uint8_t" (i.e. pointer arithmetic
    would operate on blocks of size EVC_NALU_LENGTH_PREFIX_SIZE).
    This is of course a different type than uint8_t*, which is why
    there have been casts in evc_read_packet(). But these are unnecessary
    if one justs removes the unnecessary address-of operator.

    Reviewed-by : James Almer <jamrial@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavformat/evcdec.c
  • x86inc : Make cpuflag() and notcpuflag() return 0 or 1

    18 janvier 2016, par Henrik Gramner
    x86inc : Make cpuflag() and notcpuflag() return 0 or 1
    

    Makes it possible to use them in arithmetic expressions.

    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DBH] libavutil/x86/x86inc.asm
  • Using FFMPEG to convert Numpy text file to mp3

    24 août 2016, par Corey Christensen

    I have a text file that contains the output of a Numpy array and would like to use FFMPEG to convert that into an mp3 file.

    I’ve been following this tutorial, and to put it in perspective I have essentially written the audio_array that is created to a text file, which I would like to read later on in my program into FFMPEG and convert back into an mp3 file.

    I tried modifying the part below as follows, but it doesn’t seem to give me an output :

    pipe = sp.Popen([ FFMPEG_BIN,
          '-y', # (optional) means overwrite the output file if it already exists.
          "-f", 's16le', # means 16bit input
          "-acodec", "pcm_s16le", # means raw 16bit input
          '-r', "44100", # the input will have 44100 Hz
          '-ac','2', # the input will have 2 channels (stereo)
          '-i', '[path/to/my/text_file.txt]',
          '-vn', # means "don't expect any video input"
          '-acodec', "libfdk_aac" # output audio codec
          '-b', "3000k", # output bitrate (=quality). Here, 3000kb/second
          'my_awesome_output_audio_file.mp3'],
           stdin=sp.PIPE,stdout=sp.PIPE, stderr=sp.PIPE)