Recherche avancée

Médias (91)

Autres articles (68)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (3194)

  • Error concatenating two files with ffmpeg ubuntu

    3 janvier 2014, par Dan Ramos

    The following command works fine in OS X :

    ffmpeg -f concat -i videos_playlist.txt -c copy final.mkv

    But when I try to run it on ubuntu i get the following :

    Unknown input format: 'concat'

    Any idea what I'm missing or a possible work around ?

    OS X build :

    ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
    built on Aug  8 2013 11:49:17 with Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)

    Ubuntu build :

    ffmpeg version 0.10.8-7:0.10.8-1~precise1 Copyright (c) 2000-2013 the FFmpeg developers
    built on Sep  5 2013 14:56:20 with gcc 4.6.3
  • ffmpeg to convert mov to flv

    27 octobre 2014, par jeet

    I’m trying to convert a mov video to flv, but keep getting these errors below.
    There are 2 commands I used, both are below.

    ffmpeg -y -i video.mov -deinterlace -acodec copy -r 25 -qmin 3 -qmax 6 video.flv


    FFmpeg version SVN-r16573, Copyright (c) 2000-2009 Fabrice Bellard, et al.
    configuration: --extra-cflags=-fno-common --enable-memalign-hack --enable-pthreads --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libfaac --enable-libgsm --enable-libx264 --enable-libschroedinger --enable-avisynth --enable-swscale --enable-gpl
    libavutil     49.12. 0 / 49.12. 0
    libavcodec    52.10. 0 / 52.10. 0
    libavformat   52.23. 1 / 52.23. 1
    libavdevice   52. 1. 0 / 52. 1. 0
    libswscale     0. 6. 1 /  0. 6. 1
    built on Jan 13 2009 02:57:09, gcc: 4.2.4
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'vid\video.mov':
    Duration: 00:03:16.00, start: 0.000000, bitrate: 398 kb/s
    Stream #0.0(eng): Video: mpeg4, yuv420p, 800x600 [PAR 1:1 DAR 4:3], 30.00 tb(r)
    Stream #0.1(eng): Audio: pcm_u8, 8000 Hz, mono, s16, 64 kb/s
    Output #0, flv, to 'vid\video.flv':
    Stream #0.0(eng): Video: flv, yuv420p, 800x600 [PAR 1:1 DAR 4:3], q=3-6, 200 kb/s, 25.00 tb(c)
    Stream #0.1(eng): Audio: pcm_u8, 8000 Hz, mono, s16, 64 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    [NULL @ 0x1714390]codec not compatible with flv
    Could not write header for output file #0 (incorrect codec parameters ?)

    Second command :

    ffmpeg -y -i video.mov -deinterlace -ar 44100 -r 25 -qmin 3 -qmax 6 video.flv

    Audio resampler only works with 16 bits per sample, patch welcome.

    With a newer version of ffmpeg :

    ffmpeg version N-49610-gc2dd5a1 Copyright (c) 2000-2013 the FFmpeg developers
    built on Feb  5 2013 13:20:59 with gcc 4.7.2 (GCC)
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 17.101 / 52. 17.101
     libavcodec     54. 91.100 / 54. 91.100
     libavformat    54. 61.104 / 54. 61.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 35.101 /  3. 35.101
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    Guessed Channel Layout for  Input Stream #0.1 : mono
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'vid\video.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 512
       compatible_brands: qt  
       creation_time   : 1970-01-01 00:00:00
     Duration: 00:02:50.39, start: 0.000000, bitrate: 370 kb/s
       Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1366x768 [SAR 1:1 DAR 683:384], 308 kb/s, 11.50 fps, 11.50 tbr, 23 tbn, 23 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : DataHandler
       Stream #0:1(eng): Audio: pcm_u8 (raw  / 0x20776172), 8000 Hz, mono, u8, 64 kb/s
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : DataHandler
    [flv @ 026347a0] FLV does not support sample rate 8000, choose from (44100, 22050, 11025)
    Output #0, flv, to 'vid\video.flv':
     Metadata:
       major_brand     : qt  
       minor_version   : 512
    compatible_brands: qt  
       encoder         : Lavf54.61.104
       Stream #0:0(eng): Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 1366x768 [SAR 1:1 DAR 683:384], q=2-31, 200 kb/s, 1k tbn, 11.50 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : DataHandler
       Stream #0:1(eng): Audio: mp3 ([2][0][0][0] / 0x0002), 8000 Hz, mono, s16p
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : DataHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg4 -> flv)
     Stream #0:1 -> #0:1 (pcm_u8 -> libmp3lame)
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input

    1 more thing please :
    If I use this newer version of ffmpeg to create a video with the below command, I get a video with a very hazy display.
    It’s like a few black dots on a blank screen :

    ffmpeg -i img%d.png -i audio.wav -acodec copy output.mov

    what could be the reason for this display ?

  • Error while extracting subtitle from mkv or m2ts to srt with FFmpeg

    14 février 2013, par user2071701

    I need to extract subtitles from different video files to .srt format (to use it in html5 video).
    I tried a lot of variant i found with google. But every time i get this error :

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    I think, this error means that ffmpeg can decode source subtitle but cant encode it to .srt format. All codecs a enabled (i compiled the later ffmpeg version from git a few times with a different configuration).

    Here is the output :

       # /usr/local/bin/ffmpeg -i /var/video/sources/Balbesy1.m2ts -an -vn  -copyinkf -scodec srt -f srt -y  sub.srt
    ffmpeg version N-49947-g9f16cb9 Copyright (c) 2000-2013 the FFmpeg developers
     built on Feb 14 2013 14:26:10 with gcc 4.4.5 (Debian 4.4.5-8)
     configuration: --enable-encoder=dvdsub --enable-decoder=dvdsub --enable-decoder=pgssub --enable-encoder=srt --enable-decoder=srt --enable-encoder=srt --enable-decoder=srt
     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
    [mpegts @ 0x2719040] Stream #5: not enough frames to estimate rate; consider increasing probesize
    [mpegts @ 0x2719040] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [NULL @ 0x271fec0] start time is not set in estimate_timings_from_pts
    Input #0, mpegts, from '/var/video/sources/Balbesy1.m2ts':
     Duration: 01:18:11.89, start: 599.958300, bitrate: 37378 kb/s
     Program 1
       Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
       Stream #0:1[0x1100]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), fltp, 768 kb/s
       Stream #0:2[0x1101]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), fltp, 768 kb/s
       Stream #0:3[0x1102]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
       Stream #0:4[0x1103]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
       Stream #0:5[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Output #0, srt, to 'sub.srt':
       Stream #0:0: Subtitle: srt
    Stream mapping:
     Stream #0:5 -> #0:0 (pgssub -> srt)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    sorry for my english