Recherche avancée

Médias (91)

Autres articles (74)

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

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

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

Sur d’autres sites (8216)

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

  • 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

  • FFMpeg : no essence (Invalid data found when processing input)

    8 mai 2014, par Flock Dawson

    I’m trying to convert a 4K MXF file to a low res WEBM file. I’ve upgraded FFMpeg and codecs to the latest versions. When I initiate the conversion, however, I get following error :

    ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
     built on May  8 2014 12:03:23 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --prefix=/usr/local/ffmpeg_build --extra-cflags=-I/usr/local/ffmpeg_build/include --extra-ldflags=-L/usr/local/ffmpeg_build/lib --bindir=/usr/local/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. 81.100 / 52. 81.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
    [mxf @ 0x272de60] no essence
    /tmp/TEST_4K.MXF: Invalid data found when processing input

    The file is quite large ( 30GB). Could this have something to do with this issue ? I googled for the no essence error but this doesn’t seem to provide any useful information. I checked the permissions on the file and those are not an issue. Also, I tried the same command for a smaller file (approx. 12 GB, which does work). Has anyone had any problems handling large files with FFMpeg ? Thanks !