
Recherche avancée
Autres articles (16)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (2949)
-
Ubuntu ffmepg watermark position
8 juillet 2015, par Arnas Pečelisso I have command :
ffmpeg -i prepared/video.mp4 -i units/video_watermark.png -filter_complex overlay=main_w-overlay_w-10:main_h-overlay_h-10 -codec:a copy moved/video_test.mp4
which should describe watermark position on bottom right but the watermark appears on the bottom center. what i’m doing wrong ?
also I tried this command :
ffmpeg -i prepared/video.mp4 -vf "movie=units/video_watermark.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" moved/output.mp4
but with it watermark was not added, video was corrupted becouse of response :
[aac @ 0x3556540] The encoder ’aac’ is experimental but experimental codecs are not enabled, add ’-strict -2’ if you want to use it.
where is the clue ?
-
Closed Captioned TS to Open Captioned MP4 (w/Accurate Positioning)
19 décembre 2019, par Cody GreeneI am attempting to convert closed captioned MPEG TS files to open captioned MP4s using ffmpeg.
I am having trouble retaining the positioning of the captions.
The closest I’ve gotten is with this simple script :
ffmpeg -f lavfi -i movie=input.ts[out+subcc] -map 0:1 output.ass
ffmpeg -i input.ts -vf "subtitles=output.ass" -c:v libx264 -pix_fmt yuv420p -b:v 8000k -c:a aac -b:a 192k target.mp4The result of this is the open captions are shifted FAR left and the bounding box draws black over the empty spaces left of wherever text is centered (ssa adds "/h", easily removed with sed, but then it’s left-aligned captions only)
However, the vertical position, overall size, etc. all look great.
Most subtitle formats force everything to the bottom center, but I’m trying to mimic the look of an open caption on the mp4 output.
I’ve tried several formats with ccextractor and ffmpeg, but no luck. Any ideas what I’m doing wrong ?
-
Add text to video using FFMPEG
29 décembre 2023, par DexterI have a mp4 vertical video and I would like to add a text in center top of it. I read several things and found out 2 ways to do it (with and without font file).


ffmpeg -i .mp4 -vf "drawtext=text=’Stack Overflow’:fontcolor=white:x=100:y=100:font=Arial" -codec:a copy .mp4

ffmpeg -i .mp4 -vf "drawtext=fontfile='.ttf':text='Stack Overflow':fontcolor=white:fontsize=24:box=1:boxcolor=black@0.5:boxborderw=5:x=(w-text_w)/2:y=(h-text_h)/2" -codec:a copy .mp4



They both work for other people but when I'm trying to do it so I do have an error.


Fontconfig error: Cannot load default config file: No such file: (null)



And that is even if with the without font file method.


Do someone have a solution for this error ?