
Recherche avancée
Autres articles (84)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
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 (...) -
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 ;
Sur d’autres sites (13126)
-
FFmpeg command to add a single frame to the end of a video not working (resulting in zero-byte output file)
21 juillet 2023, par Frost DreamI'm trying to add a single frame to the end of a video file without re-encoding using FFmpeg. After searching online, I came across a command that is supposed to achieve this using the concat demuxer. However, when I run the command, it only creates a zero-byte output file. I'm not sure what I'm doing wrong.


Here's the command I'm using :


ffmpeg -i input_video.mp4 -framerate 30 -loop 1 -i single_frame.png -filter_complex "[0:v][1:v]concat=n=2:v=1:a=0" -c:v libx264 -preset veryfast -crf 18 -c:a copy output_video.mp4



The input_video.mp4 is the path to my original video file, and single_frame.png is the path to the image file containing the single frame I want to add. I expected the output video, output_video.mp4, to contain the original video followed by the single frame at the end, but it's just a zero-byte file.


Am I missing something in the command ? Is there an issue with the concat demuxer approach for adding a single frame ? Any insights or alternative methods to achieve this would be greatly appreciated.


Thank you !


-
FFMpeg - how to encode a F4M manifest file to mp4
20 novembre 2015, par RoeeI’m working on a project, where we want to encode flash videos to mp4 (for example, we want to encode a f4v file), and live-stream them (which means we can’t just download all the f4f files, then encode them to a single mp4 and just then stream it. The encoding and streaming has to be done while downloading the files).
If the format of the flash video is flv for example, FFMpeg can do what I’ve described without any problem. I just give the address of the flv file to FFMpeg, and it encodes and streams it as mp4.
But, if the format of the flash video is something more complicated as f4v (which gets downloaded as many f4f files), I don’t have a single url to give to FFMpeg as input - I have many addresses of f4f files. I don’t even know how many f4f files the video has before playing it - it looks like the flash player just fetches the next f4f file when needed.
I read online that there is a manifest file (its extension is f4m), that "describes" to the flash player which f4f files it should download and play, and what’s their playing-order and everything.
My question is - if I have the url of this f4m file, what should I do in order to encode all its f4f files to mp4 ?
I’ve tried to give to FFMpeg just the f4m file as input, but it doesn’t know what to do with it...I’ll really appreciate any response that might help, as I’ve been working on this issue for few days now and I still haven’t found any answer...
Thanks,
Roee. -
Detect scene change on part of the frame
16 juin 2021, par user18130814200115I have a video file of an online lecture cosisting of a slideshow with audio in the background.

I want to save images of each slide as well as the timestamp of that slide.
I do this using the scene and metadata filters :

ffmpeg -i week-01.mp4 -filter_complex "select='gt(scene,0.011)',metadata=print:file=frames/time.txt" -vsync vfr frames/img%03d.jpg



This works fine exept for one thing, there is a timer onscreen on the right in the video file.
If i set the thershold small enough to pick up all the slide changes, it also picks up the timer changes.


So here is my question, Can I ask ffmpeg to :


- 

- analize part of the frame (only the right side till roughly 75% to the left).
- Then, on detecting a scene change in this area, save the entire frame and the timestamp.






I though of making a script that


- 

- crops the video and saves it alongside the origional
- analize the cropped video for scene changes and save the timestamps
- extract the frames from the origional video using the timestamps








Is there a better/faster/shorter way to do this ?
Thanks in advance !