Recherche avancée

Médias (91)

Autres articles (76)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (9844)

  • calculate the real duration time of a broken movie with ffmpeg/ffprobe

    26 octobre 2012, par jAckOdE

    I have a broken video file that its ffprobe (ffprobe -i movie.mkv) say its duration is about 2 hours, but the file contains only video data for first 8minutes (check by VLC Player).

    How can i get the real duration (8minutes) using ffmpeg or ffprobe ?

    here is the output :

    ffprobe version 0.7.13, Copyright (c) 2007-2011 the FFmpeg developers
     built on Aug  1 2012 21:08:35 with clang 3.1 (tags/Apple/clang-318.0.58)
     configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libopenjpeg --enable-libvpx --enable-libspeex --disable-libopencore-amrnb --disable-libopencore-amrwb --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
     libavutil    50. 43. 0 / 50. 43. 0
     libavcodec   52.123. 0 / 52.123. 0
     libavformat  52.111. 0 / 52.111. 0
     libavdevice  52.  5. 0 / 52.  5. 0
     libavfilter   1. 80. 0 /  1. 80. 0
     libswscale    0. 14. 1 /  0. 14. 1
     libpostproc  51.  2. 0 / 51.  2. 0
    [matroska,webm @ 0x7f93dc01e600] Estimating duration from bitrate, this may be inaccurate
    Input #0, matroska,webm, from 'Mission.mkv':
     Duration: 02:12:56.21, start: 0.000000, bitrate: 448 kb/s
       Stream #0.0: Video: mpeg4, yuv420p, 1280x528 [PAR 1:1 DAR 80:33], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
       Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s (default)
  • Streaming live video with avconv/ffmped on nginx rtmp server player error

    6 juin 2014, par user3715403

    Good morning,
    My current project involves playing live video (testing using a usb webcam for now). I compiled and installed nginx server with the rtmp module (obtained from https://github.com/arut/nginx-rtmp-module). The nginx configuration file is as :

    worker_processes  1;

    error_log  logs/error.log debug;

    events {
       worker_connections  1024;
    }

    rtmp {
       server {
           listen 1935;

           application myapp {
               live on;

               #record keyframes;
               #record_path /tmp;
               #record_max_size 128K;
               #record_interval 30s;
               #record_suffix .this.is.flv;

               #on_publish http://localhost:8080/publish;
               #on_play http://localhost:8080/play;
               #on_record_done http://localhost:8080/record_done;
           }
       }
    }

    http {
       server {
           listen      8080;

           location /stat {
               rtmp_stat all;
               rtmp_stat_stylesheet stat.xsl;
           }

           location /stat.xsl {
               root /path/to/nginx-rtmp-module/;
           }

           location /control {
               rtmp_control all;
           }

           #location /publish {
           #    return 201;
           #}

           #location /play {
           #    return 202;
           #}

           #location /record_done {
           #    return 203;
           #}

           location /rtmp-publisher {
               root /path/to/nginx-rtmp-module/test;
           }

           location / {
               root /path/to/nginx-rtmp-module/test/www;
           }
       }
    }

    The command line to start streaming is as :

    avconv -s vga -f video4linux2 -i /dev/video0 -vcodec libx264 -an -f flv -b 800k -r 30 rtmp://localhost/myapp/live

    While streaming, the following stats are displayed :

    avconv version 10.1, Copyright (c) 2000-2014 the Libav developers
     built on May 13 2014 15:13:23 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
    [video4linux2 @ 0x2f06220] Estimating duration from bitrate, this may be inaccurate
    Input #0, video4linux2, from '/dev/video0':
     Duration: N/A, start: 112393.305806, bitrate: 73728 kb/s
       Stream #0.0: Video: rawvideo, yuyv422, 640x480, 73728 kb/s, 15 fps, 1000k tbn
    [libx264 @ 0x2f187a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
    [libx264 @ 0x2f187a0] profile High, level 3.0
    [libx264 @ 0x2f187a0] 264 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, flv, to 'rtmp://localhost/myapp/live':
     Metadata:
       encoder         : Lavf55.12.0
       Stream #0.0: Video: libx264, yuv420p, 640x480, q=-1--1, 800 kb/s, 1k tbn, 30 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> libx264)
    Press ctrl-c to stop encoding
    frame= 3283 fps= 30 q=26.0 size=   10592kB time=108.33 bitrate= 810.5kbits/s

    Before embedding the stream onto a web page using, say videojs, I am using avplay which returns the error : rtmp ://localhost/myapp/live : Input/output error while VLC returns the error
    Your input can’t be opened :
    VLC is unable to open the MRL ’rtmp ://localhost/myapp/live’. Check the log for details.

    Any suggestions about what would cause the errors displayed by VLC/avplay ?

    Thanks
    Daniel

  • ffmpeg error - number of bands (X) exceeds limit (Y) [closed]

    2 juin 2013, par sasa

    I'm trying to convert MP4 to AAC and here is log :

    ffmpeg -i in.mp4 outa.aac
    ffmpeg version 0.8.1-4:0.8.1-0ubuntu1, Copyright (c) 2000-2011 the Libav developers
     built on Mar 22 2012 05:09:06 with gcc 4.6.3
    This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes).
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'in.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 0
       compatible_brands: isom3gp4
       creation_time   : 1946-09-19 13:06:17
     Duration: 00:04:56.81, start: 0.000000, bitrate: 157 kb/s
       Stream #0.0(eng): Audio: aac, 48000 Hz, stereo, s16, 156 kb/s
       Metadata:
         creation_time   : 1946-09-19 13:06:17
    Output #0, adts, to 'outa.aac':
     Metadata:
       major_brand     : isom
       minor_version   : 0
       compatible_brands: isom3gp4
       creation_time   : 1946-09-19 13:06:17
       encoder         : Lavf53.21.0
       Stream #0.0(eng): Audio: libfaac, 48000 Hz, stereo, s16, 200 kb/s
       Metadata:
         creation_time   : 1946-09-19 13:06:17
    Stream mapping:
     Stream #0.0 -> #0.0
    Press ctrl-c to stop encoding
    [aac @ 0x17eede0] Number of bands (64) exceeds limit (46).
    Error while decoding stream #0.0
    size=    5994kB time=296.81 bitrate= 165.4kbits/s
    video:0kB audio:5994kB global headers:0kB muxing overhead 0.000000%

    This audio file cannot be played in some players and I think it is

    [aac @ 0x17eede0] Number of bands (64) exceeds limit (46).
    Error while decoding stream #0.0

    What that mean and how can I avoid this ?

    Update :
    If you want to help, you may want to test that MP4 file, so, here is link - https://dl.dropbox.com/u/34111231/in.mp4