
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (63)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (8267)
-
is there a good library out there that will split a mp3 with php
24 janvier 2012, par TamerSo i have an application takes a uploaded song and allows the user to purchase it. I would like to also create a 30 second clip that the user can preview, but rather then having the user upload two files I want the application to create the 30 second mp3 file based on the original mp3. I found this library which i am using like this
$oSplit=new CMP3Split(DIR_DOWNLOAD ."Made_To_Love.mp3",243,DIR_DOWNLOAD ."clips/{$rndString}.mp3",30,0);
but it seems to not always produce a 30 second clip
and i also found this question which is using ffmpeg which i dont know how to use in a php setting.
Any ideas or suggestions
-
My discord bot did work on local, but didn't work on heroku
26 juillet 2022, par PeePI depoly my discord bot on Heroku.
My bot sings normally when running on local,
If I run it on Heroku, the song will not play.
Full code is here


@commands.command(name ="play")
 async def play_music(self, ctx, *keywords):
 if ctx.voice_client is None: 
 if ctx.author.voice:
 await ctx.author.voice.channel.connect()
 else:
 embed = discord.Embed(title = 'erro', description = "use after enter the channel 🤔", color = discord.Color.red())
 await ctx.send(embed=embed)
 raise commands.CommandError("Author not connected to a voice channel.")
 elif ctx.voice_client.is_playing():
 ctx.voice_client.stop()
 
 keyword = ' '.join(keywords)
 url = getUrl(keyword)
 await ctx.send(url)
 embed = discord.Embed(title = 'play', description = 'getting ready to play the song! 😎' , color = discord.Color.red())
 await ctx.send(embed=embed)



It works up to the top code, but it doesn't seem to work on the bottom code.


data = self.DL.extract_info(url, download = False)
 link = data['url']
 title = data['title']

 ffmpeg_options = {
 'options': '-vn',
 "before_options": "-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5"
 }
 player = discord.FFmpegPCMAudio(link, **ffmpeg_options, executable = "./ffmpeg/bin/ffmpeg.exe")
 ctx.voice_client.play(player)
 
 embed = discord.Embed(title = 'play', description = f'{title} start play! 🐥' , color = discord.Color.blue())
 await ctx.send(embed=embed)



My heroku Buildpacks


heroku/python
https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
https://github.com/xrisk/heroku-opus
https://github.com/heroku/heroku-buildpack-apt.git
https://github.com/heroku/heroku-buildpack-apt
https://github.com/kitcast/buildpack-ffmpeg.git
https://github.com/codeinteger6/heroku-buildpack-libopus.git
https://github.com/heroku/heroku-buildpack-apt.git



requirements.txt


discord.py
discord.py[voice]
asyncio
openpyxl
youtube_dl
requests
ffmpeg
PyNaCl
wheel
websockets==6.0
gtts
PyGithub
pyssml
gspread
oauth2client
PyOpenSSL
boto3



Aptfile


git
libopus0
libopus-dev
libssl-dev
libffi-dev
libsodium-dev



I really wanna know my problems.
Thank you.


-
ffmpeg add loop to this line of code i have
5 juin 2020, par stevethe code itself is working fine however the 2.mp3 finishes instead i will like it to just loop all the way keeping the current settings how it is as I am happy with it



ffmpeg -i "C:\Users\test\Desktop\vidz\New folder (2)\target\vaastav song .mp4" -i "C:\Users\test\Desktop\vidz\New folder (2)\target\2.mp3" -filter_complex "[1:a]adelay=3000|60000[1a];[0:a][1a]amix" -vcodec copy -y "C:\Users\test\Desktop\vidz\New folder (2)\target\output1.mp4"