
Recherche avancée
Autres articles (80)
-
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 (...) -
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 (...) -
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 (13026)
-
bash : receive single frames from ffmpeg pipe
30 août 2014, par manuI’m trying to achieve single-frame handling in a pipe where the the j2c encoder "kdu_compress" (Kakadu) only accepts single files. To save harddrive space. I didn’t manage to pipe frames directly, so I’m trying to handle them via a bash script, by creating each picture, process it, and overwrite it with the next.
Here is my approach. Thanks for your advice, I really want to climb this mountain, though I’m a bit fresh here thanks.
Is it possible to pipe an ffmpeg output to a bash script and save the individual frame,
do further commands with the file before the next frame is handled ?Best result so far is, that ALL frames are added into the intermediate file, without recognizing the end of a frame.
I used this ffmpeg setting to pipe, example with .ppm :
ffmpeg -y -i "/path/to/source.mov" -an -c:v ppm -updatefirst 1 -f image2 - \
| /path/to/receiver.shand this script as a receiver.sh
#!/bin/bash
while read a;
do
cat /dev/null > "/path/to/tempfile.ppm"; #to empty the file first
cat $a >> "/path/to/tempfile.ppm"; #to fill one picture
kdu_compress -i /path/to/tempfile.ppm -otherparams #to process this intermediate
done
exit;Thank you very much.
-
Add project files for Visual Studio 2010 and later.
6 juillet 2014, par Erik de Castro LopoAdd project files for Visual Studio 2010 and later.
Also allows building for x86-64 Windows.
Patch-from : lvqcl <lvqcl.mail@gmail.com>
- [DH] FLAC-vs2010.sln
- [DH] examples/c/decode/file/example_c_decode_file.vcxproj
- [DH] examples/c/decode/file/example_c_decode_file.vcxproj.filters
- [DH] examples/c/encode/file/example_c_encode_file.vcxproj
- [DH] examples/c/encode/file/example_c_encode_file.vcxproj.filters
- [DH] examples/cpp/decode/file/example_cpp_decode_file.vcxproj
- [DH] examples/cpp/decode/file/example_cpp_decode_file.vcxproj.filters
- [DH] examples/cpp/encode/file/example_cpp_encode_file.vcxproj
- [DH] examples/cpp/encode/file/example_cpp_encode_file.vcxproj.filters
- [DH] src/flac/flac.vcxproj
- [DH] src/flac/flac.vcxproj.filters
- [DH] src/flac/iffscan.vcxproj
- [DH] src/flac/iffscan.vcxproj.filters
- [DH] src/libFLAC++/libFLAC++_dynamic.vcxproj
- [DH] src/libFLAC++/libFLAC++_dynamic.vcxproj.filters
- [DH] src/libFLAC++/libFLAC++_static.vcxproj
- [DH] src/libFLAC++/libFLAC++_static.vcxproj.filters
- [DH] src/libFLAC/libFLAC_dynamic.vcxproj
- [DH] src/libFLAC/libFLAC_dynamic.vcxproj.filters
- [DH] src/libFLAC/libFLAC_static.vcxproj
- [DH] src/libFLAC/libFLAC_static.vcxproj.filters
- [DH] src/metaflac/metaflac.vcxproj
- [DH] src/metaflac/metaflac.vcxproj.filters
- [DH] src/plugin_common/plugin_common_static.vcxproj
- [DH] src/plugin_common/plugin_common_static.vcxproj.filters
- [DH] src/share/getopt/getopt_static.vcxproj
- [DH] src/share/getopt/getopt_static.vcxproj.filters
- [DH] src/share/grabbag/grabbag_static.vcxproj
- [DH] src/share/grabbag/grabbag_static.vcxproj.filters
- [DH] src/share/replaygain_analysis/replaygain_analysis_static.vcxproj
- [DH] src/share/replaygain_analysis/replaygain_analysis_static.vcxproj.filters
- [DH] src/share/replaygain_synthesis/replaygain_synthesis_static.vcxproj
- [DH] src/share/replaygain_synthesis/replaygain_synthesis_static.vcxproj.filters
- [DH] src/share/utf8/utf8_static.vcxproj
- [DH] src/share/utf8/utf8_static.vcxproj.filters
- [DH] src/share/win_utf8_io/win_utf8_io_static.vcxproj
- [DH] src/share/win_utf8_io/win_utf8_io_static.vcxproj.filters
- [DH] src/test_grabbag/cuesheet/test_cuesheet.vcxproj
- [DH] src/test_grabbag/cuesheet/test_cuesheet.vcxproj.filters
- [DH] src/test_grabbag/picture/test_picture.vcxproj
- [DH] src/test_grabbag/picture/test_picture.vcxproj.filters
- [DH] src/test_libFLAC++/test_libFLAC++.vcxproj
- [DH] src/test_libFLAC++/test_libFLAC++.vcxproj.filters
- [DH] src/test_libFLAC/test_libFLAC.vcxproj
- [DH] src/test_libFLAC/test_libFLAC.vcxproj.filters
- [DH] src/test_libs_common/test_libs_common_static.vcxproj
- [DH] src/test_libs_common/test_libs_common_static.vcxproj.filters
- [DH] src/test_seeking/test_seeking.vcxproj
- [DH] src/test_seeking/test_seeking.vcxproj.filters
- [DH] src/test_streams/test_streams.vcxproj
- [DH] src/test_streams/test_streams.vcxproj.filters
- [DH] src/utils/flacdiff/flacdiff.vcxproj
- [DH] src/utils/flacdiff/flacdiff.vcxproj.filters
- [DH] src/utils/flactimer/flactimer.vcxproj
- [DH] src/utils/flactimer/flactimer.vcxproj.filters
-
ffmpeg drawtext on ubuntu : ffmpeg does not change text location [closed]
10 juin 2024, par Wolf WolfI am designing a video editor bot for Telegram. I want to use ffmpeg
and I need a text to be placed on the video and change the place of
the text randomly every few seconds.


There is an example on the site itself.


I used the following command :


ffmpeg -i
 "/home/editor/downloads/video_2023-07-10_17-53-05_7375753324605210932.mp4"
 -filter:v drawtext="fontsize=30:fontfile=/usr/share/hellotext=hellotext/share/World':
 x=if(eq(mod(t\,30)\,0)\,rand(0\,(w-text_w))\,x):y=if(eq(mod (t\,30
 )\, 0)\,rand(0\,(h-text_h))\,y)" -codec:v libx264 -codec:a copy
 -preset slow -crf 18 -y output.mp4



This command executes and even the text is placed on the video, now
the problem is that it doesn't change the location of the text. I
tested this before and it worked fine, but now it doesn't run
properly.