Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (56)

  • 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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (4855)

  • Black/Empty frames at beginning of video file when file Cut using FFmpeg [closed]

    28 octobre 2024, par d0tb0t

    I am cutting a video using ffmpeg and facing the Black/Empty frame at the start issue.

    


    When Codec Copy -

    


    -y -hide_banner -ss 0:1:0 -i file:///private/var/mobile/Containers/Data/PluginKitPlugin/94588A94-C451-426E-9E9C-A7555B6E7C25/tmp/trim.EC876F92-04BE-41F8-ADF3-8CFC84669908.MOV -to 0:1:33 -t 0:0:33 -vcodec copy -acodec copy -avoid_negative_ts make_zero -async 1 file:///var/mobile/Containers/Data/Application/728D5FED-5E6B-4A37-8DE4-E63E47B06DF9/Documents/FILES/FileCopy.mov


    


    When Re-Encoding -

    


    -y -hide_banner -ss 0:1:0 -i file:///private/var/mobile/Containers/Data/PluginKitPlugin/94588A94-C451-426E-9E9C-A7555B6E7C25/tmp/trim.9F2B209B-B657-471A-AE87-7C464FF10812.MOV -to 0:1:33 -t 0:0:33 -vcodec libx264 -vf scale=1280:720 -pix_fmt yuv420p10le -color_range tv -colorspace bt2020nc -color_primaries bt2020 -color_trc arib-std-b67 -crf 28 -preset ultrafast -acodec copy -avoid_negative_ts make_zero -async 1 file:///var/mobile/Containers/Data/Application/728D5FED-5E6B-4A37-8DE4-E63E47B06DF9/Documents/FILES/FileReEncode.mov


    


    Both of the command provides almost the same issue. Provided a sample gif file below to show the scenario.

    


  • ffmpeg : Make output file duration that of the file with the longest length [closed]

    27 février 2024, par losercantcode

    I'm going crazy trying to figure this out.

    


    Essentially I'm trying to apply sidechain compression using ffmpeg (for the sake of speed and automation). a2.mp3 in this example is the full length track and a1.wav is a short 5 second, spoken-word clip. The code currently applies the sidechain compression well, but the output file is only that of the spoken-word clips length, so 5 seconds. Is it at all possible to make the output match that of a2.mp3's length instead ? Switching around the input order is not something that's possible as it'll apply the compression to the incorrect track.

    


    Essentially, i'm trying to make it so i'm just layering the spoken-word file on top of the audio track without having to pre-pad the file. I'd rather, if it's possible, this just happen with one block of code within the in one program. I'm interested to see if this is at all possible within ffmpeg.

    


    ffmpeg -i a2.mp3 -i a1.wav -filter_complex "[1:a]asplit=2[sc][mix];[0:a][sc]sidechaincompress=threshold=0.000976563:ratio=10:level_sc=0.015625:release=100:attack=10[compr];[compr][mix]amix=duration=longest[aout]" -map "[aout]" output.wav


    


    a1.wav is mon, a2.mp3 is stereo.

    


    Attempted to implement amix=duration=longest to no avail. Research similar problems on the Stack Exchange that gave unrelated answers.

    


  • how to merge audio and video file in python using ffmpeg ?

    5 août 2020, par arvind8

    I am trying to create a python script which merge the audio and video file in one (audio+video) file.

    


    And i am using ffmpeg to achieve this but it is not working and i am getting a errors.
while running this script here is my script.

    


    import os
import subprocess
import time
from datetime import datetime
def merge_all():
    
 global p
 p =subprocess.Popen('ffmpeg -i temp_vid.mp4 -i temp_voice.wav -c:v copy -c:a aac -strict experimental - 
 strftime 1 ' + dt_file_name ,stdin=subprocess.PIPE,creationflags = subprocess.CREATE_NO_WINDOW)
  time.sleep(2)
  print('merging done')
  os.remove('temp_vid.mp4')
  os.remove('temp_voice.wav')
  print('file delete done')>


    


    here is the error

    


    Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\kp\AppData\Local\Programs\Python\Python38\lib\tkinter\__init__.py", line 1883, in __call__
    return self.func(*args)

  File "C:\Users\kp\Desktop\test.py", line 179, in change_icon
    merge_all()

  File "C:\Users\kp\Desktop\test.py", line 104, in merge_all
 
p =subprocess.Popen('ffmpeg -i temp_vid.mp4 -i temp_voice.wav -c:v copy -c:a aac -strict experimental -strftime 1 ' + dt_file_name ,stdin=subprocess.PIPE,creationflags = subprocess.CREATE_NO_WINDOW)

  File "C:\Users\kp\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,

  File "C:\Users\kp\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in _execute_child

hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified