Recherche avancée

Médias (91)

Autres articles (52)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

Sur d’autres sites (6977)

  • RTP Streaming with ffmpeg : server streaming, client failing

    27 novembre 2013, par Christoph Kuhr

    I compiled ffmpeg and x264 myself.

    x264 version :

    #define X264_REV 2377
    #define X264_REV_DIFF 0
    #define X264_VERSION " r2377 1ca7bb9"
    #define X264_POINTVER "0.140.2377 1ca7bb9"

    ffmpeg version : 0.11.4
    ffmpeg configuration :

    --enable-x11grab --enable-pthreads --enable-libfaac --enable-libxvid --enable-libx264 --enable-libv4l2 --enable-libmp3lame --enable-libpulse --enable-gpl --enable-nonfree --disable-yasm

    streaming server call :

    ffmpeg -f x11grab -s 1600x900 -framerate 50 -i :0.0 -vcodec libx264 -threads 4 -preset ultrafast -crf 0 -q:v 1 -b:v 8M -an -f rtp rtp://192.168.188.30:8710

    ...

    Output #0, rtp, to 'rtp://192.168.188.30:8710':
     Metadata:
       encoder         : Lavf54.6.100
       Stream #0:0: Video: h264, yuv420p, 1600x900, q=-1--1, 8000 kb/s, 90k tbn, 50 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> libx264)
    SDP:
    v=0
    o=- 0 0 IN IP4 127.0.0.1
    s=No Name
    c=IN IP4 192.168.188.30
    t=0 0
    a=tool:libavformat 54.6.100
    m=video 8710 RTP/AVP 96
    b=AS:8000
    a=rtpmap:96 H264/90000
    a=fmtp:96 packetization-mode=1

    Everything looks good so far...

    Now the problem.
    I create foo.sdp from the SDP output of the server and try to playback the stream with ffmpeg ffplay foo.sdp. ffplay fails with the following error :

    [sdp @ 0x7f5e0c0008c0] decoding for stream 0 failed
    [sdp @ 0x7f5e0c0008c0] Could not find codec parameters (Video: h264)
    [sdp @ 0x7f5e0c0008c0] Estimating duration from bitrate, this may be inaccurate
    gameserver.sdp: could not find codec parameters

    If I try the same with VLC, it also fails, but with the different error :

     [0x7f3278c045b8] live555 demux error: no data received in 10s, aborting

    Look like different reasons. But I could not solve either. Does anyone have a clue ?

  • MIME type for transcoded stream

    11 septembre 2012, par Matt Joiner

    I wish to determine the MIME type of the contents of a pipe. The pipe is outputting a transcoded video stream, so there is no corresponding file extension.

    Can I determine the MIME type in these circumstances using say ffprobe -i pipe:0 or some equivalent ? Is there a canonical mapping of codecs or container formats to MIME type ?

  • PHP imagick equivalent of -define png:color-type=6

    5 avril 2016, par user1661677

    I’m needing to save my PNG files with a different color type so ffmpeg can process them correctly. I’m using the PHP library for imagemagick, and I’m trying to figure out how to implement the following (command line) in imagick PHP :

    -define png:color-type=6