Recherche avancée

Médias (91)

Autres articles (4)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

Sur d’autres sites (2688)

  • Malformed header from CGI script

    13 janvier 2014, par user3188518

    This message is driving me crazy :

    Malformed header from CGI script:
    ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
     built on May 10 2013 16:31:05 with gcc 4.8.0 (GCC) 20130502 (prerelease)
     configuration: --prefix=/usr --disable-debug --disable-static --enable-avresample --enable-dxva2 --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-vdpau --enable-version3 --enable-x11grab
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     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.0 : stereo
    Input #0, wav, from '/projekt/aplikacja/app/92ed9478ecfa4a4dfb176f417d4ef66c/2014-01-12-220148_sample_1.wav':
     Duration: 00:02:35.62, bitrate: 1411 kb/s
       Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
    Output #0, wav, to '/projekt/aplikacja/app/webroot/files/preview/2014-01-12-234038_52d327f6b2939.wav':
     Metadata:
       ISFT            : Lavf54.63.104
       Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, 1411 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    size=     864kB time=00:00:05.01 bitrate=1411.3kbits/s    
    video:0kB audio:864kB subtitle:0 global headers:0kB muxing overhead 0.009042%
    Status: 302
    Location: http://www.example.org/
    Content-type: text/html

    After executing this function :

      public function createpreview(){
            if ($this->request->is('post')) {
              foreach($this->request->data['TrackId'] as $key => $value){
                   $TrackId[] = $key;
               }
               $this->Track->recursive = -1;
               $view =  $this->Track->find('all', array(
                                 'conditions' => array(
                                 "Track.id" => $TrackId
                                  )));
               ini_set('date.timezone', 'Europe/London');

              foreach ($view as $v){
                 $comand_1 = 'ffmpeg -i '.APP.'92ed9478ecfa4a4dfb176f417d4ef66c'.DS. $v['Track']['filename'].' 2>&1';
                 $time_data = shell_exec($comand_1);
                 $search = '/Duration: (.*?),/';
                 $duration = preg_match($search, $time_data, $matches, PREG_OFFSET_CAPTURE, 3);
                 $time = explode('.', $matches[1][0]);
                 $time = explode(":", $time[0]);
                 $seconds = $time[0]*3600 + $time[1]*60 + $time[2];
                 if ($seconds >= 30){

                $now = date('Y-m-d-His');
                    $prew_file_name = $now .'_'. uniqid().'.wav';
                    $comand_2 = 'ffmpeg  -ss 00:00:25.000 -analyzeduration 99999999  -i '.APP.'92ed9478ecfa4a4dfb176f417d4ef66c'.DS. $v['Track']['filename'].' -t 5 -c:v copy -c:a copy '.WWW_ROOT.'files'.DS.'preview'.DS.$prew_file_name;
                       $t = shell_exec($comand_2);
                       $this->Track->updateAll(array('Track.preview' => "'.$prew_file_name.'"), array('Track.id' => $v['Track']['id']));
                     }
                  }

           }
            header('Location: http://www.example.org/');
          // $this->redirect(array('controller'=>'albums', 'action'=>'menage_index'));
      }

    As far as i know this shell_exec($comand_2) couses error (after i comment it out, it redirects me correctly).Googling this didn't gave me answers, the wierd part is previews aka shell_exec($comand_2) are made and fine, i just can't get it to redirect me. I tried non cake way but it doesn't work either.

    What I'm doing wrong ?

  • Error importing VideoFileClip from moviepy : AttributeError : 'PermissionError' object has no attribute 'message'

    11 mars 2017, par Tahlil

    I’m using jupyter notebook. I have also tried from anaconda console as well.

    Tried importing with both the ways shown below

    from moviepy.editor import VideoFileClip

    from moviepy.video.io.VideoFileClip import VideoFileClip

    Both of them gave me same error. Full trace is below

    AttributeError                            Traceback (most recent call last)
    in <module>()
         6 import glob
         7 import math
    ----> 8 from moviepy.editor import VideoFileClip
         9 from moviepy.video.io.VideoFileClip import VideoFileClip

    C:\Program Files\Anaconda3\lib\site-packages\moviepy\editor.py in <module>()
        20 # Clips
        21
    ---> 22 from .video.io.VideoFileClip import VideoFileClip
        23 from .video.io.ImageSequenceClip import ImageSequenceClip
        24 from .video.io.downloader import download_webfile

    C:\Program Files\Anaconda3\lib\site-packages\moviepy\video\io\VideoFileClip.py in <module>()
         1 import os
         2
    ----> 3 from moviepy.video.VideoClip import VideoClip
         4 from moviepy.audio.io.AudioFileClip import AudioFileClip
         5 from moviepy.Clip import Clip

    C:\Program Files\Anaconda3\lib\site-packages\moviepy\video\VideoClip.py in <module>()
        18
        19 import moviepy.audio.io as aio
    ---> 20 from .io.ffmpeg_writer import ffmpeg_write_image, ffmpeg_write_video
        21 from .io.ffmpeg_tools import ffmpeg_merge_video_audio
        22 from .io.gif_writers import (write_gif,

    C:\Program Files\Anaconda3\lib\site-packages\moviepy\video\io\ffmpeg_writer.py in <module>()
        13     DEVNULL = open(os.devnull, 'wb')
        14
    ---> 15 from moviepy.config import get_setting
        16 from moviepy.tools import verbose_print
        17

    C:\Program Files\Anaconda3\lib\site-packages\moviepy\config.py in <module>()
        49     success, err = try_cmd([FFMPEG_BINARY])
        50     if not success:
    ---> 51         raise IOError(err.message +
        52                  "The path specified for the ffmpeg binary might be wrong")
        53

    AttributeError: 'PermissionError' object has no attribute 'message'
    </module></module></module></module></module></module>

    Python version info

    Python 3.5.2 |Anaconda custom (64-bit)| (default, Jul  5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.

    Running ffmpeg -version in a console gives me

    ffmpeg version N-83507-g8fa18e0 Copyright (c) 2000-2017 the FFmpeg developers
    built with gcc 5.4.0 (GCC)
    configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
    libavutil      55. 47.100 / 55. 47.100
    libavcodec     57. 80.100 / 57. 80.100
    libavformat    57. 66.102 / 57. 66.102
    libavdevice    57.  2.100 / 57.  2.100
    libavfilter     6. 73.100 /  6. 73.100
    libswscale      4.  3.101 /  4.  3.101
    libswresample   2.  4.100 /  2.  4.100
    libpostproc    54.  2.100 / 54.  2.100

    I’m running 64 bit version of Windows 10.

    I can’t find any solution anywhere and its driving me crazy ! Seems like its not finding the ffmpeg binary but I have put it in C :\ffmpeg\bin and added this to path environment variable. Followed the instruction from here.

  • Introducing WebM, an open web media project

    20 mai 2010, par noreply@blogger.com (christosap)

    A key factor in the web’s success is that its core technologies such as HTML, HTTP, TCP/IP, etc. are open and freely implementable. Though video is also now core to the web experience, there is unfortunately no open and free video format that is on par with the leading commercial choices. To that end, we are excited to introduce WebM, a broadly-backed community effort to develop a world-class media format for the open web.

    WebM includes :

    • VP8, a high-quality video codec we are releasing today under a BSD-style, royalty-free license
    • Vorbis, an already open source and broadly implemented audio codec
    • a container format based on a subset of the Matroska media container

    The team that created VP8 have been pioneers in video codec development for over a decade. VP8 delivers high quality video while efficiently adapting to the varying processing and bandwidth conditions found on today’s broad range of web-connected devices. VP8’s efficient bandwidth usage will mean lower serving costs for content publishers and high quality video for end-users. The codec’s relative simplicity makes it easy to integrate into existing environments and requires less manual tuning to produce high quality results. These existing attributes and the rapid innovation we expect through the open-development process make VP8 well suited for the unique requirements of video on the web.

    A developer preview of WebM and VP8, including source code, specs, and encoding tools is available today at www.webmproject.org.

    We want to thank the many industry leaders and web community members who are collaborating on the development of WebM and integrating it into their products. Check out what Mozilla, Opera, Google Chrome, Adobe, and many others below have to say about the importance of WebM to the future of web video.


    Telestream