Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (70)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (11235)

  • ffmpeg live rtmp stream does not start to process for long time

    10 août 2013, par user1492502

    I have rtmp stream created by flash player in h264 but when i convert it to video or tumbnail using ffmpeg it some times works after very very long time and some time not work but if I create a stream with Flash Media live encoder on same FMS server the command below works fine. At the same time if I try the stream in player it works well and fine.

    I am using IP so DNS resolving issue is not possible either I think.

    ffmpeg -i rtmp ://xxx.xxx.xx.xx/live/bdeef2c065509361e78fa8cac90aac741cc5ee29 -r 1 -an -updatefirst 1 -y thumbnail.jpg

    Following is when it worked aftre 15 - 20 minutes

    ffmpeg -i "rtmp://xxx.xxx.xx.xx/live/bdeef2c065509361e78fa8cac90aac741cc5ee29 live=1" -r 1 -an -updatefirst 1 -y thumb.jpg
    [root@test ~]# ffmpeg -i rtmp://38.125.41.20/live/bdeef2c065509361e78fa8cac90aac741cc5ee29 -r 1 -an -updatefirst 1 -y thumbnail.jpg
    ffmpeg version N-49953-g7d0e3b1-syslint Copyright (c) 2000-2013 the FFmpeg developers
     built on Feb 14 2013 15:29:40 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
     configuration: --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-I/usr/local/cpffmpeg/include/ --extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3 --extra-version=syslint
     libavutil      52. 17.101 / 52. 17.101
     libavcodec     54. 91.103 / 54. 91.103
     libavformat    54. 63.100 / 54. 63.100
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 37.101 /  3. 37.101
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    [flv @ 0x14c0100] Stream #1: not enough frames to estimate rate; consider increasing probesize
    [flv @ 0x14c0100] Could not find codec parameters for stream 1 (Audio: none, 0 channels): unspecified sample format
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [flv @ 0x14c0100] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from 'rtmp://xxx.xxx.xx.xx/bdeef2c065509361e78fa8cac90aac741cc5ee29':
     Metadata:
       keyFrameInterval: 15
       quality         : 90
       level           : 3.1
       bandwith        : 0
       codec           : H264Avc
       fps             : 15
       profile         : baseline
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: h264 (Baseline), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 15 tbr, 1k tbn, 30 tbc
       Stream #0:1: Audio: none, 0 channels
    Output #0, image2, to 'thumbnail.jpg':
     Metadata:
       keyFrameInterval: 15
       quality         : 90
       level           : 3.1
       bandwith        : 0
       codec           : H264Avc
       fps             : 15
       profile         : baseline
       encoder         : Lavf54.63.100
       Stream #0:0: Video: mjpeg, yuvj420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 1 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> mjpeg)
    Press [q] to stop, [?] for help
    frame= 2723 fps=1.3 q=1.6 size=N/A time=00:45:23.00 bitrate=N/A dup=8 drop=12044

    and on stopping the stream by closing the browser running the flash player which is publishing the video I get the following

    [flv @ 0x23684e0] Could not find codec parameters for stream 1 (Audio: none, 0 channels): unspecified sample format
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [flv @ 0x23684e0] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from 'rtmp://xxx.xxx.xx.xx/live/bdeef2c065509361e78fa8cac90aac741cc5ee29':
     Metadata:
       keyFrameInterval: 15
       quality         : 90
       bandwith        : 0
       level           : 3.1
       codec           : H264Avc
       fps             : 15
       profile         : baseline
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: h264 (Baseline), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 15 tbr, 1k tbn, 30 tbc
       Stream #0:1: Audio: none, 0 channels

    when if i stop the stream it quickly creates a thumbnail file where as running stream is an issue.

  • Frame rate very high for a muxer not efficiently supporting it

    23 avril 2014, par DevDave

    I got an error when trying to run the following command with FFMpeg :

    -i "file1.mp4" -s 506x406 -b:v 2000k -ar 22050 "file2.mp4"

    FFMpeg was stuck converting this video, which was just a 7Mb .mp4 file, for hours and eventually I had to kill the process.

    The output error from FFMpeg is as follows :

    Converter Error Message:
    ffmpeg version N-42069-g3233ad4 Copyright (c) 2000-2012 the FFmpeg developers
     built on Jun 30 2012 13:18:20 with gcc 4.7.1
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      51. 63.100 / 51. 63.100
     libavcodec     54. 31.100 / 54. 31.100
     libavformat    54. 14.100 / 54. 14.100
     libavdevice    54.  0.100 / 54.  0.100
     libavfilter     3.  0.100 /  3.  0.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0. 15.100 /  0. 15.100
     libpostproc    52.  0.100 / 52.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'File1.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp42mp41
       creation_time   : 2013-07-18 15:38:11
     Duration: 00:02:02.23, start: -7.105889, bitrate: 518 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 718x574 [SAR 64:45 DAR 22976:12915], 361 kb/s, 24.97 fps, 90k tbr, 90k tbn, 180k tbc
       Metadata:
         creation_time   : 2013-07-18 15:38:11
         handler_name    : Apple Video Media Handler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 129 kb/s
       Metadata:
         creation_time   : 2013-07-18 15:38:11
         handler_name    : Apple Sound Media Handler
    [graph 0 input from stream 0:0 @ 0259cee0] w:718 h:574 pixfmt:yuv420p tb:1/90000 fr:90000/1 sar:64/45 sws_param:flags=2
    [output stream 0:0 @ 0259cda0] No opaque field provided
    [scaler for output stream 0:0 @ 0259c0e0] w:718 h:574 fmt:yuv420p sar:64/45 -> w:506 h:406 fmt:yuv420p sar:666304/466785 flags:0x4
    **[mp4 @ 02599020] Frame rate very high for a muxer not efficiently supporting it.
    Please consider specifying a lower framerate, a different muxer or -vsync 2**
    [graph 1 input from stream 0:1 @ 02b88200] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
    [auto-inserted resampler 0 @ 024e44e0] chl:stereo fmt:s16 r:48000Hz -> chl:stereo fmt:s16 r:22050Hz
    [libx264 @ 02407200] using SAR=895/627
    [libx264 @ 02407200] MB rate (74880000) > level limit (2073600)
    [libx264 @ 02407200] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
    [libx264 @ 02407200] profile High, level 5.2
    [libx264 @ 02407200] 264 - core 125 r2200 999b753 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - 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=3 lookahead_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=2000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to 'File2.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp42mp41
       encoder         : Lavf54.14.100
       Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 506x406 [SAR 666304:466785 DAR 22976:12915], q=-1--1, 2000 kb/s, 180k tbn, 90k tbc
       Metadata:
         creation_time   : 2013-07-18 15:38:11
         handler_name    : Apple Video Media Handler
       Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 22050 Hz, stereo, s16, 128 kb/s
       Metadata:
         creation_time   : 2013-07-18 15:38:11
         handler_name    : Apple Sound Media Handler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (aac -> libvo_aacenc)
    Press [q] to stop, [?] for help
    DTS -3600, next:-79995 st:0 invalid dropping
    frame= 7201 fps=768 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=7198 drop=0    
    frame=10801 fps=575 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=10797 drop=0    
    frame=14401 fps=516 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=14396 drop=0    
    frame=18001 fps=484 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=17995 drop=0    
    frame=21601 fps=464 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=21594 drop=0    
    frame=25201 fps=454 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=25193 drop=0    
    .....

    And it just pretty much carries on like that until when I killed the process.

    Can anyone explain to me what is going on here and what I can do to fix this ?

  • Error : ffmpeg -php with centos 6.4

    3 août 2013, par Kamoliddin Usmonov

    I have problem with ffmpeg on centos 6.4.
    FFmpeg is working, but FFmpeg -php not working. When I check ffmpeg -php error

    ffmpeg version N-55188-gbdccfc3 Copyright (c) 2000-2013 the FFmpeg developers
     built on Aug  3 2013 01:16:57 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
     configuration: --enable-gpl --enable-libfdk_aac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
     libavutil      52. 40.100 / 52. 40.100
     libavcodec     55. 19.100 / 55. 19.100
     libavformat    55. 12.102 / 55. 12.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
    Unrecognized option 'php'.
     Error splitting the argument list: Option not found

    php -r 'phpinfo();' | grep ffmpeg

    PHP Warning : PHP Startup : Unable to load dynamic library '/usr/lib/php/modules/ffmpeg.so' - /usr/lib/php/modules/ffmpeg.so : cannot open shared object file : No such file or directory in Unknown on line 0
    PHP Warning : PHP Startup : Unable to load dynamic library '/usr/lib/php/modules/ffmpeg.so' - /usr/lib/php/modules/ffmpeg.so : cannot open shared object file : No such file or directory in Unknown on line 0
    PHP Warning : PHP Startup : Unable to load dynamic library '/usr/lib/php/modules/ffmpeg.so' - /usr/lib/php/modules/ffmpeg.so : cannot open shared object file : No such file or directory in Unknown on line 0
    /etc/php.d/ffmpeg.ini,

    Please help me ! Beforehand thanks =)