
Recherche avancée
Autres articles (90)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (16243)
-
Is there a way to use the ffmpeg binary/unix executable in a py2app application to run ffmpeg on computers without it installed ?
4 mars 2021, par HumanI wrote a small python script that is essentially just a text to speech script. It uses the pydub - audiosegment python library to convert the mp3 from gTTS to an ogg that can be played in pygame. A link to my github repository can be found here : https://github.com/AnupPlays/TTS


this is the main function :


def webscrape():
 global x
 global b
 b.state(['disabled'])
 src = "sound.mp3"
 dst = "sound.ogg"
 murl = str(url.get())
 response = requests.get(murl)
 response.raise_for_status()

 parse = bs4.BeautifulSoup(response.text, 'html.parser')
 x = str(parse.get_text())
 print(x)
 text = gTTS(x)
 text.save("sound.mp3")
 AudioSegment.from_mp3(src).export(dst, format='ogg')
 b.state(['!disabled'])



this is a list of my imports :


#Imports
import os
import sys
import pygame

#google text to speech
from gtts import gTTS

#requests and BeautifulSoup
import requests
import bs4

#pygame audio player
from pygame import mixer

#tkinter ui
from tkinter import *
from tkinter import ttk
from tkinter import filedialog
from tkinter import messagebox

#mp3 -> wav
from os import path
from pydub import AudioSegment



-
Using FFmpeg within a python application : ffmpeg tool or libav* libraries ?
5 septembre 2017, par user2457666I am working on a python project that uses
ffmpeg
as part of its core functionality. Essentially the functionality fromffmpeg
that I use boils down to these two commands :ffmpeg -i udp:// -qscale:v 2 -vf "fps=30" sttest%04d.jpg
ffmpeg -i udp:// -map data-re -codec copy -f data out.binPretty simple stuff.
I am trying to create a self-contained program (which uses the above
ffmpeg
functionality) that can easily be installed on any particular system without relying on that system having the necessary dependencies, as hopefully I would package those dependencies with the program itself.With that in mind, would it be best to use the
libav*
libraries to perform this functionality from within the program ? Or would a wrapper (ffmpy
) for theffmpeg
command line tool be a better option ? My current thinking on the drawbacks of each is that using the libraries may be the best practice, but it seems overly complex to have to learn how to use them (and potentially learn C, which I’ve never learned, in the process) just to do those two basic things I mentioned above. The libraries overall are a bit of a bit of a black box to me and don’t have very much documentation. But the problem with using a wrapper forffmpeg
would be that it essentially relies on calling a subprocess, which seems somewhat sloppy. Although I’m not sure why I feel so viscerally opposed to subprocesses. -
convert java code to android code [closed]
16 avril 2013, par adityagI want to mix two audio files in android. First a song from library and second a sound recorded from mic.
To begin with, I tried doing it on desktop using JS Resources Audio concat Program
Using this code, I can mix/merge/overlap 2 sound wav files on desktop when i use float mix mode (-f).
Now I was trying to do this in android environment. But found that javax.sound.sampled.* ; used in this code is not supported by android.
Can anyone guide me how to deal with this situation ?
PS : other approach i tried is trying to use some ffmpg. But frankly, I couldn't understand how to make it work to suit my requirement.