
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (21)
-
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 (...)
Sur d’autres sites (3749)
-
using ffmpeg in C : system() or C api ?
5 décembre 2018, par toastedDeliI want to use ffmpeg’s transcoding features multiple times in my program. This can be achieved by doing
ffmpeg -i input output
in a terminal. I believe I can use some shell or C code to execute these commands programmatically.
I could also directly use ffmpeg’s c libraries to do this. My question is, will there be a noticeable performance difference between the 2 approaches ? Obviously the first will be simpler to implement, but will I pay a big performance cost ?
-
jpg images to gif ffmpeg no data found in image
3 juillet 2023, par Idk123I was trying to use ffmpeg to create a gif from jpg images, but I wasn't able to convert them, not through a python code and not even from the dir itself in cmd




python code :


input_files = f"{BASE_DIR}\\qr_images\\qr%d.jpg"
command = f'ffmpeg -i {input_files} output.gif'
os.system(f'start /wait cmd /k {command}')





I need the files in the dir to be able to convert to gif using ffmpeg (I have it installed correctly)


this is the complete cmd dialog (if I run it from the dir in cmd or if i run the python code :


ffmpeg version 6.0-essentials_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers built with gcc 12.2.0 (Rev10, Built by MSYS2 project) configuration : —enable-gpl —enable-version3
—enable-static —disable-w32threads —disable-autodetect —enable-fontconfig —enable-iconv —enable-gnutls —enable-libxml2 —enable-gmp —enable-bzlib —enable-lzma —enable-zlib —enable-libsrt —enable-libssh —enable-libzmq —enable-avisynth —enable-sdl2 —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxvid —enable-libaom —enable-libopenjpeg —enable-libvpx —enable-mediafoundation —enable-libass —enable-libfreetype —enable-libfribidi —enable-libvidstab —enable-libvmaf —enable-libzimg —enable-amf —enable-cuda-llvm —enable-cuvid —enable-ffnvcodec —enable-nvdec —enable-nvenc —enable-d3d11va —enable-dxva2 —enable-libvpl —enable-libgme —enable-libopenmpt —enable-libopencore-amrwb —enable-libmp3lame —enable-libtheora —enable-libvo-amrwbenc —enable-libgsm —enable-libopencore-amrnb —enable-libopus —enable-libspeex —enable-libvorbis —enable-librubberband libavutil 58. 2.100 / 58. 2.100 libavcodec 60. 3.100 / 60. 3.100 libavformat 60. 3.100 /
60. 3.100 libavdevice 60. 1.100 / 60. 1.100 libavfilter 9. 3.100 / 9. 3.100 libswscale 7. 1.100 / 7. 1.100 libswresample 4. 10.100 / 4. 10.100 libpostproc 57. 1.100 /
57. 1.100 [mjpeg @ 000002000696bfc0] No JPEG data found in image [mjpeg @ 000002000696bfc0] unable to decode APP fields : Invalid data found when processing input
Last message repeated 1 times [mjpeg @ 000002000696bfc0] No JPEG data found in image [mjpeg @ 000002000696bfc0] unable to decode APP fields : Invalid data found when processing input
Last message repeated 1 times [mjpeg @ 000002000696bfc0] Found EOI before any SOF, ignoring [mjpeg @ 000002000696bfc0] No JPEG data found in image [mjpeg @ 000002000696bfc0] bits 159 is invalid [mjpeg @ 000002000696bfc0] unable to decode APP fields : Invalid data found when processing input
Last message repeated 2 times [mjpeg @ 000002000696bfc0] bits 247 is invalid [mjpeg @ 000002000696bfc0] unable to decode APP fields : Invalid data found when processing input [mjpeg @ 000002000696bfc0] No JPEG data found in image [mjpeg @ 000002000696bfc0] unable to decode APP fields : Invalid data found when processing input [mjpeg @ 000002000696bfc0] No JPEG data found in image [image2 @ 000002000696aec0] Could not find codec parameters for stream 0 (Video : mjpeg (Progressive), none(bt470bg/unknown/unknown)) : unspecified size Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options Input #0, image2, from 'c :\Test_proj\qr_images\qr%d.jpg' : Duration : 00:00:00.28, start :
0.000000, bitrate : N/A Stream #0:0 : Video : mjpeg (Progressive), none(bt470bg/unknown/unknown), 25 fps, 25 tbr, 25 tbn Stream mapping : Stream #0:0 -> #0:0 (mjpeg (native) -> gif (native)) Press [q] to stop, [?] for help [mjpeg @ 00000200069a35c0] mjpeg : unsupported coding type (c5) [mjpeg @ 00000200069a35c0] mjpeg : unsupported coding type (ca) Error while decoding stream #0:0 : Invalid data found when processing input [mjpeg @ 00000200069a35c0] unable to decode APP fields : Invalid data found when processing input
Last message repeated 1 times [mjpeg @ 00000200069a35c0] mjpeg : unsupported coding type (ce) [mjpeg @ 00000200069a35c0] No JPEG data found in image Error while decoding stream #0:0 : Invalid data found when processing input [mjpeg @ 00000200069a35c0] unable to decode APP fields : Invalid data found when processing input
Last message repeated 1 times [mjpeg @ 00000200069a35c0] mjpeg : unsupported coding type (cb) [mjpeg @ 00000200069a35c0] Found EOI before any SOF, ignoring [mjpeg @ 00000200069a35c0] Can not process SOS before SOF, skipping [mjpeg @ 00000200069a35c0] No JPEG data found in image Error while decoding stream #0:0 : Invalid data found when processing input [mjpeg @ 00000200069a35c0] bits 159 is invalid Error while decoding stream #0:0 : Invalid data found when processing input [mjpeg @ 00000200069a35c0] unable to decode APP fields : Invalid data found when processing input
Last message repeated 2 times [mjpeg @ 00000200069a35c0] bits 247 is invalid Error while decoding stream #0:0 : Invalid data found when processing input [mjpeg @ 00000200069a35c0] unable to decode APP fields : Invalid data found when processing input [mjpeg @ 00000200069a35c0] mjpeg : unsupported coding type (c6) [mjpeg @ 00000200069a35c0] No JPEG data found in image Error while decoding stream #0:0 : Invalid data found when processing input [mjpeg @ 00000200069a35c0] Can not process SOS before SOF, skipping [mjpeg @ 00000200069a35c0] unable to decode APP fields : Invalid data found when processing input [mjpeg @ 00000200069a35c0] Can not process SOS before SOF, skipping
Last message repeated 2 times [mjpeg @ 00000200069a35c0] No JPEG data found in image Error while decoding stream #0:0 : Invalid data found when processing input Cannot determine format of input stream 0:0 after EOF Error marking filters as finished Conversion failed !


-
image sequence to Video. Faster Way to Render "Hold" frames in FFMPEG (without duplicating image)
11 septembre 2014, par dprogramzI’m working on a project that converts a Flash Movie with dynamic input to Apple Animation Codec.
It’s to generate messaging, so there is some animation, then the message holds, then animation resumes, etc. The hold times are user variable.
I’m first converting the SWF to PNGs by sending a bitstream via the actionscript3 PNGEncoder library, and using a PHP script to save the bitstream to the server as a series of temp png files. This is working very fast.
from flash ill get an image sequence like this :
frame000.png-frame014.png
frame0200.png-frame250.png
frame350.png-frame400.png
frames 15-199 are all the same image holding. I’m not sending bitstreams for the holding images to save bandwidth and time, it would be redundant to send the same image file 185 times. Right now I am copying frame14.png with incrementing file numbers. I have to do this for each instance there is a hold frame.
After all the hold frame holes are filled I then run FFMPEG on the complete image sequence to generate the video.
Is there any faster way to do this ? The longer the hold (which is variable by the user) the longer it takes to render. I understand that there will be some extra render time, but it’s a repeated image and in other conversion programs does not take nearly as long. Or is my current way of doing it the only way in this instance ?
When rendering out of a program like after effects, the animation codec seems to dynamically adjust the frame rate for hold frames.
Thanks for the help and insight !!