Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (105)

  • 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 (...)

  • 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 (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (4984)

  • I want to upload a camera video stream to Amazon S3 and download it to an Android phone. I'm completely new to this. How can I do this ?

    26 juin 2015, par Jackie Wu

    I’m really dumb and new to RTP/SIP. Is there a stack that’s recommended for uploading video to the cloud from a camera attached to a microprocessor ? What’s the difference between all the things I’m seeing - MPEG DASH, Live555, ffmpeg, and so on...?

    How does WhatsApp or Dropcam transmit live video ?

  • FileNotFoundError : [WinError 2] The system cannot find the file specified when using moviepy

    17 mars 2023, par HamidBee

    I am trying to reduce the file size of a .mp4 file using the following code :

    


    import os
import moviepy.editor as mp
import ffmpeg

def compress_video(input_file, output_file, target_size_ratio=0.5):
    if not os.path.exists(input_file):
        raise FileNotFoundError(f"Input file not found: {input_file}")

    if target_size_ratio <= 0 or target_size_ratio >= 1:
        raise ValueError("Target size ratio must be between 0 and 1")

    # Get input video information
    probe = ffmpeg.probe(input_file)
    video_stream = next((stream for stream in probe['streams'] if stream['codec_type'] == 'video'), None)
    bitrate = int(video_stream['bit_rate'])

    # Calculate new bitrate to achieve the target file size
    new_bitrate = int(bitrate * target_size_ratio)

    # Load the video and compress
    input_video = mp.VideoFileClip(input_file)
    input_video.write_videofile(
        output_file,
        bitrate=f"{new_bitrate}k",
        codec="libx264",
        audio_codec="aac",
        threads=4,
        ffmpeg_params=["-strict", "-2"]
    )

input_file = r"C:\Users\Hamid\Downloads\A.mp4"
output_file = r"C:\Users\Hamid\Downloads\B.mp4"
compress_video(input_file, output_file, target_size_ratio=0.5)


    


    But I am getting the following error :

    


    FileNotFoundError: [WinError 2] The system cannot find the file specified


    


    Just a note I have a file in that directory called A.mp4 but currently no file exists called B.mp4.

    


  • Youtube-dll how to get a direct download link to the merged file without creating a temp file on server

    11 juillet 2019, par CeylonDomains Solutions

    Is there any way to create a direct download link to the merged file without creating a temp file on the server in youtube-dll ?

    youtube-dll -f 255+160 https://youtu.be/p-flvm1szbI

    The above code will merge the file and output the merged file.

    I want to allow users to directly download the merged file to their computers — without creating any temp file on my server. Is this possible ?

    (Creating a temp file and then letting the user download it is already possible.)