Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (50)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (5490)

  • PHP - How to track video conversion progress - Stop ffmpeg process in PHP web [closed]

    21 mai 2022, par Mursaleen Ahmad

    I am working on a PHP web project where multiple users will be able upload and convert their videos bitrate using ffmpeg. And if users go to watch page before full conversion then "Video is being processed" message should show up.
I am using jQuery with AJAX and a watch link generated to watch online.

    


    1) How can I find the process is still running and show "Video is being processed" message to the users ?

    


    2) How can I stop ffmpeg process ?

    


    3) How can I get conversion percentage (how much video is converted) from file (as multiple users are using the site so can't work on single file named output.txt) ?

    


  • Normalize audio, then reduce the volume in ffmpeg

    27 octobre 2014, par Steve Sheldon

    I have a question relating to ffmpeg. First here is the scenario, I am working on a project where I need to have some audio with a presenter talking and then potentially some background music. I also have the requirement to normalize the audio. I would like to do this without presenting a bunch of options to the user.

    For normalization I use something similar to this post :

    How to normalize audio with ffmpeg.

    In short, I get a volume adjustment which I then apply to ffmpeg like this :

    ffmpeg -i <input /> -af "volume=xxxdB" <output>
    </output>

    So far so good. Now let’s consider the backing track, it doesn’t want to be the same volume as the presenters voice, this would be really distracting, so I want to lower that by some percentage. I can also do this with ffmpeg, I could do it like this (example would set volume to 50%) :

    ffmpeg -i <input /> -af "volume=0.5" <output>
    </output>

    Using these two commands back to back, I can get the desired result.

    My question has two parts :

    1. Is there a way to do this in one step ?
    2. Is there any benefit to doing it in one step ?

    Thanks for any help !

  • Timelimit plays for twice the duration [on hold]

    26 septembre 2019, par the_new_james

    I am using the following command to stream to a test an endpoint :

    ffmpeg -loglevel debug -f lavfi -re -i testsrc=size=hd720:rate=30
          -f lavfi -re -i anoisesrc
          -vf "drawtext=fontfile=\'/Library/Fonts/Arial.ttf\': text=\'Local time %{localtime\: %Y\/%m\/%d %H.%M.%S} (%{n})\': x=50: y=50: fontsize=48: fontcolor=white: box=1: boxcolor=0x00000099"
          -pix_fmt yuv420p -c:v libx264 -b:v 1000k -g 30 -profile:v baseline -preset veryfast
          -c:a libfdk_aac -b:a 96k -timelimit 60 -f flv $RTMP_OUTPUT/$NAME

    Because I’m adding this command to my automation, I would like to protect it from running indefinitely in case something goes wrong with my script (I start the ffmpeg job in a background process that is detached from the script). Therefore, I added the flag -timelimit 60, that, according to the documentation, the job should exit after duration seconds.

    I can see that the command is being parsed correctly

    Reading option '-timelimit' ... matched as option 'timelimit' (set max runtime in seconds) with argument '60'.
    ...
    Finished splitting the commandline.
    ...
    Applying option timelimit (set max runtime in seconds) with argument 60.
    ...

    Here’s an example output

    enter image description here

    The issue is that I noticed that the stream runs for longer than the specified time. After a couple of tests, I noticed that it is running for double the time, which got me thinking if it is taking the number of frames (assuming 2-second frames).

    Can someone clarify the timelimit option, please ? And the possible causes for running longer than specified.

    PS : I’m using ffmpeg version 4.1.4 on a MAC OS Mojave (10.14.6)