
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (62)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (6067)
-
How to create an animated GIF using FFMPEG with an interval ?
26 octobre 2014, par Jeff WilbertHello fellow overflowers,
A brief overview of what I’m trying to accomplish ; I have a site that will accept video uploads, uploads get converted into the mp4 format to be uniformed and playable on the web using one of the many available players. That part is all fine and dandy.
The problem now is I want to show the user a short scaled preview (animated gif) of the video before they click to play it. The code I’m working with now is
ffmpeg -i test.mp4 -vf scale=150:-1 -t 10 -r 1 test.gif
Which works for creating a scaled animated gif with a fixed width of 150px at a rate of 1 frame per second but its only an animation of the first 10 seconds of the video. I’m trying to do something that spreads out the frame gap to cover the whole video length but create an animated gift that’s no more then 10 seconds long.
For example say I have a video that’s 30 seconds I want the gif to be 10 seconds long but cover frames of the entire 30 seconds so it might start at frame 3 or 3 seconds in and create a frame in the gif, then at 6 seconds in the video create another frame, then 9 seconds in another, and so forth where the final outcome is
example video 30 seconds long example video 1 minute 45 second long
video position - gif frame/per second video position - gif frame/per second
00:03:00 1 00:10:50 1
00:06:00 2 00:21:00 2
00:09:00 3 00:31:50 3
00:12:00 4 00:42:00 4
00:15:00 5 00:52:50 5
00:18:00 6 01:03:00 6
00:21:00 7 01:13:50 7
00:24:00 8 01:24:00 8
00:27:00 9 01:34:50 9
00:30:00 10 01:45:00 10
3 second interval between frames 10.5 second interval between framesWhere you end up with an animated gif that’s 10 seconds long showing a preview of the entire video no matter the length of it. Which basically just boils down to
video length / 10 (length of desired animated gif) = interval to use between frames
but I don’t know how I can use that data to accomplish my problem...So does anyone have an idea or suggestion on how this can be accomplished with relative ease ? I can probably do it by calculating the length through code and running a command to extract each individual frame from the video that’s needed then generate a gif from the images but I’d like to be able to do it all with just one command. Thanks.
-
lavf/matroskaenc : use mkv_check_tag_name consistently
6 septembre 2016, par Rodger Combslavf/matroskaenc : use mkv_check_tag_name consistently
Previously, we used a different list of checks when deciding whether to
write a set of tags at all than we did when deciding whether to write an
individual tag in the set. This resulted in sometimes writing an empty
tag master and seekhead. Now we use mkv_check_tag_name everywhere, so
if a dictionary is entirely composed of tags we skip, we don’t write a
tag master at all.This affected the test file, since "language" was on one list but not
the other, so we were writing an empty tag master there. The test hash
is updated to reflect that change. -
MP4 moof fragment headers
23 juillet 2019, par ArianaI have a MP4 parser software that get’s a fragmented
.mp4
video, parses theMOOV
and fragment headers and streams it. I have generated a.mp4
file myself usingFFMPEG
andMP4Box
/bento4
, but the software has problems processing it.ffmpeg -i input.mp4 -g 25 -c:v libx264 -c:a copy out1.mp4
mp4fragment out1.mp4 --fragment-duration 1000 --track 'video' output.mp4Using the
MP4 Explorer
software, I noticed in my generated.mp4
file, for allmoof.traf.trun
, sample duration is set to 0, but in the Track Fragment Header box, it sets thedefault_sample_duration
to 512. While in the another.mp4
file which works fine, there is nodefault_sample_duration
field, but each individual sample has a duration of size 512. Looks like this might cause the problem. The right figure shows the working mp4, and the left one is my generated mp4.Is this an update in the newer versions of
FFMPEG
(orMP4Box
orbento4
) ? Is there any ways to force setting the sample duration in samples ?