Recherche avancée

Médias (91)

Autres articles (102)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (13292)

  • ffmpeg : Split MP3 in 1 second chunks fast ?

    30 décembre 2019, par Niko

    I want to split mp3 into one second chunks fast. I have the mp3 already in memory (in crystal lang) and want to process it further (so I need it in memory after splitting). I got two possiblities working :

    • Saving the file to ram disk, calling ffmpeg -segment on it, reading all the segement files into memory.
    • Piping the file into ffprobe --show_frames and parsing the pkt_pos fields from the result.

    Both are slow about one second due to unnescessary overhead. Writing to disk and reading hundrets of files in the first case, outputting a lot of unneeded information about a lot of unneeded frames in the second.

    I see two possibilities to improve :

    • a custom filter for ffmpeg that outputs the segements with a separator to stdout.
    • a custom filter for ffprobe similar to --show_frames but with a framestep parameter (the existing framestep filter only seems to work with video files) which outputs only the byte offset of the frames.

    Perhaps I’m missing possibilites with the existing filters. Perhaps there is a tool better fitted for my needs than ffmpeg. I’d be happy for any hints.

  • lavc/hevc/parser : only split packets on NALUs with nuh_layer_id=0

    7 juin 2024, par Anton Khirnov
    lavc/hevc/parser : only split packets on NALUs with nuh_layer_id=0
    

    A packet should contain a full access unit, which for multilayer video
    should contain all the layers.

    • [DH] libavcodec/hevc/parser.c
  • avcodec/utils : split side-data in new decode API too

    28 avril 2016, par wm4
    avcodec/utils : split side-data in new decode API too
    

    The deprecated avcodec_decode_video2() and avcodec_decode_audio4()
    functions called av_packet_split_side_data() on the input packets. This
    is required for packets produced by libavformat with the
    AVFMT_FLAG_KEEP_SIDE_DATA flag unset (which is unfortunately the
    default).

    The new API didn’t do this yet, although it didn’t matter as no decoder
    supports the new API yet. The emulation layer for the old API calls the
    old API functions, which took care of the splitting. Add this code to
    the new API codec entrypoints too, because we shouldn’t send essentially
    corrupted data to decoders.

    • [DH] libavcodec/utils.c