Recherche avancée

Médias (9)

Mot : - Tags -/soundtrack

Autres articles (65)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

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

  • FFMPEG reconnect input if error

    15 septembre 2016, par Alkitab Suhano

    I’m finding a way to make ffmpeg reconnect if any error occurered. For my case I restream from hls to rtmp for example

    ffmpeg -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2000 -i "input" -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -f flv rtmp://output

    FFMpeg always disconnected every 10 minutes. I searched on google and can’t find stable solution for this job.

    P.S. OS is linux (Centos 7 64bit)

    Thank you,
    Akitab

  • Run ffmpeg without outputting configuration information ?

    28 mars 2014, par Matt Joiner

    I'm invoking ffmpeg with subprocess.Popen, and trying to capture the stderr output and write it to logging.

    args = ['ffmpeg', '-i', path]
    if start:
       args += ['-ss', start]
    if end:
       args += ['-t', end]
    args += [
       '-vcodec', 'copy',
       '-acodec', 'copy',
       '-scodec', 'copy',
       '-f', 'mpegts',
       '-y', '/dev/stdout']
    self.child = subprocess.Popen(
       args,
       stdin=open(os.devnull, 'rb'),
       stdout=subprocess.PIPE,
       stderr=subprocess.PIPE)

    ffmpeg generates a lot of configuration information like the following :

    FFmpeg version 0.6.2-4:0.6.2-1ubuntu1,
    Copyright (c) 2000-2010 the Libav
    developers built on Mar 22 2011
    15:55:04 with gcc 4.5.2
    configuration :
    —extra-version=4:0.6.2-1ubuntu1 —prefix=/usr —enable-avfilter —enable-avfilter-lavf —enable-vdpau —enable-bzlib —enable-libgsm —enable-libschroedinger —enable-libspeex —enable-libtheora —enable-libvorbis —enable-pthreads —enable-zlib —enable-libvpx —disable-stripping —enable-runtime-cpudetect —enable-vaapi —enable-gpl —enable-postproc —enable-swscale —enable-x11grab —enable-libdc1394 —enable-shared —disable-static WARNING : library configuration
    mismatch libavutil configuration :
    —extra-version=4:0.6.2-1ubuntu2 —prefix=/usr —enable-avfilter —enable-avfilter-lavf —enable-vdpau —enable-bzlib —enable-libdirac —enable-libgsm —enable-libopenjpeg —enable-libschroedinger —enable-libspeex —enable-libtheora —enable-libvorbis —enable-pthreads —enable-zlib —enable-libvpx —disable-stripping —enable-runtime-cpudetect —enable-vaapi —enable-libopenjpeg —enable-gpl —enable-postproc —enable-swscale —enable-x11grab —enable-libfaad —enable-libdirac —enable-libfaad —enable-libmp3lame —enable-librtmp —enable-libx264 —enable-libxvid —enable-libdc1394 —enable-shared —disable-static libavcodec configuration :
    —extra-version=4:0.6.2-1ubuntu2 —prefix=/usr —enable-avfilter —enable-avfilter-lavf —enable-vdpau —enable-bzlib —enable-libdirac —enable-libgsm —enable-libopenjpeg —enable-libschroedinger —enable-libspeex —enable-libtheora —enable-libvorbis —enable-pthreads —enable-zlib —enable-libvpx —disable-stripping —enable-runtime-cpudetect —enable-vaapi —enable-libopenjpeg —enable-gpl —enable-postproc —enable-swscale —enable-x11grab —enable-libfaad —enable-libdirac —enable-libfaad —enable-libmp3lame —enable-librtmp —enable-libx264 —enable-libxvid —enable-libdc1394 —enable-shared —disable-static libavutil 50.15. 1 / 50.15. 1
    libavcodec 52.72. 2 / 52.72. 2
    libavformat 52.64. 2 / 52.64. 2
    libavdevice 52. 2. 0 / 52. 2. 0
    libavfilter 1.19. 0 / 1.19. 0
    libswscale 0.11. 0 / 0.11. 0
    libpostproc 51. 2. 0 / 51. 2. 0

    Prior to finally outputting the stuff I'd like to log :

    Seems stream 0 codec frame rate
    differs from container frame rate :
    47.95 (66893/1395) -> 23.98 (66893/2790) At least one output file
    must be specified

    Is there an option to prevent this excessive output ? Should I be doing it differently ?

  • Use opencv to encode into flv, playable by flash player

    13 février 2012, par Hemang Shah

    I've compiled ffmpeg with libx264 using configure options given at 1.

    This results in the following codecs being available in ffmpeg :

    $ ffmpeg -codecs | grep "264\|flv"
    ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers
    built on Feb 10 2012 13:54:15 with gcc 4.6.1
    configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
    libavutil      51. 34.101 / 51. 34.101
    libavcodec     53. 60.100 / 53. 60.100
    libavformat    53. 31.100 / 53. 31.100
    libavdevice    53.  4.100 / 53.  4.100
    libavfilter     2. 60.100 /  2. 60.100
    libswscale      2.  1.100 /  2.  1.100
    libswresample   0.  6.100 /  0.  6.100
    libpostproc    52.  0.100 / 52.  0.100
    DEVSD  flv             Flash Video (FLV) / Sorenson Spark / Sorenson H.263
    D V D  h264            H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    D V D  h264_vdpau      H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
    EV    libx264         libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    EV    libx264rgb      libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB

    After this, I compiled opencv. Here is partial cmake result :

    --   Video I/O:
    --     DC1394 1.x:                 NO
    --     DC1394 2.x:                 NO
    --     FFMPEG:                     YES
    --       codec:                    YES
    --       format:                   YES
    --       util:                     YES
    --       swscale:                  YES
    --       gentoo-style:             YES
    --     GStreamer:                  YES
    --     UniCap:                     NO
    --     PvAPI:                      NO
    --     V4L/V4L2:                   /1
    --     Xine:                       NO

    Now, using opencv's VideoWriter, I tried to encode into flv with the following FOURCC codes :
    FLV1, X264

    While the FLV1 results in a video file not playable by flash player, but playabe by vlc ; X264 produces no results at all.
    Here is the console output for X264, resulting in a 0 byte file.

    Output #0, flv, to 'd.flv' :
    Stream #0.0 : Video : [0][0][0][0] / 0x0000, yuv420p, 320x240, q=2-31, 4915 kb/s, 90k tbn, 24 tbc

    Do you see anything amiss or incorrect ?
    thanks,