Recherche avancée

Médias (91)

Autres articles (92)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (15615)

  • Extend + scale a portrait video so the aspect ratio stays and the black borders become a blurry version of the video

    24 avril 2017, par P. Dee

    I have a 720 x 1280 pixels video. How do I extend and scale it to 1920 x 1080 such that the aspect ratio is being kept and the black borders are a blurry version of the video, so you don’t really notice that it’s just a small vertical stripe.

    Example

    enter image description here

    enter image description here

    I started with

    ffmpeg -i video720x1280.mp4 -vf "scale=608:1080,pad=width=1920:height=1080:x=656:y=0:color=black" video1920x1080.mp4
  • Add a fixed size image on a video, regardless of the video width & height FFMPEG [duplicate]

    30 juillet 2017, par Rita

    This is my code that that is use is following

    $info = pathinfo($file) ;
    $out = "$info[’dirname’]/ss_$info[’basename’]" ;
    exec("ffmpeg -i ’".$file."’ -i ’".SS_ROOT."".$ss->settings[’watermark_image’]."’ -filter_complex ’overlay=main_w-overlay_w-10:main_h-overlay_h-10’ ’".$out."’") ; 

    that works very well, but it doesn’t keep the logo aspect ratio. I tried this code on two videos with different resolution and this is the result

  • FFmpeg Dropping Aspect Ratio on FLV Output

    16 septembre 2017, par Mike B

    I am having an issue with FFmpeg dropping the aspect ratio when converting a 1920x1080 stream to a lower resolution (please see below for more information). The objective is to take the output from TVHeadend and convert it to a FLV format that I can stream outside of my house.

    ffmpeg -c:v mpeg2_mmal -i http://192.168.1.142:9981/stream/channelnumber/10.1?profile=pass -c:a libfdk_aac -profile:a aac_he_v2 -b:a 32k -ac 2 -async 48000 -c:v h264_omx -b:v 1800k -sws_flags fast_bilinear -vf scale=720:540 -keyint_min 0 -g 100 -f flv rtmp://192.168.1.110:1935/live/test

    This produces the following onscreen output :

    Output #0, flv, to 'rtmp://192.168.1.110:1935/live/test':
     Metadata:
       encoder         : Lavf57.82.100
       Stream #0:0: Video: h264 (h264_omx) ([7][0][0][0] / 0x0007), yuv420p, 720x540 [SAR 4:3 DAR 16:9], q=2-31, 1800 kb/s, 29.97 fps, 1k tbn, 29.97 tbc
       Metadata:
         encoder         : Lavc57.105.100 h264_omx
       Stream #0:1(eng): Audio: aac (libfdk_aac) (HE-AACv2) ([10][0][0][0] / 0x000A), 48000 Hz, stereo, s16, 32 kb/s
       Metadata:
         encoder         : Lavc57.105.100 libfdk_aac

    Based on the onscreen output, it appears that that SAR and DAR are correct. It is only when you examine the actual files that the aspect ratio has been dropped.

    Input #0, hls,applehttp, from 'http://192.168.1.110:8080/live/test/index.m3u8':
     Duration: N/A, start: 109.116000, bitrate: N/A
     Program 0
       Metadata:
         variant_bitrate : 0
       Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 720x540, 29.97 tbr, 90k tbn, 180k tbc
       Metadata:
         variant_bitrate : 0
       Stream #0:1: Audio: aac (HE-AACv2) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
       Metadata:
         variant_bitrate : 0

    I modified the command to instead save to a local MP4 file :

    ffmpeg -c:v mpeg2_mmal -i http://192.168.1.142:9981/stream/channelnumber/10.1?profile=pass -c:a libfdk_aac -profile:a aac_he_v2 -b:a 32k -ac 2 -async 48000 -c:v h264_omx -b:v 1800k -sws_flags fast_bilinear -vf scale=720:540 -keyint_min 0 -g 100 ~/test.mp4

    And the issue is resolved. I have also tried adding the video filters setsar and setdar to no avail.

    I am performing this on a Raspberry Pi 3, which lacks the ability to de-interlace in hardware. To remedy this, I am simply scaling the video vertically by 1/2. I have tried scaling the output to 960x540 but the Pi has issues keeping up.