
Recherche avancée
Autres articles (36)
-
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...) -
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 -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (7487)
-
How do i create a batch file that iterates through the files in a folder and executes another .bat on them ?
1er mai 2013, par El Guapoi have a folder full of .avi files and i want to use ffmpeg to convert them to .mp4 files. I followed an online tutorial to create a batch file that does just this, here is the code :
"C:\ffmpeg\ffmpeg.exe" -y -i %1 -sameq -ar 22050 -vcodec libx264 "C:\videos\Series 1\S01E01.mp4"
This works fine if i just drag and drop the .avi files onto the createmp4.bat file containing the above code. However i want to be a little bit smarter about this and use another batch file that will iterate through the .avi files in the folder and run createmp4.bat on all of them and copy them to the C :\videos\Series 1\ directory.
I would also like to change the name of the files if possible to S01E01.mp4, S01E02.mp4 and so on if possible.
Any help on this would be greatly appreciated. Oh and just in case you hadn't guessed i am fairly clueless about writing batch files !!
Thanks
-
ffmpeg decode one video frame at a time
28 juillet 2014, par KrishnaMost ffmpeg examples online show video decoding using a
while ()
and the entire sequence is decoded in one attempt. For example,while(av_read_frame(pFormatCtx, &packet)>=0) {
if(packet.stream_index==videoStream) {
// Decode video frame
avcodec_decode_video(pCodecCtx, pFrame, &frameFinished,
packet.data, packet.size);
// Did we get a video frame?
if(frameFinished) {
... do something
}
}
// Free the packet that was allocated by av_read_frame
av_free_packet(&packet);
}Is there a technique to (1) create a function that will decode only one frame and (2) then call that function repeatedly (how many ever times needed).
I wrote such a function and tried to decode an HEVC stream and I always get this error "Could not find ref with POC xx", where xx stands for some integer. Looks like it can’t find references — how do I get around this ?
Thanks !
-
Python Youtube-dl convert to mp4
27 mars 2021, par Church.exe(if it matters, I'm on windows)


So I am trying to download a Youtube video in an Mp4 format (the program I am putting it into has limited compatibility) with audio but whatever I find online either doesn't work how people are saying it does (leading me to believe it is either outdated, missing context, or for a different OS) or is formatted in a way that doesn't make sense.


My current code is :


if PreferredOutput == 1:
 with youtube_dl.YoutubeDL({'format' : 'bestvideo+bestaudio[ext=m4a]/bestvideo+bestaudio/best', 'merge-output-format' : 'mp4'}) as ydl:
 ydl.download([url])



but when I test it, it just seems to output the file as normal.(which I am guessing is the format the video file was uploaded to youtube as though I could be mistaken) What should I do/am I missing to make this only output (final) Mp4s ? (after the fact ffmpeg conversion or something similar is fine for my purposes)