Recherche avancée

Médias (91)

Autres articles (97)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

Sur d’autres sites (7436)

  • Efficiently write a movie directly from np.array using pipes

    16 juin 2017, par Matt Billman

    I have a 4D numpy array of movie frames. I’m looking for a function to write them to a movie, at a given framerate. I have FFMPEG installed on my OS, and as I can see from these answers, the most efficient way to do so is via pipes.

    However, I have very little experience using pipes, and the explanations in the link above make little sense to me. Furthermore, very few of the answers seem actually implement pipes, and the one that does uses mencoder, not FFMPEG. I am relatively inexperienced with FFMPEG, so am not sure how to modify the command string from the mencoder answer to make it work in FFMPEG.

    WHAT I WOULD LIKE :

    A function of the following form :

    animate_np_array(4d_array, framerate) -> output.mp4 (or other video codec)

    Which implements pipes to send frames one after the other to FFMPEG, and which I can copy-paste into my existing code.

    Furthermore, it is absolutely necessary that this function never actually plots any of the frames, as calls to the matplotlib.imshow() function (as I have most typically seen used) slow things down considerably.

  • MPEG-DASH MPD file not playing correctly

    24 juin 2017, par CMOS

    So I am working on generating a very simple MPD manifest file for my MPEG-DASH videos and I cannot figure out what is wrong. Here is my current manifest file

    <?xml version="1.0" ?>
    <mpd xmlns="urn:mpeg:dash:schema:mpd:2011" minbuffertime="PT1.500S" type="static" mediapresentationduration="PT0H9M21.795S" maxsegmentduration="PT0H0M1.001S" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011">
       <period>
           <baseurl>https://mysite/uploads/sources/resolution_640/bitrate_1400/</baseurl>
           <adaptationset mimetype="video/mp4">
               <contentcomponent contenttype="video"></contentcomponent>
               <representation bandwidth="1400000">
                 <segmentlist duration="119">
                   <initialization sourceurl="https://mysite/uploads/sources/resolution_640/bitrate_1400/640x360_1400Kpbs_0.mp4"></initialization>
                   <segmenturl media="https://mysite/uploads/sources/resolution_640/bitrate_1400/640x360_1400Kpbs_1.mp4"></segmenturl>
                   <segmenturl media="https://mysite/uploads/sources/resolution_640/bitrate_1400/640x360_1400Kpbs_2.mp4"></segmenturl>
                   <segmenturl media="https://mysite/uploads/sources/resolution_640/bitrate_1400/640x360_1400Kpbs_3.mp4"></segmenturl>
                 </segmentlist>
               </representation>
           </adaptationset>
       </period>
    </mpd>

    This MPD file validates using every validator I can find. The urls for the segments are obscured for security reasons but they are all open, public and viewable individually. But when I try to run the manifest file, depending on the player I get. "No supported source found within manifest" or simply nothing happens.

    Any idea how this could be wrong ? I am currently using media url’s as absolute paths but I have also tried paths relative to the BaseURL with no luck. Any info on how I can make a very simple MPEG-Dash manifest structure would be great. I am using FFMPEG to split my video up into 150 frame segments. Thanks !

  • Error while opening encoder for output stream #0:0

    26 août 2017, par Celestine Timmy

    I can’t play a video using clipbucket after installation, getting conversion status as completed but while playing the video I get an message as "not available"

    Conversion file

    Checking File ....
    File : /var/www/html/files/conversion_queue/14958856828d300.mp4
    File Exists : Yes

    Preparing file...
    format : mov,mp4,m4a,3gp,3g2,mj2

    duration : 62.09

    size : 4480694

    bitrate : 577316

    video_width : 640

    video_height : 360

    video_wh_ratio : 1.7777777777778

    video_codec : h264

    video_rate : 23.976023976024

    video_bitrate : 479302

    video_color : N/A

    audio_codec : aac

    audio_bitrate : 95999

    audio_rate : 44100

    audio_channels : 2

    path : /var/www/html/files/conversion_queue/14958856828d300.mp4

    rotation : 0

    ======Converting Video=========

    Starting : Thumbs Generation


    =======Low Resolution Conversion=======


    Sarting : Generating Low resolution video @ 2017-05-27 17:18:11

    Converting Video SD File

    Command : /usr/local/bin/ffmpeg -i /var/www/html/files/conversion_queue/14958856828d300.mp4 -vcodec flv -acodec libmp3lame -s 640x360 -preset medium -f mp4 -b:v 512000 -minrate 512000 -maxrate 512000 -b:a 128000 -minrate 128000 -maxrate 128000 -r 25 -ar 22050 /var/www/html/files/videos/2017/05/27/14958856828d300-sd.mp4

    ffmpeg output : ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
    configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libdc1394 --enable-libfaac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
    libavutil 54. 20.100 / 54. 20.100
    libavcodec 56. 26.100 / 56. 26.100
    libavformat 56. 25.101 / 56. 25.101
    libavdevice 56. 4.100 / 56. 4.100
    libavfilter 5. 11.102 / 5. 11.102
    libavresample 2. 1. 0 / 2. 1. 0
    libswscale 3. 1.101 / 3. 1.101
    libswresample 1. 1.100 / 1. 1.100
    libpostproc 53. 3.100 / 53. 3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/html/files/conversion_queue/14958856828d300.mp4':
    Metadata:
    major_brand : mp42
    minor_version : 0
    compatible_brands: isommp42
    creation_time : 2016-03-17 10:27:42
    Duration: 00:01:02.09, start: 0.000000, bitrate: 577 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 640x360 [SAR 1:1 DAR 16:9], 479 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
    handler_name : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default)
    Metadata:
    creation_time : 2016-03-17 10:27:42
    handler_name : IsoMedia File Produced by Google, 5-11-2011
    Codec AVOption preset (Set the encoding preset (cf. x264 --fullhelp)) specified for output file #0 (/var/www/html/files/videos/2017/05/27/14958856828d300-sd.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
    [flv @ 0x2506080] Either both buffer size and max rate or neither must be specified
    Output #0, mp4, to '/var/www/html/files/videos/2017/05/27/14958856828d300-sd.mp4':
    Metadata:
    major_brand : mp42
    minor_version : 0
    compatible_brands: isommp42
    Stream #0:0(und): Video: flv1, none, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 25 fps (default)
    Metadata:
    handler_name : VideoHandler
    encoder : Lavc56.26.100 flv
    Stream #0:1(eng): Audio: mp3, 0 channels, 128 kb/s (default)
    Metadata:
    creation_time : 2016-03-17 10:27:42
    handler_name : IsoMedia File Produced by Google, 5-11-2011
    encoder : Lavc56.26.100 libmp3lame
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> flv1 (flv))
    Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height


    Sarting : MP4Box Conversion for SD

    MP4Box Command : /usr/local/bin/MP4Box -inter 0.5 /var/www/html/files/videos/2017/05/27/14958856828d300-sd.mp4 -tmp /var/www/html/files/temp

    output : Error opening file /var/www/html/files/videos/2017/05/27/14958856828d300-sd.mp4: IsoMedia File is truncated


    Conversion Status : Successful @ 2017-05-27 17:18:11


    output_format : mov,mp4,m4a,3gp,3g2,mj2

    output_duration : 62.09

    output_size : 4480694

    output_bitrate : 577316

    output_video_width : 640

    output_video_height : 360

    output_video_wh_ratio : 1.7777777777778

    output_video_codec : h264

    output_video_rate : 23.976023976024

    output_video_bitrate : 479302

    output_video_color : N/A

    output_audio_codec : aac

    output_audio_bitrate : 95999

    output_audio_rate : 44100

    output_audio_channels : 2

    output_path : /var/www/html/files/conversion_queue/14958856828d300.mp4

    output_rotation : 0


    Time Took : 9.2965 seconds

    conversion_status : completed


    **Error Messages**

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    output : Error opening file /var/www/html/files/videos/2017/05/27/14958856828d300-sd.mp4: IsoMedia File is truncated