
Recherche avancée
Autres articles (111)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (4196)
-
FFMPEG bash > folder processing > AI upscale - script ERROR ">" [closed]
13 novembre 2022, par Jason Paul MichaelsTrying to port a single file manual command from Topaz AI so I can run it as a part of a simple script allowing me to run multiple sessions from terminal. I am running MacOS with BASH 5.2 and when I run the script I get dumped to ">" instead of command prompt and no error message is displayed.


This is my command -


for f in *.mp4; do
 /Applications/Topaz\ Video\ AI.app/Contents/MacOS/ffmpeg \
 -hide_banner \
 -nostdin \
 -y \
 -nostats \
 -i “$f” \
 -vsync 0 \
 -avoid_negative_ts 1 \
 -sws_flags spline+accurate_rnd+full_chroma_int \
 -color_trc 1 \
 -colorspace 1 \
 -color_primaries 1 \
 -filter_complex veai_up=model=prob-3:scale=0:w=1920:h=1080:preblur=0:noise=0:details=0:halo=0:blur=0:compression=0:estimate=20:device=0:vram=1:instances=1,scale=w=1920:h=1080:flags=lanczos:threads=0,scale=out_color_matrix=bt709 \
 -c:v prores_videotoolbox \
 -profile:v lt \
 -pix_fmt p210le \
 -allow_sw 1 \
 -map_metadata 0 \
 -movflags frag_keyframe+empty_moov+delay_moov+use_metadata_tags+write_colr \
 -map_metadata:s:v 0:s:v \
 -map_metadata:s:a 0:s:a \
 -c:a aac \
 "encoded/${f%.*}.mp4”;
done



I have a feeling it's something really simple I'm missing but I've gone through it a dozen times and can't seem to modify in any way to success.


Thank you !


Getting dumped back to ">" terminal prompt.


-
The proper way to limit framerate when recording screen on macOS
5 juillet 2024, par jsxmacOS 14.5, FFmpeg 7.0.1. To record the screen, if I use the code from Wiki, that is,


ffmpeg -f avfoundation -i 1 output.mp4



the frame rate seems to be so high that when I press
q
to stop recording, the following message persists until my MacBook Pro starts to noise by its cooler : "[q] command received. Exiting."

My current solution is to add
-r
after-i
:

ffmpeg -f avfoundation -i 1 -r 24 output.mp4



But I heard that a more correct solution is to replace
-r
with-framerate
and to put it before instead of after-i
:



ffmpeg -f avfoundation -framerate 24 -i 1 output.mp4



Note that I used
-framerate
as an input option instead of-r 24
as an output option, so I'm telling avfoundation to record at 24fps instead of recording at the default fps and then forcing FFmpeg to drop or duplicate frames to give you the desired 24.



This doesn't work for me currently, and appears to be the same as I don't use
-r
at all.

And so, what is the proper way to fix the "too high framerate" issue when recording the screen on macOS ? Do we need
-r
or instead-framerate
, and where to put it, before or after-i
?

Just in case, here is the log of
ffmpeg -f avfoundation -i 1 output.mp4 -v verbose
:

https://github.com/jsx97/test/blob/main/ffmpeg.log


-
How do I avoid an unsupported frame rate error ?
4 avril 2016, par HyperumI am on a Macbook and I am trying to read video from a camera using the ffmpeg library. The camera is a 10 meter USB underwater camera. I am using the C API through a D binding called ffmpeg-d.
However, upon trying to open the input, I get this :[avfoundation @ 0x7fe0d2800000] Selected framerate (29.970030) is not supported by the device
[avfoundation @ 0x7fe0d2800000] Supported modes:
[avfoundation @ 0x7fe0d2800000] 160x120@[30.000030 30.000030]fps
[avfoundation @ 0x7fe0d2800000] 176x144@[30.000030 30.000030]fps
[avfoundation @ 0x7fe0d2800000] 320x240@[30.000030 30.000030]fps
[avfoundation @ 0x7fe0d2800000] 352x288@[30.000030 30.000030]fps
[avfoundation @ 0x7fe0d2800000] 640x480@[30.000030 30.000030]fpsSo how can I avoid this problem ? Would setting the framerate manually be the answer ? And if so, how could I do that ?
Here is a really short program to replicate my problem.
import std.stdio;
import ffmpeg.libavdevice.avdevice;
import ffmpeg.libavcodec.avcodec;
import ffmpeg.libavformat.avformat;
import ffmpeg.libavfilter.avfilter;
import ffmpeg.libavutil.avutil;
import ffmpeg.libavutil.mem;
import ffmpeg.libavutil.pixfmt;
import ffmpeg.libswscale.swscale;
import std.string;
void main()
{
av_register_all();
avdevice_register_all();
string cameraSource = "USB";
AVCodecContext* cameraCodecContext = null;
AVFormatContext* cameraFormatContext = avformat_alloc_context();
AVCodec* cameraCodec = null;
AVInputFormat* cameraFormat = av_find_input_format("avfoundation");
AVFrame* rawFrame = null, convertedFrame = null;
if (avformat_open_input(&cameraFormatContext, cameraSource.toStringz, cameraFormat, null) != 0) return;
}