Recherche avancée

Médias (91)

Autres articles (28)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (4270)

  • reading video mpegts stream from stdin using libavformat libavcodec

    1er février 2012, par D Starkweather

    I'm trying to read video frames from stdin using ffmpeg's libav* lib collection. Simply passing "pipe:0" or "pipe :" as the filename to avformat_open_input_file() in my program does not do the trick. (e.g. cat /dev/video0 | ./myprogram OR ./myprogram < /dev/video0 ; it also fails using file.avi in place of /dev/video0).

    Peeking into ffmpeg.c, I find the following bit of code using tcsetattr() to set the termios :

    struct termios tty;

    if (tcgetattr (0, &amp;tty) == 0) {
    oldtty = tty;
    restore_tty = 1;
    atexit(term_exit);

    tty.c_iflag &amp;= ~(IGNBRK|BRKINT|PARMRK|ISTRIP
                         |INLCR|IGNCR|ICRNL|IXON);
    tty.c_oflag |= OPOST;
    tty.c_lflag &amp;= ~(ECHO|ECHONL|ICANON|IEXTEN);
    tty.c_cflag &amp;= ~(CSIZE|PARENB);
    tty.c_cflag |= CS8;
    tty.c_cc[VMIN] = 1;
    tty.c_cc[VTIME] = 0;

    tcsetattr (0, TCSANOW, &amp;tty);
    }
    signal(SIGQUIT, sigterm_handler); /* Quit (POSIX).  */
    }

    avformat_network_deinit();

    signal(SIGINT , sigterm_handler); /* Interrupt (ANSI).    */
    signal(SIGTERM, sigterm_handler); /* Termination (ANSI).  */
    signal(SIGXCPU, sigterm_handler);

    However, when I try this, it appears to have no effect. What settings do I need in the termios struct to continuously read video frames in ?

    Currently, all i am able to do is call av_read_frames a few times (return code 0) before it usually either segfaults or hangs waiting. The buffer usually contains just a blank screen (all black). With any luck, the video buffer will contain the first video frame it comes across, but does not update to the later frames.

    (I'm running this on Debian 6.0) Here's my version of ffmpeg :

    ffmpeg version N-36936-g4cf81d9 Copyright (c) 2000-2012 the FFmpeg
    developers built on Jan 19 2012 20:51:47 with gcc 4.4.5
    configuration : —enable-shared —enable-gray —enable-hardcoded-tables
    —enable-runtime-cpudetect —enable-libmp3lame —enable-libopenjpeg —enable-librtmp —enable-libtheora —enable-libvorbis —enable-libx264 —enable-libxvid —enable-zlib —enable-gpl libavutil 51. 34.101 / 51. 34.101 libavcodec 53. 57.100 /
    53. 57.100 libavformat 53. 30.100 / 53. 30.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 59.101 / 2. 59.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 /
    0. 6.100 libpostproc 52. 0.100 / 52. 0.100 Hyper fast Audio and Video encoder usage : ffmpeg [options] [[infile options] -i
    infile].

    Thank you very much for any help helpful tips. It is much appreciated.

    D. Grant Starkweather

  • trying to build a audio video format convertion tool help required

    19 février 2012, par moon

    hello i am going to build a windows desktop tool that can convert the audio and video formats of all types.

    i am in technology selection phase.

    thinking about java and ffmpeg for this purpose but i come to know there are some formats that ffmpeg can not convert for them what should i do ?

    second is there ffmpge api for java to use intead of using it through process builder ?

    and at last is there any other approach that is more easy and stable from described above ?

    AVI, MPG, MPEG, VOB, WMV, MP4, M4V,

    ASF, MOV, QT, 3GP, DAT, OGM, DVR-MS, FLV, MKV, RM, RMVB, VRO, TS, AMV,
    F4V, MTS, MT2S, WAV, MP3, WMA, OGG, APE,

    M4A, MPC, WV, AMR, AC3, AU to AVI, MPEG, MOV, WMV, MP4, RM, iPod,
    iPad, HTC, PSP, iPhone, Zune, BlackBerry, Apple

    TV, PS3, Xbox360, Creative ZEN, Archos, iRiver, 3GP, FLV, SWF, WAV,
    MP3, WMA, M4A, AMR, AAC, AIFF and AC3

    help required

    regards.

  • Anomalie #2745 : Icone des Itruc

    1er juin 2012, par cedric -

    En fait si on veut fournir la bonne taille il faut 4 icones (variantes iphone/ipad, pas retina/retina) apple-touch-icon-57x57.png apple-touch-icon-72x72.png apple-touch-icon-114x114.png apple-touch-icon-144x144.png en attendant une prochaine variante. On doit pouvoir tout traiter en une (...)