Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (107)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (11494)

  • Evolution #4391 : Squelettes de la dist : améliorer le markup et passer à BEM

    18 octobre 2019

    Une remarque en passant : dans cette vidéo de Paris Web / Corinne Durrmeyer qui présente ITCSS, https://www.youtube.com/watch?v=Qmnw5HW7VFw&t=3790s ça parle (dans les questions) de BEMIT, qui propose de préfixer les classes CSS selon l’agencement ITCSS (o- pour objet, c- pour composant, ...).

    - https://csswizardry.com/2015/03/more-transparent-ui-code-with-namespaces/ (en)
    - https://csswizardry.com/2015/08/bemit-taking-the-bem-naming-convention-a-step-further/ (en)
    - https://www.bearstudio.fr/blog/bemit (fr)

  • ffmpeg is not creating screenshot from video

    1er décembre 2014, par hitesh

    I need to create a screen shot from video,

    I have followed this tutorial to do the intial setup

    1) I downloaded the ffmpeg from here -[
    http://ffmpeg.zeranoe.com/builds/ ] for 64 bit operating system.

    2) I followed the https://www.youtube.com/watch?v=gU49GiWGGAI , video and did all configuration successfully and phpinfo() shows that ffmpeg has been installed.

    3) Then I tried this to find out whether it is working or not,

    It worked successfully

    4) Next I followed this video tutorial here , but for some reason video thumbnails are not created.

    Not able to find the problem, I don’t see any error also.

    below is my code

    /**
    * FFMPEG-PHP Test Script
    *
    * Special thanks to http://www.sajithmr.me/ffmpeg-sample-code for this code example!
    * See the tutorial at http://myownhomeserver.com on how to install ffmpeg-php.
    */
    error_reporting(1);
    error_reporting(E_ALL ^ E_NOTICE);
    // Check if the ffmpeg-php extension is loaded first
    extension_loaded('ffmpeg') or die('Error in loading ffmpeg');

    // Determine the full path for our video
    $vid = realpath('./videos/myvideo.mp4');
    $videosize = filesize($vid);
    $remoteVideo = 'http://video-js.zencoder.com/oceans-clip.mp4';

    //ffmpeg

    $ffmpeg = dirname(__FILE__) . "\bin\\ffmpeg";
    $imageFile = "1.png";
    $image2 = "2.png";
    $size = "120x90";
    $getfromsecond = 7;
    $cmd = "$ffmpeg -i $vid -an -ss $getfromsecond -s $size $imageFile";
    $cmd2 = "$ffmpeg -i $remoteVideo -an -ss $getfromsecond -s $size $image2";
    if(!shell_exec($cmd)){
       echo "Thumbnail created";
    }else{
       echo "Error Creating thumbnail";
    }

    if(!shell_exec($cmd2)){
       echo "Thumbnail for remote url was created";
    }else{
       echo "Error Creating thumbnail for remote url ";
    }

     OUTPUT
       Thumbnail created
       Thumbnail for remote url was created

    Please help me solve this issue.

  • garbled audio when streaming to youtube using ffmpeg

    27 mai 2022, par skavish

    I am having some weird audio issues streaming to youtube using ffmpeg.

    


    The same stream on facebook and twitch is fine, but on youtube it has some garbling audio issues.

    


    Here is one of those streams : https://www.youtube.com/watch?v=zat4fhwFGUI

    


    Here is ffmpeg command which was used to stream this video. I removed input, output key and inserted newlines for readability.

    


    This command is streaming to youtube (last tee), to hls (first) and to mp4 (second). hls and mp4 do not have this audio issue. Also no issues if we add another tee to stream say to facebook as well.

    


    It happens only with youtube.

    


    I would appreciate any help or ideas on what is going on there. Thank you !

    


    ffmpeg -i XXXXXXXXXX -r 30 -preset ultrafast -tune zerolatency -threads 0 -vsync 1 -map 0:v -c:v libx264 -crf 23 -g 60.0 -sc_threshold 0 -keyint_min 60.0
-pix_fmt yuv420p -map 1:a:0 -c:a:0 aac -b:a:0 128k -ac 2 -ar 44100 -aq 0 -flags +global_header
-f tee
[f=hls:var_stream_map='v:0,a:0':select='v:0,a:0':hls_time=2.0:hls_playlist_type=event:
hls_flags=independent_segments+temp_file:master_pl_publish_rate=1:hls_segment_type=mpegts:hls_segment_filename=/tmp/10311326958150343888/stream_%v_%02d.ts:
master_pl_name=master.m3u8]/tmp/10311326958150343888/stream_%v.m3u8|

/tmp/10311326958150343888/stream.mp4|

[f=fifo:fifo_format=flv:recover_any_error=0:drop_pkts_on_overflow=1:attempt_recovery=1:recovery_wait_time=1:max_recovery_attempts=100:
onfail=ignore:format_opts=flvflags=no_duration_filesize]rtmp://a.rtmp.youtube.com/live2/xxxxxxxxxxxxxxx