
Recherche avancée
Autres articles (54)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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
Sur d’autres sites (9624)
-
Add additional, dutch-specific methods : phone, mobile, postal, bank and giro account
27 février 2013, par digitalicam additional-methods.js m localization/messages_nl.js m test/methods.js Add additional, dutch-specific methods : phone, mobile, postal, bank and giro account add dutch phone number validation
-
Convert DTS to AC3 but only if there is no AC3 track already present in container
24 mars, par DomagojI have sound system that does not support DTS only AC3. I'm automating the process using bash that detects when movie was added to folder, downloads subtitles and converts audio track to AC3 using this command (one part of it) :


ffmpeg -i "{{episode}}" -map 0:v -map 0:a:0 -map 0:a -map 0:s -c:v copy -c:a copy -c:s copy -c:a:0 ac3 -b:a:0 640k "{{directory}}"/{{episode_name}}temp2.mkv


This works without issue and I end up with a .mkv file that contains original DTS audio track and newly created AC3 audio track. The issue is that some files already contain both AC3 and DTS tracks and in those cases I end up with two AC3 tracks and one DTS track. Another issue is that this command is triggered every time there is update to subtitles. So it's possible that the command will execute multiple times in a period of a few days and the container will have X number of the AC3 tracks.


I need a way to detect if file already contains AC3 track before I initiate command from above, but I'm not sure what the command would be. Any help is appreciated !


-
Split audio file into multiple files using ffmpeg on macOS
3 avril 2018, par Tony HegrMy idea was to save some time and split long audio file into multiple audio files and reading the data (startTime, endTime, artist, title) from a text file.
Using terminal on MacOS (UNIX) and ffmpeg (audio).Input put file example with 3 lines :
00:00 - 06:16 - art - tit
06:16 - 09:22 - arti - titl
09:22 - 13:13 - artist - titleMy unix code, shell file : "split.command"
inputFileName=audiofile
input=test.txt
while IFS= read -r var
do
startTime=$(echo "$var" | cut -f1 -d"-")
endTime=$(echo "$var" | cut -f2 -d"-")
artist=$(echo "$var" | cut -f3 -d"-")
title=$(echo "$var" | cut -f4 -d"-")
echo ffmpeg -i ~/Downloads/$inputFileName.mp3 -metadata artist="$artist" -metadata title="$title" -ss $startTime -to $endTime -acodec copy "$title".mp3 -vsync 2
wait
done < "$input"When I ECHO it, everything looks fine.
$ sh split.command
ffmpeg -i /Users/tony/Downloads/audiofile.mp3 -metadata artist= art -metadata title= tit -ss 00:00 -to 06:16 -acodec copy tit.mp3 -vsync 2
ffmpeg -i /Users/tony/Downloads/audiofile.mp3 -metadata artist= arti -metadata title= titl -ss 06:16 -to 09:22 -acodec copy titl.mp3 -vsync 2
ffmpeg -i /Users/tony/Downloads/audiofile.mp3 -metadata artist= artist -metadata title= title -ss 09:22 -to 13:13 -acodec copy title.mp3 -vsync 2When ECHO is deleted, it should work as command. The first audio is fine, the second throws an error, and the third work but has missing artwork .
1st *works*
2nd *error* Invalid duration specification for to: arti
3rd *works but..* [mp3 @ 0x7ff7e1800000] No packets were sent for some of the attached pictures.