Recherche avancée

Médias (91)

Autres articles (75)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (8761)

  • The function avformat_open_input from ffmpeg lib cann't open file

    25 mai 2012, par Vbif

    I'm tried open file from my code with ffmpeg lib. And avformat_open_input always receive an error "No such file or directory". I tried different files and directories but results are the same.

    I use VS 2010 on Win7 and compiled lib and dll from http://ffmpeg.zeranoe.com/builds/

    A bit of my code.

    int decode_sound(const char * infile, const char * outfile)
    {
       AVFormatContext *pFormatCtx = 0;
       if((err = avformat_open_input(&pFormatCtx, infile, NULL, 0)) != 0)
          return 1;
    }


    int _tmain(int argc, _TCHAR* argv[])
    {
       avcodec_register_all();

       cout << decode_sound("D:\\DELTA.MPG", "D:\\wav.wav") << endl;

       char errbuf[128];
       const char *errbuf_ptr = errbuf;
       if (av_strerror(err, errbuf, sizeof(errbuf)) < 0)
             strerror_s(errbuf, AVUNERROR(err));
       cout << err << endl << errbuf_ptr << endl;

       system("pause");
       return 0;
    }
  • FFmpeg drawtext - Could not load fontface from file [closed]

    9 avril 2013, par falek.marcin

    I've try to add simple text on top of video with FFmpeg using drawtext parameter. Every time i'm going to do this, error is returned :

    Could not load fontface from file 'arial.ttf' : cannot open resource

    To indicate the location of the font I used the following methods :

    ffmpeg -i C:\Test\rec\vid_1321909320.avi -vf drawtext=fontfile=arial.ttf:text=test -sameq vid_1321909320.flv
    ffmpeg -i C:\Test\rec\vid_1321909320.avi -vf drawtext=fontfile=C:\Windows\Fonts\arial.ttf:text=test -sameq vid_1321909320.flv

    All have failed. Does anyone have experience with adding text using ffmpeg ?

    FFMPEG version: N-34549-g13b7781 build on Nov 6 2011
  • ffmpeg : AVI to FLV conversion doubles file size

    22 septembre 2012, par weekens

    I convert AVI to FLV with ffmpeg using -sameq parameter (same quality) :

    ffmpeg -i test.avi -sameq -f flv sameq.flv

    The resulting file has the same video and audio quality as the original, but it's more than twice the original file size :

    84M sameq.flv
    41M test.avi

    Why does it happen ?

    Transcoder output :

    ffmpeg version N-34750-g070d2d7, Copyright (c) 2000-2011 the FFmpeg developers
     built on Nov 12 2011 11:23:07 with gcc 4.6.1
     configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab
     libavutil    51. 24. 1 / 51. 24. 1
     libavcodec   53. 33. 0 / 53. 33. 0
     libavformat  53. 20. 0 / 53. 20. 0
     libavdevice  53.  4. 0 / 53.  4. 0
     libavfilter   2. 48. 0 /  2. 48. 0
     libswscale    2.  1. 0 /  2.  1. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    Input #0, avi, from 'test.avi':
     Duration: 00:06:30.00, start: 0.000000, bitrate: 866 kb/s
       Stream #0:0: Video: mpeg4 (Advanced Real Time Simple Profile) (DIVX / 0x58564944), yuv420p, 400x300 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
       Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, s16, 64 kb/s
    [buffer @ 0xa247ae0] w:400 h:300 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
    Output #0, flv, to 'sameq.flv':
     Metadata:
       encoder         : Lavf53.20.0
       Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 400x300 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 25 tbc
       Stream #0:1: Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, mono, s16, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg4 -> flv)
     Stream #0:1 -> #0:1 (mp3 -> libmp3lame)
    Press [q] to stop, [?] for help
    frame= 9742 fps=255 q=0.0 Lsize=   85074kB time=00:06:30.00 bitrate=1787.0kbits/s    
    video:79163kB audio:5525kB global headers:0kB muxing overhead 0.455568%