
Recherche avancée
Autres articles (55)
-
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 (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (5342)
-
avcodec/ttmlenc : add support for region positioning and sizing
29 mars 2021, par Jan Ekströmavcodec/ttmlenc : add support for region positioning and sizing
The ASS margins are utilized to generate percentual values, as
the usage of cell-based sizing and offsetting seems to be not too
well supported by renderers.Signed-off-by : Jan Ekström <jan.ekstrom@24i.com>
-
FFMPEG draw text with change over time [duplicate]
18 avril 2020, par bleepbloopbleepHi i am working on a project that will get metadata from an mp3 file and then stream the file with text displaying the Artist Name and Song Title from the metadata.



In order to get around a bug I concatenated the audio files into one larger file and got the meta data from each track before the concatenation.



While streaming I want to display the artist name and song title while the track is playing.



The current text script for just the text looks like this :



drawtext=text='Artist: ARTISTNAME:fontfile=PATH/TO/FONT/FILE:fontsize=(w * 0.03333333333333333):bordercolor=#000000:borderw=1:fontcolor=#FFFFFF:y=(h * 0.15):x=(w * 0.02),drawtext=text='Song: NAME’OFSONG:fontfile=PATH/TO/FONT/FILE:fontsize=(w * 0.03333333333333333):bordercolor=#000000:borderw=1:fontcolor=#FFFFFF:y=(h * 0.25):x=(w * 0.02)"




How can I add time duration element to the FFMEG script ?



Thanks !


-
PowerShell script to Embed Album art in MP3 files - issues with accelerated audio files in ffmpeg
4 mars, par moshe baruchiI am trying to embed album art into an MP3 file using a PowerShell script along with the TagLib library. The MP3 file has been speed-boosted using FFmpeg. When I run the script on regular audio files, it works fine, but with the accelerated audio files, the album art is only visible when I open the file in MP3Tag or in VLC. It's not showing up in Windows audio players and definitely not in File Explorer.


PowerShell code


param (
 [string]$audio,
 [string]$picture
)
Add-Type -Path "TagLib-Sharp.dll"
$audioFilePath = $audio
$albumArtPath = $picture
$audioFile = [TagLib.File]::Create($audioFilePath)
$tag = $audioFile.Tag
$newPictures = New-Object System.Collections.Generic.List[TagLib.Picture]
$newPictures.Add((New-Object TagLib.Picture($albumArtPath)))
$tag.Pictures = $newPictures.ToArray()
$audioFile.Save()



Commands in cmd


ffmpeg -i song.mp3 -i cover.jpg -map 0:a -map 1 -c:a copy -c:v mjpeg -metadata:s:vtitle="Album Cover" -metadata:s:v comment="Cover (front)" output_with_cover.mp3
del song.mp3
rename output_with_cover.mp3 song.mp3
powershell -ExecutionPolicy Bypass -File "albumart.ps1" -audio "song.mp3" -picture "picture.jpg"