
Recherche avancée
Autres articles (111)
-
Publier sur MédiaSpip
13 juin 2013Puis-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, parLes 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 (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...)
Sur d’autres sites (10385)
-
ffmpeg video trim - no video only audio
24 août 2019, par PatrickI’m looking for some hints from you.
I try to trim mp4 videos (mostly 25fps - 720p) with python 3.7 and ffmpeg subcommand.
Video cut is working fine, but on short videos, below 1 sec, the output.mp4 has no video in it. i tried to view this by VLC and other apps, but still no video in this file. (>1.5 sec its working well with the same input file)
I have tried this cuts with different video quality, but still same issue.
Thanks in advance !
Patrick
ffmpeg -i test.mp4 -ss 00:00:00.5 -to 00:00:00.9 -c copy test_cut.mp4
Python code :
import sys
import subprocess as sp
import os
from moviepy.tools import subprocess_call
from moviepy.config import get_setting
#tried different methods and filters, but still same issue
cmd = [get_setting("FFMPEG_BINARY"), "-i", new_path_in, "-ss", "00:00:"+startSec, "-to", "00:00:"+endSec, "-c:v", "copy","-c:a","copy","-pix_fmt","yuv420p", new_path_out]
subprocess_call(cmd)
print("cut from "+startSec+" to "+endSec+" done") -
Creating silent video from an image file (like png) using FFmpeg [closed]
18 octobre 2023, par najam ulhassan`ffmpeg -y -loop 1 -i '$inputFile' -f lavfi -i anullsrc=r=44100:cl=stereo -vf "scale=1280:720" -c:v libx264 -pix_fmt yuv420p -c:a aac -strict experimental -t $seconds -crf 28 -preset ultrafast '$outputFile'`



I am using above command to create a silent audio or music video using FFMPEG, this command is working fine to do so, but taking a long processing time, For 3second video creation it is taking 20+ seconds in android devices i found -loop 1 is indefinite loop that is making to take more time.


I need some helpful suggestion to optimise the results of processing.
Moreover, I required silent sound too.


I tried different commands but they are not supporting both the functionality of silent and time frame.


-
How make audio to start from the specified point in the video and last specified amount of time
5 avril 2022, par Vuqar SamedLets say I have sample video named
"samplevideo"
and sample audio named"sampleaudio"
. I want to replace the audio of the samplevideo with the sampleaudio starting from 5 sec to 12 sec. Until 5 sec mark the video audio won't change, then sampleaudio starts and lasts for 7 sec.

I tried to come up with ffmpeg command that solves this problem :


ffmpeg -i samplevideo.mp4 -i sampleaudio.aac -ss 20 -map 0:v -map 1:a -c:v copy output.mp4



Problem :

It cuts video starting from 20 sec time mark. What I want is to persist the video and the original audio stream until it hits desired time mark and then use sampleaudio until desired end time.

I would appreciate any help.