Recherche avancée

Médias (91)

Autres articles (53)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

Sur d’autres sites (9476)

  • PHP : ffmpeg joining videos

    16 août 2012, par ime.devdesks

    I use the following code for joining two flv files into one flv file (output.flv), i use this reference for joining...

    $a1 = 'Test1.flv';
    $a2 = 'Test2.flv';

    $b1 = $temp_vid_dir.'aaa1.mpg';
    $b2 = $temp_vid_dir.'bbb1.mpg';
    $b3 = $temp_vid_dir.'cccc_all.mpg';
    $b4 = $temp_vid_dir.'output.flv';


    $cmd = $ffmpeg ." -i ".$a1." -qscale:v 1 " . $b1 ." 2>&1";
    exec($cmd, $out, $var);

    $cmd = "$ffmpeg -i ". $a2 ." -qscale:v 1 ". $b2 ." 2>&1";
    exec($cmd, $out, $var);

    $cmd = $ffmpeg ." -i concat:'$b1|$b2' -c copy $b3 2>&1";
    exec($cmd, $out, $var);

    $cmd = "$ffmpeg -i $b3 -qscale:v 2 $b4";
    exec($cmd, $out, $var);

    but it gives me error on first command

    ffmpeg : unrecognized option 'qscale:v'

    then when i remove the ":v" from command its ok, and create the ".mpg" file, but then it doest not go further. And give me below error on third command :

    'bbb1.mpg'' is not recognized as an internal or external command,

    I am now stuck here and don't know how to execute ffmpeg command for joining videos, any help will be highly appreciated.

  • avcodec/nvdec : Make vp8 initialisation more 'compatible'

    27 novembre 2017, par Philip Langdale
    avcodec/nvdec : Make vp8 initialisation more 'compatible'
    

    Ancient versions of gcc (pre 4.6) can't directly initialise
    members of anonymous inner unions/structs by name.

    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676

    Unfortunately, RHEL 6 shipped with one of these ancient
    versions and so we're stuck with it until approximately the
    heat death of the universe.

    Putting explicit braces into the initialisation is possibly a
    work-around but the behaviour there was never fully understood
    before direct initialisation was made to work.

    So, this may or may not work.

    • [DH] libavcodec/nvdec_vp8.c
  • FFMPEG Encryption failed

    20 décembre 2019, par Ale

    I’m a newbie and I’m trying to encrypt an HLS file with FFmpeg. i’ve already installed FFmpeg and Openssl.
    First I created the key with : openssl rand 16 > enc.key
    Then I generated an IV with : openssl rand -hex 16
    After that, I wrote a key info file with my Notepad to point FFMpeg (-hls_key_info_file). It has the following format :

    Key URI

    Path to key file

    IV (optional)

    Eg :

    http://example.com/enc.key

    C :\Users\enc.key

    IV Number

    And I save this file in the same folder as the enc.key file.

    Then i run this command :

    ffmpeg -y \
       -i sample.mov \
       -hls_time 9 \
       -hls_key_info_file enc.keyinfo
       -hls_playlist_type vod \
       -hls_segment_filename "fileSequence%d.ts" \
       prog_index.m3u8

    But I keep getting the following error :

    error opening key info file enc.keyinfo. Could not write header for output file #0 (incorrect codec parameters ?) : No such file or directory. Error initializing output stream 0:1 — [aac @ 0000000002f900c0] Qavg : nan Conversion failed !

    I’m stuck, and I don’t know what I’m doing wrong.
    Thanks