Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (84)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (7000)

  • DCT coefficient and motion vector extraction in encoded domain

    12 juin 2017, par Sanduni Wickramasinghe

    I want to extract DCT coefficients and motion vectors from a MPEG 4 video without decoding. I have searched for an answer and haven’t found anything useful.

    Please be kind enough to share any idea, possibilities of doing this task or a code.

    Some how I was able to write a code to read encoded code using ffmpeg.

    void CFfmpegmethods::VideoRead(){
       //cout << "this is video read" << endl;

       const char *url = "H:/Sanduni_projects/ad_2.mp4";

       AVFormatContext *s = NULL;
       int ret = avformat_open_input(&s, url, NULL, NULL);
       if (ret < 0)
           //abort();

       AVDictionary *options = NULL;

       av_dict_set(&options, "video_size", "640x480", 0);
       av_dict_set(&options, "pixel_format", "rgb24", 0);

       if (avformat_open_input(&s, url, NULL, &options) < 0){
           //abort();
       }

       av_dict_free(&options);

       AVDictionaryEntry *e;

       if (e = av_dict_get(options, "", NULL, AV_DICT_IGNORE_SUFFIX)) {
           fprintf(stderr, "Option %s not recognized by the demuxer.\n", e->key);
           //abort();
       }

       avformat_close_input(&s);  
    }
  • ffmpeg image extraction (PNG) isn't lossless [closed]

    23 février 2023, par Discepoli di Giais

    While running :

    


    ffmpeg -i tmp_segments/segment00.mkv -qscale:v 1 -qmin 1 -qmax 1 -vsync 0 tmp_frames/frame%08d.png


    


    I expect getting the lossless frames, however the frames are not only low quality, but also the color has changed.

    


    screenshot of the original

    


    screenshot of the extracted

    


    I've tried removing completely -qscale:v 1 -qmin 1 -qmax 1 -vsync 0 with no result and also setting the framerate manually -r 23.98 removing only -vsync 0, with no result.

    


    Anyway, this is the stream :

    


     Metadata:
    ENCODER         : Lavf58.76.100
  Duration: 00:00:11.62, start: 0.009000, bitrate: 5274 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)


    


  • Révision 20000 : 3 coquilles dans le texte...

    8 novembre 2012, par marcimat -