Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (101)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (13561)

  • Possible bug in OpenCV2.4 capturing frames from video

    23 septembre 2013, par Jav_Rock

    Could it be that there is a bug in OpenCV2.4 highgui for capturing frames from video in windows ?

    I installed both the precompiled libraries, the ones compiled by me, I can compile everything perfectly and I can run my programs if

    they are image based. The problem is only for videos. OpenCV crashes in this function always :

    virtual IplImage* retrieveFrame(int)
       {
           unsigned char* data = 0;
           int step=0, width=0, height=0, cn=0;

           if(!ffmpegCapture ||
              !icvRetrieveFrame_FFMPEG_p(ffmpegCapture,&data,&step,&width,&height,&cn)) <-------CRASHES HERE
              return 0;
           cvInitImageHeader(&frame, cvSize(width, height), 8, cn);
           cvSetData(&frame, data, step);
           return &frame;
       }

    This is inside the class cap_ffmpeg.cpp and is called by VideoCapture.

    I tried versions 2.4.2 and 2.4.9. My programes were working finde with opencv2


    More information

    • Windows 7

    • Build the projects with cmake (important as it could be that cmake is not building/finding the right codecs)

    • VisualStudio 9 2008

    • OpenCV 2.4.2

    EDIT

    It looks like it is actually a bug, so, how can I solve this problem and change my code to be able to read avi files ?

  • ffmpeg how convert mp3 to acc ? [closed]

    21 septembre 2012, par John Smith

    Possible Duplicate :
    ffmpeg how convert audio files in other formats ?

    code :

    $infile=$dir.'file1.mp3';
    $outfile_aac=$dir.'file1.acc';
    shell_exec("ffmpeg -i $infile -ab 256 $outfile_aac");

    code create file .acc with size = 0... Where my error ?

    FFmpeg version SVN-r12216,
    Copyright (c) 2000-2008 Fabrice Bellard,
    et al. configuration: libavutil version: 49.6.0 libavcodec version: 51.50.1
    libavformat version: 52.7.0
    libavdevice version: 52.0.0 built on Feb 25 2008 12:40:30,
    gcc: 4.1.2 20070626 (Red Hat 4.1.2-14)
    invalid new backstep 1008 Input #0, mp3, from '/hsphere/local/home/c292729/testwork.ru/10001/ConcertMedia/1348165273ExPRoG.mp3':
    Duration: 00:01:48.8,
    start: 0.000000,
    bitrate: 319 kb/s
    Stream #0.0: Audio: mp3, 44100 Hz, stereo, 320 kb/s Output #0, adts,
    to '/hsphere/local/home/c292729/testwork.ru/10001/ConcertMedia/1348165273ExPRoG.aac':
    Stream #0.0:
    Audio: 0x0000, 44100 Hz,
    stereo, 64 kb/s
    Stream mapping: Stream #0.0 -> #0.0
    Unsupported codec for output stream #0.0

    what codec me need use ?

  • Use fluent-ffmpeg to tell if a file is a video or audio

    11 août 2016, par afterglowlee

    I am using node-fluent-ffmpeg module in NodeJS. It is very good that fluent-ffmpeg provides functions to get the metadata of a video and audio file.

    https://github.com/schaermu/node-fluent-ffmpeg#reading-video-metadata

    I have tried on Mac OS to use the "resolution" attribute in the metadata to tell if a file is audio only or video, i.e. if both resolution.w and resolution.h are 0, then this file is an audio. This work fine on Mac OS. But some strange things happened that this doesn’t work on Windows platform (I have tried Windows 7 64bit and Windows 2008) using the latest ffmpeg. Even though I put a .mp3 file through fluent-ffmpeg,the result looks something like this :

    video:
    {
     container:'mp3',
     ...
     resolution: {w:300,h:300},
     resolutionSquare: {w:300,h:300},
     aspectString: '1:1',
     ...
    }
    audio:
    {
     codec:'mp3',
     bitrate:64,
     sample_rate:44100,
     stream:0,
     channels:1
    }

    I am not why there is a "resolution" since it is a pure audio file. So is there any solid way to find out if the file is audio only or video from the metadata ? Or should I use ffmpeg commandline to find it out ?