Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (35)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

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

  • ffmpeg : two videos side-by-side with audio1 lang=ger & audio2 lang=eng

    19 janvier 2023, par miridigital

    I have two videos from two GoPro cameras. Both videos are rendered via ffmpeg side-by-side into a single video (left and right) and the audio is currently combined/mixed into two channels (stereo). I can hear both camera audio channels at the same time.

    


    Two channels stereo :

    


    ffmpeg -i video1.mp4 -i video2.mp4 -filter_complex "[0:v][1:v]hstack=inputs=2[v]; [0:a][1:a]amerge[a]" -map "[v]" -map "[a]" -ac 2 side-by-side.mp4


    


    audio from both videos mixed into a single file with 2 channels - mediainfo

    


    Now I want to switch between the two audio channels (cam1 or cam2) while I'm playing the side-by-side video.

    


    My first try : With four channels (without -ac 2 parameter) :

    


    ffmpeg -i video1.mp4 -i video2.mp4 -filter_complex "[0:v][1:v]hstack=inputs=2[v]; [0:a][1:a]amerge[a]" -map "[v]" -map "[a]" side-by-side.mp4


    


    audio from both videos mixed into a single file with 4 channels - mediainfo

    


    But the most video players can't easily select the channels 1+2 or 3+4 while playing.

    


    So I tried two languages :

    


    ffmpeg -i video1.mp4 -i video2.mp4 -filter_complex "[0:v][1:v]hstack=inputs=2[v]; [0:a][1:a]amerge[a]" -map "[v]" -map "[a]" -metadata:s:a:0 language=ger -metadata:s:a:1 language=eng side-by-side.mp4


    


    audio from both videos mixed into a single file with 4 channels with languages - mediainfo

    


    But that's wrong. I can only see german with 4 channels. How can I put channels 1+2 into german and channels 3+4 into english ? Afterwards I should be able to use the multi language feature from most video players to switch the audio between cameras.

    


    Thank you,
    
Miriam

    


  • Automatize Command Line to a HTML button

    29 janvier 2015, par Plankkan

    Info

    I am working on a native project where I try to render a HTML animation into a video.
    I am currently using programs like PhantomJS and FFmpeg to get the video out of the HTML animation using Command Lines. I follow a tutorial as seen in the link below :

    http://mindthecode.com/recording-a-website-with-phantomjs-and-ffmpeg

    Question

    I would like to automatize a button to do the Command Line.

    Is it possible to make a HTML onClick button which refers to a jQuery code, and this code will then initiate a .sh or .bat file that will run the Command Line :

    phantomjs runner.js | ffmpeg -y -c:v png -f image2pipe -r 25 -t 10  -i - -c:v libx264 -pix_fmt yuv420p -movflags +faststart dragon.mp4
  • FFMpeg : Stream desktop to another network

    7 octobre 2019, par A Person

    I hope you can help me in this quest :

    I have been trying to stream my desktop through direct show or inbuilt screen grabber. i want to be able to send it to another network so i can view the stream lets say my home desktop from work. The aim is to be able to stream a monitoring station from my setup from the the network (home) and view on WIFI (Work).

    I have done the following so far :

    ffmpeg -f dshow -i video="screen-capture-recorder":audio="virtual-audio-capturer" -vcodec h264_nvenc -f mpegts udp://10.1.0.0:1234

    However, the issue is that I can only view the stream on the same network.

    I tried passing the public IP of the network as the udp/rtp link but still doesn’t work.

    when i tried changing the udp to rtp I get the error saying sdp required, but again I am not sure this will stream to another network rather than same network.

    My aim is this.

    Have my desktop stream over some IP or anything and either use ffplay or vlc to view it from another network.