Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (46)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (7606)

  • ffmpeg rtmp streaming process exit

    12 août 2013, par Samson

    I'm using ffmpeg to capture jpeg images from an rtmp stream. Here is the command I use :

    /usr/local/bin/ffmpeg -threads 4 -i rtmp://..../chat/mp4:<variable>.mp4
    -q:v 0.6 -r 15 -s 320x240 /frames/10021237_data/frame-%0999d.jpg

    ffmpeg version N-55388-g9386f33 Copyright (c) 2000-2013 the FFmpeg developers
     built on Aug  8 2013 14:07:38 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
     configuration:
     libavutil      52. 41.100 / 52. 41.100
     libavcodec     55. 24.100 / 55. 24.100
     libavformat    55. 13.102 / 55. 13.102
     libavdevice    55.  3.100 / 55.  3.100
     libavfilter     3. 82.100 /  3. 82.100
     libswscale      2.  4.100 /  2.  4.100
     libswresample   0. 17.103 /  0. 17.103
    Input #0, flv, from &#39;rtmp://......./mp4:10021237.mp4&#39;:
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: h264 (Main), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 1.92 tbr, 1k tbn, 40 tbc
       Stream #0:1: Audio: nellymoser, 44100 Hz, mono, flt
    [swscaler @ 0x1910000] deprecated pixel format used, make sure you did set range correctly
    Output #0, image2, to &#39;/frames/10021237_data/frame-%0999d.jpg&#39;:
     Metadata:
       encoder         : Lavf55.13.102
       Stream #0:0: Video: mjpeg, yuvj420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 15 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> mjpeg)
    Press [q] to stop, [?] for help
    </variable>

    However after a few minutes I get this line (before the process exits) :

    video:5264kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.000408%

    What exactly is the "muxing overhead" and why is it causing a crash ? Can I solve this or get it some other way (by restarting the process when it exits) ?

    EDIT :

    Actually it's not a crash. I'm running this command from a PHP CLI when a stream starts :

    $command = "/usr/local/bin/ffmpeg -i ".$rtmp." -q:v 0.6 -r 12 -s 320x240 ".__DIR__."/".$dir."/".$naming." >/dev/null 2>/dev/null &amp;";
    shell_exec($command);

    but when one stops streaming all the ffmpeg processes end. Is there a way to make them independent ?

    Even opening 2 terminals and running the command (with different rtmp s)in each (for different streams), killing one of them closes the other one also.

    Bottom line is : How can I make 2 ffmpeg instances independent so as killing one does not kill the other. Is this behaviour expected ?

  • FFmpeg CPU utilization

    9 août 2013, par user2565986

    I have a server running Scientific Linux. I'm trying to convert a large amount of videos and want to maximize cpu usage. My ffmpeg version is git-2013-08-06-a68b6ec.

    FFmpeg command :

    ffmpeg -y -i "$i" -c:v libx264 -preset fast -b:v "$VID_BIT" -threads 0 -c:a libfdk_aac -b:a "$AUD_BIT" -f mp4 /"$OUT_DIR"/"$MD5"

    top output :

    top - 10:47:25 up 3 days, 22:05,  5 users,  load average: 1.94, 0.49, 0.16
    Tasks: 578 total,   1 running, 574 sleeping,   3 stopped,   0 zombie
    Cpu0  :  0.0%us,  0.6%sy, 63.2%ni, 36.1%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu1  :  0.0%us,  0.6%sy, 60.1%ni, 39.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu2  :  0.0%us,  0.3%sy, 59.5%ni, 40.1%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu3  :  0.0%us,  0.6%sy, 57.1%ni, 42.2%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu4  :  0.0%us,  0.3%sy, 55.0%ni, 44.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu5  :  0.0%us,  0.6%sy, 50.2%ni, 49.2%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu6  :  0.0%us,  0.3%sy, 56.4%ni, 43.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu7  :  0.0%us,  0.6%sy, 50.3%ni, 49.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu8  :  0.0%us,  0.6%sy, 47.7%ni, 51.6%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu9  :  0.3%us,  0.3%sy, 46.8%ni, 52.6%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu10 :  0.0%us,  0.3%sy, 50.2%ni, 49.5%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu11 :  0.0%us,  0.7%sy, 49.0%ni, 50.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu12 :  0.0%us,  0.6%sy, 49.4%ni, 50.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu13 :  0.0%us,  0.6%sy, 43.2%ni, 56.1%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu14 :  0.0%us,  0.3%sy, 44.5%ni, 55.2%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu15 :  0.0%us,  0.6%sy, 46.3%ni, 53.1%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu16 :  0.0%us,  0.7%sy, 44.6%ni, 54.8%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu17 :  0.0%us,  0.3%sy, 43.3%ni, 56.4%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu18 :  0.0%us,  0.3%sy, 41.6%ni, 58.1%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu19 :  0.0%us,  0.3%sy, 34.3%ni, 65.4%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu20 :  0.0%us,  0.6%sy, 32.5%ni, 66.9%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu21 :  0.0%us,  0.3%sy, 37.9%ni, 61.4%id,  0.3%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu22 :  0.0%us,  0.3%sy, 36.9%ni, 62.8%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Cpu23 :  0.0%us,  1.0%sy, 37.6%ni, 61.4%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:  198345032k total, 10135568k used, 188209464k free,   144212k buffers
    Swap: 55640056k total,        0k used, 55640056k free,  5066724k cached

    I'm not sure why user usage is at 0% and the niced usage is all I see, but either way I'm looking for a way to get the usage up to 100%. Is there anyway to bolster the usage or is this the best I'm gonna get ?

  • ffmpeg error when cutting video (aac bitstream error)

    15 août 2013, par user4455

    I'm trying to use ffmpeg to cut out a 5 minute chunk from a video. For some reason on this particular video I get an error "aac bitstream error". The resulting video is 5 minutes long with no audio or video.

    ffmpeg -i testvideo.mp4 -ss 00:05:00 -t 00:10:00 -c:v copy -c:a copy testvideo_5min_test.mp4
    ffmpeg version N-55540-g93f4277 Copyright (c) 2000-2013 the FFmpeg developers
     built on Aug 14 2013 12:15:34 with gcc 4.3.2 (Debian 4.3.2-1.1)
     configuration: --enable-libx264 --enable-gpl --enable-shared --enable-libfaac --enable-nonfree
     libavutil      52. 42.100 / 52. 42.100
     libavcodec     55. 28.100 / 55. 28.100
     libavformat    55. 13.102 / 55. 13.102
     libavdevice    55.  3.100 / 55.  3.100
     libavfilter     3. 82.100 /  3. 82.100
     libswscale      2.  4.100 /  2.  4.100
     libswresample   0. 17.103 /  0. 17.103
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#39;testvideo.mp4&#39;:
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       creation_time   : 2013-05-10 17:42:36
     Duration: 00:35:21.47, start: 0.000000, bitrate: 8684 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 8490 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn, 59.94 tbc
       Metadata:
         creation_time   : 2013-05-10 17:42:36
         handler_name    : Mainconcept MP4 Video Media Handler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s
       Metadata:
         creation_time   : 2013-05-10 17:42:36
         handler_name    : Mainconcept MP4 Sound Media Handler
    File &#39;testvideo_5min_test.mp4&#39; already exists. Overwrite ? [y/N] y
    Output #0, mp4, to &#39;testvideo_5min_test.mp4&#39;:
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       encoder         : Lavf55.13.102
       Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 8490 kb/s, 29.97 fps, 29970 tbn, 29970 tbc
       Metadata:
         creation_time   : 2013-05-10 17:42:36
         handler_name    : Mainconcept MP4 Video Media Handler
       Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 189 kb/s
       Metadata:
         creation_time   : 2013-05-10 17:42:36
         handler_name    : Mainconcept MP4 Sound Media Handler
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [mp4 @ 0x8088740] aac bitstream error5886kB time=00:01:13.63 bitrate=8442.8kbits/s    
    [mp4 @ 0x8088740] aac bitstream error8357kB time=00:04:15.24 bitrate=8612.9kbits/s    
    [mp4 @ 0x8088740] aac bitstream error6128kB time=00:05:00.25 bitrate=8625.0kbits/s    
    [mp4 @ 0x8088740] aac bitstream error6415kB time=00:07:12.56 bitrate=8643.7kbits/s    
    frame=17952 fps=2429 q=-1.0 Lsize=  635531kB time=00:10:00.01 bitrate=8677.0kbits/s    
    video:621056kB audio:13870kB subtitle:0 global headers:0kB muxing overhead 0.095223%