Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (48)

  • 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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (7384)

  • FFMPEG to remove audio but keeping background sound

    17 octobre 2022, par Sushil

    I am trying to add voice over to the existing video which has some audio in English and some background sound. I am trying to add other than English audio on top of it and keeping background sound. But when I add new audio it removes all the background sound and when it adds new audio which makes it robotic as original background sound is lost.
When I add new audio by using amix filter, it keeps all sound like English and new language both, and both plays together.

    


      

    1. Is there any way to separate background sound and speaking audio from video separately ?
    2. 


    3. Is it possible to mute or remove audio from only parts of video like offset between time frames ?
    4. 


    


    Command that I am using for add new audio
ffmpeg  -i independance_speech.mp4  -i 01.mp3 -filter_complex "[1]adelay=10000[s1];[s1]amix=inputs=2[a]" -map 0:v  -map "[a]" -c:v copy result.mp4

    


  • Start ffmpeg sound recording at system start doesn't work

    3 octobre 2022, par CheatingBoy

    I made a python script to record sound at System boot, but it doesn't work. I've tried using crontab and systemd but it doesn't work. If I start the program manually it works out fine.

    


    #!/bin/python3
import RPi.GPIO as GPIO
import time
import datetime
import subprocess
import os
import signal
GPIO.setmode(GPIO.BCM)
GPIO.setup(24, GPIO.IN)
GPIO.setup(23, GPIO.OUT)
print("Started Sound_Recorder_ULtimate_Control")
p = None
while True:
        time.sleep(0.5)
        if GPIO.input(24) == 1:
            if p is None:
                print("Preparing to recorde")
                today = datetime.datetime.now()
                time1 = "{}.{}.{}_{}:{}:{}".format(today.day , today.month, today.year, today.hour, today.minute, today.second)
                # Aufname starten
                command = "sh -c 'ffmpeg -f pulse -nostdin -i alsa_input.usb-FuZhou_Kingwayinfo_CO._LTD_TONOR_TC30_Audio_Device_20200707-00.mono-fallback /home/pi/sound_recorder/Recordes/'" + time1 + ".mp3"
                print(command)
                #subprocess.Popen(command)
                p = subprocess.Popen(command, stdout=subprocess.PIPE, 
                       shell=True, preexec_fn=os.setsid)
                print("Recording...")
                GPIO.output(23, GPIO.HIGH)
                time.sleep(2)    

            else:
                print("Terminate")
                os.killpg(os.getpgid(p.pid), signal.SIGTERM)
                GPIO.output(23, GPIO.LOW)
                p = None
                time.sleep(2)



    


  • Video has audio data, but no sound on Android

    1er septembre 2022, par youxiong

    I have download a video on android, but when I play it, there is no sound. Below is the output of FFMpeg.

    


      Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.48.100
  Duration: 00:00:43.24, start: 0.000000, bitrate: 643 kb/s
  Stream #0:0[0x1](und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(progressive), 864x480 [SAR 1:1 DAR 9:5], 547 kb/s, 21.05 fps, 30 tbr, 90k tbn (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](und): Audio: aac (Main) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 89 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]


    


    And also, I can play it with sound on windows using some powerful media player.

    


    Can I make some codec transfer using ffmpeg to make the video play on Android.
Thank you.