Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (57)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (7182)

  • Run ffmpeg without outputting configuration information ?

    28 mars 2014, par Matt Joiner

    I'm invoking ffmpeg with subprocess.Popen, and trying to capture the stderr output and write it to logging.

    args = ['ffmpeg', '-i', path]
    if start:
       args += ['-ss', start]
    if end:
       args += ['-t', end]
    args += [
       '-vcodec', 'copy',
       '-acodec', 'copy',
       '-scodec', 'copy',
       '-f', 'mpegts',
       '-y', '/dev/stdout']
    self.child = subprocess.Popen(
       args,
       stdin=open(os.devnull, 'rb'),
       stdout=subprocess.PIPE,
       stderr=subprocess.PIPE)

    ffmpeg generates a lot of configuration information like the following :

    FFmpeg version 0.6.2-4:0.6.2-1ubuntu1,
    Copyright (c) 2000-2010 the Libav
    developers built on Mar 22 2011
    15:55:04 with gcc 4.5.2
    configuration :
    —extra-version=4:0.6.2-1ubuntu1 —prefix=/usr —enable-avfilter —enable-avfilter-lavf —enable-vdpau —enable-bzlib —enable-libgsm —enable-libschroedinger —enable-libspeex —enable-libtheora —enable-libvorbis —enable-pthreads —enable-zlib —enable-libvpx —disable-stripping —enable-runtime-cpudetect —enable-vaapi —enable-gpl —enable-postproc —enable-swscale —enable-x11grab —enable-libdc1394 —enable-shared —disable-static WARNING : library configuration
    mismatch libavutil configuration :
    —extra-version=4:0.6.2-1ubuntu2 —prefix=/usr —enable-avfilter —enable-avfilter-lavf —enable-vdpau —enable-bzlib —enable-libdirac —enable-libgsm —enable-libopenjpeg —enable-libschroedinger —enable-libspeex —enable-libtheora —enable-libvorbis —enable-pthreads —enable-zlib —enable-libvpx —disable-stripping —enable-runtime-cpudetect —enable-vaapi —enable-libopenjpeg —enable-gpl —enable-postproc —enable-swscale —enable-x11grab —enable-libfaad —enable-libdirac —enable-libfaad —enable-libmp3lame —enable-librtmp —enable-libx264 —enable-libxvid —enable-libdc1394 —enable-shared —disable-static libavcodec configuration :
    —extra-version=4:0.6.2-1ubuntu2 —prefix=/usr —enable-avfilter —enable-avfilter-lavf —enable-vdpau —enable-bzlib —enable-libdirac —enable-libgsm —enable-libopenjpeg —enable-libschroedinger —enable-libspeex —enable-libtheora —enable-libvorbis —enable-pthreads —enable-zlib —enable-libvpx —disable-stripping —enable-runtime-cpudetect —enable-vaapi —enable-libopenjpeg —enable-gpl —enable-postproc —enable-swscale —enable-x11grab —enable-libfaad —enable-libdirac —enable-libfaad —enable-libmp3lame —enable-librtmp —enable-libx264 —enable-libxvid —enable-libdc1394 —enable-shared —disable-static libavutil 50.15. 1 / 50.15. 1
    libavcodec 52.72. 2 / 52.72. 2
    libavformat 52.64. 2 / 52.64. 2
    libavdevice 52. 2. 0 / 52. 2. 0
    libavfilter 1.19. 0 / 1.19. 0
    libswscale 0.11. 0 / 0.11. 0
    libpostproc 51. 2. 0 / 51. 2. 0

    Prior to finally outputting the stuff I'd like to log :

    Seems stream 0 codec frame rate
    differs from container frame rate :
    47.95 (66893/1395) -> 23.98 (66893/2790) At least one output file
    must be specified

    Is there an option to prevent this excessive output ? Should I be doing it differently ?

  • Encode flv video with no audio with ffmpeg

    15 avril 2012, par David Bengoa

    I'm making an application that needs to convert videos to webm or mp4, it works great with all videos I've tried, but it fails if I use a flv file with no audio channels.

    $ ffmpeg -i 0986229665-339108519108-86498841039-6078455325.flv out.webm
    ffmpeg version 0.7.3-4:0.7.3-0ubuntu0.11.10.1, Copyright (c) 2000-2011 the Libav developers
     built on Jan  4 2012 16:08:51 with gcc 4.6.1
     configuration: --extra-version='4:0.7.3-0ubuntu0.11.10.1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
     WARNING: library configuration mismatch
     avutil      configuration: --extra-version='4:0.7.3ubuntu0.11.10.1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-libopenjpeg --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdirac --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3 --enable-libdc1394 --enable-shared --disable-static
     avcodec     configuration: --extra-version='4:0.7.3ubuntu0.11.10.1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-libopenjpeg --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdirac --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3 --enable-libdc1394 --enable-shared --disable-static
     libavutil    51.  7. 0 / 51.  7. 0
     libavcodec   53.  6. 0 / 53.  6. 0
     libavformat  53.  3. 0 / 53.  3. 0
     libavdevice  53.  0. 0 / 53.  0. 0
     libavfilter   2.  4. 0 /  2.  4. 0
     libswscale    2.  0. 0 /  2.  0. 0
     libpostproc  52.  0. 0 / 52.  0. 0
    [flv @ 0x2184560] Could not find codec parameters (Audio: [0][0][0][0] / 0x0000, 0 channels)
    [flv @ 0x2184560] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from '0986229665-339108519108-86498841039-6078455325.flv':
     Metadata:
       audiocodecid    : -1
       server          : Red5 Server 1.0.0 RC1 $Rev: 4193 $
       duration        : 3
       canSeekToEnd    : true
       videocodecid    : 2
     Duration: 00:00:03.02, start: 0.000000, bitrate: N/A
       Stream #0.0: Video: flv, yuv420p, 640x362, 1k tbr, 1k tbn, 1k tbc
       Stream #0.1: Audio: [0][0][0][0] / 0x0000, 0 channels
    Incompatible sample format '(null)' for codec 'libvorbis', auto-selecting format 's16'
    [buffer @ 0x21852c0] w:640 h:362 pixfmt:yuv420p
    [libvpx @ 0x2184040] v0.9.6
    [libvorbis @ 0x2185ee0] oggvorbis_encode_init: init_encoder failed
    Output #0, webm, to 'out.webm':
       Stream #0.0: Video: libvpx, yuv420p, 640x362, q=2-31, 200 kb/s, 90k tbn, 1k tbc
       Stream #0.1: Audio: libvorbis, 0 channels, s16, 64 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
    Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height

    If I pass the -an option, it works, but I can't do that because then all videos wouldn't have audio.

    Any ideas ?

  • can't compile ffmpeg on Solaris 10 sparc

    9 juin 2014, par Raoul

    Has anyone compiled ffmpeg 0.6.1 for Solaris 10 sparc ? I’m getting the following errors :

       uname -a
    SunOS SERVERNAME 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V440

    bwddmadm@bwddmliv>/export/home/USERID/ffmpeg-0.6.1/configure --prefix=/export/home/USERID/ffmpegX --extra-cflags="-fPIC" --disable-mmx --disable-protocol=udp --disable-encoder=nellymoser
    Broken shell detected.  Trying alternatives.
    Trying shell bash
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    Unknown C compiler gcc
    awk: syntax error near line 1
    awk: illegal statement near line 1
    grep: illegal option -- q
    Usage: grep -hblcnsviw pattern file . . .
    install prefix            /export/home/USERID/ffmpegX
    source path               /export/home/USERID/ffmpeg-0.6.1
    C compiler                gcc
    .align is power-of-two    no
    ARCH                      sparc (generic)
    big-endian                no
    runtime cpu detection     no
    VIS enabled               yes
    gprof enabled             no
    debug symbols             yes
    strip symbols             yes
    optimizations             yes
    static                    yes
    shared                    no
    postprocessing support    no
    new filter support        no
    filters using lavformat   no
    network support           yes
    threading support         no
    SDL support               no
    Sun medialib support      no
    AVISynth enabled          no
    libdc1394 support         no
    libdirac enabled          no
    libfaac enabled           no
    libfaad enabled           no
    libfaad dlopened          no
    libgsm enabled            no
    libmp3lame enabled        no
    libnut enabled            no
    libopencore-amrnb support no
    libopencore-amrwb support no
    libopenjpeg enabled       no
    librtmp enabled           no
    libschroedinger enabled   no
    libspeex enabled          no
    libtheora enabled         no
    libvorbis enabled         no
    libvpx enabled            no
    libx264 enabled           no
    libxvid enabled           no
    zlib enabled              no
    bzlib enabled             no

    Enabled decoders:
    pr:  -- empty file

    Enabled encoders:
    pr:  -- empty file

    Enabled hwaccels:
    pr:  -- empty file

    Enabled parsers:
    pr:  -- empty file

    Enabled demuxers:
    pr:  -- empty file

    Enabled muxers:
    pr:  -- empty file

    Enabled protocols:
    pr:  -- empty file

    Enabled filters:
    pr:  -- empty file

    Enabled bsfs:
    pr:  -- empty file

    Enabled indevs:
    pr:  -- empty file

    Enabled outdevs:
    pr:  -- empty file

    License: LGPL version 2.1 or later
    Creating config.mak and config.h...
    bwddmadm@bwddmliv> gmake
    /export/home/USERID/ffmpeg-0.6.1/version.sh: syntax error at line 4: `revision=$' unexpected
    CC      libavdevice/alldevices.o
    libavdevice/alldevices.c: In function `avdevice_register_all':
    libavdevice/alldevices.c:42: error: `CONFIG_ALSA_OUTDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:42: error: (Each undeclared identifier is reported only once
    libavdevice/alldevices.c:42: error: for each function it appears in.)
    libavdevice/alldevices.c:42: error: `CONFIG_ALSA_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:43: error: `CONFIG_AUDIO_BEOS_OUTDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:43: error: `CONFIG_AUDIO_BEOS_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:44: error: `CONFIG_BKTR_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:45: error: `CONFIG_DV1394_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:46: error: `CONFIG_JACK_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:47: error: `CONFIG_OSS_OUTDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:47: error: `CONFIG_OSS_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:48: error: `CONFIG_V4L2_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:49: error: `CONFIG_V4L_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:50: error: `CONFIG_VFWCAP_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:51: error: `CONFIG_X11_GRAB_DEVICE_INDEV' undeclared (first use in this function)
    libavdevice/alldevices.c:54: error: `CONFIG_LIBDC1394_INDEV' undeclared (first use in this function)
    gmake: *** [libavdevice/alldevices.o] Error 1
    bwddmadm@bwddmliv> exit

    script done on Fri Jan 14 11:34:05 2011