Recherche avancée

Médias (91)

Autres articles (10)

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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (3178)

  • ffmpeg - Copy audio channel but keep the same quality

    30 janvier 2021, par Michele Stieven

    I have a bunch of videos which have been recorded in stereo but the audio is present only on the left channel. I'm using this command to convert them :

    


    find * -prune -name “*.mp4” -exec ffmpeg -n -i “{}” —c:a copy ac 1 “./final/{}” \;


    


    This command seems to lower the files' size, and I'm glad since I don't need a perfect video, having the size so small is fine. However, I need a perfect audio, just the same quality as the original... just in both channels. With this command, the audio quality gets significantly worse. I wouldn't like to mess with options, I'd like to maintain just the exact same audio quality.

    


    The command -c:a copy doesn't seem to work in combination with this command. How can I do it ?

    


    Thanks.

    


    Edit : Here's the report : https://gist.github.com/UserGalileo/49bc8b7b85c05fe29bb044b6f599d71d

    


  • How to record a video and create a file every 1 minute and without stopping media recorder as stopping and starting causing delay

    7 janvier 2021, par Karsh Soni

    I want to develop a functionality where i have to start recording or say start continuous recording for more than 5 hours and for every minute i want to create a video file so that i want to store files of a video every minute without any delay or missing any frame.

    


    Right now to create a file i need to stop the media recorder and which leads to stopping and starting media recorder and it ends up losing 1.5 to 3 seconds of delay based on devices where i want to minimize the delay as negligible as possible.

    


    I am getting callbacks or frames for each second but if i would try to save those bitmaps and then try to convert them into video it might work with 5FPS. but with 30 or 60FPS its not performing as continuous frames wouldn't let me write to files efficiently. even though that is being done in background.

    


    Please let me know if you know any alternate solution or any solution that can help me achieve it.

    


  • opencv_ffmpeg module crash (IP Camera)

    25 novembre 2016, par Suraksha Ajith

    I’m using IP webcam android app(It converts mobile camera into IP web camera).
    I’m running below code in Visual Studio 2015 with OpenCV 3.1.

    VideoCapture cap; Mat img;
    cap.open("http://192.168.0.101:8080/video?x.mjpeg");
    while(waitKey(33)!=27)
    {
       try{
           cap>>img;  //code crashes here
           if(img.empty())
           {
            cout<<"camera Closed"<code>

    Getting below error.cIf the internet connection is slow or if the Wi-Fi is disconnected in my android device the program crashes
    Error :

    Exception thrown at 0x0BF2F6F0 (opencv_ffmpeg310.dll) in test.exe :
    0xC0000005 : Access violation reading location 0x00000020.

    If there is a handler for this exception, the program may be safely
    continued.

    even if the code is wrapped within try catch block, it crashes !

    Should I use try {} catch (...) block in source file, if yes, then where should I use this ?
    I referred this link but did not find the right answer.