
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (36)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Contribute to documentation
13 avril 2011Documentation 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 (...)
Sur d’autres sites (3929)
-
Set the filename downloaded via youtube-dl to a variable [closed]
22 septembre 2020, par Jim JamilThis is the current script, it's a Windows batch file that prompts for a Youtube url and then downloads the best audio in m4a. It's basically cobbled together and uses aria2 to manage the download.


@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
(set /p var1="Url? " && youtube-dl -f bestaudio[ext=m4a] --external-downloader aria2c --external-downloader-args "-j 16 -s 16 -x 16 -k 5M" --restrict-filenames -o "%%(title)s.%%(ext)s" --add-metadata --embed-thumbnail !Var1!)
ENDLOCAL
pause



After asking for the url, I want to also prompt the user to input the start and end times to trim the audio, which would be done by ffmpeg post download.


Something like :


ffmpeg -i file.m4a -ss 00:00:20 -to 00:00:40 -c copy file-2.m4a



Based on this : https://unix.stackexchange.com/questions/182602/trim-audio-file-using-start-and-stop-times/302469#302469


The beginning and end times would need to be variables set by user input in
00:00:00
format, but not sure how to add the ffmpeg post-processing at the end or how it would all fit together. I want to add this trimming feature to remove some of the preamble on podcasts and get straight to the guest part of the show.

The
--embed-thumbnail
is optional, and won't work anyway unless Atomic Parsley is present. FFmpeg often has trouble with Album Art anyway so I usually just use-vn
on the final output file.

-
ffmpeg merge separate .webm audio and video files using pts_time possible ?
4 août 2021, par ZachI have a number of audio and video files with different start times and end times. They're all generated from piped input streams (node.js) with .webm format, so the audio files have gaps where there is no audio in the piped stream.


I'm trying to :


- 

- Merge the audio files together with wall-clock correct start/end times
- Merge the video files using hstack.
- Combine the merged audio and merged video into 1 final video with all video/audio.








Right now I'm still stuck on step 1 - Merge the audio


My command that generates separate audio files is :


'-protocol_whitelist',
 'pipe,udp,rtp',
 '-fflags',
 '+genpts',
 '-f',
 'sdp',
 '-use_wallclock_as_timestamps',
 'true',
 '-i',
 'pipe:0'
 '-copyts',
 '-map',
 '0:a:0',
 '-strict'
 '-2',
 '-c:a',
 'copy'



I'd love to combine them somehow using the timestamps of each packet fill the empty space with silence. Right now, I'm putting them together with offsets using the time that I initiate the ffmpeg process from node.js, but these times are incorrect, as it takes a moment for ffmpeg to start up.


Any assistance or a push in the right direction for time sensitive merging of audio/video .webm files with ffmpeg would be outstanding.


Thanks !


PS, here's what I'm currently doing and running into a problems with :


'-i',
 './recordings/audio_1.webm',
 '-i',
 './recordings/audio_2.webm',
 '-filter_complex',
 '[1]adelay=6384|6384[b];[0][b]amix=2',
 './recordings/merged_audio.webm'



The delays are inaccurate (because they're based on an estimate of when the first packet starts) and doesn't account for gaps in the audio files :(


-
FFMpeg add images and audio clips to video
26 juillet 2022, par Alessandro Di CiccoI just started learning about FFmpeg and I'm having trouble performing a specific task : I have some videos to which I want to add some images and audio clips at specified times.


I managed to figure out how to add the images at specific times and positions with the following command :


ffmpeg -i inputVideo.mp4 -i picture_0.png -i picture_1.png -i audio.wav^
 -filter_complex "[0:v][1:v]overlay=400:400:enable='between(t,4,8)'[o0];[o0][2:v]overlay=800:800:enable='between(t,1,6)'"^
 -c:v libx264 -crf 0 output.mp4



I haven't managed to find a solution that allows me to do this. If it can help, the audio clips would be added in such a way that they do not overlap.