Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (52)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (8074)

  • When capturing input with ffmpeg can't set video bitrate

    11 mai 2014, par Emanuele

    When capturing input from FFmpeg with following command line :
    ffmpeg -f x11grab -r 30 -s 1920x1080 -i :0.0 -vcodec mpeg4 -b:v 10000k -flags +aic+mv4 -f alsa -ac 2 -i pulse -strict experimental test.mp4
    this is the output I get :

    ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
      built on Feb  6 2014 20:56:59 with gcc 4.6.3
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    [x11grab @ 0x1b1c7a0] device : :0.0 -> display : :0.0 x : 0 y : 0 width : 1920 height : 1080
    [x11grab @ 0x1b1c7a0] shared memory extension  found
    [x11grab @ 0x1b1c7a0] Estimating duration from bitrate, this may be inaccurate
    Input #0, x11grab, from ’:0.0’ :
      Duration : N/A, start : 1399805986.592884, bitrate : 1990656 kb/s
        Stream #0.0 : Video : rawvideo, bgra, 1920x1080, 1990656 kb/s, 30 tbr, 1000k tbn, 30 tbc
    [alsa @ 0x1b2c600] capture with some ALSA plugins, especially dsnoop, may hang.
    [alsa @ 0x1b2c600] Estimating duration from bitrate, this may be inaccurate
    Input #1, alsa, from ’pulse’ :
      Duration : N/A, start : 1399805986.561124, bitrate : N/A
        Stream #1.0 : Audio : pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    File ’test.mp4’ already exists. Overwrite ? [y/N] y
    Incompatible pixel format ’bgra’ for codec ’mpeg4’, auto-selecting format ’yuv420p’
    [buffer @ 0x1b4d840] w:1920 h:1080 pixfmt:bgra
    [avsink @ 0x1b40480] auto-inserting filter ’auto-inserted scaler 0’ between the filter ’src’ and the filter ’out’
    [scale @ 0x1b1c6e0] w:1920 h:1080 fmt:bgra -> w:1920 h:1080 fmt:yuv420p flags:0x4
    Output #0, mp4, to ’test.mp4’ :
      Metadata :
        encoder : Lavf53.21.1
        Stream #0.0 : Video : mpeg4, yuv420p, 1920x1080, q=2-31, 200 kb/s, 30 tbn, 30 tbc
        Stream #0.1 : Audio : aac, 48000 Hz, 2 channels, s16, 200 kb/s
    Stream mapping :
      Stream #0.0 -> #0.0
      Stream #1.0 -> #0.1
    Press ctrl-c to stop encoding
    ^Cframe= 1283 fps= 42 q=31.0 Lsize=   10882kB time=42.71 bitrate=2087.3kbits/s dup=473 drop=70    
    video:9875kB audio:980kB global headers:0kB muxing overhead 0.251384%
    Received signal 2 : terminating.
    ema@scv : $ ./capvideo.sh 
    ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
      built on Feb  6 2014 20:56:59 with gcc 4.6.3
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    [x11grab @ 0x24667a0] device : :0.0 -> display : :0.0 x : 0 y : 0 width : 1920 height : 1080
    [x11grab @ 0x24667a0] shared memory extension  found
    [x11grab @ 0x24667a0] Estimating duration from bitrate, this may be inaccurate
    Input #0, x11grab, from ’:0.0’ :
      Duration : N/A, start : 1399806153.224758, bitrate : 1990656 kb/s
        Stream #0.0 : Video : rawvideo, bgra, 1920x1080, 1990656 kb/s, 30 tbr, 1000k tbn, 30 tbc
    [alsa @ 0x2476600] capture with some ALSA plugins, especially dsnoop, may hang.
    [alsa @ 0x2476600] Estimating duration from bitrate, this may be inaccurate
    Input #1, alsa, from ’pulse’ :
      Duration : N/A, start : 1399806153.198090, bitrate : N/A
        Stream #1.0 : Audio : pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    File ’test.mp4’ already exists. Overwrite ? [y/N] y
    Incompatible pixel format ’bgra’ for codec ’mpeg4’, auto-selecting format ’yuv420p’
    [buffer @ 0x2497840] w:1920 h:1080 pixfmt:bgra
    [avsink @ 0x2497c00] auto-inserting filter ’auto-inserted scaler 0’ between the filter ’src’ and the filter ’out’
    [scale @ 0x24a9680] w:1920 h:1080 fmt:bgra -> w:1920 h:1080 fmt:yuv420p flags:0x4
    Output #0, mp4, to ’test.mp4’ :
      Metadata :
        encoder : Lavf53.21.1
        Stream #0.0 : Video : mpeg4, yuv420p, 1920x1080, q=2-31, 200 kb/s, 30 tbn, 30 tbc
        Stream #0.1 : Audio : aac, 48000 Hz, 2 channels, s16, 200 kb/s
    Stream mapping :
      Stream #0.0 -> #0.0
      Stream #1.0 -> #0.1
    Press ctrl-c to stop encoding
    ^Cframe=  229 fps= 36 q=24.8 Lsize=    2316kB time=7.59 bitrate=2497.9kbits/s dup=43 drop=4    
    video:2134kB audio:176kB global headers:0kB muxing overhead 0.253411%
    Received signal 2 : terminating.
    

    As you can see the video is being saved with 200kbs no matter what option I set ; what am I doing wrong ?
    I’m running this on Ubuntu 12.04, ffmpeg is ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers built on Feb  6 2014 20:56:59 with gcc 4.6.3.

    Cheers

  • Missing audio stream which is required by this ffm at Raspberry PI using ffmpeg

    17 mai 2014, par batuman

    I am trying to stream video from my Raspberry PI using ffserver, raspivid and ffmpeg. My command is as follow

    ffserver -f /etc/ffserver.conf & raspivid -vf -t 0 -w 450 -h 200 -fps 25 -b 2000000 -o - | ffmpeg -f h264 -r 25 -c:v h264 -i - -c:v libx264 -c:a libmp3lame http://localhost:8090/feed1.ffm

    It looks working, I see the video displayed on the monitor and got the error as

    Missing audio stream which is required by this ffm

    The whole output at console is as follow.

    ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
     built on May 10 2014 17:04:06 with gcc 4.6 (Debian 4.6.3-14+rpi1)
     configuration: --prefix=/home/pi/ffmpeg_build --extra-cflags=-I/home/pi/ffmpeg_build/include --extra-ldflags=-L/home/pi/ffmpeg_build/lib --bindir=/home/pi/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
     libavutil      52. 82.100 / 52. 82.100
     libavcodec     55. 60.103 / 55. 60.103
     libavformat    55. 37.102 / 55. 37.102
     libavdevice    55. 13.101 / 55. 13.101
     libavfilter     4.  5.100 /  4.  5.100
     libswscale      2.  6.100 /  2.  6.100
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, h264, from 'pipe:':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuv420p, 450x200, 25 fps, 25 tbr, 1200k tbn, 50 tbc
    Sat May 17 07:10:56 2014 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175
    Missing audio stream which is required by this ffm

    I searched and found that I have to use blank audio using libmp3lame. Is it the only way to do ?And can’t find installer for linux for libmp3lame.

  • Ffmpeg - Remove rotate metadata

    16 mai 2014, par Ron I

    When I extract the images from a video, the resulting images are getting rotated. The orientation of the video is correct, and the images are upside down. The metadata for the original video is 180, and also for the output file, so it looks like it is copying that data and additionally rotating 180 degrees. However, since the original video is already rotated, it is flipping the video upside down.

    I would like to remove the metadata for the output file containing the ’rotate’ command. I tried adding -vf rotate=0, but it didn’t work.

    Here is the command I am running :

    ffmpeg -i left.MOV -r 1 -f image2 left-03%d.png

    I assume this is what is throwing it off (it looks like it is copying the rotate metadata from the input file and applying it to the output file) :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'left.MOV':
    rotate          : 180

    Output #0, image2, to 'left-03%d.png':

    Metadata:
         rotate          : 180

    Here’s the full output :

       ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
     built on Apr 11 2014 22:50:35 with Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
     libavutil      52. 66.100 / 52. 66.100
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.100 / 55. 33.100
     libavdevice    55. 10.100 / 55. 10.100
     libavfilter     4.  2.100 /  4.  2.100
     libavresample   1.  2.  0 /  1.  2.  0
     libswscale      2.  5.102 /  2.  5.102
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'left.MOV':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2014-05-14 16:24:27
       make            : Apple
       make-eng        : Apple
       encoder         : 7.1.1
       encoder-eng     : 7.1.1
       date            : 2014-05-14T09:23:48-0700
       date-eng        : 2014-05-14T09:23:48-0700
       model           : iPhone 5
       model-eng       : iPhone 5
     Duration: 00:00:10.98, start: 0.000000, bitrate: 795 kb/s
       Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 62 kb/s (default)
       Metadata:
         creation_time   : 2014-05-14 16:24:27
         handler_name    : Core Media Data Handler
       Stream #0:1(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 568x320, 728 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)
       Metadata:
         rotate          : 180
         creation_time   : 2014-05-14 16:24:27
         handler_name    : Core Media Data Handler
    Output #0, image2, to 'left-03%d.png':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       model-eng       : iPhone 5
       make            : Apple
       make-eng        : Apple
       model           : iPhone 5
       encoder-eng     : 7.1.1
       date            : 2014-05-14T09:23:48-0700
       date-eng        : 2014-05-14T09:23:48-0700
       encoder         : Lavf55.33.100
       Stream #0:0(und): Video: png, rgb24, 568x320, q=2-31, 200 kb/s, 90k tbn, 1 tbc (default)
       Metadata:
         rotate          : 180
         creation_time   : 2014-05-14 16:24:27
         handler_name    : Core Media Data Handler
    Stream mapping:
     Stream #0:1 -> #0:0 (h264 -> png)
    Press [q] to stop, [?] for help
    frame=   14 fps=0.0 q=0.0 Lsize=N/A time=00:00:14.00 bitrate=N/A dup=0 drop=315    
    video:1521kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead -100.001411%