Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (83)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (7020)

  • FFMPEG and Mencoder building screenshot returns 0 size images

    12 avril 2014, par Genus

    I have a script and it used to work fine but suddenly it stopped working and giving me zero size images as screenshot after video convert.

    here is the command for video screenshot.

    $cmd = $GLOBALS["paths"]["ffmpeg"]." -y -i ".$file." -f mjpeg -r 1 -ss ".$time." -vframes 1 -an ".$tmpdir."/00000001.jpg 2>&1";
       exec($cmd,$results);

    Debug :

    -----------------------------------------------------

    ------------mencoder_and_fmpeg.php SCREENSHOT -------

    -----------------------------------------------------

     COMMAND: ffmpeg -y -i /home/TESTING/public_html/vid/6d/ad/29/6dad2946a2ba102.flv -f mjpeg -r 1 -ss 14.48 -vframes 1 -an /home/TESTING/public_html/scr/42/3a/92/00000001.jpg 2>&1

     FFmpeg version SVN-r16244, Copyright (c) 2000-2008 Fabrice Bellard, et al.

     configuration: --disable-mmx --enable-shared --enable-libvorbis --enable-gpl --enable-swscale --enable-pthreads --disable-static --disable-demuxer=v4l --disable-demuxer=v4l2 --enable-libtheora --enable-gpl --enable-libspeex --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libamr-nb --enable-libamr-wb --enable-nonfree --enable-libxvid
     libavutil     49.12. 0 / 49.12. 0
     libavcodec    52. 7. 0 / 52.108. 0
     libavformat   52.23. 1 / 52.92. 0
     libavdevice   52. 1. 0 / 52. 2. 3
     libswscale     0. 6. 1 /  0.12. 0

     built on Apr  9 2011 22:48:41, gcc: 4.1.2 20080704 (Red Hat 4.1.2-50)
     built by Admin-Ahead Server Technologies FFmpeg installer v5.0.6b
     Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 10.92 (131/12)
     Stream mapping:
     Stream #0.0 -> #0.0

     Press [q] to stop encoding
     ffmpeg: symbol lookup error: ffmpeg: undefined symbol: frame_hook_process
  • why type casting on non-pointer struct give syntax error

    31 mars 2016, par Sany Liew

    I am using Visual C++ express 2008 try to compile code similar to below :

    no problem

    {
     ...
     AVRational test = {1, 1000};
     ...
    }

    but has problem when it is as below :

    {
     ...
     AVRational test = (AVRational){1, 1000};
     ...
    }

    gave errors :

    1>..\..\..\projects\test\xyz.cpp(1139) : error C2059: syntax error : '{'
    1>..\..\..\projects\test\xyz.cpp(1139) : error C2143: syntax error : missing   ';' before '{'
    1>..\..\..\projects\test\xyz.cpp(1139) : error C2143: syntax error : missing ';' before '}'

    where AVRational (ffmpeg.org library) is defined as :

    typedef struct AVRational{
       int num; ///< numerator
       int den; ///< denominator
    } AVRational;

    FFmpeg come with some pre-define value such as

    #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}

    which is used as below

    av_rescale_q(seek_target, AV_TIME_BASE_Q, pFormatCtx->streams[stream_index]->time_base);

    will failed to compile on Visual C++ express 2008

    It seem like the same code will be compiled with no error/warning on gcc compiler. Why I get this error on VC++ ? Is it a C/C++ standard way to do casting on struct value ? Anyway I can avoid this error while still able to use the defined AV_TIME_BASE_Q ?

  • ffmpeg - when merging an image and audio, audio gets shortened

    25 août 2014, par Gary

    I am trying to merge a png image with 11 seconds of audio and create an mp4 file. When I execute ffmpeg I end up with a total duration of 10 seconds for the mp4 file. The command I’m using is...

    ffmpeg -r 6 -loop 1 -i "image1.png" -i "audio1.wav" out.mp4

    UPDATE : Here is the log that is produced...

    FFmpeg version SVN-r15986, Copyright (c) 2000-2008 Fabrice Bellard, et al.
     configuration: --extra-cflags=-fno-common --enable-memalign-hack --enable-pthr
     eads --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-libtheora
     --enable-libspeex --enable-libfaac --enable-libgsm --enable-libx264 --enable-lib
    schroedinger --enable-avisynth --enable-swscale --enable-gpl
         libavutil     49.12. 0 / 49.12. 0
         libavcodec    52. 6. 0 / 52. 6. 0
         libavformat   52.23. 1 / 52.23. 1
         libavdevice   52. 1. 0 / 52. 1. 0
         libswscale     0. 6. 1 /  0. 6. 1
         built on Dec  3 2008 01:59:37, gcc: 4.2.4
    Input #0, image2, from 'image1.png':
    Duration: 00:00:00.16, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: png, rgb32, 400x300,  6.00 tb(r)
    Input #1, wav, from 'audio1.wav':
     Duration: 00:00:11.07, bitrate: 88 kb/s
       Stream #1.0: Audio: pcm_u8, 11025 Hz, mono, s16, 88 kb/s
    File 'out.mp4' already exists. Overwrite ? [y/N] y
    Output #0, mp4, to 'out.mp4':
       Stream #0.0: Video: mpeg4, yuv420p, 400x300, q=2-31, 200 kb/s,  6.00 tb(c)
       Stream #0.1: Audio: libfaac, 11025 Hz, mono, s16, 64 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #1.0 -> #0.1
    Press [q] to stop encoding
    frame=    1 fps=  0 q=4.1 Lsize=      42kB time=0.17 bitrate=2063.7kbits/s
    video:14kB audio:26kB global headers:0.kB muxing overhead 4.894235%

    I have also tried using

    ffmpeg -loop 1 -i "image1.png" -i "audio1.wav" -t 11 out.mp4

    This command does create an mp4 of 11 seconds but the audio is still cut off at 10 seconds.

    Why is the audio being cutoff at 10 seconds ?

    Thanks,
    Gary