
Recherche avancée
Autres articles (85)
-
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 ;
-
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 (...) -
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 ) (...)
Sur d’autres sites (11108)
-
Error with os.system in python script
25 mai 2015, par Avery Ripoll CrockerI am creating a python script that will convert files using ffmpeg and unoconv. However when I run the program, rather than getting a converted file the program simply displays the text :
sh: 1: unoconv -f: not found
Here is the script for my program :
path = raw_input("Please drag and drop the directory in which the file is stored into the terminal:")
os.chdir(path[1:-2])
filename = raw_input("Please enter the name of the file you would like to convert, including the file-type. e.g. test.txt, however please do make sure that the file-name does not have any spaces:")
Fileextension = raw_input("What filetype would you like the program to convert your file to. E.g. .mp3: ")
body, ext = os.path.splitext("filename")
os.system("'ffmpeg -i ' + filename + body + Fileextension ")Any ideas as to why this happens ?
-
How to add #EXT-X-PART:DURATION=0.200,URI="filePart271.0.mp4" into .m3u8 in ffmpeg ? [closed]
11 août 2023, par palakSo my question is : How do I add #EXT-X-PART:DURATION=0.200,URI="filePart271.0.mp4" to my HLS m3u8 playlist file using FFmpeg ?


And the error i am receiving is Unrecognized option 'hls_part_flags'.
Error splitting the argument list : Option not found.


as well as Unrecognized option 'hls_part_target'.
Error splitting the argument list : Option not found.


Currently my FFmpeg command is the following :
ffmpeg -f lavfi -t 16 -i anullsrc -f lavfi -i testsrc=size=1280x720:rate=30 -c:v libx264 -c:a aac -t 16 -hls_time 4 -hls_playlist_type vod -hls_segment_type fmp4 -start_number 266 -hls_flags single_file -master_pl_name master.m3u8 -var_stream_map "v:0,a:0" -hls_segment_filename 'fileSequence%v.mp4' -hls_fmp4_init_filename 'city.mp4' -hls_base_url './' -hls_segment_filename 'filePart%v.%04d.mp4' -hls_part_flags '+independent' -hls_part_target 0.200 output.m3u8


My expectation is that, How do I add #EXT-X-PART:DURATION=0.200,URI="filePart271.0.mp4" to my HLS m3u8 playlist file using FFmpeg ?


-
Ffmpeg-Build : Error during build
13 mars 2014, par talhamalik22I am building ffmpeg and stuck in an unusual spot. Inside libavutil we have float_dsp.h and float_dsp.c files. Inside these file there is a declaration of a methond which is :
void (*butterflies_float)(float *av_restrict v1, float *av_restrict v2, int len);
float (*scalarproduct_float)(const float *v1, const float *v2, int len);when building and compiling this file i get this error and have no idea what to do. I think problem is somewhere else but again have no idea at all. Error is
jni/ffmpeg/libavcodec/../libavutil/float_dsp.h:150: error: expected ';', ',' or ')' before 'v1'
jni/ffmpeg/libavcodec/../libavutil/float_dsp.h:161: error: expected ';' before 'float'Anybody who wants to help please take a step forward because i have not really got any support on ffmpeg during couple of weeks now.
Regards