
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (59)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (8603)
-
How to convert FFmpeg command to FFmpeg-Python code ?
11 mars 2024, par Валентин АрноI have this command-line code :


ffmpeg -hide_banner -hwaccel_device auto -hwaccel auto -thread_queue_size 2048 -f dshow -rtbufsize 2048M -pixel_format bgr24 -i video="screen-capture-recorder" -thread_queue_size 2048 -f dshow -rtbufsize 2048M -channel_layout stereo -i audio="CABLE Output (VB-Audio Virtual Cable)" -filter_complex "[0:v]crop=1920:1040:0:0,scale=in_range=full:out_range=full:eval=init:interl=false:flags=bitexact+accurate_rnd+full_chroma_int,fps=fps=30.000,pp=fa[v1];[1:a]volume=volume=1.2[a1]" -map "[v1]" -map "[a1]" -c:a copy -c:v libx264 -preset ultrafast -tune film -crf 17 -r 30 -force_key_frames expr:gte(t,n_forced*1) -sc_threshold 0 -pix_fmt yuvj422p -max_muxing_queue_size 2048 -copyts -start_at_zero -y -t 5 "Y:\test\ output_1".mkv



Error : Stream specifier ':a' in filtergraph description ...matches no streams.


And I want to convert it to ffmpeg-python code in Python.


But how can I do it ?


This is what I have done so far :


video_ = ffmpeg.input('video=screen-capture-recorder',
 thread_queue_size=2048,
 rtbufsize='2048M',
 pixel_format='bgr24',
 framerate=30,
 f='dshow'
 )

audio_ = ffmpeg.input('audio=virtual-audio-capturer',
 thread_queue_size=2048,
 rtbufsize='2048M',
 channel_layout='stereo',
 f='dshow'
 )
print(' '.join( 
 ffmpeg
 .filter(video_,'fps', fps=30.000)
 .filter(video_,'crop', 1920,1040,0,0)
 .filter(video_,'pp','fa')
 .filter(video_,'scale', in_range='full', out_range ='full', eval='init', interl='false', flags='bitexact+accurate_rnd+full_chroma_int')
 .filter(audio_,'volume',volume=1.2)

 .output('Y:\\test\\output_1.mkv', acodec='copy', vcodec="libx264", preset='ultrafast',
 tune='film', crf=17, r=30, force_key_frames='expr:gte(t,n_forced*1)',
 sc_threshold=0, pix_fmt='yuv420p', max_muxing_queue_size=2048,
 start_at_zero=None, t=15)
 
 .global_args('-hide_banner')
 .global_args('-hwaccel_device', 'auto')
 .global_args('-hwaccel', 'auto')
 .global_args('-report')
 .overwrite_output()
 .compile()
))



Thanks.


-
How to stream a USB webcam connected to a raspberry pi using gstreamer (RTMP)
24 août 2022, par Todd MurphyI am really hitting a wall when trying to use gstreamer to stream my usb webcam to a RTMP server. The command I keep using is this :


gst-launch-1.0 -e /dev/video0 is-live=true ! video/x-raw,width=1280,height=720 ! videoconvert ! omxh264enc ! video/x-h264 ! h264parse ! video/x-h264 ! queue ! flvmux name=mux ! rtmpsink location='rtmp://<server>'
</server>


The problem is, it keeps failing with this error :


WARNING: erroneous pipeline: no source element for URI "/dev/video0"



Any help would greatly be appreciated. This command is not set in stone I need to be able to just stream my usb webcam to an RTMP server in the end. It is a raspberry pi 4 with the latest 64bit OS.
Thank you.


-
Anomalie #2880 (Nouveau) : Gestion du portfolio
22 octobre 2012, par Charles De ClercqConcerne : ajouter une image ou un document dans un article Lorsque j’ajoute un archive zippée contenant des illustrations, il y a la possibilité de cocher la case pour ajouter les fichiers (jpg en l’occurrence) dans le portfolio. Bug constaté : les fichiers sont d’office ajoutés au portfolio que la (...)