
Recherche avancée
Autres articles (45)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
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 (...)
Sur d’autres sites (6801)
-
Encode multiple files from the same Folder with Google Colab & FFmpeg
16 août 2021, par Ptibouc77i made a Google colab to encode my videos, but actually i can only do files on by one.
I want to encode all video files from the same folder.


I tried this but didn't seem to works


import os

DIRECTORY= '/content/drive/My Drive/Videos'
for filename in os.listdir(DIRECTORY):
 if (filename.endswith(".mov")): #or .avi, .mpeg, whatever.
 os.system("ffmpeg -i {0} -c:v libx265 -crf 26 -c:a aac -b:a 160k output%d.mp4".format(filename))
 print(filename)



Edit : I edited the FFmpeg command but still not workings on Google Colab.
Edit 2 : Print command only return the name of the files with the extension like "MyMovie.mov" how do i put the full path to the ffmpeg command ? I also want to put the ouput files to a subfolder named x265


-
MAINTAINERS : Don't mention Google+
17 mars 2020, par Andreas Rheinhardt -
Google Speech API doesn't give correct result when audio is sent in file
4 août 2012, par CupidvogelI chanced upon the article at Google Speech API which suggested a mechanism for extracting text from audio file through Perl. Now I have recorded a audio file, which you will find at http://vocaroo.com/i/s0lPN5d3YQJj. It is a simple piece of audio, reading I love you. When I go to the Google speech API in Chrome, and speak those words, I get the right result. When I try the code at the above mentioned link with the audio file I pointed out, it returns strange results, like logan. How can I make it more accurate ? This is just a sample audio, what I am generally doing is extracting the audio from a video file through FFMpeg using something like
ffmpeg -i input.avi -vn -ar 44100 -ac 2 -ab 192 -f mp3 output.mp3
, followed byffmpeg -i input.mp3 output.flac
.