Recherche avancée

Médias (91)

Autres articles (4)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP 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 ; (...)

Sur d’autres sites (2322)

  • ffmpeg outputs that the first frame of a 25fps video shows for only 1ms

    13 avril 2019, par Chubacca

    I’m using ffmpeg to split up a video by frames. For a video that is 25fps, my expectation would be that it would show frame 0 for 40ms, and then it would show frame 1 for 40ms, etc. However, when I use ffmepg to analyze the video, this is not what I get.

    I pulled frames out of the video using the following commands :

    ffmpeg -i original.mp4 -ss 00:00:00.000 -vframes 1 0.000.png
    ffmpeg -i original.mp4 -ss 00:00:00.001 -vframes 1 0.001.png
    ffmpeg -i original.mp4 -ss 00:00:00.040 -vframes 1 0.040.png
    ffmpeg -i original.mp4 -ss 00:00:00.041 -vframes 1 0.041.png

    In this, I would expect 0.000.png and 0.001.png to be the same frame, but the resulting pngs are different. However, on the flipside, 0.001.png and 0.040.png ARE the same frame, while 0.040.png and 0.041.png are different frames. It seems as though the frame at 0.000.png is only showing for 1ms. I’ve tested this on multiple different videos, with consistent results. Can anybody explain why this is or why my expectations are potentially incorrect ?

    As a side note, when I load the same video into an HTML5 video tag in the browsers, when I play the video the first frame shows for 64 milliseconds, and all other frames show for 40 milliseconds. I can test this by comparing frames for the following commands :

    player.currentTime = 0
    player.currentTime = .063 // same frame as 0
    player.currentTime = .064 // different frame than .063
    player.currentTime = .103 // same frame as .064
    player.currentTime = .104 // different frame than .103

    This also defies expectations, and makes matching up frames/times for the video between ffmpeg and html5 video even more annoying. Does anyone know what’s going on here ?

    If it’s helpful, here is the metadata from the video :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'original.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.17.101
     Duration: 01:36:16.20, start: 0.000000, bitrate: 2301 kb/s
       Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 2200 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 96 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
  • FFMPEG converted file for jwplayer shows black [migrated]

    24 octobre 2013, par Karolis Narkevičius

    im new to ffmpeg, and I'm trying to convert it to mp4 to play on jwplayer, the video converts, the sound is good, but all i can see is black color, maybie anyone knows the answer to this problem ?

    ffmpeg -y -i Bear.wmv -vcodec libx264 -b:v 1000k -bufsize 1000k -preset:v ultrafast -movflags +faststart -crf 0 -vf scale=800:400 -ab 128k -vsync 2 -strict -2 outas.mp4

    my ffmpeg code
    my ffmpeg version 2.0.1

  • Why ffmpeg shows 2 bitrates ? How to change the second one ?

    31 juillet 2016, par 5argon

    I was comparing why my video plays poorly in my application. So I would like to compare with the video that works fine with ffmpeg -i file

    The one that is working

     Duration: 00:02:19.96, start: 0.540000, bitrate: 1159 kb/s
       Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3], 1150 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc

    This one does not work fine

     Duration: 00:02:15.24, start: 0.533367, bitrate: 980 kb/s
       Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p(tv), 256x256 [SAR 1:1 DAR 1:1], 104857 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc

    I notice 104857 kb/s in my video which probably cause the performance problem but what is it ? I could not find information about how to read this output. Bitrate seems to be 980 kb/s, so what is this another kb/s ? When I specify bitrate using -vb it seems to affect only the first one.