Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (55)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

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

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (9916)

  • Invalid data found when processing input - ffmpeg

    3 juin 2022, par PythonEnthusiast

    I want to extract a thumbnail from a video. This is how I do.

    


    ffmpeg -ss 23 -i https://instagram.fdel1-5.fna.fbcdn.net/v/t50.2886-16/269911519_1273884613093320_8063647191411847665_n.mp4\?efg\=eyJ2ZW5jb2RlX3RhZyI6InZ0c192b2RfdXJsZ2VuLjcyMC5jbGlwcy5iYXNlbGluZSJ9\&_nc_ht\=instagram.fdel1-5.fna.fbcdn.net\&_nc_cat\=100\&_nc_ohc\=65aOhfSynpkAX9U5ff0\&edm\=ACWDqb8BAAAA\&vs\=322853093065469_3083101666\&_nc_vs\=HBksFQAYJEdOX0ZGaERJSjlsZmw0WUVBUEh4TGNabDFPZHZicV9FQUFBRhUAAsgBABUAGCRHRWl1TUJCb0JZSldTTWdCQUJoQTdJbzhNNUE0YnFfRUFBQUYVAgLIAQAoABgAGwAVAAAmrvaFqZLIzz8VAigCQzMsF0BByHKwIMScGBJkYXNoX2Jhc2VsaW5lXzFfdjERAHX%2BBwA%3D\&_nc_rid\=c57a2dad7d\&ccb\=7-5\&oe\=629BE9DA\&oh\=00_AT_B3VnuEvvyvvIuhYkP8kpRhLi6l49Zzw1U6FL0Jiq7jQ\&_nc_sid\=1527a3 -vframes 1 output.jpg


    


    the above URL works perfectly fine.

    


    However, when I try it on a different URL, it throws me an error saying Invalid data found when processing input

    


    ffmpeg -ss 23 -i https://photos.google.com/share/AF1QipOBbycxjw4vbHMX1xyox5PhM4-NeUAfBV2e2GE2i1MvuLzxehnWh2FgLBH1jXwfJQ/photo/AF1QipOBufd1CCf-9-JYysBkgpiAz-aE_pZWfUMqGQq-\?key\=S1ViWU1uS0VDQ1BKZlJrbmJCQkNBdlJ4enA0VTBn  -vframes 1 output.jpg


    


    What exactly is the issue ? I'm quite new to the ffmpeg library.

    


  • I would like to batch-trim mp4 videos in a folder with command line (ffmpeg ?), however the sound is delayed

    28 janvier 2023, par pdeli

    I found the following command line to batch-trim videos in a folder, however it delays the sound of all the videos by a few seconds (sound comes after the video) :

    


    for file in /path/to/folder/*.mp4; do ffmpeg -i "$file" -ss 00:00:08 -c copy -avoid_negative_ts 1 "${file%.*}_trimmed.mp4"; done

    


    These are the alternatives I found, however none of them solve the problem :

    


    for file in /path/to/folder/*.mp4; do ffmpeg -i "$file" -itsoffset -0.5 -ss 8 -c:v copy -c:a copy "${file%.*}_trimmed.mp4"; done

    


    for file in /path/to/folder/*.mp4; do ffmpeg -i "$file" -ss 8 -async 1 -c:v copy -c:a copy "${file%.*}_trimmed.mp4"; done

    


    for file in /path/to/folder/*.mp4; do ffmpeg -i "$file" -ss 8 -map 0:v -map 0:a -c:v copy -c:a copy "${file%.*}_trimmed.mp4"; done

    


    I have a hard time finding by how much time the sound is delayed.

    


    My questions :

    


      

    • what would be the command line to batch-trim the beginning of all the videos in a folder with the sound properly "aligned" to the video ?
    • 


    • in other words, can't the sound be by default trimmed by as much as the video in the first place ? If yes, how ?
    • 


    



    


    System used :

    


      

    • macOS Ventura (13.1, Intel)
    • 


    • Shell and version : zsh 5.8.1 (x86_64-apple-darwin22.0)
    • 


    • ffmpeg version 5.0 built with Apple clang version 13.0.0 (clang-1300.0.29.30)
    • 


    


  • ffmpeg javacv audio - integrate audio into video javacv

    16 juillet 2014, par Cyril Lequeux

    I’ve looked for this issue since a while but I didn’t find out any solution...
    I want to create a video from pictures with javacv (great, it works). But now I want to put in a sync way audio into my video. I heard I had to make a byte array with the sound data and then record() according to the audiobitrate/8 = audiobyterate but i didn’t find a simple sample...I’m not the first asking this question but all the same questions are still unanswered

       IplImage Image = cvLoadImage("data/photo.jpg");
       FrameRecorder recorder = FFmpegFrameRecorder.createDefault("out.avi", 1920, 1080);
       recorder.setVideoCodec(AV_CODEC_ID_MPEG4);
       recorder.setFrameRate(30);
       recorder.setFormat("avi");
       recorder.start();
           for(int s=0; s<10; s++){
               for(int i=0; i<30; i++){
                   recorder.record(Image);
    //Here I want to record my music.mp3 stream
               }
           }
           recorder.stop();

    Please help me, I’m desesperate :p
    Ps : I’m using javacv 0.3 FFMPEG 1.06 OpenCv 2.4.3