Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (30)

  • 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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

Sur d’autres sites (3004)

  • FFMPEG stops with muxing overhead of 20538950942720.000000% after takeoff command is sent to AR.Drone 2.0

    7 mai 2014, par user38931

    I start ffmpeg -i tcp://192.168.1.1:5555 -f image2 -pix_fmt bgr8 -update 1 frame.bmp to decode a h264 stream from AR.Drone 2.0. Everything works fine, until I send a takeoff command to the drone and it lifts up. For those who are not familiar with AR.Drone 2.0 architecture, the commands are sent to another socket and shouldn’t interfere with the video socket.

    Then for some reason, ffmpeg stops with a muxing overhead of insane 20538950942720.000000% !

    Are there common causes for such a crazy muxing overhead ?
    I would like to know what could cause such a massive muxing overhead, before I can move on to troubleshoot what the source of the problem is.

    Here is the full output I have :

    ffmpeg -i tcp://192.168.1.1:5555 -f image2 -pix_fmt bgr8 -update 1 frame.bmp
    ffmpeg version N-62058-gfd2bcfc Copyright (c) 2000-2014 the FFmpeg developers
    built on Apr  3 2014 05:12:32 with gcc 4.6 (Debian 4.6.3-1)
    configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32 --extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static' --extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
     libavutil      52. 71.100 / 52. 71.100
     libavcodec     55. 56.107 / 55. 56.107
     libavformat    55. 36.101 / 55. 36.101
     libavdevice    55. 11.100 / 55. 11.100
     libavfilter     4.  3.100 /  4.  3.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 'tcp://192.168.1.1:5555':
     Duration: N/A, bitrate: N/A
     Stream #0:0: Video: h264 (Baseline), yuv420p, 640x360, 25 fps, 25 tbr, 1200k tbn, 50 tbc
    [swscaler @ 0xb21e600] No accelerated colorspace conversion found from yuv420p to bgr8.
    Output #0, image2, to 'frame.bmp':
     Metadata:
       encoder         : Lavf55.36.101
       Stream #0:0: Video: bmp, bgr8, 640x360, q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> bmp)
    Press [q] to stop, [?] for help
    frame=  388 fps= 29 q=0.0 Lsize=N/A time=00:00:15.52 bitrate=N/A    
    video:87708kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 20538950942720.000000%
  • Mp3 volume up and down within specific parts Android

    23 mai 2017, par Vivek Bhatt

    I want to alter the volume of an audio file(mp3) within specific parts.

    Eg : In 5-10 sec, 10-15 sec, ... 10% of the original volume of audio and in rest for the part 100% of the original volume of audio.
    I have tried with FFmpeg by the following command but it’s taking to much time if audio file is of longer duration

    ffmpeg -i "input.mp3" -af volume=0.1:enable=’between(t,5,10)+between(t,5,10)’ -preset ultrafast "output.mp3

    Is there any other way around which is bit quick.

    Thanks in advance

  • Can ffmpeg copy parts from an rmvb file without re-encoding ?

    24 juin 2017, par Eng. M.Hamdy

    I want to fast copy parts from an rmvb file without re-encoding. This command works fine with mp4 files but not with rmbv (I dropped start time and duration here) :

    ffmpeg -i input -c copy output

    when I use it with rmvb like this :

    ffmpeg -i 1.rmvb -c copy 1.mp4

    I get this error :

    [mp4 @ 00bb8980] Could not find tag for codec rv40 in stream #0, codec
    not curre ntly supported in container Could not write header for
    output file #0 (incorrect codec parameters ?) : Invali d argument
    Stream mapping : Stream #0:1 -> #0:0 (copy) Stream #0:0 -> #0:1
    (copy)

    I also tried this :

    ffmpeg -i 1.rmvb -c copy 2.rmvb

    and got this error :

    [NULL @ 04748980] Unable to find a suitable output format for ’2.rmvb’
    2.rmvb : Invalid argument

    I tried this command :

    ffmpeg -i 1.rmvb -c:v copy -c:a aac -strict experimental -b:a 128k 1.mp4

    and got this error :

    [mp4 @ 046e0020] Could not find tag for codec rv40 in stream #0, codec
    not curre ntly supported in container Could not write header for
    output file #0 (incorrect codec parameters ?) : Invali d argument Error
    initializing output stream 0:1 — [aac @ 046e1bc0] Qavg : nan
    Conversion failed !

    I read this topic :
    but the solution does not work for me.. After many trials, this is the command that worked (and took too long time) :

    ffmpeg -i 1.rmvb -c:v libx264 -b:a 32k output.mp4

    But I do not want to re-encode the file. Any solution ?

    Edit :
    I tried :

    ffmpeg -i 1.rmvb -c copy 1.mkv

    ffmpeg version N-86447-gfeb13ae Copyright (c) 2000-2017 the FFmpeg
    developers built with gcc 7.1.0 (GCC) configuration : —enable-gpl
    —enable-version3 —enable-cuda —enable-cuvid —e nable-d3d11va —enable-dxva2 —enable-libmfx —enable-nvenc —enable-avisynth — enable-bzlib —enable-fontconfig —enable-frei0r —enable-gnutls
    —enable-iconv
    —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-li bfreetype —enable-libgme —enable-libgsm —enable-libilbc —enable-libmodplug -
    -enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enabl e-libopenh264 —enable-libopenjpeg —enable-libopus —enable-librtmp —enable-li bsnappy —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libtwolam e —enable-libvidstab —enable-libvo-amrwbenc —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable
    -libxavs —enable-libxvid —enable-libzimg —enable-lzma —enable-zlib libavutil 55. 63.100 / 55. 63.100 libavcodec 57. 98.100 /
    57. 98.100 libavformat 57. 73.100 / 57. 73.100 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 92.100 / 6. 92.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 /
    2. 8.100 libpostproc 54. 6.100 / 54. 6.100 [rm @ 033a7520] Invalid stream index 2 for index at pos 206099254 Input #0, rm, from
    ’1.rmvb’ : Metadata :
    title : ArabSeed.CoM
    author : ArabSeed.CoM
    copyright : ArabSeed.CoM
    comment :
    ASMRuleBook : #($Bandwidth >= 0),Stream0Bandwidth = 64082, Stream1Bandwi dth = 285918 ;
    Audiences : Easy RealMedia Tool’s Audience ;
    audioMode : music
    Creation Date : 4/22/2010 4:31:14
    Description : This File is Created by Easy RealMedia Tools@ !
    Email : rick@redcheek.net
    Generated By : Easy RealMedia Tools V1.8x
    HomeWeb : http://redcheek.net
    Keywords : ArabSeed.CoM
    Modification Date : 4/22/2010 4:31:14
    videoMode : normal Duration : 01:16:35.69, start : 0.000000, bitrate : 358 kb/s
    Stream #0:0 : Audio : cook (cook / 0x6B6F6F63), 44100 Hz, stereo, fltp, 64 kb/ s
    Stream #0:1 : Video : rv40 (RV40 / 0x30345652), yuv420p, 720x408, 280 kb/s, 25 fps, 25 tbr, 1k tbn, 1k tbc Output #0, matroska, to
    ’1.mkv’ : Metadata :
    title : ArabSeed.CoM
    author : ArabSeed.CoM
    copyright : ArabSeed.CoM
    comment :
    ASMRuleBook : #($Bandwidth >= 0),Stream0Bandwidth = 64082, Stream1Bandwi dth = 285918 ;
    Audiences : Easy RealMedia Tool’s Audience ;
    audioMode : music
    Creation Date : 4/22/2010 4:31:14
    Description : This File is Created by Easy RealMedia Tools@ !
    Email : rick@redcheek.net
    Generated By : Easy RealMedia Tools V1.8x
    HomeWeb : http://redcheek.net
    Keywords : ArabSeed.CoM
    Modification Date : 4/22/2010 4:31:14
    videoMode : normal
    encoder : Lavf57.73.100
    Stream #0:0 : Video : rv40 (RV40 / 0x30345652), yuv420p, 720x408, q=2-31, 280 kb/s, 25 fps, 25 tbr, 1k tbn, 1k tbc
    Stream #0:1 : Audio : cook ([255][255][255][255] / 0xFFFFFFFF), 44100 Hz, ster eo, fltp, 64 kb/s Stream mapping : Stream #0:1 -> #0:0
    (copy) Stream #0:0 -> #0:1 (copy) Press [q] to stop, [?] for help
    [matroska @ 05228980] The Matroska muxer does not yet support muxing
    cook av_interleaved_write_frame() : Not yet implemented in FFmpeg,
    patches welcome Error writing trailer of 1.mkv : Not yet implemented in
    FFmpeg, patches welcome frame= 21 fps=0.0 q=-1.0 Lsize= 0kB
    time=00:00:01.48 bitrate= 0.0kbits /s speed= 148x video:2kB
    audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing ove
    rhead : unknown Conversion failed !

    I also tried :

    ffmpeg -i 1.rmvb -c copy 1.avi

    ffmpeg version N-86447-gfeb13ae Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 7.1.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --e
    nable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --
    enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
    --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-li
    bfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug -
    -enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enabl
    e-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li
    bsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolam
    e --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
    --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable
    -libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
     libavutil      55. 63.100 / 55. 63.100
     libavcodec     57. 98.100 / 57. 98.100
     libavformat    57. 73.100 / 57. 73.100
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 92.100 /  6. 92.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    [rm @ 00077520] Invalid stream index 2 for index at pos 206099254
    Input #0, rm, from '1.rmvb':
     Metadata:
       title           : ArabSeed.CoM
       author          : ArabSeed.CoM
       copyright       : ArabSeed.CoM
       comment         :
       ASMRuleBook     : #($Bandwidth >= 0),Stream0Bandwidth = 64082, Stream1Bandwi
    dth = 285918;
       Audiences       : Easy RealMedia Tool's Audience;
       audioMode       : music
       Creation Date   : 4/22/2010 4:31:14
       Description     : This File is Created by Easy RealMedia Tools@!
       Email           : rick@redcheek.net
       Generated By    : Easy RealMedia Tools V1.8x
       HomeWeb         : http://redcheek.net
       Keywords        : ArabSeed.CoM
       Modification Date: 4/22/2010 4:31:14
       videoMode       : normal
     Duration: 01:16:35.69, start: 0.000000, bitrate: 358 kb/s
       Stream #0:0: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, stereo, fltp, 64 kb/
    s
       Stream #0:1: Video: rv40 (RV40 / 0x30345652), yuv420p, 720x408, 280 kb/s, 25
    fps, 25 tbr, 1k tbn, 1k tbc
    Could not write header for output file #0 (incorrect codec parameters ?): Operat
    ion not permitted
    Stream mapping:
     Stream #0:1 -> #0:0 (copy)
     Stream #0:0 -> #0:1 (copy)
       Last message repeated 1 times