Recherche avancée

Médias (91)

Autres articles (101)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Installation en mode standalone

    4 février 2011, par

    L’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
    [mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
    Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)

Sur d’autres sites (14017)

  • Determine FFmpeg codecs available for container

    19 juillet 2020, par CasualDemon

    I am looking to generate lists of supported video / audio / subtitle tracks for each type of container in a particular build of FFmpeg.

    


    For example, I want to avoid errors like Could not find tag for codec <> in stream #0, codec not currently supported in container

    


    I know I can list available codecs with ffmpeg -codecs, and find details about a muxer with ffmpeg -h muxer=<muxer></muxer> like ffmpeg -h muxer=matroska but that will only show default codecs, not all possible.

    &#xA;

    Muxer matroska [Matroska]:&#xA;    Common extensions: mkv.&#xA;    Mime type: video/x-matroska.&#xA;    Default video codec: h264.&#xA;    Default audio codec: vorbis.&#xA;    Default subtitle codec: ass.&#xA;

    &#xA;

    Basically I want to run this command across all available muxers to build up a table like wikipedia's format comparison charts that is FFmpeg build specific. This is designed to go in a program that wraps around FFmpeg, and I need to know which formats are valid for each container / file extension per FFmpeg build.

    &#xA;

    Thanks !

    &#xA;

  • How to determine if a ffmpeg subprocess has fallen

    9 avril 2020, par TiHan

    I have an issue

    &#xA;&#xA;

    I want to create a new ffmpeg process using subprocess.popen&#xA;find out his pid&#xA;and in the body of a python program to see if the process is alive or not

    &#xA;&#xA;

    args = shlex.split (&#x27;ffmpeg -i rtsp: //192.168.1.68: 8554 / mystream -f segment -strftime 1 -segment_time 5 13_REG1_CHANNEL3_% Y-% m-% d_% H-% M-% S-% s .mp3 &#x27;)&#xA;print (args)&#xA;proc = subprocess.Popen (args, stdout = subprocess.PIPE)&#xA;ch_pid = proc.pid&#xA;print (proc.pid)&#xA;proc.wait ()&#xA;print (proc.communicate ())&#xA;while (1):&#xA; if (os.system (str (&#x27;kill -0 {PID}&#x27;). format (PID = ch_pid)) == 0):&#xA;   print (&#x27;proc is alive&#x27;)&#xA; else:&#xA;   break&#xA;

    &#xA;&#xA;

    at while loop i tried to check this process pid via kill -0 pid&#xA;this command will return zero if everything is alright and process is running

    &#xA;&#xA;

    BUT

    &#xA;&#xA;

    IF ffmpeg will fall&#xA;there will be no changes

    &#xA;&#xA;

    kill -0 pid will continue to returning zero code that everything is good

    &#xA;&#xA;

    What should i do ?

    &#xA;

  • How do you determine the end of the file in a stream containing multiple streams ? (nodejs)

    26 décembre 2019, par Danielkent

    I would like to split an audio file into multiple segments using ffmpeg in an AWS Lambda (NodeJS) function.

    Due to the limitations of (and to optimise for) the lambda environment I would like to stream the audio into ffmpeg, perform the split on the audio file in the stream and then stream the now multiple smaller files out to s3.

    After doing some research I have found the AWS S3 SDK doesn’t support multiple file uploads in one stream. I could resolve this by finding the end of each new segment (file in the output stream) and creating a separate upload to s3.

    Is there a way to determine the end of a file in a stream (containing multiple files) ?

    (without saving it to the file system or loading it to memory).

    I have searched around and I can’t seem to find an answer.