Recherche avancée

Médias (91)

Autres articles (13)

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

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

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (4123)

  • Force FFMPEG to use TCP protocol when reading a RTSP Stream

    7 juin 2016, par gary_star

    I’m running ffmpeg (Windows 7, 64bit) from command line to get a frame from a RTSP stream (second channel from my DVR) :

    ffmpeg  -i "rtsp://xxx.xxx.xxx.xxx:554/user=xxxx&password=xxxx&channel=2&stream=0.sdp" -rtsp_transport tcp -y video.jpg

    After running, it waits for about 10 seconds and then i get :

    [rtsp @ 026fd840] UDP timeout, retrying with TCP

    After another long wait (2 minutes or so), i get :

    [rtsp @ 028dd840] Could not find codec parameters for stream 0 (Video: h264): unspecified size

    I read somewhere that I have to force using TCP, because changing from UDP to TCP will not work.

    I don’t understand why -rtsp_transport tcp is not working.

    I’m using ffmpeg version N-62509-g97751e1 built on Apr 17 2014 22:01:31 with gcc 4.8.2 (GCC).

    Please help me.
    Thank you.

  • FFmpeg playing multiple videos concurrently - mute/unmute

    21 avril 2014, par pris

    I have 3 videos (video1/video2/video3). I would like to play them on different time intervals :

    • video1 plays from 0-15s (video1 with sound, video2/video3 mute)
    • video2 plays from 15-21s (video2 with sound, video1/video3 mute)
    • video1 plays from 22-30s (video1 with sound, video2/video3 mute)
    • video3 plays from 31-40s (video3 with sound, video1/video2 mute)

    I have tried the following but only video1 has sound :

    ffmpeg -i video1.mp4 -i video2.mp4 -i video3.mp4 -i video4.mp4 -filter_complex "[0:v][1:v] overlay=0:0:enable='between(t,10,20)' [tmp]; [tmp][2:v] overlay=0:0:enable='between(t,30,40)' [tmp1]; [tmp1][3:v] overlay=0:0:enable='between(t,50,60)'" final.mp4

    Console output :

       ffmpeg version N-62475-g256f530 Copyright (c) 2000-2014 the FFmpeg developers
     built on Apr 15 2014 22:09:47 with gcc 4.8.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
    --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-li
    bmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-l
    ibsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --en
    able-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 76.100 / 52. 76.100
     libavcodec     55. 58.103 / 55. 58.103
     libavformat    55. 37.100 / 55. 37.100
     libavdevice    55. 13.100 / 55. 13.100
     libavfilter     4.  4.100 /  4.  4.100
     libswscale      2.  6.100 /  2.  6.100
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'master_video.mp4':
     Metadata:
       major_brand     : FACE
       minor_version   : 1337
       compatible_brands: isomavc1FACE
       creation_time   : 2013-03-30 15:06:28
     Duration: 00:01:57.82, start: 0.000000, bitrate: 248 kb/s
       Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 210 kb/s, 24.88 fps, 24.88 tbr, 24880 t
    bn, 49.76 tbc (default)
       Metadata:
         creation_time   : 2013-03-30 15:06:28
         handler_name    : /tmp/tmpvYmHiO/4698028013036._video.264 - Imported with GPAC 0.4.6-DEV-rev3544
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 36 kb/s (default)
       Metadata:
         creation_time   : 2013-03-30 15:06:28
         handler_name    : /tmp/tmpvYmHiO/4698028013036._audio.aac - Imported with GPAC 0.4.6-DEV-rev3544
    Output #0, flv, to 'final.flv':
     Metadata:
       major_brand     : FACE
       minor_version   : 1337
       compatible_brands: isomavc1FACE
       encoder         : Lavf55.37.100
       Stream #0:0(und): Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 24.88 tbc (default)
       Metadata:
         creation_time   : 2013-03-30 15:06:28
         handler_name    : /tmp/tmpvYmHiO/4698028013036._video.264 - Imported with GPAC 0.4.6-DEV-rev3544
       Stream #0:1(und): Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 22050 Hz, mono, fltp (default)
       Metadata:
         creation_time   : 2013-03-30 15:06:28
         handler_name    : /tmp/tmpvYmHiO/4698028013036._audio.aac - Imported with GPAC 0.4.6-DEV-rev3544
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> flv)
     Stream #0:1 -> #0:1 (aac -> libmp3lame)
    Press [q] to stop, [?] for help
    frame= 2927 fps=331 q=10.1 Lsize=    3577kB time=00:01:57.83 bitrate= 248.7kbits/s dup=0 drop=4519
    video:3000kB audio:460kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.369707%

    Your help will be much appreciated.

  • Use ffmpeg to cut mkv file [migrated]

    16 avril 2014, par Chk0nDanger

    I tried to cut MKV video file by following command in Linux mint 16.

    ffmpeg -i input.mkv -vcodec copy -acodec copy -ss 00:39:05 -t 00:03:03 out.mkv

    output :

    ffmpeg version 0.8.10-6:0.8.10-0ubuntu0.13.10.1, Copyright (c) 2000-2013 the Libav developers
     built on Feb  6 2014 20:53:28 with gcc 4.8.1
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    [matroska,webm @ 0x1774be0] max_analyze_duration reached
    [matroska,webm @ 0x1774be0] Estimating duration from bitrate, this may be inaccurate
    Input #0, matroska,webm, from 'input.mkv':
     Duration: 00:58:35.63, start: 0.000000, bitrate: N/A
       Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
       Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16 (default)
       Stream #0.2(eng): Subtitle: [0][0][0][0] / 0x0000
    Output #0, matroska, to 'out2.mkv':
       Stream #0.0(eng): Video: [0][0][0][0] / 0x0000, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 90k tbn, 25 tbc (default)
       Stream #0.1(eng): Audio: aac, 48000 Hz, stereo (default)
       Stream #0.2(eng): Subtitle: ass, 200 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
     Stream #0.2 -> #0.2
    Decoder (codec id 94210) not found for input stream #0.2

    It shows an error. I tried changing options but still can not cut the file.
    Is there simplest way to cut mkv file on Linux ?