
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (97)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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
Sur d’autres sites (4761)
-
Anomalie #2542 : forum interne
8 mars 2012, par Ben .confirmé : forum.log ::::::::::::: : Mar 08 16:50:23 127.0.0.1 (pid 5299) :Pri:ERREUR : /home/ben/www/spip-3.0/extensions/forum/inc/forum_insert.php_59Erreur insertion forum sur objet=’’, id_objet=
-
Dynamic subtitles by ffmpeg
8 septembre 2019, par Saeron MengI would like to add some commentary texts into my video but I do not know how to use ffmpeg to realize this. The comments are like screen bullets through the screen, appearing in the right margin, moving and scrolling, and disappearing from the left.
My thought is to count the length of the comments and define speeds for them to move and I have already gotten the comments saved as an xml file. But even though I can transfer it into srt file, the tricky problem is, it is hard to write the speeds of the subtitles, or something like that, in an srt file, and apply them to ffmpeg commands or APIs. Here is an example of comments (xml file) :
<chat timestamp="671.195">
<ems utctime="1562584080" sender="Bill">
<richtext></richtext>
</ems>
</chat>
<chat timestamp="677.798">
<ems utctime="1562584086" sender="Jack">
<richtext></richtext>
</ems>
</chat>The final result is like this (I did not find an example in websites in English. In China, such moving subtitles are called "danmu" or "screen bullets"), these colorful characters can move horizontally from right to left :
- I have searched some solutions on the Internet, most of which talk about how to write ass/srt files and add motionless subtitles. Like this :
ffmpeg -i infile.mp4 -i infile.srt -c copy -c:s mov_text outfile.mp4
3
00:00:39,770 --> 00:00:41,880
When I was lying there in the VA hospital ...
4
00:00:42,550 --> 00:00:44,690
... with a big hole blown through the middle of my life,
5
00:00:45,590 --> 00:00:48,120
... I started having these dreams of flying.But I need another kind of "subtitles" which can move.
- When it comes to scrolling subtitles, there are still some solutions : Scrolling from RIGHT to LEFT in ffmpeg / drawtext
So my question is, how to combine the solutions above to arrange subtitles from top to bottom and let them move concerning the timestamps of the comments ?
-
discord.player ffmpeg process 12040 successfully terminated with return code of 1
28 novembre 2024, par morichhcode :


@client.tree.command()
async def play(interaction: Interaction, url: str):
 global voice
 channel = interaction.user.voice.channel
 voice = get(client.voice_clients, Guild=interaction.guild)
 if voice and voice.is_connected():
 await voice.move_to(channel)
 await interaction.response.send_message(f"error")
 else:
 voice = await channel.connect()
 await interaction.response.send_message(f"joined")
 voice.play(discord.FFmpegPCMAudio(executable="C:/ffmpeg/bin/ffmpeg.exe", source = url)) 



error :


2022-12-10 19:32:48 INFO discord.voice_client Connecting to voice...
2022-12-10 19:32:48 INFO discord.voice_client Starting voice handshake... (connection attempt 1)
2022-12-10 19:32:48 INFO discord.voice_client Voice handshake complete. Endpoint found russia9326.discord.media
2022-12-10 19:32:50 INFO discord.player ffmpeg process 12040 successfully terminated with return code of 1.



initially there was an error that ffmpeg was not found, I downloaded it separately, indicated the path to it and now it's coming out like this