Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (111)

  • 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

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (9911)

  • swscale/swscale : combine the input/output checks in sws_frame_setup()

    22 janvier, par James Almer
    swscale/swscale : combine the input/output checks in sws_frame_setup()
    

    Cosmetic change in preparation for the next commit.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libswscale/swscale.c
  • Piping input AND output of ffmpeg in python

    16 mai 2017, par bluesummers

    I’m using ffmpeg to create a video, from a list of base64 encoded images that I pipe into ffmpeg.

    Outputting to a file (using the attached code below) works perfectly, but what I would like to achieve is to get the output to a Python variable instead - meaning piping input and piping output but I can’t seem to get it to work

    My current code :

    output = os.path.join(screenshots_dir, 'video1.mp4')

    cmd_out = ['ffmpeg',
              '-y',  # (optional) overwrite output file if it exists
              '-f', 'image2pipe',
              '-vcodec', 'png',
              '-r', str(fps),  # frames per second
              '-i', '-',  # The input comes from a pipe
              '-vcodec', 'png',
              '-qscale', '0',
              output]

    pipe = sp.Popen(cmd_out, stdin=sp.PIPE)

    for screenshot in screenshot_list:
       im = Image.open(BytesIO(base64.b64decode(screenshot)))
       im.save(pipe.stdin, 'PNG')

    pipe.stdin.close()
    pipe.wait()

    This results in a working mp4, but I would like to avoid saving to local.

    Running the same code with changing output to '-' or 'pipe:1' and adding stdout=sp.PIPE results in an error

    [NULL @ 0x2236000] Unable to find a suitable output format for ’pipe :’

  • Copy chapters in MP4 input stream to output stream in ffmpeg

    18 juin 2017, par WheresWardy

    I’m using ffmpeg to copy two MP4 input streams into one output container and I’m having trouble maintaining the chapter indexes from both files into the output stream.

    I have two files, specified by streams.txt which is in the correct format, that both contain an H.264 video stream, an AC-3 audio stream and an AAC audio stream, and am concatenating the two files using the following ffmpeg command :

    ffmpeg -f concat -safe 0 -i streams.txt -map 0:0 -map 0:1 -map 0:2 -c:v copy -c:a:0 copy -c:a:1 copy output.mp4

    This correctly produces the output file that I want, with both files combined into an output file with all three streams. I am however having trouble adding the chapters from both input files into the output one. I understand that I’m supposed to use the -map_metadata option, but I’m having trouble with the format of it that doesn’t produce the following error message :

    Invalid chapter index 0 while processing metadata maps.