
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (54)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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
Sur d’autres sites (8277)
-
Revision 61148 : Il faut faire le test sur $saisies[$cle][’saisies’] car ...
9 mai 2012, par yffic@… — Log -
How can I concatenate MP4 videos and exactly match this combined video to an audio track in ffmpeg ?
17 juin 2020, par mattadorBasically I want to combine 4 videos into a single video, then swap out the concatenated audio for another track. The audio track needs to be unaltered and sync exactly to the video.



Specifically, I'm creating multipaged dynamic audio spectrograms (visualizations of a sound file) using ggplot2 and gganimate in R, which I want to combine using ffmpeg. So the original WAV is chopped up into 3 sec segments, a video is created to visualize frequency changes over time for each segment, which I want to combine into 1 video with the original audio track matched up.



All of my relevant files are at github here in the vids folder : DL link here



The individual dynamic spectrograms export fine (1-4.mp4 in the archive). They are each 20ms too long ; they should be exactly 3s, but otherwise great.



I then use ffmpeg to concatenate them :



ffmpeg -f concat -safe 0 -i "mp4Segments.txt" -codec copy -t 12 -y "(1-4)vid.mp4"




but you can see the end of (1-4)vid.mp4 is getting a little off (the cursor is not all the way to the end, so I guess the video is getting cut off before the end. Not a deal-breaker, since the audio still aligns very well to the video cursor.



Now, since the concatenated video introduces glitchy audio between clips, I want to take the uncut original audio and add that to the assembled video.



ffmpeg -ss 0 -i "(1-4)vid.mp4" -i "origWAV.wav" -c:v libx264 -map 0:v:0 -map 1:a:0 -c:a aac -ac 1 -b:a 192k -y -vsync 1 -t 12 "(1-4)vid+origWAV.mp4"




but the audio is slightly off now, and ends even further before the end of the video. Since it's really important to align audio and video precisely for this, how can I speed up the video to fit the exact duration of the audio or otherwise fix this issue ?


-
mismatching process id from process execution. Why do they not match and how to fix script to get the correct pid ?
26 février 2013, par buggedcomI'm running a script that executes ffmpeg and outputs stout to a temp file. Along side the output from ffmpeg I'm sending two tokens. one a marker for a failed execution. The other for marking when ffmpeg is completed. I'm trying to output the process id back to the executing script (which is php) however the process id being returned is not that of ffmpeg, rather the bash script.
The script is as below.
((/opt/local/bin/ffmpeg -i '/Users/ollie/Sites/@Projects/PHPVideoToolkit/v2/git/examples/media/BigBuckBunny_320x180.mp4' -y -t '20' -strict 'experimental' -s '142x80' -aspect '16:9' -b:v '10000k' '/Users/ollie/Sites/@Projects/PHPVideoToolkit/v2/git/examples/output/test-1361797899.mp4' && echo '') || echo '' '') 2>&1 > '/Users/ollie/Sites/@Projects/PHPVideoToolkit/v2/git/examples/tmp/phpvideotoolkit_GmxT4T' 2>&1 & echo $!
Example output from the script is as follows :
[19] 19316
However querying
ps
. The process id of ffmpeg is different. For example :Olivers-Mac-Pro:~ ollie$ ps
PID TTY TIME CMD
19025 ttys002 0:00.00 -bash
19026 ttys002 0:00.00 -bash
19316 ttys002 0:00.00 -bash
19317 ttys002 0:00.00 -bash
19318 ttys002 0:46.56 /opt/local/bin/ffmpeg -i /Users/ollie/Sites/@Projects/PHPVideoToolkit/v2/git/examples/media/BigBuckBunny_320x180.mp4 -y -strict experimental -s 142x80 -aspect 16:9 -b:v 10000k /Users
849 ttys003 0:00.12 -bash
7558 ttys004 0:00.03 -bashYou see that the process id returned by the script does not match the ffmpeg process id given by ps. Why is this and how can I ammend the original script to get the correct process id ?