Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (75)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (9285)

  • FFmpeg command works in terminal but gives an error in php code

    21 mai 2021, par Rider

    Use this command :

    


    ffmpeg -i lecture.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8


    


    It works.

    


    $path = '1/';
  $inputFile = 'lecture.mp4';
  $filePath = 'filename.m3u8';
  $commandOutput = exec ('/opt/ffmpeg/ffmpeg -I '.$path .$inputFile. ' -Codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls'.$path .$filePath);


    


    Using this PHP code I get the error : At least one output file must be specified

    


    What is causing this error ?

    


  • Start Android Java VM from native C code NDK (ffmpeg mediacodec use)

    19 avril 2021, par eusoubrasileiro

    I managed to cross-compile ffmpeg using the NDK for armv8a api 27 with MediaCodec hardware acceleration support.

    


    Using root after setting permissions, folders and setting properly LD_LIBRARY_PATH etc. I can run it without problems on a terminal session (ssh). Only if I don't try to use the -hwaccel option.

    


    If try to run something using -hwaccel, like :

    


    ffmpeg -rtsp_transport tcp -an -hwaccel mediacodec -c:v hevc_mediacodec -i rtsp://user:pass@192.168.0.100:554/onvif1 -f null - -benchmark


    


    I get the error bellow about No Java virtual machine.

    


    ...
Input #0, rtsp, from 'rtsp://user:pass@192.168.0.100:554/onvif1':
  Metadata:
    title           : H.265 Video, RtspServer_0.0.0.2
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: hevc (Main), yuv420p(tv, bt470bg), 1920x1080 [SAR 1:1 DAR 16:9], 10 fps, 10 tbr, 90k tbn, 10 tbc
    Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
[amediaformat @ 0x7e2ea27300] No Java virtual machine has been registered
[hevc_mediacodec @ 0x7e2eb44f00] Failed to create media format
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (hevc_mediacodec) -> wrapped_avframe (native))
Error while opening decoder for input stream #0:0 : Generic error in an external library


    


    Would it be possible to start (create or launch ?) the Dalvik Java VM directly from the C code ? I don't even know if those are correct terms. Make it visible for ffmpeg ?

    


    Any information that will help a Android Newbie get on his feet will be greatly appreciated. If that is possible I would write a little patch on the ffmpeg code.

    


    I really would not like to package this in an app only to be able to test around with this.

    


  • Anomalie #3851 : Référencer code.plugins.spip.net

    1er novembre 2016, par jluc -

    Bonne idée

    mais pour les pages de plugins.spip.net il y a plus simple que parser le .txt ou changer la DTD : tester si l’url de phpdoc existe : juste tester si http://code.plugins.spip.net/albums existe et ne renvoie pas une 404, et alors mettre le lien PHPDOC vers cettre url