Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (38)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (7299)

  • ffmpeg add ad audio file to a original audio file at start and before end [duplicate]

    14 mai 2021, par Tapas Karmakar

    i have a ad.mp3 file which have a ad audio file, and i have a original mp3 audio file where i want to merge with ad file at the start of original file and before end

    


    i have install ffmpeg to my ubuntu system and i have use below code but this is make every times

    


    ffmpeg -i original.mp3 -filter_complex "amovie=ad.mp3:loop=0,asetpts=N/SR/TB[beep];[0][beep]amix=duration=shortest,volume=2" output.mp3


    


    my requirement is to add ad.mp3 at start of original.mp3 and before end

    


    please help me how to solve this issue..

    


  • How to split a .mkv file into sounds and vedio file ?

    13 février 2020, par Ken Yip

    I have a mkv file which contain 3 streams. I use ffprobe to get the info of my mkv file.

    ffprobe ./demo/test2.mkv

    I got this output

    Input #0, matroska,webm, from './demo/test2.mkv':
    Metadata:
    encoder         : libebml v0.7.7 + libmatroska v0.8.1
    creation_time   : 2011-02-16T16:06:17.000000Z
    Duration: 00:03:41.08, start: 0.000000, bitrate: 1363 kb/s
    Stream #0:0: Video: rv40, yuv420p, 720x480, SAR 1:1 DAR 3:2, 29.97 tbr, 1k tbn, 1k tbc (default)
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (default)
    Stream #0:2: Audio: aac (LC), 48000 Hz, stereo, fltp

    The audio streams should be vocal and background music. I would like to extract them from the video.

    I have try to do so with those command

    ffmpeg -i ./demo/test2.mkv -map_channel 0.1.0 -y ch0.wav -map_channel 0.2.0 -y ch1.wav

    However, it output the same audio file. Is there any mistake I have made ? Thanks a lot.

  • Pass argument through .bat file to .exe file that converted by 'PyInstaller'

    23 novembre 2019, par Ayoub Ocarina

    I got an error when passing arguments through .bat file to .exe file that converted by PyInstaller
    In my python script I import the following libraries :

    import time
    from contextlib import closing
    from PIL import Image
    import subprocess
    from audiotsm import phasevocoder
    from audiotsm.io.wav import WavReader, WavWriter
    from scipy.io import wavfile
    import numpy as np
    import re
    import math
    from shutil import copyfile, rmtree
    import os
    import argparse
    from pytube import YouTube
    import cv2
    from datetime import datetime
    import datetime
    import os.path
    import shutil
    import webbrowser

    and this is my .bat file content :

    mode con: cols=100 lines=40
    @echo off
    COLOR 0A
    title VideoCuts
    :LOOP
    if "%~1"=="" goto :END
    ShortCut.exe --input_file "%~1" --silent_threshold 0.1 --silent_speed 9999999.00 --frame_margin 5 --sample_rate 48000 --frame_quality 1 --output_file "%~n1_%date:~-10,2%%date:~-7,2%%date:~-4,4%_%time:~0,2%%time:~3,2%%time:~6,2%_videocuts.mp4"
    pause

    I also tested using this .bat file :

    ShortCut.exe --input_file="%~1" --silent_threshold=0.1 --silent_speed=9999999.00 --frame_margin=5 --sample_rate=48000 --frame_quality=1 --output_file="videocuts.mp4"

    this is my error message images during processing