
Recherche avancée
Autres articles (41)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (7042)
-
Widescreen Converter for mp4 Video files [duplicate]
25 février 2017, par sekingThis question already has an answer here :
i am looking for a possibility ( php / linux ) to convert any kind of mp4 video into a widescreen format... like a picture widescreen converter
The left and right part of the image does not need to be blurred.. it could be black as well. I don’t care.
The program should recognize if the video is not 16:9 format and then convert it.
Is this possible with ffmpeg ? I cannot find a solution for this but I have seen converted videos like that.
EDIT : Found the solution !
-
How to extract time-accurate video segments with ffmpeg ?
30 octobre 2023, par Jim MillerThis is not a particularly new question area around here, but I've tried what's been suggested there without much luck. So, my story :


I've got a hunk of 15 seconds of straight-from-the-camera.mov video out of which I want to extract a specific chunk, which I can identify by start time and stop time, in seconds. I started by trying to do what I'll call a "copy extraction" : to get seconds 9 to 12,


ffmpeg -i test.mov -vcodec copy -acodec copy -ss 9 -to 12 test-copy.mov



This was a not-bad start, but there are some black frames at the beginning and end of the clip, which I can't have — it has to be a clean edit from the original. So, I tried recoding the original into a new, trimmed clip :


ffmpeg -i test.mov -ss 00:00:09 -t 00:00:03 test-out.mov



This is better, but not quite : There are no longer any black frames at the beginning of the clip, but they're still there at the end.


After some more browsing and reading, I then suspected that the problem is that ffmpeg is having trouble finding the proper points because of a lack of keyframes in the original video. So I recoded the original video to (presumably) add keyframes, in a couple of different ways. Since I want to be able to pick video at boundaries of a second ("from 9 seconds to 12 seconds"), I tried, copying various suggestions around the web,


ffmpeg -i test.mov -force_key_frames "expr:gte(t, n_forced)" test-forced.mp4



and


ffmpeg -i test.mov -g 1 test-g-inserted.mp4



(I built these as mp4's based on some comments about an mp4 container being needed to support the keyframe search, but I'm honestly just hacking here.) I then tried the extraction as before, but on these new videos that presumably now have keyframes in them. No luck — both seem to be about the same ; the start is OK but there are still black frames at the end. (FWIW, both test-forced.mp4 and test-g-inserted.mp4 also have trailing black frames.)


So : I'm still stuck, and would like to not be. Any insights out there as to what I'm doing wrong ? I feel like I'm close, but I really need to get rid of those trailing black frames....


-
Detecting on which frame there is audio presence on a video
26 août 2016, par drovI have a few video files that corresponds to a tv zapping (one channel with sound, then a black screen without sound, then sound again with the new channel)
I already detect pretty much everything but I would like to know how long it takes for the audio to appear after the end of the black screen.
Basically I extract the audio from the video and giving the starting frame I would like to know at which frame there is some audio again.
Then using that I can easily calculate the time it took for the audio to appear.