Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (43)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

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

  • How to set up a cron job for ffmpeg in centOS 6

    9 mars 2018, par user27240

    I can convert from mp4 file to jpg file manually one by one with the below command on centOS 6 environment.

    Now, could anyone help me out how to set up a cron for any mp4 file in the directory to be converted automatically
    to jpg file with the same file name as mp4 file such as 03052022_5a9d28723d2da.jpg for the below environment ?

    OS:centos-6 (x86_64)

    ffmpeg version 2.2.2

    Plesk 17.0.17

    [root@server-xxxxxxxx-x ~]# ffmpeg -i                                \
     /var/www/vhosts/xxxxx.com/httpdocs/save/03052022_5a9d28723d2da.mp4 \
     /var/www/vhosts/xxxxx.com/httpdocs/save/03052022_5a9d28723d2da.jpg

    With ’s/.conf$/.jpg/p’ :

    [root@server-xxxxxx-x ~]# for i in `find /var/www/vhosts/xxxxxx.com/httpdocs/save/ -type f -name "*.mp4"`; do ffmpeg -i $i `echo $i | sed -En 's/.conf$/.jpg/p'`; done

    ffmpeg version 2.2.2 Copyright (c) 2000-2014 the FFmpeg developers
    built on Feb 21 2018 03:03:24 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18)
    configuration :
    libavutil 52. 66.100 / 52. 66.100
    libavcodec 55. 52.102 / 55. 52.102
    libavformat 55. 33.100 / 55. 33.100
    libavdevice 55. 10.100 / 55. 10.100
    libavfilter 4. 2.100 / 4. 2.100
    libswscale 2. 5.102 / 2. 5.102
    libswresample 0. 18.100 / 0. 18.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/var/www/vhosts/xxxxxx.com/httpdocs/save/03081956_5aa116c836015.mp4’ :
    Metadata :
    major_brand : mp42
    minor_version : 0
    compatible_brands : isommp42
    creation_time : 2018-02-14 04:42:34
    Duration : 00:00:00.83, start : 0.000000, bitrate : 23270 kb/s
    Stream #0:0(eng) : Video : h264 (Baseline) (avc1 / 0x31637661), yuvj420p(pc, smpte170m), 1920x1080, 25370 kb/s, SAR 65536:65536 DAR 16:9, 29.73 fps, 30 tbr, 90k tbn, 180k tbc (default)
    Metadata :
    rotate : 90
    creation_time : 2018-02-14 04:42:34
    handler_name : VideoHandle
    Stream #0:1(eng) : Audio : aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default)
    Metadata :
    creation_time : 2018-02-14 04:42:34
    handler_name : SoundHandle
    At least one output file must be specified
    Conversion failed !

    With "s/.conf$/.jpg/p" :

    [root@server-xxxxxxx-x ~]# for i in `find /var/www/vhosts/xxxxxx.com/httpdocs/save/ -type f -name "*.mp4"`; do ffmpeg -i $i `echo $i | sed -En "s/.conf$/.jpg/p"`; done

    ffmpeg version 2.2.2 Copyright (c) 2000-2014 the FFmpeg developers
    built on Feb 21 2018 03:03:24 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18)
    configuration :
    libavutil 52. 66.100 / 52. 66.100
    libavcodec 55. 52.102 / 55. 52.102
    libavformat 55. 33.100 / 55. 33.100
    libavdevice 55. 10.100 / 55. 10.100
    libavfilter 4. 2.100 / 4. 2.100
    libswscale 2. 5.102 / 2. 5.102
    libswresample 0. 18.100 / 0. 18.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/var/www/vhosts/xxxxxx.com/httpdocs/save/03081956_5aa116c836015.mp4’ :
    Metadata :
    major_brand : mp42
    minor_version : 0
    compatible_brands : isommp42
    creation_time : 2018-02-14 04:42:34
    Duration : 00:00:00.83, start : 0.000000, bitrate : 23270 kb/s
    Stream #0:0(eng) : Video : h264 (Baseline) (avc1 / 0x31637661), yuvj420p(pc, smpte170m), 1920x1080, 25370 kb/s, SAR 65536:65536 DAR 16:9, 29.73 fps, 30 tbr, 90k tbn, 180k tbc (default)
    Metadata :
    rotate : 90
    creation_time : 2018-02-14 04:42:34
    handler_name : VideoHandle
    Stream #0:1(eng) : Audio : aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default)
    Metadata :
    creation_time : 2018-02-14 04:42:34
    handler_name : SoundHandle
    At least one output file must be specified
    Conversion failed !

    With "s/.mp4$/.jpg/p"

    [root@server-xxxxx-x ~]# for i in `find /var/www/vhosts/xxxxxx.com/httpdocs/save/ -type f -name "*.mp4"`; do ffmpeg -i $i `echo $i | sed -En "s/.mp4$/.jpg/p"`; done

    [image2 @ 0x2c488e0] Could not get frame filename number 2 from pattern ’/var/www/vhosts/xxxxxx.com/httpdocs/save/03100013_5aa2a49bb67bc.jpg’ (either set updatefirst or use a pattern like %03d within the filename pattern)
    av_interleaved_write_frame() : Invalid argument
    frame= 2 fps=0.0 q=3.2 Lsize=N/A time=00:00:00.06 bitrate=N/A
    video:289kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead -100.007446%
    Conversion failed !

  • cbs_h264 : Fix overflow in shifts

    11 mars 2018, par Mark Thompson
    cbs_h264 : Fix overflow in shifts
    

    The type of the result of a shift operation is unaffected by the type of
    the right operand, so some existing code overflows with undefined behaviour
    when the element length is 32. Add a helper macro to calculate the maximum
    value correctly and then use it everywhere this pattern appears.

    Found-by : Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>

    • [DH] libavcodec/cbs_h264_syntax_template.c
    • [DH] libavcodec/cbs_internal.h
  • avformat/libopenmpt : Probe file format from file data if possible

    21 février 2018, par Jörn Heusipp
    avformat/libopenmpt : Probe file format from file data if possible
    

    When building with libopenmpt 0.3, use the libopenmpt file header
    probing functions for probing. libopenmpt probing functions are
    allocation-free and designed to be as fast as possible.

    For libopenmpt 0.2, or when libopenmpt 0.3 file header probing cannot
    probe successfully due to too small probe buffer, test the filename
    against the file extensions supported by the libopenmpt library that
    is actually linked, instead of relying on a hard-coded file extension
    list. File extension testing is also allocation-free and designed to
    be fast in libopenmpt. Avoiding a hard-coded file extension list is
    useful because later libopenmpt versions will likely add support for
    more module file formats.

    libopenmpt file header probing is tested regularly against the FATE
    suite and other diverse file collections by libopenmpt upstream in
    order to avoid false positives.

    FATE passes with './configure —enable-libopenmpt' as well as with
    './configure —enable-libopenmpt —enable-libmodplug'.

    libopenmpt probing adds about 5%..10% cpu time (depending on precise
    usage pattern and host CPU and compiler version used for libopenmpt)
    compared to all current internal FFmpeg probing functions combined in
    tools/probetest for all of its module formats combined (currently 41
    modules formats in libopenmpt 0.3.4 and 234 file formats in FFmpeg).

    Signed-off-by : Jörn Heusipp <osmanx@problemloesungsmaschine.de>
    Reviewed-by : Josh de Kock <josh@itanimul.li>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/libopenmpt.c