Recherche avancée

Médias (91)

Autres articles (91)

  • 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

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (14018)

  • 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
  • using pocketsphinx_continuous with a .wav file

    3 avril 2013, par user2242131

    I am attempting to write an application that will allow a user to speak a small set of commands from a remote system and have them executed on my server. Using pocketsphinx to parse the spoken text. When run locally with the microphone, pocketsphinx_continuous works perfectly no matter how I slur the words. But when importing the audio file and using ffmpeg to downsample the audio to a single channel, 16 bit PCM file, it will parse the first word without difficulty. Then it will skip everything else and treat it as . I am confident that the problem is in the file format and not in the pocketsphinx configuration.

    Using command line
    ffmpeg -y -i Sound\AddSheet.wav -ac 1 -f s16le -acodec pcm_s16le -ar 16k AddTmp.wav
    in a batch file.

    The bottom of the output I get is :

    INFO: fsg_search.c(1407): Start node ADD.0:5:47
    INFO: fsg_search.c(1407): Start node <sil>.0:2:49
    INFO: fsg_search.c(1446): End node <sil>.126:128:305 (-486)
    INFO: fsg_search.c(1662): lattice start node <s>.0 end node <sil>.126
    INFO: ps_lattice.c(1352): Normalizer P(O) = alpha(<sil>:126:305) = -175371
    INFO: ps_lattice.c(1390): Joint P(O,S) = -176076 P(S|O) = -705
    000000000: ADD USER
    </sil></sil></s></sil></sil>

    Which is not the audio in the file. The words spoken in the file are "ADD SPREADSHEET", which works perfectly from the same microphone without the intervening .wav file.

    I have tried increasing the audio volume and decreasing the background noise using sox :

    sox -v 3.0 Sound\%1 Sound\%1-loud.wav ffmpeg -i Sound\%1-loud.wav -vn -ss 00:00:00 -t 00:00:01 -y Sound\%1-noiseaud.wav
    sox Sound\%1-noiseaud.wav -n noiseprof Sound\%1-noise.prof
    sox Sound\%1 Sound\%1-clean.wav noisered sound\noise.prof 0.21
    ffmpeg -y -i Sound\%1-clean.wav -ac 1 -f s16le -acodec pcm_s16le -ar 16k AddTmp.wav

    with no noticeable effect on the final results.

    If you look at the output you will notice that fsg_search.c has found ADD as the start node, then silence for the remainder. Please help on this.

  • How we compressed videofile (all format) in android programmatically

    29 mars 2017, par prakash choudhary

    i am stuck with the funtionality for the compressed video before upload to the Amazon s3. i am looking functionality like the whatsup that compressed all the video of the gallery and camera after R&D i got FFmpeg library but that is increasing size of the app apk.Please there is any alternative t ? Any idea about this problem