Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (89)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (7173)

  • ffmpeg stops pushing stream of h264 frames to the media server after 180s (3 minutes)

    19 décembre 2019, par blvvet

    My purpose is to let tons of h264 frames play on the browser.

    What I try to do is pushing these frames to the node-media-server(I also tried srs, still breaks down at 180s..So I think node-media-server should not be the problem) by ffmpeg and play it on the browser by flv.js. It works fine for the first 180 seconds and It always breaks down at 180s.

    The node process keeps alive after 180s and the node-media-server receives nothing after 180s. So I think the problem may caused on ffmpeg. Since the number is always 180 seconds, I think maybe I did something wrong about the parameters of ffmpeg.

    Thanks to everyone who gives a glance at my question
    Here’s the code from the nodejs side :

    const spawn = require('child_process').spawn
    const GET_FRAME = require('XXX') // just a cpp addon to get frame buffer encoded of h264
    let args = [
       '-i', 'pipe:0',
       '-use_wallclock_as_timestamps', '1',
       '-max_delay', '5',
       '-r', '25',
       '-c', 'copy',
       '-preset:v', 'ultrafast',
       '-tune:v', 'zerolatency',
       '-f', 'flv',
       '-g', '5',
       'rtmp://127.0.0.1/live/test'
    ]
    let $ffmpeg = spawn('ffmpeg', args)
    setInterval(() => {
       let $FrameH264 = GET_FRAME()
       console.log($FrameH264) // buffers keep printing after 180s
       $ffmpeg.stdin.write($FrameH264)
    }, 1000 / 30)
  • FFmpeg .jpg images to .mp4 incompatible with Windows Media Player

    8 janvier 2020, par willspill

    I have a series of 10 images with which I am trying to form an animation. I have used the following code below in the command line :

    ffmpeg -f image2 -i plot-%03d.jpg -r 5 -pix_fmt yuv420p -vcodec mpeg4 output.mp4

    This creates a .mp4 file with a seemingly valid file size, however, when trying to open with Windows Media Player gives the following error :

    Windows Media Player cannot play the file. The Player might not support the file type or might not support the codec that was used to compress the file.

    I have tried many solutions from previous threads but have found no solution. I have checked that my version of windows media player is compatible with mp4, avi, wmv etc. and have tried all of these outputs also. Any ideas of the issue ?

    The full code :

    M:Example\Frames_plot-001_jpg>ffmpeg -f image2 -i plot-%03
    ix_fmt yuv420p -vcodec mpeg4 output.mp4
    FFmpeg version SVN-r11200, Copyright (c) 2000-2007 Fabrice Bellard,
     configuration: --enable-memalign-hack
     libavutil version: 49.5.0
     libavcodec version: 51.48.0
     libavformat version: 52.1.0
     built on Dec 11 2007 14:33:27, gcc: 3.4.5 (mingw special)
    Input #0, image2, from 'plot-%03d.jpg':
     Duration: 00:00:00.4, start: 0.000000, bitrate: N/A
       Stream #0.0: Video: mjpeg, yuvj420p, 4167x4167 [PAR 120:120 DAR
    tb(r)
    Output #0, mp4, to 'output.mp4':
       Stream #0.0: Video: mpeg4, yuv420p, 4167x4167 [PAR 1:1 DAR 1:1]
    kb/s,  5.00 tb(c)
    Stream mapping:
     Stream #0.0 -> #0.0
    Press [q] to stop encoding
    Compiler did not align stack variables. Libavcodec has been miscomp
    and may be very slow or crash. This is not a bug in libavcodec,
    but in the compiler. You may try recompiling using gcc >= 4.2.
    Do not report crashes to FFmpeg developers.
    frame=    3 fps=  3 q=4.0 Lsize=     917kB time=0.6 bitrate=12522.6
    video:916kB audio:0kB global headers:0kB muxing overhead 0.072455%
  • Fragmented MP4 has wrong duration in Windows Media Player

    3 février 2020, par Expressingx

    I’m streaming video from a camera to a file using ffmpeg. The case to use Fragmented MP4 is that there can be sudden power off and lose the video. I’ve configured the fragments to be at least 30 secs and this is how much the Windows Media Player reports for the duration even if its 2 hours long, after that it keeps streaming the video but is not seekable after the 30th second. How can be that fixed ?

    ffmpeg -c copy -movflags frag_keyframe+separate_moof+omit_tfhd_offset -min_frag_duration 30000000 -bsf:a aac_adtstoasc \ out.mp4

    If I use -movflags frag_keyframe+empty_moov then the video is not seekable at all and no duration reported.

    I aim for seekable video with correct duration both on VLC/Windows Media Player

    Version of ffmpeg : 3.3.4