Recherche avancée

Médias (91)

Autres articles (58)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les sons

    15 mai 2013, par
  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (4186)

  • HTML5 icecast stream and pausing stream to add advert

    2 avril 2019, par RussellHarrower

    So I have not found a good solution to add audio advertising to our radio station for users who are not in the stations main area (western Australia).

    So I was wondering is there away that anyone knows of, that would allow a code be it ffmpeg or java/JavaScript to listen for the song that is currently playing (it maybe delayed by 30seconds) and after the song ends start an audio ad from a mongodb database.

    I know how to do the mongodb database part.

    What I need to figure out is how to detect that the song is finishing or other option is to store the stations adverts in the db as raw data or even better we could air a 0.1sec file that is just blank and that filename tells the script to lower audio player ones volume and boost audio two volume.

    When station ads end we play another filename with same length and reverse the process.

    Ok sorry if that’s me thinking out loud but if you have any ideas that would be great.

    The only issue with above is TuneIn app won’t work with an IFrame we need to supply them an audio url.

    So if anyone know how to do this in ffmpeg and only require 1 url which can detect users location that be better solution.

    All ideas welcomed and yes I googled and Bing searched however I don’t have 30,000$ for hardware companies are selling. There has to be an open source solution.

  • How to convert captured video stream with two slice packet to transport stream with one slice packet using ffmpeg ?

    26 septembre 2019, par AnkurTank

    I have captured video frame from multi media device. Captured stream has two slice packets. For testing a use case I need to convert it to transport stream with one slice packet.

    Any suggestions/pointers ?

  • ffmpeg cannot find stream but stream does exist

    10 avril 2023, par rayen saidani

    ima using ffmpeg to add text to the video the problem is this command works some times and some times it just dont feel like working

    


    this the error that iam getting
Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_subtitles_0

    


    this the command iam trying to run to add text to the video the srt file is always there when i run the commmand i tryed to run :
ffmpeg -i  ./vid/${id}.3.mp4   -lavfi "subtitles=${id}.srt:force_style='Alignment=0,OutlineColor=&H100000000,BorderStyle=3,Outline=1,Shadow=0,Fontsize=18,MarginL=100,Marginv=100'"  -c:1 copy ./ready/${id}.4.mp4

    


    this the function :

    


    const addtext=async(id)=>{
  
  return new Promise(async(resolve,reject)=>{
    const command1 =await `ffmpeg -i  ./vid/${id}.3.mp4   -lavfi "subtitles=${id}.srt:force_style='Alignment=0,OutlineColor=&H100000000,BorderStyle=3,Outline=1,Shadow=0,Fontsize=18,MarginL=100,Marginv=100'"  -c:1 copy ./ready/${id}.4.mp4 `;
    await exec(command1, (error, stdout, stderr) => {
    if (error) {
        reject(`stderr: ${error.message}`)
    }
    resolve(id)
  })
 })  
}


    


    this the error that iam getting
Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_subtitles_0

    


    this the command iam trying to run to add text to the video the srt file is always there when i run the commmand i tryed to run :
ffmpeg -i  ./vid/${id}.3.mp4   -lavfi "subtitles=${id}.srt:force_style='Alignment=0,OutlineColor=&H100000000,BorderStyle=3,Outline=1,Shadow=0,Fontsize=18,MarginL=100,Marginv=100'"  -c:1 copy ./ready/${id}.4.mp4