
Recherche avancée
Médias (9)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#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
Autres articles (60)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
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 (4793)
-
Getting "TypeError : must be real number, not NoneType" whenever trying to run write_videofile to a clip in moviepy
9 novembre 2024, par SatoExample code :


from moviepy.editor import *
clip = VideoFileClip('video.mp4')
clip.write_videofile('video2.mp4', fps=30)



After showing the following messages, showing that the video is being built and written,


Moviepy - Building video video2.mp4.
Moviepy - Writing video video2.mp4



The following error message occurs :


Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "C:\Users\User\Anaconda3\lib\site-packages\decorator.py", line 232, in fun
 return caller(func, *(extras + args), **kw)
 File "C:\Users\User\Anaconda3\lib\site-packages\moviepy\decorators.py", line 54, in requires_duration
 return f(clip, *a, **k)
 File "C:\Users\User\Anaconda3\lib\site-packages\decorator.py", line 232, in fun
 return caller(func, *(extras + args), **kw)
 File "C:\Users\User\Anaconda3\lib\site-packages\moviepy\decorators.py", line 135, in use_clip_fps_by_default
 return f(clip, *new_a, **new_kw)
 File "C:\Users\User\Anaconda3\lib\site-packages\decorator.py", line 232, in fun
 return caller(func, *(extras + args), **kw)
 File "C:\Users\User\Anaconda3\lib\site-packages\moviepy\decorators.py", line 22, in convert_masks_to_RGB
 return f(clip, *a, **k)
 File "C:\Users\User\Anaconda3\lib\site-packages\moviepy\video\VideoClip.py", line 300, in write_videofile
 ffmpeg_write_video(self, filename, fps, codec,
 File "C:\Users\User\Anaconda3\lib\site-packages\moviepy\video\io\ffmpeg_writer.py", line 213, in ffmpeg_write_video
 with FFMPEG_VideoWriter(filename, clip.size, fps, codec = codec,
 File "C:\Users\User\Anaconda3\lib\site-packages\moviepy\video\io\ffmpeg_writer.py", line 88, in __init__
 '-r', '%.02f' % fps,
TypeError: must be real number, not NoneType
</module></stdin>


This occurs whenever I try to perform
write_videofile
to any kinds of clip in moviepy. It is strange since the exact same code worked for me yesterday, but suddenly not anymore today. Are there any suggestions what the cause is and how to resolve this ?

-
Controlling "Real-Time" sending rate in RTP Streaming with FFMpeg
14 décembre 2020, par Robert_OrdisI'm trying to build an experimental audio telephony system with ffmpeg to talk some G.711 VoIP machine.


Then, I tried this command.


.\ffmpeg.exe -re -f dshow -i audio="CABLE Output (VB-Audio Virtual Cable)" -ac 1 -ab 64k -ar 8000 -f mulaw -f rtp "rtp://192.168.3.175:4449?fifo_size=240&localrtpport=5100&pkt_size=240"



In WireShark capturing, the audio in each packets was actually divided in each around 30[ms].


However, 17- 18 packets was sent together once per 500[ms].


Sent audio was correct, but in this situation, an opponent machine can't treat this correctly.


How do I send these packets in per "UNDER 0.5 SEC" ?


-
Decode android's hardware encoded H264 camera feed using ffmpeg in real time
6 décembre 2017, par joebobfrankI’m trying to use the hardware
H264
encoder on Android to create video from the camera, and useFFmpeg
to mux in audio (all on the Android phone itself)What I’ve accomplished so far is packetizing the
H264
video intortsp
packets, and decoding it using VLC (overUDP
), so I know the video is at least correctly formatted. However, I’m having trouble getting the video data toffmpeg
in a format it can understand.I’ve tried sending the same
rtsp
packets to a port 5006 on localhost (over UDP), then providingffmpeg
with thesdp
file that tells it which local port the video stream is coming in on and how to decode the video, if I understandrtsp
streaming correctly. However this doesn’t work and I’m having trouble diagnosing why, asffmpeg
just sits there waiting for input.For reasons of latency and scalability I can’t just send the video and audio to the server and mux it there, it has to be done on the phone, in as lightweight a manner as possible.
What I guess I’m looking for are suggestions as to how this can be accomplished. The optimal solution would be sending the packetized
H264
video toffmpeg
over a pipe, but then I can’t sendffmpeg
thesdp
file parameters it needs to decode the video.I can provide more information on request, like how
ffmpeg
is compiled for Android but I doubt that’s necessary.Oh, and the way I start
ffmpeg
is through command line, I would really rather avoid mucking about with jni if that’s at all possible.And help would be much appreciated, thanks.