Recherche avancée

Médias (91)

Autres articles (32)

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

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

Sur d’autres sites (6842)

  • libFLAC/lpc_intrin_sse.c : New SSE code to calculate autocorrelation.

    9 août 2014, par Erik de Castro Lopo
    libFLAC/lpc_intrin_sse.c : New SSE code to calculate autocorrelation.
    

    Accelerate FLAC__lpc_compute_autocorrelation_intrin_sse_lag_NN routines for
    AMD and newer Intel CPUs (means Core i aka Nehalem and newer). Unfortunately
    it’s slower on older Intel CPUs.

    According to tests at HA :

    <http://www.hydrogenaud.io/forums/index.php?s=&showtopic=101082&view=findpost&p=870753> ;

    CPU flac -5 flac -8

    Athlon XP +5 % +2.4 %
    Athlon 64 X2 +9 % +4 %
    Core i +7 % +1 % ... +2.7 %
    Core 2 ? -3.5 %

    According to Steam HW survey <http://store.steampowered.com/hwsurvey/> ;
    69% of Steam users have SSE4.2 which means that the new code is faster for
    them. There are also AMD users that don’t have SSE4.2, so 75% of Steam users
    should benefit from this patch.

    Patch-from : lvqcl <lvqcl.mail@gmail.com>

    • [DH] src/libFLAC/lpc_intrin_sse.c
  • ffmpeg webcam capture a/v out of sync

    7 juillet 2014, par Cameron Ball

    I’m running this command to capture video and audio from my webcam :

    ffmpeg -y -f video4linux2 -s 320x240 -i /dev/video0 -f alsa -i "plughw:CARD=U0x46d0x825,DEV=0" -ac 2 -strict experimental Filename.mp4

    It works, but the audio is about half a second behind the video (EG if I clap, when I watch the video I’ll hear the clap and then see me do it).

    This is for an online stream, so I can’t fix it up later, it needs to be recorded correctly.

    It always seems to be off by the same amount, so I’m trying to find an option to simply delay when audio starts recording, but I can’t figure it out.

    Any ideas ?

  • Combining Youtube-dl and FFMPEG not working

    13 juillet 2019, par user1029296

    I am trying to download 5 second samples for a list of youtube video. The traditional approach is to download the entire file with "youtube-dl" and then use "ffmpeg" to split it however you want it.

    I am trying to use the following method : https://github.com/ytdl-org/youtube-dl/issues/622#issuecomment-162337869

    It does work when I include the variables in the command, for example :

    ffmpeg -ss 0 -i $(youtube-dl -f best --get-url https://www.youtube.com/watch?v=ySVi-0RS5vI&amp;t=5s) -t 10 -c:v copy -c:a copy title2.mp4

    However, I am having issues trying to automate the system. Specifically, I would like ffmpeg and youtube-dl to read a file and use the values. I created the file "youtube.txt" which includes the following codes :

    440.8,https://www.youtube.com/watch?v=0-4wOE_DNeA,661.2,881.6,0-4wOE_DNeA
    330,https://www.youtube.com/watch?v=0-AMWW6tHzw,495,660,0-AMWW6tHzw
    509.2,https://www.youtube.com/watch?v=0-Rmto2rgMw,763.8,1018.4,0-Rmto2rgMw
    427.6,https://www.youtube.com/watch?v=0-U53qm45cA,641.4,855.2,0-U53qm45cA
    320.4,https://www.youtube.com/watch?v=0-dja9Ys4Sg,480.6,640.8,0-dja9Ys4Sg
    343.6,https://www.youtube.com/watch?v=0-g_PulsqtM,515.4,687.2,0-g_PulsqtM
    415.6,https://www.youtube.com/watch?v=0-nniRyn7dU,623.4,831.2,0-nniRyn7dU
    431.2,https://www.youtube.com/watch?v=006BQU3BFxw,646.8,862.4,006BQU3BFxw

    I am using the following command :

    parallel -j 6 --colsep ',' ffmpeg -ss {1} -i $(youtube-dl -f best --get-url {2}) --t 5 -c:v copy -c:a copy {5} :::: youtube.txt

    However, I get the following errors :

    ERROR: '{2}' is not a valid URL. Set --default-search "ytsearch" (or run  youtube-dl "ytsearch:{2}" ) to search YouTube
    --t: No such file or directory

    Would you mind helping me ?

    Thanks !