Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (48)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (10127)

  • FFmpeg audio channel rematrix (5.1 to stereo)

    8 décembre 2019, par Flock Dawson

    I’ve got a (very large !) Apple ProRes 422 file with 16ch audio. To be able to use it on a less powerful computer, I’d like to convert it to a standard MP4 file (h264 video codec, stereo audio). The original file has 16 channels of audio, however, and FFmpeg gives an error when I try to convert it (’Rematrix is needed’). How do I do rematrixing of audio channels ? Are there additional steps needed ?

    This is the FFmpeg command I used :

    ffmpeg -y -i Capture0000.mov -vcodec libx264 -vb 2000k -pix_fmt yuv420p -coder 0 -profile:v baseline -acodec libfaac -ab 128k /tmp/out.mp4

    This is the FFmpeg output :

    ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
         built on May  8 2014 14:17:45 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
         configuration: --prefix=/usr/local/ffmpeg_build --extra-cflags=-I/usr/local/ffmpeg_build/include --extra-ldflags=-L/usr/local/ffmpeg_build/lib --bindir=/usr/local/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab --enable-libxvid --enable-libfaac
         libavutil      52. 81.100 / 52. 81.100
         libavcodec     55. 60.103 / 55. 60.103
         libavformat    55. 37.102 / 55. 37.102
         libavdevice    55. 13.101 / 55. 13.101
         libavfilter     4.  5.100 /  4.  5.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 'Capture0000.mov':
         Metadata:
           creation_time   : 2014-08-17 18:30:31
         Duration: 01:01:22.52, start: 0.000000, bitrate: 202001 kb/s
           Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, 1920x1080, 183513 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 2500 tbn, 2500 tbc (default)
           Metadata:
             creation_time   : 2014-08-17 18:30:31
             handler_name    : Apple Alias Data Handler
             encoder         : Apple ProRes 422 (HQ)
           Stream #0:1(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 16 channels, s32, 18432 kb/s (default)
           Metadata:
             creation_time   : 2014-08-17 18:30:31
             handler_name    : Apple Alias Data Handler
       [auto-inserted resampler 0 @ 0x3943da0] [SWR @ 0x39441a0] Rematrix is needed between 16 channels and 5.1 but there is not enough information to do it
       [auto-inserted resampler 0 @ 0x3943da0] Failed to configure output pad on auto-inserted resampler 0
       Error opening filters!

    This is the FFprobe output :

    ffprobe version 2.2.git Copyright (c) 2007-2014 the FFmpeg developers
     built on May  8 2014 14:17:45 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --prefix=/usr/local/ffmpeg_build --extra-cflags=-I/usr/local/ffmpeg_build/include --extra-ldflags=-L/usr/local/ffmpeg_build/lib --bindir=/usr/local/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab --enable-libxvid --enable-libfaac
     libavutil      52. 81.100 / 52. 81.100
     libavcodec     55. 60.103 / 55. 60.103
     libavformat    55. 37.102 / 55. 37.102
     libavdevice    55. 13.101 / 55. 13.101
     libavfilter     4.  5.100 /  4.  5.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 'Capture0000.mov':
     Metadata:
       creation_time   : 2014-08-17 18:30:31
     Duration: 01:01:22.52, start: 0.000000, bitrate: 202001 kb/s
       Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, 1920x1080, 183513 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 2500 tbn, 2500 tbc (default)
       Metadata:
         creation_time   : 2014-08-17 18:30:31
         handler_name    : Apple Alias Data Handler
         encoder         : Apple ProRes 422 (HQ)
       Stream #0:1(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 16 channels, s32, 18432 kb/s (default)
       Metadata:
         creation_time   : 2014-08-17 18:30:31
         handler_name    : Apple Alias Data Handler
  • FFmpeg audio channel rematrix (5.1 to stereo)

    29 octobre 2014, par Flock Dawson

    I’ve got a (very large !) Apple ProRes 422 file with 16ch audio. To be able to use it on a less powerful computer, I’d like to convert it to a standard MP4 file (h264 video codec, stereo audio). The original file has 16 channels of audio, however, and FFmpeg gives an error when I try to convert it (’Rematrix is needed’). How do I do rematrixing of audio channels ? Are there additional steps needed ?

    This is the FFmpeg command I used :

    ffmpeg -y -i Capture0000.mov -vcodec libx264 -vb 2000k -pix_fmt yuv420p -coder 0 -profile:v baseline -acodec libfaac -ab 128k /tmp/out.mp4

    This is the FFmpeg output :

    ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
         built on May  8 2014 14:17:45 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
         configuration: --prefix=/usr/local/ffmpeg_build --extra-cflags=-I/usr/local/ffmpeg_build/include --extra-ldflags=-L/usr/local/ffmpeg_build/lib --bindir=/usr/local/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab --enable-libxvid --enable-libfaac
         libavutil      52. 81.100 / 52. 81.100
         libavcodec     55. 60.103 / 55. 60.103
         libavformat    55. 37.102 / 55. 37.102
         libavdevice    55. 13.101 / 55. 13.101
         libavfilter     4.  5.100 /  4.  5.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 'Capture0000.mov':
         Metadata:
           creation_time   : 2014-08-17 18:30:31
         Duration: 01:01:22.52, start: 0.000000, bitrate: 202001 kb/s
           Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, 1920x1080, 183513 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 2500 tbn, 2500 tbc (default)
           Metadata:
             creation_time   : 2014-08-17 18:30:31
             handler_name    : Apple Alias Data Handler
             encoder         : Apple ProRes 422 (HQ)
           Stream #0:1(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 16 channels, s32, 18432 kb/s (default)
           Metadata:
             creation_time   : 2014-08-17 18:30:31
             handler_name    : Apple Alias Data Handler
       [auto-inserted resampler 0 @ 0x3943da0] [SWR @ 0x39441a0] Rematrix is needed between 16 channels and 5.1 but there is not enough information to do it
       [auto-inserted resampler 0 @ 0x3943da0] Failed to configure output pad on auto-inserted resampler 0
       Error opening filters!

    This is the FFprobe output :

    ffprobe version 2.2.git Copyright (c) 2007-2014 the FFmpeg developers
     built on May  8 2014 14:17:45 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --prefix=/usr/local/ffmpeg_build --extra-cflags=-I/usr/local/ffmpeg_build/include --extra-ldflags=-L/usr/local/ffmpeg_build/lib --bindir=/usr/local/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab --enable-libxvid --enable-libfaac
     libavutil      52. 81.100 / 52. 81.100
     libavcodec     55. 60.103 / 55. 60.103
     libavformat    55. 37.102 / 55. 37.102
     libavdevice    55. 13.101 / 55. 13.101
     libavfilter     4.  5.100 /  4.  5.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 'Capture0000.mov':
     Metadata:
       creation_time   : 2014-08-17 18:30:31
     Duration: 01:01:22.52, start: 0.000000, bitrate: 202001 kb/s
       Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, 1920x1080, 183513 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 2500 tbn, 2500 tbc (default)
       Metadata:
         creation_time   : 2014-08-17 18:30:31
         handler_name    : Apple Alias Data Handler
         encoder         : Apple ProRes 422 (HQ)
       Stream #0:1(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 16 channels, s32, 18432 kb/s (default)
       Metadata:
         creation_time   : 2014-08-17 18:30:31
         handler_name    : Apple Alias Data Handler
  • Please use -q:a or -q:v, -qscale is ambiguous

    20 septembre 2017, par Abhishek

    I’m using FFMpeg to encode a video. This is the command :

    fmpeg/ffmpeg -i '/home/ninbizco/public_html/public/temporary/15cf7_8665.mp4'
       -ab 64k -ar 44100 -qscale 5 -r 25 -vcodec libx264 -acodec aac
       -strict experimental -preset veryfast -f mp4 -vf "scale=480:386" -y
       '/home/ninbizco/public_html/temporary/sitevideo/82_vconverted.1' 2>&1

    But I’m getting following error :

    Please use -q:a or -q:v, -qscale is ambiguous
    [AVFilterGraph @ 0x42838a0] Error initializing threading.
    [AVFilterGraph @ 0x42838a0] Error creating filter 'anull'
    Error opening filters!

    Following are the ffmpeg version details :

    ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 the FFmpeg developers
     built on Jul 16 2014 05:38:01 with gcc 4.6 (Debian 4.6.3-1)

    Can anyone tell me if it’s related to server configuration, because it’s not working on only one site and I’m not sure which server configuration to check. This command works fine on my localhost and other sites with the same ffmpeg version.