Recherche avancée

Médias (91)

Autres articles (67)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

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

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

Sur d’autres sites (6046)

  • How to convert .mp3 format to specific .wav format ?

    28 juillet 2020, par Aaditya Ura

    I have an invalid format file (showing .mp3) , I want to convert it into a different format

    


    The invalid format file is

    


    enter image description here

    


    And I want to convert it into exactly like this .wav format

    


    enter image description here

    


    If I am using simply ffmpeg -i input.mp3 out.wav it's not giving exact same .wav as the second file. What config I should use in FFmpeg to convert first audio same like second audio ?

    


  • Use FFmpeg to rotate the video based on it’s metadata ? Why Android put the wrong metadata ?

    27 août 2014, par Mauro Valvano

    Hi have a website where the user upload a video.
    For my website i have also the Android application.
    The website create a thumbnail of each uploaded video (from browser or Android).

    The problem is that for normal videos its all OK, but for android my videos are rotated of 90°.

    I think that android have a bug, because when i see with FFmpeg the video’s metadata, for a normal recorded video i got a rotate=90 value, and for a 90° rotated video i don’t have nothing in the metadata (and the thumbnail is correct).

    Why ?

    This is an image of a normal recorded video (with the phone in portrait mode).

    FFmpeg showing the rotate metadata in a normal recorded video

    Anyways, i have the metadata in the video, can i create it’s thumbnail based on it’s metadata’s rotate value without extracting the metadata and then use ffmpeg to rotate the video on this value ?

    Thank you in advance.

  • FFmpeg YouTube live streaming automatically stopped after some time (6- 9 min) RTMP node js

    30 juin 2020, par Avneesh Singh

    I am developing a feature where I am capturing the desktop screen and live streaming on YouTube by using the FFmpeg module. The streaming is working fine but the problem is it stopped automatically after some time like 6-9 min and YouTube is showing "no data" receiving.
Below I attached the code.
const process = spawn(pathToFfmpeg,["-probesize", "10M", "-f", "gdigrab", "-i", "desktop", "-framerate", "30", "-f", "dshow", "-i", "audio= Microphone (2 - USB audio device)", "-filter_complex", "amix=inputs=1", "-preset", "fast", "-g", "60", "-tune", "zerolatency", "-c:v", "libx264", "-crf", "10", "-pix_fmt", "yuv420p", "-map", "0", "-maxrate", "1M", "-bufsize", "2M", "-vsync", "vfr", "-acodec", "pcm_s16le", "-b:v", "4500k", "-b:a", "128k", "-f", "flv", "-", ], 
stdio : "pipe"

) ;

    


    after that, I am encoding it by using FFmpeg path.
let proc = ffmpeg(stream).size('1920x1080').videoBitrate('4500k').videoCodec('libx264').fps(30).audioBitrate('128k').audioCodec('aac').audioFrequency(22050).audioChannels(2).toFormat('flv').on('end', () => console.log('file has been converted succesfully') ;).on('error', (err) => console.log('an error happened : ' + err) ;).save(publish) ;