Recherche avancée

Médias (91)

Autres articles (88)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (10729)

  • How to use ffmpeg on Android, Kivy, python3, youtube-dl

    7 avril 2022, par Adarsh Singh

    I am trying to create an app using Kivy 1.11.1 using youtube-dl module in python3. I am using buildozer to create apk from python source code which usage python-for-android to create apk. I have mentioned ffmpeg in buildozer requirements. I can see ffmpeg in pythonforandroid/recipes/.
After installing form apk, when I try to print ffmpeg version using the following

    


    merger = youtube_dl.postprocessor.FFmpegMergerPP()
merger._determine_executables()
print(merger.get_versions())


    


    I get this output

    


    {'avprobe': False, 'avconv': False, 'ffmpeg': False, 'ffprobe': False}


    


    which indicate that ffmpeg in not installed in android

    


    this line is included in my buildozer.spec

    


    requirements = python3,kivy,ffmpeg,youtube_dl,kivymd,kivmob,ffpyplayer,ffpyplayer_codecs,ffmpeg-python


    


    except ffmpeg rest all package are installed properly

    


    I am not sure whether this is useful but I saw this in pythonforandroid/recipes/ffmpeg/init.py

    


    def build_arch(self, arch):
        with current_directory(self.get_build_dir(arch.arch)):
            env = arch.get_env()

            flags = ['--disable-everything']


    


    **Goal : ** I want to use ffmpeg in youtube_dl via python3 after installing application from apk created by buildozer.

    


  • dowload video with csv file using youtube-dl and ffmpeg but ffmpeg not working

    30 juin 2020, par Rupendra Singh Rathore
    def start(self, newfile=None, part=None):
    ydl_opts = {}
    with youtube_dl.YoutubeDL(ydl_opts) as ydl:
        while True:
            videos = self.get_videos()
            print('{} videos to go'.format(len(videos)))  # print no. of video remaining
            video = get_first_item(videos)  # get next video for downloading
            print(video)
            if video is None:  # check if video is there or not
                break

            c = f'ffmpeg $(youtube - dl - g {ydl.download([video])} | sed "s/.*/-ss 00:05 -i &/") - t 1: 00 - c copy out.mkv'

            videos.remove(video)  # remove video from list
            self.save_file(videos)  # save updated list to file

            print('All downloaded')


    


    c = f'ffmpeg $(youtube - dl - g ydl.download([video]) | sed "s/.*/-ss 00:05 -i &/") - t 1 : 00 - c copy out.mkv

    


    how to download video with duration. i using youtube_dl and ffmpeg in python funtion.please check my script and suggest me.. thank you

    


  • Raspberry Pi Youtube Stream with ffmpeg : libx264 unknown

    21 juillet 2016, par tm011036

    I want to use my raspberry pi 3 for a youtube stream via an usb camera. Therefore, I compiled and installed the following tools :

    ffmpeg, libx264, libav-tools

    However, when running the following code i always get an error that the libx264 encoder is unknown :

    ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0
    -codec:v libx264 -b:v 700k -maxrate 700k -bufsize 700k -an -f
    flv rtmp://a.rtmp.youtube.com/live2/MYYOUTUBECODE

    I installed x264 via clone and make install using this guideline. How can I check if this encoder was installed correctly ? I am already stuck for 2 days on this problem - please help !

    Related hints (e.g. libavcodec-extra codec, type errors) regarding this problem unfortunately also didn’t help further.

    Thank You.

    The entire console output is :

    ffmpeg version N-81043-ga49ed9e Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.9.2 (Raspbian 4.9.2-10)
     configuration:
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 50.100 / 57. 50.100
     libavformat    57. 42.100 / 57. 42.100
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 47.100 /  6. 47.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
    [video4linux2,v4l2 @ 0x24132f0] The driver changed the time per frame from 1/25 to 1/30
    Input #0, video4linux2,v4l2, from '/dev/video0':
    Duration: N/A, start: 161119.368327, bitrate: 147456 kb/s
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480,    
    147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc

    Unknown encoder 'libx264'