
Recherche avancée
Médias (91)
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Echoplex (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Discipline (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Letting you (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
999 999 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (105)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (5880)
-
ffmpeg does not draw text
4 septembre 2016, par Michael Heubergerhope one of you can tell me why this ffmpeg command of mine does not draw the desired text. the produced video doesn’t have it. here you go :
ffmpeg -f image2 -thread_queue_size 64 -framerate 15.1 -i /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-723f-d0aa0bd0-aa9b-f7da27da678f/frames/%d.webp -y -an -vcodec libvpx -filter:v drawtext=fontfile=/home/michael-heuberger/binarykitchen/code/videomail.io/src/assets/fonts/Varela-Regular.ttf:text=www.videomail.io:fontsize=180:fontcolor=white:x=150:y=150:shadowcolor=black:shadowx=2:shadowy=2 -vf scale=trunc(iw/2)*2:trunc(ih/2)*2 -crf 12 -deadline realtime -cpu-used 4 -pix_fmt yuv420p -loglevel warning -movflags +faststart /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-723f-d0aa0bd0-aa9b-f7da27da678f/videomail_preview.webm
the crucial part is this video filter :
-filter:v drawtext=fontfile=/home/michael-heuberger/binarykitchen/code/videomail.io/src/assets/fonts/Varela-Regular.ttf:text=www.videomail.io:fontsize=180:fontcolor=white:x=150:y=150:shadowcolor=black:shadowx=2:shadowy=2
does it seem correct to you ? if so, then why am i not seeing any text in the videomail_preview.webm video file ?
using ffmpeg v2.8.6 here with —enable-libfreetype, —enable-libfontconfig and —enable-libfribidi enabled.
furthermore, the above command has been produced with fluent-ffmpeg.
so, any ideas ?
-
How to install sharedhostffmpeg on a host running redhat linux while not being root ?
30 avril 2013, par user2251342The shared host is running on Red Hat 4.4.7-3.
All these packages have successfully installed :
presetup.sh, autoconf.sh, automake.sh, libtool.sh, libiconv.sh, libpng.sh, libjpeg.sh, zlib.sh, libwmf.sh, freetype.sh, gettext.sh, gd.sh, ruby.sh, flvtool2.sh, lame.sh, codecs.sh, libogg.sh, libvorbis.sh, vorbis-tools.sh, libtheora.sh, amrnb.sh, amrwb.sh, liba52.sh, facc.sh, faad2.sh.
That's exactly all the files just before ffmpeg itself !
I know the error has to do with a library. However, I'm not familiar with libraries. The error message says :
/usr/bin/ld : /home/xxxxx/lib/libz.a(compress.o) : relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object ; recompile with -fPIC
/home/xxxxx/lib/libz.a : could not read symbols : Bad valueBUT, when I look at my zlib log file(sharedhostffmpeg.1.0.2.log.15939), no errors show up.
Does anyone know how to recompile with fPIC ?
-
Python Send stdout and stderr to Multiple files using stored in Variable
17 avril 2021, par D0nHere is my scripts


csv_location = '/home/scripts/streams.csv'
ffmpeg_location = '/usr/bin/ffmpeg'
ffmpeglogs = '/home/scripts/ffmpeglog/'

# Open the streams list csv file
with open(csv_location) as csv_file:
 csv_reader = csv.reader(csv_file, delimiter=',')
 for row in csv_reader:
 ffmpeg_log = (ffmpeglogs + row[0]) # set the ffmpeg log to be named the stream name
 # Open log file for writing
 with open(ffmpeg_log, 'wb') as ffmpeg_output: 
 # Iterate through streams list
 for row in csv_reader:
 print(row)
 stream_output = (row[0] + ".mpeg") # stream output variable
 # Subprocess record 1 stream at a time & send the output t0 stdout & stdeer
 ffmpeg_instance = subprocess.Popen([ffmpeg_location, '-t', '10', '-i', row[1], stream_output], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 # sent output to ffmpeg log
 ffmpeg_output.write(ffmpeg_instance.communicate()[1])



Here is my CSV File


Name,RTSP_URL
stream1,rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
stream3,rtsp://wowz.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
stream4,rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov



So I have a script that reads a CSV file and ffmpeg records the video for 10 seconds. Then spits the output of the FFMPEG to a file. I need each camera to have its own file. Really just to log FFMPEG output for each camera. But my issue is that the FFMPEG output for multiple cameras get written to 1 file.


Here is what I want to see in /home/scripts/ffmpeglog/


stream1 stream3 stream4



Here's what I'm actually what I see in /home/scripts/ffmpeglog/


name stream1