Recherche avancée

Médias (91)

Autres articles (86)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

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

Sur d’autres sites (11712)

  • How to get video size of compressed video by ffmpeg ?

    14 juillet 2016, par Mani Kandan

    Hi we are using ffmpeg for compressing the video through php script, now what i need is i want to get the video size of compressed image, but am getting an video path so kindly guide me how i need to over come this ?

    Below is the code what i used for compressing the video

    original path

    $path = "sample.mp4";

    Command to compress

    exec("ffmpeg -i sample.mp4 -vcodec h264 -acodec aac -strict -2 compressed_video.mp4);

    The command what i used for getting video size

    $compressed_video_information = exec("ls -h1 compressed_video.mp4);
    echo $compressed_video_information;

    I get just file path instaed of getting video file size, so someone help me how to overcome this issue ?

  • FFmpeg - video frame cropped after rotating video ?

    20 juin 2021, par Md Yeamin

    I am using following command to rotate video :

    


    ffmpeg -i input.mp4 -c:v h264 -vf rotate=PI/2 -c:a copy output.mp4


    


    After processing the video, the frame get cropped. Please see the attached screenshot of the video for reference.

    


    Screenshot of original video
screenshot of original video

    


    Screenshot of rotated video
screenshot of rotated video

    


  • Extracting parts of video and make a new video with them [on hold]

    13 février 2014, par Filippo

    I need to extract parts of a video and make a video (in order to make a summary).
    My videos are mostly mpg, sometimes avi.

    I'm using ffmpeg to do it :

    Extraction : ffmpeg -ss XX -t XX -i video.mpg -vcodec copy -acodec copy partX.mpg

    Concatenation : ffmpeg -i concat:part1.mpg|part2.mpg|... -vcodec copy -acodec copy summary.mpg

    I have two problems :

    • ffmpeg only let me set position by time reference and not by frame number. I will prefere to set it by frame number, but it's not a big deal
    • the resulting video is...bad. The transitions between extracted parts are not smooth at all.

    What is the best way to do that ?
    I guess I need some kind of non-linear editing library : gnonlin, gtreamer-editing-services (but no package for Fedora 16 ?), MLT...

    But how I can do that easily ? (in preference in python)

    I can't find any good example.

    Thanks.