Recherche avancée

Médias (91)

Autres articles (50)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (8927)

  • ffmpeg reverse video resolution after compression

    30 août 2018, par Mehran

    I’m trying to compress a video to mp4 format with ffmpeg.

    With scale filter :

    cmd = "-i, "+in+" -vf scale=480:-2,setsar=1:1, "+out;

    Or as simple as this :

    cmd = "-i, "+in+" "+out;

    If I try this command, the outPut will be fine in many players like potPlayer(win) or mxPlayer(android), But in some players like kmPlayer.v3(win) it’s stretched. with or without scale filter.

    I tried the same video compression with Handbrake so I find out there is nothing wrong with my player.

    The result is the same with all videos that I compressed with ffmpeg library

    And there is another problem which is more annoying, the outPut video resolution gets reversed. for Example :

    Input : w1280 h720

    Output : w720 h1280

    I googled a lot but I found nothing.

  • How to Re-stream SDP as RTSP (at smaller resolution) using ffmpeg

    6 avril 2018, par mikeyb976

    I have an existing rtp stream (720p) via SDP which I would like to restream as RTSP as 360p resolution.

    I’ve been able to restream the sdp as rtsp successfully, using the command below :

    ffmpeg -protocol_whitelist file,udp,rtp -re -i mike1.sdp -c:v libx264 -s 640x360 -f rtsp -muxdelay 0.1 rtsp ://[username] :[password]@127.0.0.1:1935/live/myStream

    and my local wowser streaming server recognises the stream source as rtsp. I can also playback the video using a small c# project that implements vlc.dotnet.wpf player control. I just inject the rtsp url into it, and it loads.

    What I don’t know, is How can I create the rtsp stream so that it is at a lower resolution of 360p. (the source is 720p)

    Any help is much appreciated

  • using ffmpeg to record highest resolution offered by Facetime cameras (mac)

    15 juin 2018, par user1361529

    I am using the following code successfully to record a video feed from my mac

    ./ffmpeg -f avfoundation -framerate 30  -i "default" out.mp4

    This however seems to be recording video at the lowest resolution of 320x200

    My camera supports the following resolutions :

    [avfoundation @ 0x7ff7b2800000] Supported modes:
    [avfoundation @ 0x7ff7b2800000]   1280x720@[1.000000 30.000000]fps
    [avfoundation @ 0x7ff7b2800000]   640x480@[1.000000 30.000000]fps
    [avfoundation @ 0x7ff7b2800000]   320x240@[1.000000 30.000000]fps

    I tried manually specifying the resolution using both -s and -video_size but that seems to just scale up the low res video.

    How do I get ffmpeg to pick my 1280x720 resolution ?

    thanks