Recherche avancée

Médias (91)

Autres articles (81)

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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (10604)

  • How to merge two audio files and remove their overlap [closed]

    14 septembre 2024, par jackiechan Zebra

    I have two mp3 files, there have some overlap. The last few seconds, normally less than 2 second, of the first file are always appear on the first few seconds of the last file.

    


    How can I conbine the two audio files into one and eliminate the overlap part ?

    


      

    1. Currently, audio files are mp3.
    2. 


    3. Expecting a python lib. I know FFMPEG may work, but I have no experience.
    4. 


    5. Other programming languages solution are also fine.
    6. 


    


    Give me some keywords and I hope I can do the rest.

    


  • Retrieving RTP time from an IP camera programatically using FFMPEG

    22 novembre 2013, par Dídac Pérez

    I am using the ffmpeg C/C++ library to get the video stream from an IP camera using methods such as avformat_open_input(), av_read_frame(), etc... I would like to get the RTP time from the camera. pts and dts values give me the relative timestamp to the first frame, but I need the absolute date (i.e. 2013/11/22 12:40:30.123) and time since as I read, at the RTP layer the time is sent by the camera, and I have also configured the camera to use the dime from an NTP server.

    Please, I am really confused and I have tried everything without success, I am not able to find this date and time. Any help will be really appreciated, thank you so much.

  • Working with -filter_complex in ffmpeg with a batch concat array

    21 avril 2014, par user3555008

    What I am trying to do here is write an ffmpeg script that takes all songs from a folder and combines them into one audio file using the command line in Windows.

    So far I have

    ffmpeg -i "pathforinput1" -i "pathforinput2" -i "pathforinputn" -filter_complex "[0:0] [1:0] concat=n=(number of songs goes here):v=0:a=1 "[a]"" -map "[a]" -acodec libmp3lame -ab 320k "output file.mp3"

    My problem is that I want to combine it with the existing script :

    for %A in ("input folder\*.extension") do ffmpeg

    to create a total script that uses -i "%A" for the input. The problem I am having here is that each input file requires an entry in the array -filter_complex "[0:0] [1:0] as well as having the total number of input files present in concat=n=(number of files). I’ m willing to use a batch script to make this possible, but I can’t see how I would go about finding the total number of files in a folder and then creating an array for each (for example if there were 7 songs the array would be [0:0] [1:0] [2:0] [3:0] [4:0] [5:0] [6:0]).

    Any help or pointers for making this possible would be great. Someone in this question managed to make something similar for a Unix system but I am using batch files and I don’t know how to modify it for Windows.

    Thanks in advance for any help

    Ok, progress made with the help of the first commenter. However, I think ffmpeg isn’t liking what I’ve made. My code thus far is :

    :: Give you a list of the .wav filenames in -i "filename1" -i "filename2" format

    for %%a in ("C:\Users\James\Input\*.*") do call set var=%%var%% -i "%%a"
    echo %var%

    :: Give you the number of .mp3 files

    for /f %%a in ('dir "C:\Users\James\Input\*.*" /b /a-d ^|find /c /v "" ') do set "numfiles=%%a"
    echo there are "%numfiles%" files
    set /a totalnum=numfiles

    :: dir "C:\Users\James\Input\" /b >> C:\Users\James\Output\filelist.txt
    :: print some text
    set /a numfiles=numfiles-1
    for /L %%b in (0,1,%numfiles%) do call set array=%%array%% [%%b:0]
    :: for /L %%b in (0,1,%numfiles%) do call set array=%%array%% [0:0]
    echo %array%
    for /f "tokens=* delims= " %%C in ('echo %array% ') do set array=%%C
    set array=%array:~0,-1%
    echo %array%
    :: for %%d in ("C:\Users\James\Input\*.*") do ffmpeg -i "%%d" -filter_complex "%array% concat=n=%totalnum%:v=0:a=1 "[a]"" -map "[a]" -acodec libmp3lame -ab 320k "C:\Users\James\Output\outputtestbatch1.mp3"
    for %%d in ("C:\Users\James\Input\*.*") do ffmpeg -i "%%d" -filter_complex "%array% concat=n=%totalnum%:v=0:a=1 "[a]"" -map "[a]" -acodec libmp3lame -ab 320k "C:\Users\James\Output\outputtestbatch1.mp3"
    pause`

    The issue I am having now is that I think ffmpeg is assuming each input file has audio stream [0:0] rather than incrementing them one after the other. Is there a way to fix this with the input method I’m using ?

    **SECOND EDIT**L : Success ! I modified foxidrive’s script a bit because it was slightly misconfigured. Final product is here :

    @echo off

    for %%a in ("C:\Users\James\Input\*.*") do call set var=%%var%% -i "%%a"
    :: echo %var%
    :: Give you the number of files

    for /f %%a in ('dir "C:\Users\James\Input\*.*" /b /a-d ^|find /c /v "" ') do set "numfiles=%%a"
    echo there are "%numfiles%" files

    for /L %%b in (0,%numfiles%) do call set array=%%array%% [%%b:0]
    set array=%array:~1%
    echo "%array%"

    ffmpeg %var% -filter_complex "%array% concat=n=%numfiles%:v=0:a=1 "[a]"" -map "[a]" -acodec libmp3lame -ab 320k "C:\Users\James\Output\outputtestbatch1.mp3"

    popd    
    pause