
Recherche avancée
Autres articles (102)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)
Sur d’autres sites (7687)
-
How to merge two audio files while retaining correct timings with ffmpeg
31 août 2017, par andyDisclaimer : I don’t understand ffmpeg and mostly just copy commands
I have two webm video files. Their duration is off by about a second.
I converted these to mp4 and everything was fine :
ffmpeg -acodec libopus -i 1.webm -r 10 -cpu-used 5 -c:v libx264 -crf 20 -c:a aac -strict experimental -loglevel error 1.mp4
I then extracted the audio from each video and everything was fine. By fine, I mean, when I playback the audio files by themselves they match the timings on the original video. I used this command to extract the audio :
fmpeg -i 1.mp4 -map 0:a -vn -acodec copy 1audio.m4a
I now have two audio tracks and I want to combine them into one, I want to "overlay" them, AND I want to keep the timings the same as they were.
BUT, whenever I try and combine the audio the timings are off. The "seconds" don’t match the original single audio files.
I have tried these commands to merge the audio :
ffmpeg -i 1audio.m4a -i 2audio.m4a -filter_complex "[0:a][1:a]amerge=inputs=2[a]" -map [a] -c:a libfdk_aac mergedaudio.m4a
ffmpeg -i 2audio.m4a -i 1audio.m4a -filter_complex amix=inputs=2:duration=first mergedaudio.m4a
ffmpeg -i 1audio.m4a -i 2audio.m4a -filter_complex amerge -ac 2 -c:a libfdk_aac -vbr 4 mergedaudio.m4a
All the above command have resulted in a merged audio file... but the timings are off.
What am I doing wrong ?
-
ffmpeg export video from png sequence is not correct
24 août 2017, par chris youngI have a
PNG
sequence with transparent background.When I use Adobe Media encoder to export to an
MP4
file, the result is correct.But when I use
FFmpeg
to export theMP4
file, this result is very strange.This is the command I used :
ffmpeg -i test/frame_%04d.png -pix_fmt yuv444p -c:v libx264 -y ffmpeg_test.mp4
Media Encoder : http://test.rto.im/ffmpeg/media_encoder_test.mp4
FFMPEG : http://test.rto.im/ffmpeg/ffmpeg_test.mp4
All images file : test.rto.im/ffmpeg/test.zip
test.rto.im/ffmpeg/test/frame_0001.png
-
How to load correct libavcodec.so shared library version ? (53)
6 août 2017, par user2212461I am using libavcodec and libavformat in my project but when I execute a binary which was built on another machine, I get the following error :
error while loading shared libraries: libavcodec.so.53: cannot open shared object file: No such file or directory
I installed ffmpeg with libav and trying the following commands :
sudo apt-get install ffmpeg libavcodec-dev libavformat-dev
sudo apt-get install ffmpeg libavcodec-extra-53
sudo apt-get install libav-toolsThe error doesnt show up when I build the binary on the same machine, but it would be much faster to compile on a second machine.
UDPATE : I also ran
sudo apt-get install update
andsudo apt-get install pkg-config
without any change in the output. (OS = 12.04)