
Recherche avancée
Autres articles (96)
-
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 (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...)
Sur d’autres sites (9033)
-
FFmpeg Error : Output file does not contain any stream [closed]
27 octobre 2023, par 2nd EthanI'm trying to use FFmpeg to split an audio file into segments, but I'm encountering the following error :


Output file #0 does not contain any stream



The code is generated automatically using DDSP-SVC notebook.


subprocess.run(f'ffmpeg -i "{filepath}" -f segment -segment_time {sep_duration_final} "{out_filepath}" -y', capture_output=True, shell=True)



Here's the command I'm using :


ffmpeg -i "preprocess/norm\a.wav" -f segment -segment_time 12 "data/train\audio\a-%04d.wav" -y



I have a few questions regarding this issue :


- 

-
What does this error message mean, and why is it occurring ?


-
How can I resolve this error and successfully split my audio file into segments ?








Any insights or guidance on troubleshooting this FFmpeg error would be greatly appreciated.


I have tried running the FFmpeg command provided in my question to split an audio file into segments.


I expected this command to successfully create a series of segmented audio files in the 'data/train\audio' directory.


However, I encountered the 'Output file #0 does not contain any stream' error, and no output files were generated.


-
-
ImgFlip Gif Generator
30 juillet 2013, par user1960364Reference : http://imgflip.com/gifgenerator
So, I don't need the web UI and all the cusomizations. But I've been trying to figure out how to slice and convert a mp4 or mov to an animated gif automagically. I've looked at several ways of doing it with imagemagick/ffmpeg but none of them rendered results as good as imgflip. I always end up with some 24bit color-looking gif instead or some impractically large file.
Any suggestions/ideas on how to do it as efficiently as imgflip ?
Thanks :)
— Edit —
I found this on reddit :#!/bin/bash
# Extracts each frame of the video as a single gif
ffmpeg -i $1 out%04d.gif
# Combines all the frames into one very nicely animated gif.
convert -delay 4 out*.gif anim.gif
# Optimizes the gif using imagemagick
convert -layers Optimize anim.gif optimized_output.gif
# Cleans up the leftovers
rm out*
rm anim.gifUsing that, I created (and yes, I'm on windows) :
ffmpeg -i v.mp4 -r 10 -q:v 1 tmp/out%04d.jpg
convert -delay 10 tmp/out*.jpg jpg-d10.gif
echo y | del tmpAnd got decent quality, even this creates an 8MB file for a small 6sec 480x480 clip at 10fps. And because it's a video and not vector or series of images with very few colors, extracting jpg images does better compression than
-layers Optimize
. However, for some reason, -qscale/-q:v on the frame extraction does not effect the final file size, just the quality. -
Fix frame-packing==5 with some decoders
18 juin 2014, par Tal AloniFix frame-packing==5 with some decoders
The spec mandates that frame-packing==5 requires the SEI on every frame that
begins a view sequence (i.e. the input frames L0-R0-L1-R1 have 4 view sequences,
but if reordered by the encoder to L0-L1-R0-R1 there are now 2 view sequences).
For simplicity, we write the SEI on every frame.This fixes frame-packing==5 3D playback on some decoders (PlayStation 3, Sony
W8 series, possibly others).