Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (98)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (10040)

  • Video Conversion to have Play Speed

    24 juin 2014, par Taufiq

    There is a open source Media Player Component called Media Kit (https://wpfmediakit.codeplex.com/). It supports Play Speed. But its dependent on video format.

    I have generated a video using SharpAvi (http://sharpavi.codeplex.com/) sample project, using Motion Jepg Encoder.

    This video does not have Play Speed support for some reason. Details Below from ffmpeg

    Video: mjpeg (MJPG / 0x47504A4D), yuvj420p(pc), 1920x1080 [SAR 96:96 DAR 16:9], 9818 kb/s, 10 fps, 10 tbr, 10 tbn, 10 tbc

    Next I download an flv video from Youtube and Media Kit’s play speed works fine with this video.

    Video: flv1, yuv420p, 426x240, 259 kb/s, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc

    Now I converted them into common MP4 format using ffmepg

    ffmpeg -i "1.avi" -ar 22050 -b 2048k "1.mp4"
    ffmpeg -i "2.flv" -ar 22050 -b 2048k "2.mp4"

    Results

    1.mp4

    Video: h264 (High) (avc1 / 0x31637661), yuv420p, 426x240, 1235 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)

    2.mp4

    Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc), 1920 x1080 [SAR 1:1 DAR 16:9], 158 kb/s, 10 fps, 10 tbr, 10240 tbn, 20 tbc (default)

    The thing is the converted video from flv file still supports play speed where else the converted mp4 from the Avi does not. What is that I am missing

    More Details Below.

    AVI File

    ffmpeg -i "1.avi" ffmpeg version N-64167-gca35037 Copyright (c) 2000-2014 the FFmpeg developers   built on Jun 22 2014 22:02:17 with gcc 4.8.3 (GCC)   configuration:
    --enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable- libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libope njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsox r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
    -enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
    --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable- libxavs --enable-libxvid --enable-decklink --enable-zlib   libavutil      52. 90.100 / 52. 90.100   libavcodec     55. 68.100 /
    55. 68.100   libavformat    55. 44.100 / 55. 44.100   libavdevice    55. 13.101 / 55. 13.101   libavfilter     4.  9.100 /  4.  9.100   libswscale      2.  6.100 /  2.  6.100   libswresample   0. 19.100 /
    0. 19.100   libpostproc    52.  3.100 / 52.  3.100 [avi @ 028fe560] non-interleaved AVI Input #0, avi, from '1.avi':   Duration: 00:00:37.50, start: 0.000000, bitrate: 9794 kb/s
       Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p(pc), 1920x1080 [SAR 96:96 DAR 16:9], 9818 kb/s, 10 fps, 10 tbr, 10 tbn, 10 tbc
       Metadata:
         title           : Screencast At least one output file must be specified

    fLV File

    ffmpeg -i "2.flv" ffmpeg version N-64167-gca35037 Copyright (c) 2000-2014 the FFmpeg developers   built on Jun 22 2014 22:02:17 with gcc 4.8.3 (GCC)   configuration:
    --enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable- libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libope njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsox r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
    -enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
    --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable- libxavs --enable-libxvid --enable-decklink --enable-zlib   libavutil      52. 90.100 / 52. 90.100   libavcodec     55. 68.100 /
    55. 68.100   libavformat    55. 44.100 / 55. 44.100   libavdevice    55. 13.101 / 55. 13.101   libavfilter     4.  9.100 /  4.  9.100   libswscale      2.  6.100 /  2.  6.100   libswresample   0. 19.100 /
    0. 19.100   libpostproc    52.  3.100 / 52.  3.100 [flv @ 02b8e560] Stream discovered after head already parsed Input #0, flv, from '2.flv':   Metadata:
       starttime       : 0
       totalduration   : 85
       totaldatarate   : 325
       bytelength      : 3438869
       canseekontime   : true
       sourcedata      : B4A7DA902MM1403531086617082
       purl            :
       pmsg            :   Duration: 00:01:24.63, start: 0.000000, bitrate: 325 kb/s
       Stream #0:0: Video: flv1, yuv420p, 426x240, 259 kb/s, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc
       Stream #0:1: Audio: mp3, 22050 Hz, stereo, s16p, 65 kb/s
       Stream #0:2: Data: none At least one output file must be specified

    AVI to MP4

    ffmpeg -i "1.mp4" ffmpeg version N-64167-gca35037 Copyright (c) 2000-2014 the FFmpeg developers   built on Jun 22 2014 22:02:17 with gcc 4.8.3 (GCC)   configuration:
    --enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable- libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libope njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsox r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
    -enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
    --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable- libxavs --enable-libxvid --enable-decklink --enable-zlib   libavutil      52. 90.100 / 52. 90.100   libavcodec     55. 68.100 /
    55. 68.100   libavformat    55. 44.100 / 55. 44.100   libavdevice    55. 13.101 / 55. 13.101   libavfilter     4.  9.100 /  4.  9.100   libswscale      2.  6.100 /  2.  6.100   libswresample   0. 19.100 /
    0. 19.100   libpostproc    52.  3.100 / 52.  3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':   Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.44.100   Duration: 00:00:37.50, start: 0.000000, bitrate: 159 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc), 1920 x1080 [SAR 1:1 DAR 16:9], 158 kb/s, 10 fps, 10 tbr, 10240 tbn, 20 tbc (default)
       Metadata:
         handler_name    : VideoHandler At least one output file must be specified

    FLV to MP4

    ffmpeg -i "2.mp4" ffmpeg version N-64167-gca35037 Copyright (c) 2000-2014 the FFmpeg developers   built on Jun 22 2014 22:02:17 with gcc 4.8.3 (GCC)   configuration:
    --enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable- libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libope njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsox r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
    -enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
    --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable- libxavs --enable-libxvid --enable-decklink --enable-zlib   libavutil      52. 90.100 / 52. 90.100   libavcodec     55. 68.100 /
    55. 68.100   libavformat    55. 44.100 / 55. 44.100   libavdevice    55. 13.101 / 55. 13.101   libavfilter     4.  9.100 /  4.  9.100   libswscale      2.  6.100 /  2.  6.100   libswresample   0. 19.100 /
    0. 19.100   libpostproc    52.  3.100 / 52.  3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2.mp4':   Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.44.100   Duration: 00:01:24.81, start: 0.072562, bitrate: 1365 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 426x240, 1235 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, stereo, fltp, 12 8 kb/s (default)
       Metadata:
         handler_name    : SoundHandler At least one output file must be specified
  • Why is the streaming fps is so large (about 600) when I do ffmpeg streaming a video file through udp ?

    3 juillet 2014, par user1914692

    Ubuntu 12.04. ffmpeg version git-2013-03-26-1741fec Copyright (c) 2000-2013 the FFmpeg developers

    The command I use is :

    ffmpeg -i output_20140630.avi  -f mpegts udp://192.168.1.56:1234

    The streaming fps is about 600, shown in the same terminal.

    If I use the command :

    ffmpeg -i output_20140630.avi  -f mpegts udp://236.0.0.1:200

    Then it is fine. And I can use the command below to play the streamed video :

    ffplay udp://236.0.0.1:2000
  • ffmpeg reencoding of flv files from MAC

    22 septembre 2011, par Nick Mitin

    I've recorded a video from a webcam on mac and now i'm trying to reencode it, but ffmpeg does not recognize audio stream :

    FFmpeg version git-120610e, Copyright (c) 2000-2010 the FFmpeg developers
      built on Sep 21 2010 15:56:57 with gcc 4.4.1
      configuration : —enable-gpl —enable-version3 —enable-nonfree —enable-postproc —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libtheora —enable-libvorbis —enable-libmp3lame —enable-libx264
      libavutil     50.27. 0 / 50.27. 0
      libavcore      0. 9. 0 /  0. 9. 0
      libavcodec    52.89. 0 / 52.89. 0
      libavformat   52.78. 5 / 52.78. 5
      libavdevice   52. 2. 2 / 52. 2. 2
      libavfilter    1.39. 0 /  1.39. 0
      libswscale     0.11. 0 /  0.11. 0
      libpostproc   51. 2. 0 / 51. 2. 0
    [flv @ 0x1e79470] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from '10125174c09241f6536ccbe503ebbc00.flv' :
      Duration : 00:00:22.68, start : 0.000000, bitrate : N/A
        Stream #0.0 : Video : flv, yuv420p, 640x480, 1k tbr, 1k tbn, 1k tbc
        Stream #0.1 : Audio : [0][0][0][0] / 0x0000, 0 channels
    

    Is it possible to make ffmpeg to support audio stream form flv recorded on MAC ?