
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (52)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (9568)
-
RNFFMpeg.executeAsync : Unable to create gif of a video with space(s) in it's source path
7 juillet 2021, par STBoxUnable to make gif of a video which has space(s) in it's source directory. All the other video which don't have space(s), their gif is making fine. I had a video whose folder name had space and it was not making gif for it. I copied the same video to a folder without space in it's name, and it made gif for it successfully. Even if I replace the the space with source path with anything like %20 etc, then it says




No such file or directory




Code snippet




RNFFmpeg.executeAsync(
 `-i ${source} -ss ${start} -t ${gifDuration} -vf "fps=5,scale=160:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 ${destination}`, (completedExecution) => {
 if (completedExecution.returnCode === 0) {
 resolve({ path: destination });
 } else {
 resolve({ error: "invalid Gif" }); // always this part executes for videos with space in their source path
 }
 }
 );







Expected behavior


Regardless a video has or has not a space in it's path, it should make gif correctly and




completedExecution.returnCode




should be 0


Current behavior
Currently, for all the videos having space in their source path, completedExecution.returnCode is always 1


Logs of the same video without space in folder name




[Wed Jul 07 2021 12:23:56.377] LOG file :///storage/emulated/0/AirDroid/VID-20210620-WA0024.mp4 [Wed Jul






07 2021 12:23:56.511] LOG [Parsed_palettegen_3 @ 0x7d62eb5ec0] 255(+1) colors generated out of 249823 colors ; ratio=0.001021 [Wed Jul 07 2021 12:23:56.672] LOG video:48kB audio:0kB subtitle:0kB other streams:0kB






global headers:0kB muxing overhead : [Wed Jul 07 2021 12:23:56.673] LOG






0.041083% [Wed Jul 07 2021 12:23:56.722] LOG "path" : "/data/user/0/com.tbox.pantry/cache/1625642625930.gif"




Logs of the same video with space in folder name




[Wed Jul 07 2021 12:20:45.577] LOG






file :///storage/emulated/0/FMWhatsApp/Media/FMWhatsApp






Video/VID-20210620-WA0024.mp4 [Wed Jul 07 2021 12:20:45.998] LOG






file :///storage/emulated/0/FMWhatsApp/Media/FMWhatsApp : No such file






or directory [Wed Jul 07 2021 12:20:45.998] LOG Conversion failed !






[Wed Jul 07 2021 12:20:45.999] LOG "error" : "invalid Gif"




Environment


"react" : "16.13.1",
"react-native" : "^0.63.3",
"react-native-ffmpeg" : "0.5.1",
Android 11


-
avcodec/webp : Check available space in loop in decode_entropy_coded_image()
25 juillet 2021, par Michael Niedermayeravcodec/webp : Check available space in loop in decode_entropy_coded_image()
Fixes : Timeout
Fixes : 35401/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WEBP_fuzzer-5714401821851648Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
avdevice/dshow : discover source color range/space/etc
21 décembre 2021, par Diederick Niehorsteravdevice/dshow : discover source color range/space/etc
Enabled discovering a DirectShow device's color range, space, primaries,
transfer characteristics and chroma location, if the device exposes that
information. Sets them in the stream's codecpars.Co-authored-by : Valerii Zapodovnikov <val.zapod.vz@gmail.com>
Signed-off-by : Diederick Niehorster <dcnieho@gmail.com>
Reviewed-by : Roger Pack <rogerdpack2@gmail.com>