Recherche avancée

Médias (91)

Autres articles (84)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (12451)

  • OSError : MoviePy error : failed to read the duration of file

    3 août 2022, par ZackR

    I'm receiving the error below from a lambda deployment with a Python3.9 runtime environment and x86_64 architecture. I attempted using the both most recent ffmpeg binary snapshot snapshot and release from this link, [https://evermeet.cx/ffmpeg/][1].
I checked the file info for duration and the attribute exists with a value of 16 seconds.

    


    What am I missing here ??

    


    [ERROR] OSError: MoviePy error: failed to read the duration of file /tmp/lgnd-assets-public-drops---sample-video.mp4.
Here are the file infos returned by ffmpeg:

-i: /var/task/ffmpeg: cannot execute binary file

Traceback (most recent call last):
  File "/var/task/CreateThumbnail.py", line 99, in handler
    create_video_thumbnail(bucket, key, file_name, extension)
  File "/var/task/CreateThumbnail.py", line 72, in create_video_thumbnail
    resize_video(thumb_download_path, thumb_upload_path)
  File "/var/task/CreateThumbnail.py", line 30, in resize_video
    with VideoFileClip(video_path) as video:
  File "/var/task/moviepy/video/io/VideoFileClip.py", line 88, in __init__
    self.reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt,
  File "/var/task/moviepy/video/io/ffmpeg_reader.py", line 35, in __init__
    infos = ffmpeg_parse_infos(filename, print_infos, check_duration,
  File "/var/task/moviepy/video/io/ffmpeg_reader.py", line 296, in ffmpeg_parse_infos
    raise IOError(("MoviePy error: failed to read the duration of file %s.\n"


    


    Thanks,
Zack

    


  • Android ffmpeg restreaming video bind failed address already in use

    20 août 2017, par mSapps

    I am receiving udp streaming from a camera(go pro camera) , I want to re streaming that stream to remote server. Here is the command I have tried

    "ffmpeg -i 'udp://@10.5.5.9:8554' -fflags nobuffer -f:v mpegts -probesize 8195 -vcodec libx264 copy http://103.x.x.x:8090/feed1.ffm"

    in my build.gradle I have included the following

    compile 'com.github.hiteshsondhi88.libffmpeg:FFmpegAndroid:0.2.5'

    Here is my code

    exec("ffmpeg -i udp://@10.5.5.9:8554 -fflags nobuffer -f:v mpegts -probesize 8195 -vcodec libx264 copy http://103.x.x.x:8090/feed1.ffm");

      public void exec(String command){
           try {
               // to execute "ffmpeg -version" command you just need to pass "-version"
               // Now, you can execute your command here
               ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {

                   @Override
                   public void onStart() {}

                   @Override
                   public void onProgress(String message) {}

                   @Override
                   public void onFailure(String message) {
                       Log.d("FFMPEG", "FAILED with output: "+message);
                       // i got bind failed address already in used error
                   }

                   @Override
                   public void onSuccess(String message) {
                       Log.i("SUCCESS", message);
                   }

                   @Override
                   public void onFinish() {}
               });
           } catch (FFmpegCommandAlreadyRunningException e) {
               // Handle if FFmpeg is already running
           }
  • ffmpeg : Fix deallocating input threads with partly failed file allocation

    14 juillet 2015, par Michael Niedermayer
    ffmpeg : Fix deallocating input threads with partly failed file allocation
    

    Fixes : 18615ff56beedc63a884a8db0678b47c_signal_sigsegv_7ffff713351a_991_xtrem_e2_m64q15_a32sxx.3gp with memlimit of 524288

    Found-by : Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] ffmpeg.c