Recherche avancée

Médias (91)

Autres articles (23)

  • 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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • 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 (...)

Sur d’autres sites (5854)

  • Conversion for WebM file format using FFMPEG

    23 mars 2012, par user974435

    I am using followng command to convert video to webm format

    ffmpeg -i video/ds2.mp4 -acodec libvorbis -ac 2 -ab 96k -ar 44100 -b:a 345k -s 640x360 video/ds2.webm

    I am receiving following errors :

    1) incompatible sample format 's16' for codec 'libvorbis'

    2) strptime() unavailable on this system, cannot convert the data string

    Do you any idea why I cannot convert, tested conversion to FLV and it's working very well

    Console output

    C:\inetpub\wwwroot>ffmpeg -i video/testavi.avi video/ds2.webm
    ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers
     built on Dec 12 2011 13:56:52 with gcc 4.6.2
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
    ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
    ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
    able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
    -enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
    c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
    libxvid --enable-zlib
     libavutil    51. 32. 0 / 51. 32. 0
     libavcodec   53. 43. 0 / 53. 43. 0
     libavformat  53. 24. 0 / 53. 24. 0
     libavdevice  53.  4. 0 / 53.  4. 0
     libavfilter   2. 53. 0 /  2. 53. 0
     libswscale    2.  1. 0 /  2.  1. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    Input #0, avi, from 'video/testavi.avi':
     Metadata:
       encoder         : Lavf51.12.1
     Duration: 00:00:13.03, start: 0.000000, bitrate: 36427 kb/s
       Stream #0:0: Video: msmpeg4 (MP43 / 0x3334504D), yuv420p, 1920x1080, 30 tbr,
    30 tbn, 30 tbc
       Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 192 kb
    /s
    File 'video/ds2.webm' already exists. Overwrite ? [y/N] y
    w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
    [libvpx @ 0000000001CA9BB0] v0.9.7-p1
    Output #0, webm, to 'video/ds2.webm':
     Metadata:
       encoder         : Lavf53.24.0
       Stream #0:0: Video: vp8, yuv420p, 1920x1080, q=-1--1, 200 kb/s, 1k tbn, 30 t
    bc
       Stream #0:1: Audio: vorbis, 44100 Hz, stereo, s16, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (msmpeg4 -> libvpx)
     Stream #0:1 -> #0:1 (mp3 -> libvorbis)
    Press [q] to stop, [?] for help

    Problem signature:
     Problem Event Name:   APPCRASH
     Application Name: ffmpeg.exe
     Application Version:  0.0.0.0
     Application Timestamp:    4ee64f02
     Fault Module Name:    ffmpeg.exe
     Fault Module Version: 0.0.0.0
     Fault Module Timestamp:   4ee64f02
     Exception Code:   c0000005
     Exception Offset: 000000000091e090
     OS Version:   6.1.7601.2.1.0.272.7
     Locale ID:    1033
     Additional Information 1: ab8f
     Additional Information 2: ab8f35a907f8f11a8d2e787a8e40efbd
     Additional Information 3: f4d5
     Additional Information 4: f4d524f8bf76a4b71cc6a7afa6412ca9

    Read our privacy statement online:
     http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

    If the online privacy statement is not available, please read our privacy statement offline:
     C:\Windows\system32\en-US\erofflps.txt

    And Console Uncut Output

    C:\inetpub\wwwroot>ffmpeg.exe -i "video/testavi.avi" -acodec libvorbis -b:a 96k
    -ac 2 -vcodec libvpx -b:v 400k -f webm -s 384x216 "video/testavi.webm"
    ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers
     built on Dec 12 2011 13:56:52 with gcc 4.6.2
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
    ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
    ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
    able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
    -enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
    c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
    libxvid --enable-zlib
     libavutil    51. 32. 0 / 51. 32. 0
     libavcodec   53. 43. 0 / 53. 43. 0
     libavformat  53. 24. 0 / 53. 24. 0
     libavdevice  53.  4. 0 / 53.  4. 0
     libavfilter   2. 53. 0 /  2. 53. 0
     libswscale    2.  1. 0 /  2.  1. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    Input #0, avi, from 'video/testavi.avi':
     Metadata:
       encoder         : Lavf51.12.1
     Duration: 00:00:13.03, start: 0.000000, bitrate: 36427 kb/s
       Stream #0:0: Video: msmpeg4 (MP43 / 0x3334504D), yuv420p, 1920x1080, 30 tbr,
    30 tbn, 30 tbc
       Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 192 kb
    /s
    [buffer @ 0000000001D7FF60] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:0/1 sw
    s_param:
    [scale @ 0000000001D7E9E0] w:1920 h:1080 fmt:yuv420p -> w:384 h:216 fmt:yuv420p
    flags:0x4
    [libvpx @ 0000000001BF7C10] v0.9.7-p1
    Output #0, webm, to 'video/testavi.webm':
     Metadata:
       encoder         : Lavf53.24.0
       Stream #0:0: Video: vp8, yuv420p, 384x216, q=-1--1, 400 kb/s, 1k tbn, 30 tbc

       Stream #0:1: Audio: vorbis, 44100 Hz, 2 channels, s16, 96 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (msmpeg4 -> libvpx)
     Stream #0:1 -> #0:1 (mp3 -> libvorbis)
    Press [q] to stop, [?] for help
  • ffmpeg on fb0 from Nexus Galaxy error : "could not get frame filename number 2"

    3 mars 2012, par user848106

    I use ffmpeg to convert fb0 files from Androids and produce screenshots. For some reason this does not work with the Nexus Galaxy.

    I get this error :

    [image2 @ 0000000001E0E350] Could not get frame filename number 2 from pattern '
    image.png'
    av_interleaved_write_frame(): Invalid argument

    Here is the process :

       C:\dev\scripts>adb pull /dev/graphics/fb0
    3292 KB/s (16777216 bytes in 4.976s)

    C:\dev\scripts>ffmpeg -vframes 1 -vcodec rawvideo -f rawvideo -pix
    _fmt rgb32 -s 720x1080 -i fb0 -f image2 -vcodec png image.png
    ffmpeg version N-36635-gceb0dd9 Copyright (c) 2000-2012 the FFmpeg developers
     built on Jan  9 2012 17:45:55 with gcc 4.6.2
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
    ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
    ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
    able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
    -enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
    c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
    libxvid --enable-zlib
     libavutil      51. 34.100 / 51. 34.100
     libavcodec     53. 54.100 / 53. 54.100
     libavformat    53. 29.100 / 53. 29.100
     libavdevice    53.  4.100 / 53.  4.100
     libavfilter     2. 58.100 /  2. 58.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0.  6.100 /  0.  6.100
     libpostproc    51.  2.100 / 51.  2.100
    [rawvideo @ 000000000037D5A0] Estimating duration from bitrate, this may be inac
    curate
    Input #0, rawvideo, from 'fb0':
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 720x1080, 25 tbr, 25
    tbn, 25 tbc
    [buffer @ 000000000037D420] w:720 h:1080 pixfmt:bgra tb:1/1000000 sar:0/1 sws_pa
    ram:
    Output #0, image2, to 'image.png':
     Metadata:
       encoder         : Lavf53.29.100
       Stream #0:0: Video: png, bgra, 720x1080, q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> png)
    Press [q] to stop, [?] for help
    [image2 @ 0000000001E0E350] Could not get frame filename number 2 from pattern '
    image.png'
    av_interleaved_write_frame(): Invalid argument
  • Why does FFMPEG always make large WebM files ?

    2 avril 2013, par Student of Hogwarts

    I'm trying to encode my movies into WebM :

    ffmpeg -i input.MOV -codec:v libvpx -quality good -cpu-used 0 -b:v 10k
    -qmin 10 -qmax 42 -maxrate 10k -bufsize 20k -threads 8 -vf scale=-1:1080
    -codec:a libvorbis -b:a 192k
    output.webm

    I want to encode at a couple of different bit rates (video and audio combined) :

    • 2192 kbps
    • 1692 kbps
    • 1000 kbps

    The problem is that no matter which bit rates I enter, I always get a file with a bit rate higher than 1900 kbps. (1914 kbps with the code example above.)

    What am I doing wrong ?