Recherche avancée

Médias (91)

Autres articles (87)

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

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

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (11534)

  • Bash Scripting FFMPEG how to wait the process to complete

    9 décembre 2013, par user1738671

    I have a strange problem. I have a folder monitor with incrontab that launches an automatic transcoding script on CLOSE_WRITE state of a file I dropped in. The problem is that the script doesn't wait until the ffmpeg process finishes before continuing with the rest of the script commands. This means that the original file get deleted before the transcoding is finished, which is bad.

    First question :
    What is the root cause of this behaviour ?

    Second question : In a bash script, what is the best way to make sure an ffmpeg process is done before get going with the rest of the script ?

    Script :

    #/bin/bash

    #transcoding
    /usr/bin/ffmpeg -i "sourcefile push with incron as $1" -vcodec somecode -acodec somecodec "destination file"

    #delete source
    rm "path/to/file$1"

    Should I encapsulate my FFMPEG in a while statement ?

  • tests/fate-run : Always overwrite output files for md5 tests

    20 septembre 2020, par Andreas Rheinhardt
    tests/fate-run : Always overwrite output files for md5 tests
    

    Otherwise the result of such tests will not accurately reflect the
    current state.

    Reviewed-by : Jan Ekström <jeebjp@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] tests/fate-run.sh
  • Starnge behavior of ffmpeg while opening rtsp with .sdp

    7 avril 2014, par Pawel Rutka

    I have problem with reading rtsp stream(.sdp) over ffmpeg - is here anyone who is able to help me or have something incommon with this kind of troubles ?

    url stream :

    rtsp://192.168.1.7/moja.sdp

    Here is a log with -loglevel debug , why is there 127.0.0.1 ?

    [rtsp @ 0x9fef0a0] SDP:
    v=0
    o=- 1 1 IN IP4 127.0.0.1
    s=IPCam
    c=IN IP4 0.0.0.0
    t=0 0
    a=type:broadcast
    m=video 0 RTP/AVP 96
    a=rtpmap:96 MP4V-ES/90000
    a=fmtp:96 profile-level-id=1;config=000001B001000001B58913000001000000012000C488800F514043C1463F
    a=control:track0
    m=audio 0 RTP/AVP 8
    a=rtpmap:8 PCMA/8000
    a=control:track1

    [rtsp @ 0x9fef0a0] video codec set to: mpeg4
    [rtsp @ 0x9fef0a0] audio codec set to: pcm_alaw
    [rtsp @ 0x9fef0a0] audio samplerate set to: 8000
    [rtsp @ 0x9fef0a0] audio channels set to: 1
    [rtsp @ 0x9fef0a0] hello state=0
    [rtsp @ 0x9fef0a0] UDP timeout, retrying with TCP
    [rtsp @ 0x9fef0a0] method PAUSE failed: 501 Not Implemented