Recherche avancée

Médias (91)

Autres articles (80)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (12048)

  • How can I use ffmpeg with PHP's exec( ) command ?

    22 janvier 2012, par John Anderson

    I'm running Max OS 10.7, MAMP (PHP 5.3.6), with FFMPEG installed. I want to convert videos from one format to another. The following entered into Terminal works fine :

    ffmpeg -i /path/video.wmv /path/video.flv

    The file video.wmv is converted to video.flv. Great ! Now, this PHP line DOESN'T work :

    exec('ffmpeg -i /path/video.wmv /path/video.flv');

    Why ? I've spent many hours reading up on this and I still can't figure out what is wrong. I have read the other discussions on this topic and there is no clear answer. Any help would be greatly appreciated ! (PHP safe_mode is off).

  • Audio issues when overlaying two videos (ffmpeg)

    4 août 2021, par crashyourtesla

    I'm trying to overlay a short 10 second video on top of a 2 minute video and have the 10 second video show up at the 30 second mark. Here is what I have so far

    


    start = 30
subprocess.run(
    f'ffmpeg -y \
        -i {os.path.join(path, "2minutevideo.mp4")} \
        -i {os.path.join(path, "popup.mov")} \
        -filter_complex \
        "[0:v]setpts=PTS-STARTPTS[v0]; \
        [1:v]setpts=PTS-STARTPTS+{notify_start}/TB[v1]; \
        [v0][v1]overlay=enable=\'between(t, {notify_start}, {notify_start + get_duration(os.path.join(path, "popup.mp4"))})\' [out1]" \
        {render_flags} -r 24 -map 1:a -map [out1] -async 1 \
        {os.path.join(source_folder, "test.mp4")}')


    


    What this does is that popup.mov shows up at 30 seconds and plays for its entire duration. However, I have two issues :

    


      

    1. popup.mov's audio still plays at the beginning. I've tried itsoffset, setting the pts but both seem to not work or have errors.
    2. 


    3. The only audio playing is popup.mov's audio. I would like both 2minutevideo and popup.mov to play audio. Yes, I'm aware it's because -map 1:a only maps the popup's audio to the final video, but I have no idea how to have both audio play. Would I have to mix it ?
    4. 


    


    Thank you

    


  • How can I install brew (or ffmpeg) on Heroku ?

    28 mai 2018, par Donovant

    As per the title, I’d like to know whether and how to install brew, because I need to install ffmpeg lib

    I tried what it’s written here :

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"

    test -d ~/.linuxbrew && PATH="$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH"
    test -d /home/linuxbrew/.linuxbrew && PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:$PATH"
    test -r ~/.bash_profile && echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.bash_profile
    echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.profile

    but then brew is still not found :

    bash: brew: command not found