Recherche avancée

Médias (91)

Autres articles (27)

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

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

Sur d’autres sites (3863)

  • ffmpeg sdl output framerate too high

    1er juillet 2015, par dkrikun

    I’m using the following command-line to play a video via SDL :

    ffmpeg -i input.mkv -f sdl "Video"

    The video is being played too fast, ffmpeg prints that the framerate is 500 (not constant, just playing as fast as possible)
    I’ve tried to limit the framerate as follows, but none of this has any effect :

    ffmpeg -i input.mkv -r 25 -f sdl "Video"  
    ffmpeg -i input.mkv -f sdl -r 25 "Video"  
    ffmpeg -i input.mkv -framerate 25 -f sdl "Video"  
    ffmpeg -i input.mkv -f sdl -framerate 25 "Video"  

    I’m using ffmpeg version ffmpeg-20150605-git-7be0f48-win64-static on Windows 7.
    ffplay input.mkv works pretty well.

    Thank you !

    EDIT : console output for ffmpeg -i input.mkv -r 25 -f sdl "Video" follows :

    ffmpeg version N-72662-g7be0f48 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopenc
    ore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --ena
    ble-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable
    -libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enabl
    e-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable
    -libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --e
    nable-lzma --enable-decklink --enable-zlib
     libavutil      54. 26.101 / 54. 26.101
     libavcodec     56. 41.101 / 56. 41.101
     libavformat    56. 34.100 / 56. 34.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 16.101 /  5. 16.101
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.100 /  1.  2.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, matroska,webm, from 'input.mkv':
     Metadata:
       ENCODER         : Lavf56.34.100
     Duration: 00:20:00.20, start: 0.000000, bitrate: 1006 kb/s
       Stream #0:0: Video: h264 (High), yuv420p, 720x304, SAR 1:1 DAR 45:19, 23.98
    fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
       Metadata:
         BPS             : 813254
         BPS-eng         : 813254
         DURATION        : 02:13:35.090000000
         DURATION-eng    : 02:13:35.090000000
         NUMBER_OF_FRAMES: 192170
         NUMBER_OF_FRAMES-eng: 192170
         NUMBER_OF_BYTES : 814788601
         NUMBER_OF_BYTES-eng: 814788601
         _STATISTICS_WRITING_APP: mkvmerge v7.0.0 ('Where We Going') 32bit built on
    Jun  9 2014 15:08:34
         _STATISTICS_WRITING_APP-eng: mkvmerge v7.0.0 ('Where We Going') 32bit buil
    t on Jun  9 2014 15:08:34
         _STATISTICS_WRITING_DATE_UTC: 2015-01-07 06:01:37
         _STATISTICS_WRITING_DATE_UTC-eng: 2015-01-07 06:01:37
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
       Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp (default)
       Metadata:
         LANGUAGE        : eng
         BPS             : 185184
         BPS-eng         : 185184
         DURATION        : 02:13:35.125000000
         DURATION-eng    : 02:13:35.125000000
         NUMBER_OF_FRAMES: 375709
         NUMBER_OF_FRAMES-eng: 375709
         NUMBER_OF_BYTES : 185534548
         NUMBER_OF_BYTES-eng: 185534548
         _STATISTICS_WRITING_APP: mkvmerge v7.0.0 ('Where We Going') 32bit built on
    Jun  9 2014 15:08:34
         _STATISTICS_WRITING_APP-eng: mkvmerge v7.0.0 ('Where We Going') 32bit buil
    t on Jun  9 2014 15:08:34
         _STATISTICS_WRITING_DATE_UTC: 2015-01-07 06:01:37
         _STATISTICS_WRITING_DATE_UTC-eng: 2015-01-07 06:01:37
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Output #0, sdl, to 'Video':
     Metadata:
       encoder         : Lavf56.34.100
       Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x304 [SAR 1:1
    DAR 45:19], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
       Metadata:
         BPS             : 813254
         BPS-eng         : 813254
         DURATION        : 02:13:35.090000000
         DURATION-eng    : 02:13:35.090000000
         NUMBER_OF_FRAMES: 192170
         NUMBER_OF_FRAMES-eng: 192170
         NUMBER_OF_BYTES : 814788601
         NUMBER_OF_BYTES-eng: 814788601
         _STATISTICS_WRITING_APP: mkvmerge v7.0.0 ('Where We Going') 32bit built on
    Jun  9 2014 15:08:34
         _STATISTICS_WRITING_APP-eng: mkvmerge v7.0.0 ('Where We Going') 32bit buil
    t on Jun  9 2014 15:08:34
         _STATISTICS_WRITING_DATE_UTC: 2015-01-07 06:01:37
         _STATISTICS_WRITING_DATE_UTC-eng: 2015-01-07 06:01:37
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         encoder         : Lavc56.41.101 rawvideo
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
    Press [q] to stop, [?] for help
    frame=28726 fps=244 q=0.0 Lsize=N/A time=00:20:00.20 bitrate=N/A
    video:9210274kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxi
    ng overhead: unknown
  • How can I compress and create mp4 video file from batch of images on hard disk using ffmpeg ?

    29 juin 2015, par Brubaker Haim

    In my directory I copied ffmpeg.exe to the same directory where all the images are.
    All images are bitmaps.

    Then in the command prompt windows I typed :

    ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i \\.\pipe\mytestpipe -map 0 -c:v mpeg4 -r  out.mp4

    But I get error that there is no a directory name :

    \.\pipe\mytestpipe

    So I removed it and typed the same line without the pipe part.

    ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i -map 0 -c:v mpeg4 -r  out.mp4

    Now there is no a directory name -map

    So I moved the -map 0

    ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i -c:v mpeg4 -r  out.mp4

    Now I’m getting error :

    -c:v : Protocol not found

    I used this line with the pipe in my c# program as arguments to ffmpeg using ProcessStartInfo but now I don’t want to use pipes only in the command prompt to type it and compress and create mp4 video file.

    Edit I tried this now :

    ffmpeg -framerate 1/5 -i screenshot%06d.bmp -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4

    And what I get is some errors :

    E:\screenshots>ffmpeg -framerate 1/5 -i screenshot%06d.bmp -c:v libx264 -r 30 -p
    ix_fmt yuv420p out.mp4
    ffmpeg version N-73165-gf1e1730 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
    able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
    ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
    --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
    e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
    ble-decklink --enable-zlib
     libavutil      54. 27.100 / 54. 27.100
     libavcodec     56. 45.100 / 56. 45.100
     libavformat    56. 38.102 / 56. 38.102
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 18.100 /  5. 18.100
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.100 /  1.  2.100
     libpostproc    53.  3.100 / 53.  3.100
    [bmp @ 0000000002eb7f80] bad magic number
       Last message repeated 2 times
    [image2 @ 0000000002eb64e0] decoding for stream 0 failed
    [image2 @ 0000000002eb64e0] Could not find codec parameters for stream 0 (Video:
    bmp, none): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    screenshot%06d.bmp: could not find codec parameters
    Input #0, image2, from 'screenshot%06d.bmp':
     Duration: 00:07:35.00, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: bmp, none, 0.20 fps, 0.20 tbr, 0.20 tbn, 0.20 tbc
    Output #0, mp4, to 'out.mp4':
    Output file #0 does not contain any stream

    For those who can see. When i’m doing it on a single file for example : ffmpeg -framerate 1/5 -i screenshot000002.bmp -c:v libx264 -r 30 -pix_fmt yuv420p out1.mp4 or screenshot000003.bmp or screenshot000122.bmp it will work fine and create the video file. But when i’m doing this for all images i’m getting all the errors : ffmpeg -framerate 1/5 -i screenshot%06d.bmp -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4 here is the results when i did on screenshot000002.bmp and it worked fine.

    When i’m doing it on a single image file it’s working fine like screenshot000002.bmp but when doing it on all the images screenshot%06d.bmp it’s giving me all the errors i mentioned above.

  • web recorded video not played in ipad

    30 juin 2015, par ketan

    I record video from web using flash media server. Now using flex default player i tried to play video but, it will not play ipad.(ios device)
    I checked that video codec and it is something like following :

    libxavs --enable-libxvid --enable-decklink --enable-zlib
     libavutil      52. 92.100 / 52. 92.100
     libavcodec     55. 69.100 / 55. 69.100
     libavformat    55. 45.100 / 55. 45.100
     libavdevice    55. 13.102 / 55. 13.102
     libavfilter     4. 10.100 /  4. 10.100
     libswscale      2.  6.100 /  2.  6.100
     libswresample   0. 19.100 /  0. 19.100
     libpostproc    52.  3.100 / 52.  3.100
    [flv @ 0000000002b60220] Stream discovered after head already parsed
    Input #0, flv, from 'C:\Users\Administrator\Desktop\123654789.flv':
     Metadata:
       canSeekToEnd    : false
       createdby       : FMS 4.5
       creationdate    : Tue Jun 30 16:27:22 2015
     Duration: 00:00:15.25, start: 0.000000, bitrate: 52 kb/s
       Stream #0:0: Video: flv1, yuv420p, 320x227, 1k tbr, 1k tbn, 1k tbc
       Stream #0:1: Audio: speex, 16000 Hz, mono, s16, 20 kb/s
       Stream #0:2: Data: none

    I record video following ways :

    netstream.publish("FILENAME","record");

    Thanks.

    Edit :

    Another flv file i got which is played in ios. But when i check it’s codec it something like following :

    r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
    -enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
    --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
    libxavs --enable-libxvid --enable-decklink --enable-zlib
     libavutil      52. 92.100 / 52. 92.100
     libavcodec     55. 69.100 / 55. 69.100
     libavformat    55. 45.100 / 55. 45.100
     libavdevice    55. 13.102 / 55. 13.102
     libavfilter     4. 10.100 /  4. 10.100
     libswscale      2.  6.100 /  2.  6.100
     libswresample   0. 19.100 /  0. 19.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, flv, from 'C:\Users\Administrator\Desktop\16402.flv':
     Metadata:
       major_brand     : 3gp4
       minor_version   : 0
       compatible_brands: isom3gp4
       encoder         : Lavf55.45.100
     Duration: 00:00:13.23, start: 0.000000, bitrate: 304 kb/s
       Stream #0:0: Video: flv1, yuv420p, 320x240, 300 kb/s, 15 fps, 15 tbr, 1k tbn
    , 1k tbc
       Stream #0:1: Audio: mp3, 22050 Hz, mono, s16p, 0 kb/s

    How, can i record/convert flv like below ?