
Recherche avancée
Médias (33)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (99)
-
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 (...) -
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 (...) -
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 ;
Sur d’autres sites (9500)
-
Media Fragment URI Specification in Last Call WD
9 juillet 2010, par silviaAfter two years of effort, the W3C Media Fragment WG has now created a Last Call Working Draft document. This means that the working group is fairly confident that they have addressed all the required issues for media fragment URIs and their implementation on HTTP and is asking for outside (...)
-
Pipe raw audio from mp4 using ffmpeg
24 février 2015, par user1447257I have following class, that enables to read audio frames per video frame :
class AudioAcquisition :
’’’
This component returns an audio signal per video frame.
’’’def __init__(self, video_filename, bufsize=10**8):
'''
Parameters:
-----------
video_filename : String of the location of video file.
'''
# Read info from video using ffmpeg
cmd = ["ffmpeg", \
'-i', video_filename]
info_pipe = subprocess.Popen(cmd, stdout=subprocess.PIPE, \
stderr=subprocess.PIPE)
_, err = info_pipe.communicate()
self.__audio_fps = int(re.search('Stream[^\n]*Audio:[^\n]*, (\d*) Hz', err).group(1))
self.__video_fps = int(re.search('Stream[^\n]*Video:[^\n]*, (\d*) fps', err).group(1))
# Open audio using ffmpeg
cmd = ['ffmpeg', \
'-loglevel', 'quiet', \
'-i', video_filename, \
'-vn', \
'-f', 's16le', \
'-acodec', 'pcm_s16le', \
'-ac', '1', \
'-']
print " ".join(cmd)
self.__pipe = subprocess.Popen(cmd, stdout=subprocess.PIPE, \
stderr=subprocess.STDOUT)
def run(self):
'''
Yields:
-------
An audio signal per video frame.
'''
while (True):
try:
size = int(2 * self.__audio_fps / self.__video_fps)
data = self.__pipe.stdout.read(size)
if (len(data) < size):
break
yield numpy.fromstring(data, dtype="int16")
except IOError as e:
print('Error encoutered while reading audio via ffmpeg: ' \
+ str(e))
breakThis somehow does not work properly, as the audio is dumped out with some noise frames at about 20s and repetitively occuring more often at later timestamps.
Do you guys have any suggestions what I am missing in calling ffmpeg ?
Thanks !
-
ffmpeg creating gif from images, how to prevent loop ?
8 mai, par GeuisI'm creating gifs from a small group of images. Currently the gif loops by default. I've been trying variations of -loop in the ffmpeg command, but the gif still loops. What's the right way to do this ?