Recherche avancée

Médias (91)

Autres articles (65)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (10224)

  • avformat/matroskaenc : Improve BlockAdditions

    20 novembre 2019, par Andreas Rheinhardt
    avformat/matroskaenc : Improve BlockAdditions
    

    8ffcc826 added support for muxing BlockAdditions with BlockAddID equal
    to one. The restriction to BlockAddID == 1 probably resulted from
    a limitation to what was needed ; yet over time this led to three
    occurences of "(side_data_size && additional_id == 1)". This commit
    changes this by setting side_data_size to 0 if additional_id != 1.

    It also stops hardcoding 1 for the value of BlockAddID to write ;
    but it still upholds the requirement that it is 1. See below.

    Despite BlockAddId actually having a default value of 1, it is still
    written, because until very recently (namely dbc50f8a) our demuxer
    used a wrong default value of 0.

    Furthermore, use put_ebml_binary() to write the BlockAdditional element.

    (The Matroska specifications have evolved and now the BlockAddID 1 is
    reserved for the codec (as described in the codec's codec mapping),
    BlockMore elements with BlockAddID > 1 are now of a more
    codec-independent nature and require a BlockAdditionalMapping in the
    track's TrackEntry. Given that this muxer does not support writing said
    BlockAdditionalMapping yet (actually, none have been defined yet), we
    have to uphold the requirement that BlockAddID == 1.)

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

    • [DH] libavformat/matroskaenc.c
  • ffmpeg not reading stdin fast enough

    5 mars 2019, par Joshua Walsh

    I have a NodeJS program which launches ffmpeg (with child_process) and then provides realtime video data via stdin, using the pipe protocol.

    ffmpeg -nostdin -i pipe:0 -codec libx264 -preset veryfast -tune zerolatency -acodec aac -b:a 128k output/index.m3u8

    ffmpeg transcodes the video into h264 and muxes it into an HLS live stream.

    The issue that I have is that sometimes ffmpeg refuses to accept more input. The default behaviour of NodeJS is to buffer input until the child process can accept it, but after a while this causes my application to run out of memory.

    I tried a naive solution where if ffmpeg wasn’t able to read the input (if proc.stdin.write returns false) I would start discarding data until the drain event was raised on the stream, but this unsurprisingly led to badly degraded video output, with terrible artifacting.

    The nature of the source of the data makes it impossible for me to block, my application has to deal with it in realtime.

    ffmpeg is using only a fraction of the available resources on the system (35% CPU, 1% disk), so I’m not sure why it’s blocking stdin. If I specify a more demanding preset then it happily uses more CPU, so CPU speed shouldn’t be a limiting factor.

    Does anyone know why ffmpeg would be blocking stdin ? Is there a way I can tell ffmpeg to drop frames if it starts falling behind ?

  • Need help in bash script for ffmpeg encoding [duplicate]

    26 octobre 2022, par naoki

    Tried running the code for encoding the batch videos from a list but from the list it seems to run only the first leave behind the rest.

    &#xA;

    The list mentioned in rip.txt

    &#xA;

    Data_science - [1x01] - Introduction.mkv&#xA;Data_science - [1x02] - What&#x27;s Data Science.mkv&#xA;Data_science - [1x03] - Packages needed.mkv&#xA;

    &#xA;

    The Code :

    &#xA;

    ***#!/bin/bash&#xA;&#xA;cd /mnt/d1/xsrc/&#xA;&#xA;fn=&#x27;/mnt/d1/xsrc/rip.txt&#x27;&#xA;n=1&#xA;while read line;&#xA;do&#xA;ffmpeg -v error -stats -i "$line" -map 0:2 -map_metadata -1 -map_chapters -1 -vn -an -dn -scodec copy -y /mnt/d1/src2/tmp/sub.ass ; ffmpeg -v error -stats -i "$line" -map 0:1 -map_metadata -1 -map_chapters -1 -b:a 96k -ar 48000 -vn -sn -dn -y /mnt/d1/src2/tmp/audio_jpn.m4a ; ffmpeg -v error -stats -i "$line" -strict -1 -map 0:0 -f yuv4mpegpipe -pix_fmt yuv444p12le -s 1280x720 -r 30 - | x265 - --y4m -p slow --bitrate 723 -t animation --output-depth 10 --pass 1 --bframes=8 --psy-rd=1.5 --psy-rdoq=2 --aq-mode=3 --aq-strength=0.8 --deblock=-1,-1 -o /mnt/d1/src2/tmp/video_und.h265 ; ffmpeg -v error -stats -i "$line" -strict -1 -map 0:0 -f yuv4mpegpipe -pix_fmt yuv444p12le -s 1280x720 -r 30 - | x265 - --y4m -p slow --bitrate 723 -t animation --output-depth 10 --pass 2 --bframes=8 --psy-rd=1.5 --psy-rdoq=2 --aq-mode=3 --aq-strength=0.8 --deblock=-1,-1 -o /mnt/d1/src2/tmp/video_und.h265 ; mp4box -add "/mnt/d1/src2/tmp/video_und.h265#video:lang=und" -new "/mnt/d1/src2/tmp/video0000_und.mp4" ; mkvmerge -o /mnt/d1/output/tmp/"$line" --disable-track-statistics-tags --language 0:jpn /mnt/d1/src2/tmp/audio_jpn.m4a --sub-charset 0:UTF-8 --language 0:eng /mnt/d1/src2/tmp/sub.ass /mnt/d1/src2/tmp/video0000_und.mp4 ; rm -rf /mnt/d1/src2/tmp/* ; n=$((n&#x2B;1))&#xA;done &lt; $fn***&#xA;

    &#xA;

    Need help in resolving this.

    &#xA;