Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (105)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

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

  • How to adjust the background music volume according to the main audio volume ?

    31 juillet 2017, par harishkumar329

    I am using the following ffmpeg "amerge" command to mix two audio files,

    ffmpeg -i voice.mp3 -i music.mp3 -filter_complex "[0:a]volume=1dB[a0];[1:a]volume=0.5[a1];[a0][a1]amerge=inputs=2[a]" -map "[a]" -strict -2 -y output.mp3

    voice.mp3 file also includes the silences in the middle of the audio, the positions of silence is completely dynamic.

    Currently, the voice volume is set as 1db and the music volume is set as 0.5. Because of this when there is no voice, the audio volume sounds low, if I increase the background music volume, it will spoil the voice clarity.

    Is there a way where the volume for the voice and music gets adjusted dynamically while mixing using "ffmpeg" or any such tool ?

    I know that it is possible by writing the code to separate silence and voice and mix individually with the music and then merge everything together, in that method getting the music flow without any jerks is difficult, also it requires a lot of coding and testing.

  • How do you apply filters to ffmpeg in one sentence and put music in the ffmpeg ?

    9 septembre 2017, par 이상우

    I want to put music on a photo with a filter applied.
    However, music will not be inserted and only the video will be played.
    What should I do ?

    "C:/Users/SCITMaster/Desktop/ffmpeg-20170827-ef0c6d9-win64-static/bin/ffmpeg",
    "-loop","1","-t","5","-i","photo1.jpg",
    "-loop","1","-t","5","-i","photo2.jpg",
    "-loop","1","-t","5","-i","photo3.jpg",
    "-loop","1","-t","5","-i","photo4.jpg",
    "-loop","1","-t","5","-i","photo5.jpg",
    "-filter_complex",
    "[1:v][0:v]blend=all_expr='A*(if(gte(T,2),1,T/2))+B*(1-(if(gte(T,3),1,T/3)))'[b1v];"
    + " [2:v][1:v]blend=all_expr='A*(if(gte(T,0.5),1,T/0.5))+B*(1-(if(gte(T,0.5),1,T/0.5)))'[b2v];"
    + " [3:v][2:v]blend=all_expr='A*(if(gte(T,0.5),1,T/0.5))+B*(1-(if(gte(T,0.5),1,T/0.5)))'[b3v];"
    + " [4:v][3:v]blend=all_expr='A*(if(gte(T,0.5),1,T/0.5))+B*(1-(if(gte(T,0.5),1,T/0.5)))'[b4v];"
    + " [0:v][b1v][1:v][b2v][2:v][b3v][3:v][b4v][4:v]concat=n=9:v=1:a=0,format=yuv420p[v]",
    "-map",
    "[v]","-i","Test.mp3","-s","1280x960","-vcodec","libx264","-crf","25","-acodec","copy",
    "crossfade.mp4"
  • FFMPEG image + music = video

    24 septembre 2017, par Nikita Slastikhin

    Just trying todo video for youtube from image (1080p .png) + music (320Kb mp3).

        ffmpeg -loop 1 -i image.png -i music.mp3 -c:a copy -c:v libx264 -crf 0 -preset veryslow -shortest output.mp4
    

    But converting is to slowly.
    Any ideas, how it make optimize ?

    E:_TEST>ffmpeg -loop 1 -i image0.png -i music0.mp3 -c:a aac -c:v libx264 -crf 0 -preset veryfast -shortest video0.mp4
       ffmpeg version N-87306-g6743351 Copyright (c) 2000-2017 the FFmpeg developers
       built with gcc 7.2.0 (GCC)
       configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib
       libavutil            55. 75.100 / 55. 75.100
       libavcodec         57.106.101 / 57.106.101
       libavformat        57. 82.100 / 57. 82.100
       libavdevice        57.    8.101 / 57.    8.101
       libavfilter         6.105.100 /    6.105.100
       libswscale            4.    7.103 /    4.    7.103
       libswresample     2.    8.100 /    2.    8.100
       libpostproc        54.    6.100 / 54.    6.100
       Input #0, png_pipe, from 'image0.png':
       Duration: N/A, bitrate: N/A
           Stream #0:0: Video: png, rgb24(pc), 1920x1080, 25 fps, 25 tbr, 25 tbn, 25 tbc
       Input #1, mp3, from 'music0.mp3':
       Metadata:
           encoder                 : Lavf57.56.101
       Duration: 01:00:33.06, start: 0.025057, bitrate: 128 kb/s
           Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
           Metadata:
               encoder                 : Lavc57.64
       Stream mapping:
       Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
       Stream #1:0 -> #0:1 (mp3 (native) -> aac (native))
       Press [q] to stop, [?] for help
       [libx264 @ 0000000002d3f320] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA3 BMI1
       [libx264 @ 0000000002d3f320] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
       [libx264 @ 0000000002d3f320] 264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - <a href="http://www.videolan.org/x264.html" rel="nofollow noreferrer">http://www.videolan.org/x264.html</a> - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=12 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0
       Output #0, mp4, to 'video0.mp4':
       Metadata:
           encoder                 : Lavf57.82.100
           Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p(progressive), 1920x1080, q=-1--1, 25 fps, 12800 tbn, 25 tbc
           Metadata:
               encoder                 : Lavc57.106.101 libx264
           Side data:
               cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
           Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
           Metadata:
               encoder                 : Lavc57.106.101 aac
       frame=    107 fps= 40 q=-1.0 Lsize=         778kB time=00:00:04.24 bitrate=1503.5kbits/s speed=1.57x