Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (53)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

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

  • 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 ?

    


  • Revision 61148 : Il faut faire le test sur $saisies[$cle][’saisies’] car ...

    9 mai 2012, par yffic@… — Log

    Il faut faire le test sur $saisies[$cle]saisies ? car $saisies[$cle]saisies ? peut avoir été supprimé du tableau de saisies ligne 362 dans le cas où le fieldset possède sa propre condition et que cette dernière n’est pas remplie. (Joseph)

  • Anomalie #4144 (Nouveau) : Problème fonction autoriser() dans inc/sessions

    29 mai 2018, par Samuel Burjade

    spip/ecrire/inc/session.php (révision 23641) (ligne 211)

    Quand on utilise l’API session_set() dans mes_fonctions.php, la fonction autoriser() fait planter l’accès à interface privée.

    Cela semble mieux tourner avec if (($auteur[’statut’] == ’0minirezo’) and _DUREE_COOKIE_ADMIN)