Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (111)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (13803)

  • Merge remote-tracking branch ’rbultje/vp9-profile1-wip’

    1er mai 2015, par Michael Niedermayer
    Merge remote-tracking branch ’rbultje/vp9-profile1-wip’
    

    * rbultje/vp9-profile1-wip :
    vp9 : add fate test for 422.
    vp9 : copy bug in libvpx for 4:2:2 chroma bs=8x4/4x4 prediction.
    vp9 : add yuv440 fate test.
    vp9 : fix mask_edges and filter_plane_rows/cols() for 440.
    vp9 : more specifically specify mask destination to mask_edges().
    vp9 : add fate test for profile 1 444.
    vp9 : don’t create special u/v filter masks for 444.
    vp9 : merge uv loopfilter code into generic filter_plane_rows/cols().
    vp9 : split out loopfilter luma rows/cols functions from loopfilter_sb().
    vp9 : invert order of two conditions.
    vp9 : use correct chroma subsampling for profile 1 inter block recon.
    vp9 : use correct chroma subsampling for profile 1 intra block recon.
    vp9 : take chroma subsampling into account when walking the block tree.
    vp9 : support non-420 chroma subsampling for profile 1 token decoding.
    vp9 : increase buffer sizes for non-420 chroma subsamplings.
    vp9 : profile 1 header decoding.

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/vp9.c
    • [DH] libavcodec/vp9_mc_template.c
    • [DH] tests/fate/vpx.mak
    • [DH] tests/ref/fate/vp9p1-04-yuv422
    • [DH] tests/ref/fate/vp9p1-04-yuv440
    • [DH] tests/ref/fate/vp9p1-04-yuv444
  • Merge commit ’23f741f79327e31be7b2a75ebb2e02111e06e52f’

    28 mai 2014, par Michael Niedermayer
    Merge commit ’23f741f79327e31be7b2a75ebb2e02111e06e52f’
    

    * commit ’23f741f79327e31be7b2a75ebb2e02111e06e52f’ :
    matroskadec : parse the channel layout mask for FLAC

    Conflicts :
    libavformat/oggparsevorbis.c

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/Makefile
    • [DH] libavformat/flacdec.c
    • [DH] libavformat/matroskadec.c
    • [DH] libavformat/oggdec.h
    • [DH] libavformat/oggparsecelt.c
    • [DH] libavformat/oggparseflac.c
    • [DH] libavformat/oggparseogm.c
    • [DH] libavformat/oggparseopus.c
    • [DH] libavformat/oggparsespeex.c
    • [DH] libavformat/oggparsetheora.c
    • [DH] libavformat/oggparsevorbis.c
    • [DH] libavformat/oggparsevp8.c
  • Transcoding with custom commands using streamio-ffmpeg

    14 avril 2017, par ACIDSTEALTH

    I’m trying to transcode a video file using streamio-ffmpeg with some custom commands, but nothing I try seems to work. I want to transcode the video with the following options :

    ffmpeg -i input.mp4 -vf
       "format=yuv444p,
        drawbox=y=ih/PHI:color=0x000000@0.4:width=iw:height=48:t=max,
        drawtext=font='OpenSans-Regular,Sans':text='CUSTOM TEXT':fontcolor=0xFFFFFF:fontsize=24:x=(w-tw)/2:y=(h/PHI)+th,
        format=yuv420p"
    -c:v libx264 -c:a copy -movflags +faststart output.mp4

    I’ve tried the following code combinations without success :

    1. Tried removing the line breaks and converting the command string to an array, following the instructions in the docs.

      video = FFMPEG::Movie.new('input.mp4')
      opts = %w(ffmpeg -i input.mp4 -vf "format=yuv444p, drawbox=y=ih/PHI:color=0x000000@0.4:width=iw:height=48:t=max, drawtext=font='OpenSans-Regular,Sans':text='CUSTOM TEXT':fontcolor=0xFFFFFF:fontsize=24:x=(w-tw)/2:y=(h/PHI)+th, format=yuv420p" -c:v libx264 -c:a copy -movflags +faststart output.mp4)
      video.transcode('output.mp4', opts)

      But this yields the error :

      [NULL @ 0x7f962100e200] Unable to find a suitable output format for 'ffmpeg'
      ffmpeg: Invalid argument
      from /Users/ACIDSTEALTH/.gem/ruby/2.3.0/gems/streamio-ffmpeg-3.0.2/lib/ffmpeg/transcoder.rb:112:in `validate_output_file'
    2. Tried stripping out the input file name and output file name since the gem seems to handle that for you.

      video = FFMPEG::Movie.new('input.mp4')
      opts = %w(-vf "format=yuv444p, drawbox=y=ih/PHI:color=0x000000@0.4:width=iw:height=48:t=max, drawtext=font='OpenSans-Regular,Sans':text='CUSTOM TEXT':fontcolor=0xFFFFFF:fontsize=24:x=(w-tw)/2:y=(h/PHI)+th, format=yuv420p")
      video.transcode('output.mp4', opts)

      Which returns this error :

      [NULL @ 0x7fd0a9008c00] Unable to find a suitable output format for 'drawbox=y=ih/PHI:color=0x000000@0.4:width=iw:height=48:t=max,'
      drawbox=y=ih/PHI:color=0x000000@0.4:width=iw:height=48:t=max,: Invalid argument
      from /Users/ACIDSTEALTH/.gem/ruby/2.3.0/gems/streamio-ffmpeg-3.0.2/lib/ffmpeg/transcoder.rb:112:in `validate_output_file'
    3. Tried removing the -vf flag and just running everything within the quotation marks.

      video = FFMPEG::Movie.new('input.mp4')
      opts = %w(format=yuv444p, drawbox=y=ih/PHI:color=0x000000@0.4:width=iw:height=48:t=max, drawtext=font='OpenSans-Regular,Sans':text='CUSTOM TEXT':fontcolor=0xFFFFFF:fontsize=24:x=(w-tw)/2:y=(h/PHI)+th, format=yuv420p)
      video.transcode('output.mp4', opts)

      This returns another error :

      [NULL @ 0x7fab8101fe00] Unable to find a suitable output format for 'format=yuv444p,'
      format=yuv444p,: Invalid argument
      from /Users/ACIDSTEALTH/.gem/ruby/2.3.0/gems/streamio-ffmpeg-3.0.2/lib/ffmpeg/transcoder.rb:112:in `validate_output_file'
    4. Tried removing the format arguments since ffmpeg is clearly complaining about those.

      video = FFMPEG::Movie.new('input.mp4')
      opts = %w("drawbox=y=ih/PHI:color=0x000000@0.4:width=iw:height=48:t=max, drawtext=font='OpenSans-Regular,Sans':text='CUSTOM TEXT':fontcolor=0xFFFFFF:fontsize=24:x=(w-tw)/2:y=(h/PHI)+th")
      video.transcode('output.mp4', opts)

      Again another error :

      [NULL @ 0x7fc7f880a800] Unable to find a suitable output format for 'drawbox=y=ih/PHI:color=0x000000@0.4:width=iw:height=48:t=max,'
      drawbox=y=ih/PHI:color=0x000000@0.4:width=iw:height=48:t=max,: Invalid argument
      from /Users/ACIDSTEALTH/.gem/ruby/2.3.0/gems/streamio-ffmpeg-3.0.2/lib/ffmpeg/transcoder.rb:112:in `validate_output_file'
    5. Tried building a hash from the command string and feeding that into the transcode method.

      video = FFMPEG::Movie.new('input.mp4')
      opts = {
         '-vf' => {
             format: 'yuv444p',
             drawbox: {
                 y: 'ih/PHI', color: '0x000000@0.4', width: 'iw', height: '48', t: 'max'
             },
             drawtext: {
                 font: 'OpenSans-Regular,Sans', text: snap.title, fontcolor: '0xFFFFFF', fontsize: '24', x: '(w-tw)/2', y: '(h/PHI)+th'
             },
             format: 'yuv420p'
         }
      }
      video.transcode('output.mp4', opts)

      I also tried a variation without the -vf flag :

      video = FFMPEG::Movie.new('input.mp4')
      opts = {
         format: 'yuv444p',
         drawbox: {
             y: 'ih/PHI', color: '0x000000@0.4', width: 'iw', height: '48', t: 'max'
         },
         drawtext: {
             font: 'OpenSans-Regular,Sans', text: snap.title, fontcolor: '0xFFFFFF', fontsize: '24', x: '(w-tw)/2', y: '(h/PHI)+th'
         },
         format: 'yuv420p'
      }
      video.transcode('output.mp4', opts)

    These both produced an output.mp4 video file but the output file was unchanged from the input. There was no text overlay.

    Nothing I try seems to work. What am I doing wrong here ?