Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (61)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

Sur d’autres sites (9206)

  • Merge videos on computer automatically

    14 mai 2024, par Skyturkish

    I have some videos regularly downloaded to my computer, these are short videos, around 10-15 seconds each. I usually use https://online-video-cutter.com/merge-videos to merge them, and it serves my purpose well. I just drag and drop the videos I want and hit the download button without any additional steps.

    


    My goal is to automate this process, so I thought I could merge the videos locally on my computer using ffmpeg. I've tried with JavaScript libraries like ffmpeg-static and ffmpeg-fluent, but I couldn't get the desired result ; I keep encountering an error.

    


    What I want is automation of this process. How can I achieve this ? What can I use and how ? I attribute my inability to accomplish this to myself since what I want seems quite simple. Thank you in advance. Below, I'm leaving the JavaScript code I tried, but it gives me an error : 'ffmpeg exited with code 234 : Error opening output file ./merged-video.mp4. Error opening output files : Invalid argument.'

    


    The number of videos is not fixed ; if an example is needed, let's say the first 30 files under a folder.

    


    The videos are in mp4 format, and their frame sizes vary

    


    I don't have much knowledge about videos, but other things could be different too, not just the frame sizes. The website I shared above handles all of these somehow. It's a bit off-topic, but is it possible to learn how the process on the mentioned website works(look at the source code somehow, Idk) ?

    


    If there's any other way to automatically merge these videos, I would appreciate it if you could share it.

    


    const fs = require('fs')
const path = require('path')
const ffmpeg = require('fluent-ffmpeg')

function mergeVideos(folderPath, outputFile) {
  fs.readdir(folderPath, (err, files) => {
    if (err) {
      console.error('Error:', err)
      return
    }

    const videoFiles = files.filter((file) => {
      const ext = path.extname(file).toLowerCase()
      return ext === '.mp4'
    })

    const command = ffmpeg().outputOptions('-movflags frag_keyframe+empty_moov')
    videoFiles.forEach((file) => {
      command.input(path.join(folderPath, file))
    })

    command.on('error', (err) => {
      console.error('ffmpeg error:', err.message)
    })

    command.on('end', () => {
      console.log('merged')
    })

    command
      .complexFilter(
        '[0:v]scale=w=1920:h=1080:force_original_aspect_ratio=decrease[v0];[1:v]scale=w=1920:h=1080:force_original_aspect_ratio=decrease[v1];[v0][v1]hstack=inputs=2[v]'
      )
      .outputOptions('-map', '[v]')
    command.mergeToFile(outputFile, folderPath)
  })
}

const folderPath = '../../upload-videos/1/2'
const outputFile = './merged-video.mp4'
mergeVideos(folderPath, outputFile)


    


  • Is there a way to download from BluTV streaming video ? [closed]

    4 mai 2020, par nonName

    So im downloading a show from a website called bluTV, the first 10 episodes are free and i was able to download them with stream recorder, also their network showed segments.ts some of them had m3u8 link,
but i tried the trial and wanted to get the rest episodes the stream recorder failed because they were DRM protected, the network of the episodes showed segments in mp4 like this

    



    video-0-0.mp4
video-0-4.mp4
audio-0-0.mp4
audio-0-0.mp4
video-0-4.mp4

    



    the "4" is probably the highest resolution and it repeats everytime in the networks in inspect

    



    I was wondering is there a way to download them ? Also i couldn't find a m3u8 link for those episodes.
i can download any of the video-0-4.mp4 and its like 1gb also the audio-0-0.mp4 is 60 mb
but when i play them in vlc they are empty but they still run the entire episode time.

    


  • Using FFMPEG with QT

    7 mai 2018, par DearChild

    I’m having a problem with linking FFmpeg libraries to Qt 5.10 Projects.
    I downloaded the source code from the official website and successfully compiled and installed to my Ubuntu. I used : ./configure --enable-libvpx --disable-x86asm them : make && make install
    I’m able to find the installed libraries in /usr/local/lib (which are .a libs).

    my .pro looks like this :

    INCLUDEPATH += /usr/local/include
    LIBS += -L/usr/local/lib -lavformat -lavcodec -lavutil

    but i get the output :

    /usr/bin/x86_64-linux-gnu-ld:
    /usr/loca/lib/libavformat.a(http.o):undefined reference to symbol 'inflateEnd'
    //lib/x86_64-linux-gnu/libz.so.1: error adding symbols: DSO missing from command line

    Does anyone know how to solve it ? Thanks for the attention !

    Note : I would like to static link it to my project