Recherche avancée

Médias (91)

Autres articles (67)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

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

  • aarch64 : cabac_encode_{decision,bypass,terminal}_asm

    19 novembre 2014, par Janne Grunau
    aarch64 : cabac_encode_decision,bypass,terminal_asm
    

    benchmarks on a Nexus 9 (nvidia denver) :
    101.3 cycles in x264_cabac_encode_decision_c, 67105369 runs, 3495 skips
    97.3 cycles in x264_cabac_encode_decision_asm, 67105493 runs, 3371 skips
    132.8 cycles in x264_cabac_encode_terminal_c, 1046950 runs, 1626 skips
    116.1 cycles in x264_cabac_encode_terminal_asm, 1048424 runs, 152 skips
    92.4 cycles in x264_cabac_encode_bypass_c, 16776192 runs, 1024 skips
    89.6 cycles in x264_cabac_encode_bypass_asm, 16776453 runs, 763 skips

    Cycle counts are not as stable as one would like. The dynamic code
    optimisation seems to produce different results for small chnages in a
    binary. Repeated runs with the same binary produce stable results
    though (ignoring the first run).

    • [DH] Makefile
    • [DH] common/aarch64/asm-offsets.c
    • [DH] common/aarch64/asm-offsets.h
    • [DH] common/aarch64/cabac-a.S
    • [DH] common/cabac.h
    • [DH] tools/checkasm.c
  • rename files from id3v1 tags in terminal

    13 février 2021, par MenaK

    I have a directory of mp3 files which are all named 1.mp3, 2.mp3 etc..

    


    #dir with numbers for names

10.mp3  15.mp3  2.mp3   24.mp3  29.mp3  33.mp3  38.mp3  42.mp3  47.mp3  51.mp3  56.mp3  60.mp3  65.mp3  7.mp3   74.mp3  79.mp3  83.mp3  88.mp3  92.mp3
11.mp3  16.mp3  20.mp3  25.mp3  3.mp3   34.mp3  39.mp3  43.mp3  48.mp3  52.mp3  57.mp3  61.mp3  66.mp3  70.mp3  75.mp3  8.mp3   84.mp3  89.mp3  93.mp3
12.mp3  17.mp3  21.mp3  26.mp3  30.mp3  35.mp3  4.mp3   44.mp3  49.mp3  53.mp3  58.mp3  62.mp3  67.mp3  71.mp3  76.mp3  80.mp3  85.mp3  9.mp3   94.mp3
13.mp3  18.mp3  22.mp3  27.mp3  31.mp3  36.mp3  40.mp3  45.mp3  5.mp3   54.mp3  59.mp3  63.mp3  68.mp3  72.mp3  77.mp3  81.mp3  86.mp3  90.mp3  95.mp3
14.mp3  19.mp3  23.mp3  28.mp3  32.mp3  37.mp3  41.mp3  46.mp3  50.mp3  55.mp3  6.mp3   64.mp3  69.mp3  73.mp3  78.mp3  82.mp3  87.mp3  91.mp3  96.mp3


    


    I wrote a for loop to extract the title from the metadata using ffmpeg :

    


    for x in *.mp3; do
ffmpeg -i $x ./$("ffmpeg -i $x 2>&1 |grep -E '^\s*title\s*\:\s.*$' |awk -F ' :' '{print $2}'".mp3
done


    


    Instead of extracting the title and renaming the file it says that the file '.mp3' already exists, would I like to rewrite it. when I type y to rewrite this new '.mp3' the same things just happens again.
I fixed the problem by putting the full path of the output file in double quotes instead of just the title extraction command

    


    for x in *.mp3; do
ffmpeg -I $x "./$(ffmpeg -i $x 2>&1 |grep -E '^\s*title\s*\:\s.*$' |awk -F ' :' '{print $2}'
)".mp3
done


    


    My question is why does it create a new file called .mp3 when I only wrap the title extraction command in quotes and not the whole path ?

    


    I'm sorry if this is a little lengthly, Im new to stack overflow

    


  • PHP FFMPEG command not working and working in terminal

    1er mars 2019, par Saurabh Sharma

    My FFMPEG path /usr/bin/ffmpeg
    My FFMPEG command

    $result = exec('/usr/bin/ffmpeg -i 1551361268_video.webm -i
    1551361289_video.webm -i 1551361500_video.webm -i 1551361518_video.webm -i
    1551361555_video.webm -i 1551361626_video.webm -i 1551361647_video.webm -i
     1551361682_video.webm \
    -filter_complex "[0:v:0][0:a:0][1:v:0][1:a:0][2:v:0][2:a:0][3:v:0][3:a:0]
    [4:v:0][4:a:0][5:v:0][5:a:0][6:v:0][6:a:0][7:v:0]
    [7:a:0]concat=n=8:v=1:a=1[outv][outa]" \
    -map "[outv]" -map "[outa]" php.mkv');

    When I run this code nothing happens. I’m using centos 7. If I run this command on terminal, This works fine.