
Recherche avancée
Médias (1)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (107)
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (16127)
-
libavfilter - reconfigure filter graph using avfilter_graph_parse_ptr returns -22
16 juillet 2021, par RahulI am using
transcode.c
sample from ffmpeg examples and it is working as expected. It usesavfilter_graph_parse_ptr
to setup filter graph and it works fine.

However, I need change filter graph dynamically and there
avfilter_graph_parse_ptr
fails. It returns -22. I am not certain if it is a valid operation to do (reconfigure) ? If it is possible, does it require more thanavfilter_graph_parse_ptr
andavfilter_graph_parse_ptr
? libavfilter documentation doesn't say anything about reconfigure or reset existing graph.

I can create a new graph but I am avoiding it since it is affecting the existing buffers.


Thank you for your insight.


-
pass ffmpeg options through mlt xml
17 avril 2021, par carstenI'm looking at an MLT XML file that I created with
kdenlive
and would like to tweak the command line options passed toffmpeg
.

If I understand correclty, this is the part that I need to edit :


<consumer f="mp4" g="15" channels="2" crf="15" progressive="1" target="thetargetfile.mp3" threads="0" vcodec="libx264" ab="256k" movflags="+faststart" bf="2" preset="faster" acodec="aac" in="0" out="18263"></consumer>



Now, I would like to pass an additional flag to
ffmpeg
, in my case-stillimage
for still image optimization of the output (my file is a recorded slideshow presentation, so there's really no excuse for it being hundreds of MB large).

Is there an option in that allows to just pass arbitrary flags to
ffmpeg
, or how else would I go about performing such an optimization ?

-
How to use ffmpeg / x264 2-Pass encoding for multiple bitrate output files
10 septembre 2019, par JonesyWhile performing a 2-Pass encode to multiple output files I was receiving the error



ratecontrol_init: can't open stats file 1 ffmpeg2pass-2.log




My setup is to do a single first pass and then multiple second pass encodes to output files with different target bitrates using the same first pass results.



ffmpeg -y -i $INPUT_FILE -an -vcodec libx264 -pass 1 -b:v 700k -f rawvideo /dev/null

ffmpeg -y -i $INPUT_FILE -i out-aud.mp4 \
$AUDIO_OPTIONS_P2 -vcodec libx264 -pass 2 -b:v 250k -f mp4 out-250.mp4 \
$AUDIO_OPTIONS_P2 -vcodec libx264 -pass 2 -b:v 500k -f mp4 out-500.mp4 \
$AUDIO_OPTIONS_P2 -vcodec libx264 -pass 2 -b:v 700k -f mp4 out-700.mp4




This sequence resulted in the error listed above. What I discovered thru code-inspection is that ffmpeg/x264 looks for a different set of first-pass files for each second-pass encoding path. The first encoding path uses the set of files originally created



ffmpeg2pass-0.log
ffmpeg2pass-0.log.mbtree




The second encoding path requires first-pass files with the names



ffmpeg2pass-2.log
ffmpeg2pass-2.log.mbtree




The third encoding path requires first-pass files with the names starting with ffmpeg2pass-4*, etc.



My solution was to create soft-links to the originally created set of files with the new names that were required for each pass before running the second-pass command.



ln -s ffmpeg2pass-0.log ffmpeg2pass-2.log
ln -s ffmpeg2pass-0.log.mbtree ffmpeg2pass-2.log.mbtree
ln -s ffmpeg2pass-0.log ffmpeg2pass-4.log
ln -s ffmpeg2pass-0.log.mbtree ffmpeg2pass-4.log.mbtree




This seems to work as it results in the output encodes that I needed. However, I don't know if this method is legitimate. Am I getting sub-optimal encoding results by using a first-pass output for one bitrate (700k) as the input to second-pass encodings for other bitrates ?