Recherche avancée

Médias (91)

Autres articles (76)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque 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 (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (6224)

  • How To Make Make A Video File From Images Using FFMPEG If Your Images Start At A Random Number [duplicate]

    13 mai 2019, par teot 59

    So I am making a program on my raspberry pi and I am constantly saving pictures in the background and deleting them. So for instance in the images folder I have images from 123.png to 234.png

    for now I have been using this command :

    os.system("ffmpeg -f image2 -r 15 -pattern_type glob -i 'videos/*.png' -vcodec mpeg4 -y movie.avi")

    But it’s unreliable, because it mixes image numbers up

    (sorry for bad English)

  • FFMPEG command works in shell ! but not in my node.js

    29 juillet 2021, par Kuno Kim

    When my ffmpeg command is built by my node.js application it does not run.

    



    error

    



    Unrecognized option 'ss 3.2 -t 1.9 -i videoplayback.mp4 -vf  fps=15,scale=240:-1:flags=lanczos,palettegen palette.png'.


    



    command

    



    ffmpeg -ss 3.2 -t 1.9 -i videoplayback.mp4 -vf \ fps=15,scale=240:-1:flags=lanczos,palettegen palette.png


    



    this is my code

    



    var child_process = require('child_process')

function recordVideo() {

var spawn = child_process.spawn;

var args = [
    '-y', 
    '-ss', '3.2',
    '-t', '1.9', 
    '-i', '../getback/bin/videos/videoplayback.mp4', 
    '-vf', ' \\ ', 
    'fps=', '15', 
    'scale=', '320:-1', 
    'flags=','lanczos,palettegen palette.png', 
];



var ffmpeg = spawn('ffmpeg', args);

ffmpeg.stdout.on('data', function (data) {
    console.log(data);
});

ffmpeg.stderr.on('data', function (data) {
    console.log('grep stderr: ' + data);
});

ffmpeg.on('close', (code) => {
    console.log('child process exited with code ' + code);
}); 
};
recordVideo();


    



    what is this error ?
I think.. 'fps=', '15', In the following code 
 '=' options a problem.

    



    I am still learning English.
I'm sorry if it was hard to understand.

    


  • FFmpeg (sharpFFmpeg) decoding - Protected memory error

    25 août 2011, par mazharenko.a

    I'm trying to use C# binding of FFmpeg library calling SharpFFmpeg to decode H264 video stream that I receive by RTP. I think I correctly decapsulate NALUs from RTP-packets, but I can't decode complete frames. Function avcodec_decode_video calling throws an AccessViolationException (Attempted to read or write protected memory).
    Here are some code lines :

       //buf is a byte array containing encoded frame
       int success;
       FFmpeg.avcodec_init();
       FFmpeg.avcodec_register_all();
       IntPtr codec = FFmpeg.avcodec_find_decoder(FFmpeg.CodecID.CODEC_ID_H264);
       IntPtr codecCont = FFmpeg.avcodec_alloc_context(); //AVCodecContext
       FFmpeg.avcodec_open(codecCont, codec);
       IntPtr frame = FFmpeg.avcodec_alloc_frame();  //AVFrame
       FFmpeg.avcodec_decode_video(codecCont, frame, ref success, (IntPtr)buf[0], buf.Length); //exception

    Function has been imported as follows :

       [DllImport("avcodec.dll", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]
       public unsafe static extern int avcodec_decode_video(IntPtr pAVCodecContext, IntPtr pAVFrame, ref int got_picture_ptr, IntPtr buf, int buf_size);

    Unfortunately, I don't know what do I have to do with the codecCont. Somebody wrote that it is needed to fill this structure by AVCDCR using session description received by RTSP. But I don't know which field(s) store this record.
    I'll be glad for any help.
    P.S. Excuse me for my English