Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (49)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

  • timelapse images into a movie, 500 at a time

    2 mars 2017, par molly78

    I am trying to make a script to turn a bunch of timelapse images into a movie, using ffmpeg.

    The latest problem is how to loop thru the images in, say, batches of 500.

    There could be 100 images from the day, or there could be 5000 images.

    The reason for breaking this apart is due to running out of memory.

    Afterwards I would need to cat them using MP4Box to join all together...

    I am entirely new to bash, but not entirely programming.

    What I think needs to happen is this

    1) read in the folders contents as the images may not be consecutively named

    2) send ffmpeg a list of 500 at a time to process (https://trac.ffmpeg.org/wiki/Concatenate)

    2b) while you’re looping thru this, set a counter to determine how many loops you’ve done

    3) use the number of loops to create the MP4Box cat command line to join them all at the end.

    the basic script that works if there’s only say 500 images is :

    #!/bin/bash

    dy=$(date '+%Y-%m-%d')

    ffmpeg -framerate 24 -s hd1080 -pattern_type glob -i "/mnt/cams/Camera1/$dy/*.jpg" -vcodec libx264 -pix_fmt yuv420p Cam1-"$dy".mp4

    MP4Box’s cat command looks like :

    MP4Box -cat Cam1-$dy7.mp4 -cat Cam1-$dy6.mp4 -cat Cam1-$dy5.mp4 -cat Cam1-$dy4.mp4 -cat Cam1-$dy3.mp4 -cat Cam1-$dy2.mp4 -cat Cam1-$dy1.mp4 "Cam1 - $dy1 to $dy7.mp4"

    Needless to say help is immensely appreciated for my project

  • ffmpeg and gnu parallel

    16 août 2013, par souvik

    My work would require me to encode a few thousand movies in a few days. Each movie needs to be encoded in 3 different formats. I use ffmpeg to output these formats in parallel with a single read of the input source as detailed here : http://ffmpeg.org/trac/ffmpeg/wiki/Creating%20multiple%20outputs

    In addition, I am using GNU Parallel to encode from multiple video files in parallel. We have four blade servers of different configurations (48, 32, 16 and 16 cores) encoding videos in parallel. Ideally, we should be able to encode 112 videos in parallel.

    However, it seems that encoding completes faster on machines with lesser cores. I have 16 completed encodes on the 16 core servers in around 4 hours, while it takes close to 10 hours for 48 encodes to complete on the 48 core system. What could be the bottleneck ? A typical encode command is as follows :

    ffmpeg -i sample.mpg -y -vcodec libx264 -vprofile baseline -level 30 -acodec libfdk_aac -ab 128k -ac 2 -b:v 500K -threads 1  encoded/sample_enc.mp4

    Any pointers highly appreciated. Thanks !

  • HW Accel Transcode Intel Quick Sync Video QSV h264_qsv and CRF Quality

    26 août 2020, par Matt McManis

    I'm having a problem with HW Accel Intel Quick Sync Video and CRF.

    



    It looks like CRF -crf is not compatible with -c:v h264_qsv.

    



    Only Bit Rate -b:v works with -c:v h264_qsv.

    



    ffmpeg -i input.mp4 -c:v h264_qsv -crf 25 -pix_fmt nv12 output.mkv


    




    



    https://trac.ffmpeg.org/wiki/Hardware/QuickSync

    



    The guide says "ICQ mode (which is similar to crf mode of x264)" -global_quality 25

    



    ffmpeg -i input.mp4 -c:v h264_qsv -global_quality 25 -pix_fmt nv12 output.mkv


    



    But I cannot get it to work. I get the error Selected ratecontrol mode is unsupported.

    




    



    How do I get either CRF or ICQ to work ?