Recherche avancée

Médias (91)

Autres articles (84)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (8689)

  • ffmpeg - Any way to add a transition to a list of clips to combine into a single video ?

    29 avril, par J. Pena

    Let's say I have a directory with 5 videos with the titles listed as the following

    


      

    • 1.mp4
    • 


    • 2.mp4
    • 


    • 3.mp4
    • 


    • 4.mp4
    • 


    • 5.mp4
    • 


    


    I created the text file named mylist.txt with the following written.

    


    file '1.mp4'
file '2.mp4'
file '3.mp4'
file '4.mp4'
file '5.mp4'


    


    I have an ffmpeg command that will combine these clips into one file beautifully already using the text file.

    


    ffmpeg -f concat -safe 0 -i mylist.txt -c copy combined.mp4


    


    My question is how can I add a fade transition to clips 2-4 using the text file ? The filter_complex parameter gives me an error.

    


    Streamcopy requested for output stream fed from a complex filtergraph. Filtering and streamcopy cannot be used together.


    


  • ffmpeg - How to combine overlapping clips from single video ?

    21 février, par anon

    I am trying to use ffmpeg to take a few clips from a video and combine them together, similar to this :

    


    Cut multiple parts of a video with ffmpeg

    


    Except that the clips come from timestamps that overlap. My command looks like this :

    


    "C:\Program Files\ffmpeg\bin\ffmpeg.exe" -y -i "C:\temp\5min.mp4" ^
-vf "select='between(t,4,6.5)+between(t,5,6)', setpts=N/FRAME_RATE/TB" ^
-af "aselect='between(t,4,6.5)+between(t,5,6)', asetpts=N/SR/TB" "C:\temp\5min-clip.mp4"


    


    The video that I get only contains the first clip. I am on the latest version of ffmpeg. How do I accomplish this ?

    


  • The ffmpeg output binary stream front-end uses WebSocket to accept and cannot be played [closed]

    17 novembre 2024, par KIMEOOK

    Server push nodejs

    


    Use ws service to pass to the front end

    


          ffmpegs = spawn('ffmpeg', [
        '-f', 'gdigrab',  // 这是 Windows 下用于捕获屏幕的输入格式
        '-framerate', '60',  // 捕获帧率
        '-i', 'desktop',  // 捕获桌面(即屏幕)
        '-c:v', 'vp8',  // 视频编码格式
        '-f', 'webm',  // 设置输出为 mpegts 流
        '-pix_fmt', 'yuv420p',
        'pipe:1',  // 输出到管道
      ]);


    


    enter image description here
enter image description here

    


    Front-end rendering

    


    
      let videoElement = document.getElementById('screenVideo');

      let mediaSource = new MediaSource();
      videoElement.src = URL.createObjectURL(mediaSource);

      mediaSource.addEventListener('sourceopen', () => {

        let sourceBuffer = mediaSource.addSourceBuffer('video/webm; codecs="vp8"'); 

        let ws = new WebSocket(`ws://${ip}:3000/?device=${encodeURIComponent(selectedDevice)}`);

        ws.onmessage = (event) => {
          const data = new Uint8Array(event.data);
          if (!sourceBuffer.updating) {
            try {
              sourceBuffer.appendBuffer(data);
              console.log('ok')
            } catch (error) {
              console.error('Error appending buffer:', error);
            }
          } else {
            console.log('SourceBuffer is busy');
          }
        };

        ws.onerror = (error) => {
          console.error('WebSocket error:', error);
        };

        ws.onclose = () => {
          console.log('WebSocket connection closed');
        };

        if (mediaSource.readyState === 'open') {
          videoElement.play().catch(err => {
            console.error('Error attempting to play the video:', err);
          });
        }
}


    


    The video keeps spinning in circles and cannot be played normally.

    


    enter image description here

    


    Unable to play normally. What's the problem ?