Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (14984)

  • 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>&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.

    


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

    


    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;