
Recherche avancée
Médias (17)
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (50)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
MediaSPIP Init et Diogène : types de publications de MediaSPIP
11 novembre 2010, parÀ l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)
Sur d’autres sites (7304)
-
Why is ffmpeg taking up so much memory when I try to stop a livestream ?
4 juillet 2019, par FiskFan1999When the ffmpeg function is running, there are no problems with memory and everything runs smoothly. However, when I attempt to stop the stream/ffmpeg by pressing q (or ctrl-c), ffmpeg freezes, doesn’t take any other inputs, and suddenly takes up an obscene amount of memory.
I am using ffmpeg to livestream on youtube. I am using a MacBook Mid 2015 running macOS Mojave.
here is the function I am using with ffmpeg.
ffmpeg -re -f lavfi -i testsrc2=s=1280x720:r=60 -re -i "INPUT FILE.mp3" -vcodec libx264 -pix_fmt yuv420p -preset "ultrafast" -r 60 -g 120 -b:v 6168000 -filter_complex "[0]scale=1280:720;[1]aloop=start=0:size=202*44100:loop=-1" -acodec libmp3lame -ar 44100 -threads 3 -b:a 640000 -qscale:a 5 -bufsize 512k -f flv ${YOUTUBE_URL}/${KEY}
The command runs perfectly and as expected while it is running. At this point, in Activity Monitor I can see that ffmpeg seems to peak to about 101 MB. When I press q, which is the button to end the encoding, if the stream had been going for about ten minutes ffmpeg freezes and in Activity monitor the ffmpeg command appears to climb to several gigabytes of memory without any sign of stopping. The most I have noticed is about 6 GB before I killed the command. Ffmpeg seems to be writing almost a gigabyte of data into memory a second. In fact, this slows down my computer when it occurs and threatens to completely fill up my memory.
When this occurs, there are no error messages (except for warnings about running out of memory) and the terminal running ffmpeg seems to not respond to any kill commands, and the only way to alleviate the situation is to force close the terminal window itself.
I’m wondering if somehow I am creating a memory leak issue or if I wrote something wrong or didn’t include something that would be necessary for live-streaming with ffmpeg.
-
moviepy mp4 to mp3 converter
18 mai 2023, par EnspistI am trying to use python to convert files from mp4 to mp3. After some research most places recommend moviepy. I used the command
pip install moviepy
and it seemed to go off without a hitch. I go to VS Code and enter what a youtube video told me to enter (I know its not recommended to do that, I just wanted to see if it would work). This is what I have

#This code should convert a .mp4 file into a .mp3 file

#This imports the moviepy package
from moviepy.editor import *

#here are the names of my files (I have subbed out actual files names)
mp4_file = "file_name.mp4"

mp3_file = "file_name.mp3

#Here is the the audio being stripped from the .mp4 file
video_clip = VideoFileClip(mp4_file)
audio_clip = video_clip.audio

#this is writing the audio to a .mp3 file at the path that is specified.
audio_clip.write_audiofile(mp3_file)

#this closes the conversion code
audio_clip.close()
VideoClip.close()



After running the code I get this error :


RuntimeError: No ffmpeg exe could be found. Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.



There is a bunch of gibberish above it but that is the final line that gets spit out.


After looking up what the issue is I tried to input :


from moviepy.config import change_settings
change_settings({"FFMPEG_BINARY": "/usr/bin/ffmpeg"})



And it also did not work. I have tried searching for where ffmpeg is and it is not in
/usr/bin/ffmepg
or/usr/local/bin/ffmpeg
like most sources I have looked at tell me it should be.

I have tried installing ffmpeg on its own by doing
pip install ffmpeg
and 'brew install ffmpeg'. Both of those go off without a hitch as well but the error still pops.

I am using a macbook air m1 and I have I think everything I need installed already so I am so lost on what is causing this error to pop.


Can someone please help ?


I have tried installing ffmpeg on its own as well as searching for the file directly.


I should expect to get the .py file to run fine.


I instead get the error seen above :


RuntimeError: No ffmpeg exe could be found. Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.



-
ffmpeg command line code translate to fluent-ffmpeg
8 novembre 2020, par Berk CoşarI have trouble understanding fluent-ffmpeg.


I'm trying to make a screen recorder with Fluent-ffmpeg but couldn't find the correct code. The output should consist of a screen, webcam and microphone.


ffmpeg command line code works successfully.



ffmpeg code :


ffmpeg -ss 00:00:3 -thread_queue_size 4096 -f avfoundation -framerate 25 -i 1 -thread_queue_size 4096 -f avfoundation -framerate 25 -video_size 320x240 -i 0:0 -c:v libx264 -crf 18 -preset ultrafast -filter_complex 'overlay=main_w-overlay_w-10:main_h-overlay_h-10' -r 25 video.mp4



my fluent-ffmpeg code :(ı know bad code) :


command = ffmpeg("1")
 .videoCodec('libx264')
 .inputFPS(25)
 .size("1280x800")
 .inputFormat('avfoundation') 
 .input("0")
 .inputFormat('avfoundation') 
 .inputFPS(25)
 .size("320x240")
 .addOptions(["-filter_complex", "overlay=main_w-overlay_w-10:main_h-overlay_h-10 "])
 
 
 .addOption([ "-preset" , "ultrafast" ])
 .save(`/Users/macbook/Pictures${new Date().toLocaleString().split('-').join('').split(':').join('')}.mp4`)



i tried this but also this not worked :


//.size("320x240")

 .complexFilter(['scale=320:240[rescaled]',
{
 filter: 'overlay', options: { x: 'main_w-overlay_w-10', y: 'main_h-overlay_h-10' },
 inputs: ['[0:v]','[1:v]'], outputs: '[a1][a2]'
 }
],'[a1][a2]')



I would be very happy if you show me the right method. I will be happier if you also add a microphone.
thank you so much