
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (65)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (4863)
-
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.


-
Videos created using FFmpeg are not being displayed in web browsers such as Chrome, Firefox, and Safari
2 février 2023, par vijayI am attempting to generate an MP4 video by combining images and audio with FFmpeg-Kit-React-Native but it is not being displayed in web browsers.


For your reference I'm attaching the package link below :
ffmpeg-kit-react-native


The commands I utilized to produce the video are as follows :


- 

-i ${imageFile} -i ${audioFile?.uri} -vf scale=480:360 -f mp4 ${outputFile}
-loop 1 -i ${imageFile} -i ${audioFile.uri} -shortest -acodec copy ${outputFile}
-i ${imageFile} -i ${audioFile?.uri} -b:v 2M -vf scale=480:360:force_original_aspect_ratio=decrease,pad=480:360:-1:-1 -pix_fmt yuv420p ${outputFile}
-i ${imageFile} -i ${audioFile?.uri} -vf scale=480:360:force_original_aspect_ratio=decrease,pad=480:360:-1:-1 -f mp4 ${outputFile}










I have attached a link to the video I generated using a single image and one audio file


Additionally, I am unable to install external encoding packages such as full-gpl, full, https-gpl, and min-gpl on the Android side.


-
avcodec/mpegvideo_enc : use 64bit multiplication in dct_quantize_trellis_c and dct_qua...
6 janvier, par Marton Balintavcodec/mpegvideo_enc : use 64bit multiplication in dct_quantize_trellis_c and dct_quantize_c
Fixes corruption with :
ffmpeg -t 1 -filter_complex "sine=f=21,showwaves=scale=cbrt:mode=line:colors=white:draw=full" -c:v mpeg2video -non_linear_quant 1 -qmin 1 -qmax 1 -cpuflags 0 out.mpg
or
ffmpeg -t 1 -filter_complex "sine=f=21,showwaves=scale=cbrt:mode=line:colors=white:draw=full" -c:v mpeg2video -non_linear_quant 1 -qmin 1 -qmax 1 -trellis 1 out.mpg
Signed-off-by : Marton Balint <cus@passwd.hu>