Recherche avancée

Médias (91)

Autres articles (32)

  • 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

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (4655)

  • Summer Hacking 2011

    28 avril 2011, par Multimedia Mike — General

    I recently learned that iD — you know, the famed game company — has a series of summer tech camps :



    All I care to know is : Where were programs like these when I was 7-18 years old ? Born too early, I tell ya.

    That reminds me that the Google Summer of Code, 2011 Edition is getting underway soon. I guess it’s like summertime computer camp for college-aged students. FFmpeg / libav is once again a part of the program with 10 slots awarded by Google. Here are the students, projects, and mentors.

    Wish them luck.

  • FFmpeg - convert 2 audio tracks from video to 5.1 audio, (play video with different languages to different devices) [closed]

    10 février, par Sandre

    How to watch a movie with one language playing through the speakers and another through the headphones ?

    


    Disclaimer : I know nothing about audio conversion, and don't want to study ffmpeg. I spend a few hours searching how to do, actually much more than I want. I found a bunch of questions from different people and not a single working solution, so I made a clunky but working solution. If someone helps me make it more elegant, I'll be happy. If my question just gets downvoted like most ffmpeg newbie questions, it probably deserves it. And I hope my question can help people who want enjoy video with 2 different languages.

    


    A clumsy but working solution.

    


      

    1. Setup Aggregate Audio Device to play 2 channels of 5.1 through speakers and 2 through bluetooth headphones. (On screenshot Audio MIDI Setup for MacOS)
Agregate Device config

      


    2. 


    3. Use ffmpeg to convert 2 audio tracks into 5.1 audio.

      


    4. 


    5. Play video with new external audio track.

      


    6. 


    


    # print list of channels
ffprobe INPUT.mkv 2>&1 >/dev/null | grep Stream

--- sample output ---
    Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1280x544, SAR 1:1 DAR 40:17, 23.98 fps, 23.98 tbr, 1k tbn (default)
    Stream #0:1(rus): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s

# extract audio
ffmpeg -i INPUT.mkv -map 0:1 -acodec copy ru.ac3
ffmpeg -i INPUT.mkv -map 0:2 -acodec copy en.ac3

# extract only front_center channel from 5.1 - speach
ffmpeg -i en.ac3 -filter_complex "channelsplit=channel_layout=5.1:channels=FC[center]" -map "[center]" en_front_center.wav
ffmpeg -i ru.ac3 -filter_complex "channelsplit=channel_layout=5.1:channels=FC[center]" -map "[center]" ru_front_center.wav

# join to 5.1
ffmpeg -i en_front_center.wav -i ru_front_center.wav -filter_complex "[0:a][0:a][0:a][0:a][1:a][1:a]join=inputs=6:channel_layout=5.1[a]" -map "[a]" output.wav


    


    Is it possible to avoid re-encoding the audio and copying the same channel many times to reduce the file size ?

    


  • Anomalie #4324 (Fermé) : La vignette d’une video ne sert pas comme logo d’un article

    26 avril 2019, par Franck D

    Hello :-)
    SPIP 3.2.4 [24285]
    Avec uniquement les plug « meta+ » version 2.2.3 et « oembed » en version 2.0.10
    php 5.6.40

    Il semble y avoir un bug avec les vignettes des vidéos, https://contrib.spip.net/Metas-version-2#comment500975
    J’ai fait d’autres tests, et en faite le problème est présent même avec une vidéo qui est hébergé localement et avec l’ajout manuellement d’une vignette via la médiathèque
    Je pense que c’est un bug, car, il y a une différence de comportement entre une image, et une vignette qui sert pour une vidéo

    De même, si dans un article, je ne mets pas mais et que j’ajoute une vignette à ce document, alors cela fonctionne, Facebook voit bien l’image qui sert pour la vidéo
    Franck