Recherche avancée

Médias (91)

Autres articles (32)

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

  • avformat/utils : Remove redundant save+restore

    8 octobre 2019, par Andreas Rheinhardt
    avformat/utils : Remove redundant save+restore
    

    If the size of the input packet is zero, av_grow_packet() used to call
    av_new_packet() which would initialize the packet and (in particular)
    reset the pos field. This behaviour (which was never documented and
    arguably always contradicted the documented behaviour) was changed in
    2fe04630. This means that it is unnecessary to save and restore the
    packet's position in append_packet_chunked().

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/utils.c
  • how do I save the videos in an specific bitrate using ffmpeg ?

    15 mai 2022, par david

    I am trying to save some videos in specific bitrate (8000k) and for this, I used the following code :

    &#xA;

    ffmpeg  -i  input_1080p60  -c:v  libx264 -pix_fmt yuv420p  -b:v 8000K -bufsize 8000K -minrate 8000K -maxrate 8000K -x264opts keyint=120:min-keyint=120 -preset veryfast -profile:v high out_1080p.264&#xA;

    &#xA;

    but after saving the videos, I find out each video has a different bitrate except 8000k ( for example 5000k, 6000k, 7500k,...). but I define the minrate 8000k. do you know what is the problem and how can I force the above code to have the specific bitrate ? Thank you.

    &#xA;

  • php ffmpeg cannot save video to system temporary folder

    28 mai 2024, par user2818066

    I am trying to covert a video to h.264 format. I can save the new video to a normal directory but saving the new video to a Windows temp file fails. However I can manage to save a snapshot image from the video into Windows temp folder without problem. I cannot figure out what is the problem ?

    &#xA;

    require_once(dirname(__FILE__).&#x27;/../vendor/autoload.php&#x27;);&#xA;&#xA;function get_ffmpeg_exe_path_arr_def(){ &#xA;  return( array( &#x27;ffmpeg.binaries&#x27;  => "C:/bin/ffmpeg.exe",&#xA;                 &#x27;ffprobe.binaries&#x27; => "C:/bin/ffmpeg.exe",&#xA;                 &#x27;timeout&#x27; => 3600000000, &#x27;ffmpeg.threads&#x27; => 12&#xA;                )   )  ;  &#xA;}&#xA;&#xA;$vid_inp = &#x27;C:/Users/Jordan/Downloads/motorboat_org.mp4&#x27; ; &#xA;$vid_out = &#x27;C:/Users/Jordan/Downloads/motorboat_9.mp4&#x27; ;&#xA;$tmp_vid_out_file = tempnam(sys_get_temp_dir(), "Vid") ; //C:\Windows\Temp\VidA318.tmp &#xA;$tmp_img_file = tempnam(sys_get_temp_dir(), "Img") ; //C:\Windows\Temp\ImgA234.tmp&#xA;&#xA;&#xA;$ffmpeg = FFMpeg\FFMpeg::create( get_ffmpeg_exe_path_arr_def() );&#xA;$video = $ffmpeg->open($vid_inp);&#xA;$format = new FFMpeg\Format\Video\X264(&#x27;aac&#x27;, &#x27;libx264&#x27;);&#xA;&#xA;$video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(0.2))->save($tmp_img_file);&#xA;// Ok to save snapshot image to  C:\Windows\Temp\ImgA234.tmp &#xA;&#xA;$video->save($format, $vid_out); &#xA;// This is ok to save video to  C:/Users/Jordan/Downloads/motorboat_9.mp4&#xA;&#xA;$video->save($format, $tmp_vid_out_file); &#xA;// This fails to save new video to   C:\Windows\Temp\VidA318.tmp  &#xA;&#xA;&#xA;&#xA; -------  Error Message -----&#xA;    Fatal error: Uncaught exception &#x27;Alchemy\BinaryDriver\Exception\ExecutionFailureException&#x27; with message &#xA;&#x27;ffmpeg failed to execute command "C:\AppServ\www/ecity/bin/windows/ffmpeg.exe" -y -i &#xA;"C:/Users/Jordan/Downloads/motorboat_org.mp4" &#xA;-threads 12 -vcodec libx264 -acodec aac -b:v 1000k &#xA;-refs 6 -coder 1 -sc_threshold 40 -flags &#x2B;loop &#xA;-me_range 16 -subq 7 -i_qfactor 0.71 -qcomp 0.6 &#xA;-qdiff 4 -trellis 1 -b:a 128k -pass 1 -passlogfile &#xA; "C:\WINDOWS\TEMP\ffmpeg-passes66557e75d5e53hbzbo/pass-66557e75d6e0b" C:\Windows\Temp\VidEA8F.tmp: &#xA;Error Output: ffmpeg version 4.3.2-2021-02-27-full_build-www.gyan.dev Copyright (c) 2000-2021 &#xA;the FFmpeg developers built with gcc 10.2.0 &#xA;(Rev6, Built by MSYS2 project) configuration: &#xA;--enable-gpl --enable-version3 --enable-static &#xA;--disable-w32threads --disable-autodetect &#xA;--enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma &#xA;--enable-libsnappy --enable-zlib --enable-libsrt &#xA;--enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-li in C:\AppServ\www\ecity\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Media\AbstractVideo.php on line 106&#xA;

    &#xA;