Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (93)

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

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (10962)

  • Why is exec('which ffmpeg') returning nothing in my application ?

    28 avril 2015, par EchoLogic

    I’m trying to deal with FFMpeg for my application, but I’m encountering some difficulty in getting it set up. To instantiate or create an instance of FFMpeg, I need to call a create() method and pass through the operating locations of FFMpeg and FFProbe. To do this, I was hoping to be able to write :

           $ffmpeg = FFMpeg\FFMpeg::create([
                   'ffmpeg.binaries' => exec('which ffmpeg'),
                   'ffprobe.binaries' => exec('which ffprobe')
           ]);

    But, sadly, the command exec('which ffmpeg') returns an empty string. If I run the ’which ffmpeg’ command in Terminal, I get a response :

    /usr/local/bin/ffmpeg

    So why does it work in my terminal, but not when my PHP script tries to execute it ?

    I’ve tried a few solutions, such as appending 2>&amp;1 to the end of the command, which did not help, running the command in shell_exec(), and placing the output in the second parameter of exec() which also did not solve my issue.

    I feel like this may be some sort of weird permissions issue...

    Addendum

    It has been brought to my attention that PHP cannot see my $PATH variable. From the console, echo $PATH produces :

    /Applications/MAMP/bin/php/php5.6.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:‌​/sbin:/opt/X11/bin:/usr/local/git/bin:/opt/ImageMagick/bin

    While calling the same from my application with exec() produces :

    /usr/bin:/bin:/usr/sbin:/sbin237.671000
  • Multiple mdhd ? Error while processing Video

    10 mai 2024, par Kaunain

    I am facing a weird error in FFMPG while doing any operation of a particular video. I did a lot of R&D but did not found any solution regarding this. Can anyone of you please look into it, it will be so kind.

    &#xA;

    here is a command i am using to mute the video, but end up with the following error.

    &#xA;

    fun videoMuteCmd(&#xA;    filePath: Uri,&#xA;    outputPath: String,&#xA;): Array<string> {&#xA;    return arrayOf(&#xA;        "-y", "-i", filePath.toString(),&#xA;       &#xA;        "-c", "copy", "-an", outputPath&#xA;    )&#xA;}&#xA;</string>

    &#xA;

    ERROR

    &#xA;

    &#xA;

     : LogMessageexecutionId=3010, level=AV_LOG_ERROR,&#xA;text='[mov,mp4,m4a,3gp,3g2,mj2&#xA;@ 0xb400007c1243e000] Multiple mdhd ?&#xA;'

    &#xA;

     : LogMessageexecutionId=3010, level=AV_LOG_ERROR,&#xA;text='[mov,mp4,m4a,3gp,3g2,mj2&#xA;@ 0xb400007c1243e000] error reading header&#xA;'

    &#xA;

    LogMessageexecutionId=3010, level=AV_LOG_ERROR,&#xA;text='/storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp&#xA;Video/VID-20240510-WA0037.mp4 : Invalid data found when&#xA;processing input&#xA;'

    &#xA;

    &#xA;

    Please look into this error and please suggest the possible fix.

    &#xA;

  • ffmpeg input stream's fps detection bug [closed]

    10 mai 2024, par I have 10 fingers

    I have ffmpeg setup which produces rtmp stream from remote rtsp stream. The rtsp stream comes from ip camera which support multiple profiles. Each profile has 1080p 30 fps, 1080p 15 fps.

    &#xA;

    The weird thing is that when ffmpeg analyze its input stream, one profile is recognized as 1 fps as below

    &#xA;

    Input #0, rtsp, from &#x27;rtsp://...&#x27;:&#xA;  Metadata:&#xA;    title           : Media Presentation&#xA;    comment         : samsung&#xA;  Duration: N/A, start: 0.064144, bitrate: N/A&#xA;    Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 1 fps, 1 tbr, 90k tbn, 2 tbc&#xA;    Stream #0:1: Data: none&#xA;Output #0, flv, to &#x27;rtmp:...&#x27;:&#xA;  Metadata:&#xA;    title           : Media Presentation&#xA;    comment         : samsung&#xA;    encoder         : Lavf58.29.100&#xA;    Stream #0:0: Video: h264 (High) ([7][0][0][0] / 0x0007), yuvj420p(pc, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1 fps, 1 tbr, 1k tbn, 90k tbc&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;

    &#xA;

    And when it is played the tbr is 30 i think it means the real fps from video stream is 30.

    &#xA;

    The other stream is normal 30 fps input 30 fps. I want to know what cause this fps detection bug ?

    &#xA;