Advanced search

Medias (91)

Other articles (28)

  • MediaSPIP v0.2

    21 June 2013, by

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 April 2011, by

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Supporting all media types

    13 April 2011, by

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats: images: png, gif, jpg, bmp and more audio: MP3, Ogg, Wav and more video: AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data: OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

On other websites (3937)

  • FFmpeg ubuntu script [on hold]

    9 December 2015, by Sambir

    Hi guys i want to create an ffmpeg script which picks up files from one folder transcodes them then deletes the source.

    So think of the following scenario:

    I place file A.mp4 and A.srt in folder input
    I also place file B.mp4 and B.srt in folder input

    In the night a script is executed which picks up these files places them in the folder "transcoding" then starts to transcode the movies one by one. So not parallel.

    When finished new files should be created in the output folder by the ffmpeg script. And the files in the folder "transcoding" should be deleted.

    Can anyone help me out here. It does not seem to be that complex but since I am not that good at coding any help is appreciated :)

  • avcodec/encode, frame_thread_encoder: Unify calling encode callback

    23 August 2022, by Andreas Rheinhardt
    avcodec/encode, frame_thread_encoder: Unify calling encode callback
    

    The encode-callback (the callback used by the FF_CODEC_CB_TYPE_ENCODE
    encoders) is currently called in two places: encode_simple_internal()
    and by the worker threads of frame-threaded encoders.

    After the call, some packet properties are set based upon
    the corresponding AVFrame properties and the packet is made
    refcounted if it isn't already. So there is some code duplication.

    There was also non-duplicated code in encode_simple_internal()
    which is executed even when using frame-threading. This included
    an emms_c() (which is needed for frame-threading, too, if it is
    needed for the single-threaded case, because there are allocations
    (via av_packet_make_refcounted()) immediately after returning
    from the encode-callback).

    Furthermore, some further properties are only set in
    encode_simple_internal(): For audio, pts and duration are derived
    from the corresponding fields of the frame if the encoder does not
    have the AV_CODEC_CAP_DELAY set. Yet this is wrong for frame-threaded
    encoders, because frame-threading always introduces delay regardless
    of whether the underlying codec has said cap. This only worked because
    there are no frame-threaded audio encoders.

    This commit fixes the code duplication and the above issue by factoring
    this code out and reusing it in both places. It would work in case
    of audio codecs with frame-threading, because now the values are
    derived from the correct AVFrame.

    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/encode.c
    • [DH] libavcodec/encode.h
    • [DH] libavcodec/frame_thread_encoder.c
  • insert audio into another audio file (eg a censor bleep)

    3 April 2019, by Redzarf

    I need to insert a short beep into another audio file (similar to a censorship bleep) using linux and/or php.

    I’m thinking there should be some way to do it with ffmpeg (with some combination of -t, concat, map, async, adelay, itsoffset?) or avconv or mkvmerge - but haven’t found anyone doing this. Maybe I need to do it in 2 stages somehow?

    For example if I have a 60 second mp3 and want to beep out 2 seconds at 2 places the desired result would be:

    0:00-0:15  from original
    0:15-0:17  beep (overwrites the 2 secs of original)
    0:17-0:40  from original
    0:40-0:42  beep
    0:42-0:60  from original

    I have a 2 second beep.mp3, but can use something else instead like -i "sine=frequency=1000:duration=2"