Recherche avancée

Médias (91)

Autres articles (88)

  • 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

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

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

  • Movie from PNGs using FFmpeg and Python - rgb24 vs yuv420p

    7 février 2016, par Eilam G

    I wrote a little Python program to grab a bunch of PNGs and render them into a movie using the FFmpeg command line. The PNGs are read into [X*Y*3] numpy arrays (ignoring the alpha channel), new frames are added via interpolation, and the data is fed into FFmpeg as a pipe and saved as an mp4.

    The files play fine in VLC on Windows, but don’t work in iMovie on a Mac. I think it might have to do with most programs expecting H264 videos to be in the YUV420P color space, which my movies aren’t. I’ve tried changing the ffmpeg command -pix_fmt from rgb24 to yuv420p, but no go.

    Relevant Python code attached below.

    def init_vars(args):
       global log_file, file_names, command, num_int_frames, num_files, silent

       file_names = glob('./*.png')
       num_files = len(file_names)

       if args.log:
           log_file = 'bmmp.log'
       else:
           log_file = os.devnull

       silent = args.silent

       frames_per_second = args.fps
       wanted_movie_length = args.length
       movie_file_name = args.name + '.mp4'

       num_int_frames = round((frames_per_second * wanted_movie_length - 1) / (num_files - 1) - 1)

       if sys.platform == 'win32':
           ffmpeg_bin = 'ffmpeg.exe'
       else:
           ffmpeg_bin = 'ffmpeg'

       command = [ffmpeg_bin,
                  '-y', # (optional) overwrite output file if it exists
                  '-f', 'rawvideo',
                  '-vcodec','rawvideo',
                  '-s', '1280x720', # size of one frame
                  '-pix_fmt', 'rgb24',
                  '-r', str(frames_per_second), # frames per second
                  '-i', '-', # The input comes from a pipe
                  '-an', # Tells FFMPEG not to expect any audio
                  movie_file_name]

    Cheers,
    Eilam

  • ffmpeg : converting jpeg image sequence to movie gets error "not enough frames to estimate rate consider increasing probesize" [on hold]

    29 décembre 2013, par enigmaticeasteregg

    I have an image sequence with a numbering system of : image-00001.jpg. I want to convert this to a movie using ffmpeg. I always get the error in the title no matter what I do. Below is the syntax I'm using. Any ideas ?

    ffmpeg.exe -f image2 -r 25 -start_number 1 -i sequence-%05d.jpg -vcodec mjpeg Q:\test.avi
  • how to re-encode a movie to an encoding codec of another one with ffmpeg

    28 mai 2020, par gota

    Let's say I have 2 movies (movie1.mp4 and movie2.mp4), How can I use ffmpeg to reencode movie1.mp4 exactly with the same video codec, same bitrate, same audio codec as found in movie2.mp4 ?

    



    In other words, such that the output of ffprobe movie1.mp4 matches that of movie2.mp4 ?

    



    Why do I want this ? because I'm having problems concatenating both movies.