Recherche avancée

Médias (0)

Mot : - Tags -/api

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (46)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (7421)

  • FFMPEG-PHP converted videos don't work on mobiles

    16 avril 2018, par casusbelli

    I’m working on a upload script where users can upload videos however I’m having an issue with FFMPEG-PHP : The converted videos don’t work on mobiles while they are working fine on desktop.

    //FFMPEG Instance
    require_once '/root/vendor/autoload.php';
    $ffmpeg = FFMpeg\FFMpeg::create();
    $video = $ffmpeg->open($temp_path);

    //WEBM Convert
    $format_webm = new FFMpeg\Format\Video\WebM();
    $video->save($format_webm, 'video.webm');

    //MP4 Convert
    $format_mp4 = new FFMpeg\Format\Video\X264();
    $format_mp4->setAudioCodec("libmp3lame");
    $video->save($format_mp4, 'video.mp4');

    Fatal error : Uncaught
    Alchemy\BinaryDriver\Exception\ExecutionFailureException : ffmpeg
    failed to execute command ’/usr/bin/ffmpeg’ ’-y’ ’-i’
    ’/var/www/html/v/temp/13759.mp4’ ’-vcodec’ ’libx264’ ’-acodec’ ’aac’
    ’-b:v’ ’1000k’ ’-refs’ ’6’ ’-coder’ ’1’ ’-sc_threshold’ ’40’ ’-flags’
    ’+loop’ ’-me_range’ ’16’ ’-subq’ ’7’ ’-i_qfactor’ ’0.71’ ’-qcomp’
    ’0.6’ ’-qdiff’ ’4’ ’-trellis’ ’1’ ’-b:a’ ’128k’ ’-pass’ ’1’
    ’-passlogfile’
    ’/tmp/ffmpeg-passes5ad4e29d1b71e6oveh/pass-5ad4e29d1b7b2’
    ’/var/www/html/v/13759.mp4’ in
    /root/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php:100\nStack
    trace :\n#0
    /root/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php(72) :
    Alchemy\BinaryDriver\ProcessRunner->doExecutionFailure(’’/usr/bin/ffmpe...’)\n#1
    /root/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/AbstractBinary.php(209) :
    Alchemy\BinaryDriver\ProcessRunner->run(Object(Symfony\Component\Process\Process),
    Object(SplObjectStorage), false) in
    /root/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Media/Video.php on line
    109

    Any help ?

  • ffmpeg : change command line option -dump to work without -loglevel debug

    10 décembre 2015, par Tom Marecek
    ffmpeg : change command line option -dump to work without -loglevel debug
    

    - hex and -dump command line options do nothing unless -loglevel debug is set.

    - dump by itself is useful for monitoring live streams (to get the current PTS for example) however when it is used with -loglevel debug for an RTMP stream, librtmp also dumps the packet data which makes the output too noisy.

    do_pkt_dump is only set in check_keyboard_interaction or by the -dump command line option so this change should have no effect on any other parts of the code..

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] ffmpeg.c
  • Why this simple video streaming scheme does not work ?

    8 août 2014, par Vi.

    I’ve tried setting up simple webm video streaming scheme, based on ffserver and <video></video> element :

    # relevant part of ffserver.conf
    <stream>
       Feed feed1.ffm

       Format webm
       VideoFrameRate 15
       AVOptionVideo flags +global_header
       VideoSize 640x480
       VideoCodec libvpx
       VideoBitRate 800
    NoAudio
    </stream>

    # ffmpeg command line
    ffmpeg -f rawvideo -s 640x480 -i /dev/zero -vb 100000  http://vsodo.vi-server.org:8090/feed1.ffm

    # video element
    <video controls="controls" autoplay="autoplay">
       <source src="http://vsodo.vi-server.org:8090/feed1.webm" type="video/webm"></source>
       Your browser does not support the video tag.
    </video>

    But it works only in few cases :

    • luakit - works (uses GStreamer) ;
    • uzbl - works ;
    • Firefox - fails (at least in versions 17, 24 and 26 and 31) ;
    • Chromium 31.0.1650.63 - fails ;
    • Google Chrome 27.0.1453.93 - fails ;
    • Built-in browser in Android 2.3 - fails.

    Failing browsers usually show the video length and the fact that there’s no audio track, but the video area stays black, not green as expected.

    This page lists "Partial support" or "Supported" for webm and video element. Usual players like VLC or mplayer work if specify http://vsodo.vi-server.org:8090/feed1.webm to them. Example video page also works (except of on Android 2.3).

    Why it can fail ? How do I troubleshoot browser-specific the <video></video> problems ?