
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (101)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 ;
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (10104)
-
cafenc : fill in avg. packet size later if unknown
10 juillet 2021, par Roman Beranekcafenc : fill in avg. packet size later if unknown
Frame size of Opus stream was previously presumed here to be 960 samples
(20ms), however sizes of 120, 240, 480, 1920, and 2880 are also allowed.
It can also alter on a per-packet basis and even multiple frames may be
present in a single packet according to the specification, for the sake
of simplicity however, let us assume that this doesn't occur.Because the mFramesPerPacket field, representing the number of samples
per packet in the ffmpeg terminilogy, is the key factor in calculating
packet durations and all that follows from that (index, bitrate, ...),
it is crucial to get right.Therefore, if the packet size is not available ahead of time (as it is in
the case of Opus), calculate an average from the stream duration once we
know how many packets there are and update the filed in the header. -
ffmpeg player in discord.py (python) automatically leave
25 octobre 2018, par RastasplifI have created a discord bot that on certain messages either sends back a message or plays a sound (like a soundboard)
The crucial line of code is :
soundboard_player = voice_client.create_ffmpeg_player("doh.mp3")
soundboard_player.start()
await client.send_message(message.channel, "Playing DOH...")This works absolutely fine but i kept trying to add the line
after=voice_client.disconnect()
I put this inside the("doh.mp3", * I PUT IT HERE *)
brackets.
I wanted the bot to leave after it was done.When I run the code with the ’after’ statement included, the bot joins and I get the error message :
TypeError: disconnect() takes 1 positional argument but 2 were given
I know you can use
soundboard_player.is_done()
to check the status of the bot but I couldn’t figure out a way to check the status without trapping the code in a loopBy trapping the code in the loop I cant execute a STOP command to stop it playing the song (soundbite) half way through.
Any help with the
after=voice_client.disconnect()
command for the ffmpeg player
or a creative way to periodically check the status without getting trapped in the loop ? -
ffmpeg resize video then over lay on top of image using nvidia cuda
16 mars 2021, par user72261i have a bunch of old family videos that are 4:3 SD format i am looking to change them to 16:9 and over lay the video on top of a 720p background


i can do this fine using standard ffmpeg and everything works but it takes for ever with over 10 years of videos to convert


i have a desktop pc i use for work with 2070 super installed so i was looking to use that to speed it up a little i tried adding cuda hardware support and i just hit errors


ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -loop 1 -i image.jpg -i video.mp4 -filter_complex "[1]hwupload_cuda,scale=1280:720:force_original_aspect_ratio=decrease[inner];[0][inner]overlay_cuda=x=10:y=10:shortest=1[out]" -map "[out]" -map 1:a -c:a aac -map 0:v -c:v h264_nvenc -b:v 5M -y output.mp4



the errors i keep getting are


decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_IMAGE: device kernel image is invalid