
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (74)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (6851)
-
Can't scrub frame by frame through .mp4 files in VLC created using FFmpeg command line, but changing container to .avi can scrub frame by frame in VLC
16 juin 2022, par ICBanMII wrote a really simple demonstration of the issue. I create a 4k video that is 150 frames, and output it to mp4. When I open that in VLC(Vent 3.0.17.4), I can scrub forward a few frames at the beginning(e key) before it stops entirely. If I move it towards the end of the file( 4 secs), it can't scrub forward at all.


What I found out through testing. I can scrub forward/backward 3 seconds normal in vlc. I can scrub forward frame by frame using quicktime's latest version(2016). If I mux it to .avi file format, scrubbing using the e key works as expected in VLC. Copying the meta data from an mp4 that can scrub forward frame by frame doesn't change anything. Renaming the .mp4 file to .avi doesn't fix the issue... only muxing out to an avi does. Using a build of version 5.0.1 of ffmpeg.


I included both VLC commands in code. I'd be more than happy to walk way from this with just muxing everything to avi... but .mp4 is a requirement along with being able to scrub forward frame by frame in VLC. Not sure if code or command line is where the issue is... as sample mp4s from the net used in VLC don't appear to have this issue.


#include <iostream>
#include 

int main()
{
 FILE *m_pFFmpeg;

 // Working - Can scrub forward frame by frame in latest version of vlc
 //const char *cmdOutput = "ffmpeg -hide_banner -y -r 30 -s 3840x2160 -f rawvideo -pix_fmt rgb24 -i - -framerate 30 -an -vcodec libx264 -pix_fmt yuv420p -video_track_timescale 30 -vf vflip -preset veryslow -qp 0 output.avi";
 
 // Not working - Can't scrub forward frame by frame in latest version of vlc. Only difference is the .mp4 at the end
 const char *cmdOutput = "ffmpeg -hide_banner -y -r 30 -s 3840x2160 -f rawvideo -pix_fmt rgb24 -i - -framerate 30 -an -vcodec libx264 -pix_fmt yuv420p -video_track_timescale 30 -vf vflip -preset veryslow -qp 0 output.mp4";
 
 int g_x_dis_res = 3840;
 int g_y_dis_res = 2160;

 m_pFFmpeg = _popen(cmdOutput, "wb");

 uint8_t *export_buffer = new uint8_t[g_x_dis_res * g_y_dis_res * 3];

 for (int i = 0; i < (g_x_dis_res * g_y_dis_res * 3); i++) {
 export_buffer[i] = 127;
 }

 for (int j = 0; j < 150; j++) {
 fwrite(export_buffer, 3 * g_x_dis_res * g_y_dis_res, 1, m_pFFmpeg);

 printf("Export Frame %d\n", j + 1);
 }

 delete[] export_buffer;

 fflush(m_pFFmpeg);
 _pclose(m_pFFmpeg);

 return 0;
}
</iostream>


-
Revision 66336 : article-hero pour mettre en avant un article dans un pave hero-unit ...
28 septembre 2012, par cedric@… — Logarticle-hero pour mettre en avant un article dans un pave hero-unit (cf bootstrap)
pour la demo on le tire au hasard, et on l’exclus de la liste en dessous. -
Revision 66336 : article-hero pour mettre en avant un article dans un pave hero-unit ...
28 septembre 2012, par cedric@… — Logarticle-hero pour mettre en avant un article dans un pave hero-unit (cf bootstrap)
pour la demo on le tire au hasard, et on l’exclus de la liste en dessous.