
Recherche avancée
Autres articles (53)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs. -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)
Sur d’autres sites (10685)
-
Unrecognized option 'crf'
6 septembre 2022, par Arjit KaushalI am trying compress video using ffmpeg but i am facing errors in the command.
Although it runs perfectly fine on my linux terminal.
( ffmpeg -i input.avi -vcodec libx264 -crf 24 output.avi)
.

my code :


void _compress() {
 if (_videoModel == null) return;
 String inputPath = _videoModel!.originalCachePath;
 String outputPath = _videoModel!.editCachePath;
 
 FFmpegKit.execute("-i $inputPath -vcodec libx264 -crf 24 -y $outputPath")
 .then((session) async {
 final returnCode = await session.getReturnCode();
 if (ReturnCode.isSuccess(returnCode)) {
 Navigator.pushNamed(context, PreviewPage.routeName,
 arguments: _videoModel);
 } else if (ReturnCode.isCancel(returnCode)) {
 print("compress cancel");
 } else {
 print("compress error : $returnCode");
 FFmpegKitConfig.enableLogCallback((log){
 final message = log.getMessage();
 print(message);
 });
 
 
 }
 });
 }



I am facing the following errors :
Unrecognized option 'crf',
I/flutter (31056) : Error splitting the argument list,
Option not found.


-
Combining audio and multiple videos with FFMPEG [closed]
6 novembre 2023, par Lee PI am working on a ffmpeg script to combine two videos with one audio file. The first video file should start after about 6 seconds and the second after about 40 seconds, and there should be a padding with a black screen between the two videos.
However, it only seems to add the first video clones the final frame as the padding.


Here is my current script :


ffmpeg -i video_0.mp4 -i video_1.mp4 -i audio.mp4 -filter_complex "[0:v] tpad=start_duration=5927ms:start_mode=add:color=black:stop_mode=add:color=black; [1:v] tpad=start_duration=44901ms:start_mode=add:color=black:stop_mode=add:color=blackconcat=n=2" -map 2:a -f mp4 -movflags +faststart composite_recording.mp4



The final video timing should be :


00:00-00:06 — black screen

00:06-00:24 — first video

00:24-00:40 — black screen

00:40-00:48 — second video

I tried setting different values for the tpad start_duration for the second video and expected it to start the second video at around 40 seconds into the audio, however it didn't change anything.


-
How to not include the Pause duration in the FFMPEG recording timeline
8 janvier 2019, par Riccardo VolpeI’m trying to pause a screencast made with
ffmpeg
under Linux, giving the command :kill -s SIGSTOP <pid>
</pid>resuming then it with the command :
kill -s SIGCONT <pid>
</pid>to finally interrupt it with the command :
kill <pid>
</pid>but the resulting file keeps the duration of the pause command in the timeline. Is there any way to not include it in the final video output ?
Thank you
Edit #1
I can’t understand a down vote without an explanation... but maybe my mind thinks different.
To not be misunderstood and for a better explanation of the problem, I realized a video : as you can see, now, there are 14 seconds in which the timeline is locked (from 29th to 43th second), the same duration of the command to pause the screencast (
kill -s SIGSTOP <pid></pid>
). Now the previous question, if someone knows the solution.The unique one that I thought is to cut the final output, "labeling" the pause command in such a way to know where to cut...