
Recherche avancée
Autres articles (101)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...)
Sur d’autres sites (7115)
-
Ffmpeg can't convert at 24fps AND burn a subtitles
14 novembre 2020, par Oshida_BCFi like to save my anime but i don't like when the subs are softburned and if the video is in mkv (it's heavier)


so i made some .bat that encode the video and burn the subtitles.


cd To convert
for %%a in ("*.mkv") do ffmpeg -i "%%a" -vf subtitles="%%a" -crf 18 -c:v libx264 -c:a aac -b:a 256k ../Converted/"%%~na.mp4"
pause



this command burn the subtitles and it's perfect


cd To convert
for %%a in ("*.mp4") do ffmpeg -i "%%a" -filter:v fps=fps=24 -crf 18 -c:v libx264 -c:a aac -b:a 256k ../Converted/"%%~na.mp4"
pause



this one encode at 24 fps and it's perfect too


but this one


cd To convert
for %%a in ("*.mkv") do ffmpeg -i "%%a" -vf subtitles="%%a" -crf 18 -c:v libx264 -c:a aac -b:a 256k -filter:v fps=fps=24 ../Converted/"%%~na.mp4"
pause



doesn't work.


and i have no idea


it convert the video in mp4, at 24fps
but it "forgot" the subtitles


do there is some commands that aren't compatible and cancel each other ?


for now i burn the sub on the video and i convert at 24 fps after.
but being able to do the 2 at the same time would save me a lot of time.


-
Layering 2 Audio Files at Set Times in Node.js
8 janvier 2017, par Tom RoweJust typed a massive question and realised I was wasting space and time, so I shortened it, will answer any questions of context if needed :
PROBLEM
I have a short audio file "name.mp3" and a long audio file "Vocals.mp3", and i’m trying to make an output file where the audio from "name.mp3" occurs multiple times over "Vocals.mp3"**.
For the sake of this thread lets just say every 20 seconds.
TRIED
So far I have been using "Fluent-ffmpeg" and have just started using "Sox-audio" but I’m open to suggestions of other packages. I have been able to split "Vocals.mp3" into parts and concatenate "Name.mp3" inbetween, but this has led to timing issues.
I have also been using the Mix() method from Sox but haven’t been able to find a working system of starting each "name.mp3" input at set times.
I’ll continue looking for more threads about this topic and if i find an answer i’ll share it here.
Cheers !
-
How can I make windows "like" the mp4 files I create in Linux and sync with Rsync
17 juillet 2019, par Geoff FoxI am a meteorologist on TV remotely from a studio I built. My control room uses a TriCaster, an amazing studio-in-a-box which runs on a Windows 7 variant. I make my weather maps myself on a Centos 7 machine — around 40,000/day.
I don’t entirely understand the problem, but here’s a quote from someone helping me at NewTek (the TriCaster company)
Rsync is built on a *nix based environment where all the file permissions and attributes are based on the Linux environment. There is no meaning for this in NTFS and Windows. The result is you get files that will most likely have the read-only flag set or no flag at all. Other attributes will be delivered as null. I’m sure from your own programming experience, programs don’t like null values and they generally have to be accounted for very specifically.
And so the finely tuned TriCaster stumbles, meaning lost frames or other problems caused by my short weather animations.
Here are some samples of the Rsync code I use
rsync -r -t -s -v --no-p --chmod=ugo=rwX /var/www/html/output/loops/mp4/conus*.mp4 /mnt/tricaster/Clips/Import
rsync -r -t -s -v --no-p --chmod=ugo=rwX /var/www/html/output/loops/mp4/nebraska*.mp4 /mnt/tricaster/Clips/Import
rsync -r -t -s -v --no-p --chmod=ugo=rwX /var/www/html/output/loops/mp4/northernplains*.mp4 /mnt/tricaster/Clips/ImportThese are mp4 files. They are only used locally. I really don’t care what flags are checked and permissions filled as long as Windows 7 doesn’t care.
At this point I always like to tell folks, though I do write some code my last computer class was in high school,’67-68 semester. Thanks in advance for your help.