Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (71)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

Sur d’autres sites (6798)

  • FFmpeg : Frame sizes of the generated video are extremely larger than the expected [closed]

    8 février 2021, par bbasaran

    I am recording frames (screen buffer) as NumPy arrays during the game which runs on the resolution of "400x225". Each frame array is a size of 270.1 kB.

    


    After saving those frames, I create an mp4 file with the following bash command (The game runs in 35 FPS (frames/second)) :

    


    ffmpeg -r 35 -f image2 -i frame%05d.png -vcodec libx264 -crf 1 video.mp4


    


    Then I have used a tool to generate a CSV file of frame data from the video created with the command above. The output is here below. The weird this is that, if we sum those first 35 frames (video was recorded with "-r 35" parameter because game runs in 35 FPS), we get approximately 18k kbit.

    


    18k kbit/sec bitrate is super high for a 400x225 video. What am I doing wrong while generating the video ? I appreciate any help, thanks !

    


    enter image description here

    


  • vda : convert 3 byte NAL sizes to 4 byte.

    8 janvier 2012, par Sebastien Zwickert

    vda : convert 3 byte NAL sizes to 4 byte.

  • Python - How to convert .mkv videos to .mp4 videos

    2 septembre 2022, par sabari

    I have two folders.
Download folder and converted folder.

    


    I want to convert files from .mkv to .mp4

    


    import os
import boto3
import ffmpeg
from os import path, makedirs

downloadFolder = 'D:'+os.sep+'abc'+os.sep+'def'+os.sep+'downloaded'
convertedFolder = 'D:'+os.sep+'abc'+os.sep+'def'+os.sep+'converted'

#find the number of files in the Downloaded folder
initial_count = 0
for path in os.listdir(downloadFolder):
    if os.path.isfile(os.path.join(downloadFolder, path)):
        initial_count += 1
print("Files downloaded")
print(initial_count)

# convert all files from .mkv to .mp4
source_folder = downloadFolder
for file_name in os.listdir(source_folder):
    try:
        # construct full file path
        source = source_folder + os.sep + file_name
        print("source"+source)
        destination = convertedFolder +os.sep +file_name
        # copy only files
        if os.path.isfile(source):
            name, ext = os.path.splitext(file_name)
            outFileName = convertedFolder + os.sep + name + '.mp4'
            # convert .mkv into .mp4
            ffmpeg.input(source).output(outFileName).run()
    except Exception as e:
        # print("Exception "+ key['Key'])
        print("error")
        print(e)


    


    The below is the error i get because of ffmpeg

    


    error
[WinError 2] The system cannot find the file specified


    


    I also tried moviepy library. But couldnt solve.
Please let me know a solution.

    


    Thanks.