Recherche avancée

Médias (1)

Mot : - Tags -/university

Autres articles (28)

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

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (2505)

  • ffmpeg replace audio with filter complex start and end time [closed]

    3 juin 2020, par a4n6c

    I have this code that I found on one of the posts in StackOverflow and I tested it and it works however the only slight problem I need fixing on this.

    



    ffmpeg -y -i  "C:\Users\test\Desktop\vidz\New folder (2)\target\vaastav song .mp4" -i "C:\Users\test\Desktop\vidz\New folder (2)\target\2.mp3" -filter_complex "[0:a]atrim=start=0:05,asetpts=PTS-STARTPTS[aud1];[1:a]atrim=0:09,afade=t=out:st=57:d=3,asetpts=PTS-STARTPTS[aud2];  [aud2][aud1]concat=n=2:v=0:a=1[aout]"  -map 0:v -map "[aout]" -c:v copy -c:a  libmp3lame "C:\Users\test\Desktop\vidz\New folder (2)\target\output1.mp4"


    



    were you see the end-time [1:a]atrim=0:09 works ok does what i need it to do but the start time is not working accordingly as it starts playing the mp3 on the start of the video even when i set the time too atrim=start=0:05.

    


  • Reading from an audio CD in Java

    30 novembre 2019, par Macmanmatty

    Hello I’m Finishing up my java music player that is also a portfolio project and I wondered how I can read from an audio CD in java. The java file class can read the file data and send it to ffmpeg via opencv for java and then write to the source data line for playing , unless the user skips songs too fast or tries to seek them. Then the song refuses to play (due to buffer under runs I believe ; it throws ffmpeg frame grabber execeptions) and it just keeps skipping tracks. File input stream was slightly better but it faced other problems and still had seeking problems. My latest idea was to cache the file on to the hard disk and then play it. But not one of the four file copy methods I tried, Java Copy File – Stream, Java Copy File – java.nio.channels.FileChannel, Java Copy File – Apache Commons IO FileUtils, Java Copy File – Files class was able to copy 100% of the file 100% of the time. They mostly transferred about 50-60% of it and then quit. So how does one read from a CD in java ? I’m running OSX 10.12 and all of the audio files appear up as AIFF files . I would like to be able to have this work for all major desktop platforms (OSX Windows, Linux) though.

  • ffmpeg adts streaming with ezstream for icecast

    18 avril 2015, par Roberto Arosemena

    I’m trying to use ezstream to stream to an icecast server, my problem is while encoding the audio, I decode it from mp3 with madplay and I’m trying to encode it with ffmpeg so the output is aac, someone told me to use adts to be able to stream aac the problem is that the encoding doesn’t stream the audio, it shows the timer on the console but it goes from 0:00:00 to 0:00:40 to 0:01:30, etc until the song ends instead of going second by second, this is my config :

    <ezstream>
      <url>http://localhost:8100/t</url>
      <sourcepassword>password</sourcepassword>
      <format>MP3</format>
      <filename>/home/vybroo/server/audio/play.m3u</filename>
      <reencode>
         <enable>1</enable>
         <encdec>
            <format>MP3</format>
            <match>.mp3</match>
            <decode>madplay -b 16 -R 44100 -S -o raw:- @T@</decode>
            <encode>ffmpeg -f s16le -ar 44.1k -ac 2 -i - -b:a 32k -ar 44.1k -f adts -</encode>
         </encdec>
      </reencode>
    </ezstream>

    is the enconding config wrong ?, what should i change so it streams second by second correctly