Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (39)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (4597)

  • ffmpeg : convert jpg + mp3 into mp4 - Quicktime issue

    30 juillet 2017, par SIDU

    I have a.jpg (650 * 800 = 260KB)

    I have a.mp3 (5:35 = 8MB)

    And I used this script :

    $ ffmpeg -loop 1 -i a.jpg -i a.mp3 -c:a copy -c:v libx264 -shortest a.mp4

    And I got a.mp4 (at least 720P very clear 5:35 = 16.3MB)

    Ubuntu movie player can play it, chrome / Firefox can play it, but Mac QuickTime can not open it.

    So I upload to youtube, it becomes 480P and when I download it back to PC it is not as good quality as my original, and it becomes 29.1MB However it can be played by QuickTime.

    So I did a second script :

    $ ffmpeg -loop 1 -i a.jpg -i a.mp3 -c:a copy -c:v libx264 -pix_fmt yuv420p -shortest b.mp4

    Now I get b.mp4 (same quality as a.mp4, but much larger at 40MB), QuickTime can play it, but no sound. It plays normal at chrome / firefox.

    What do I still not make right in above script ?

  • ffmpeg very high bitrate when converting with libxvid

    8 août 2017, par DD3R

    I was using this batch file to drag and drop convert mkvs into avi, while letterboxing to 16:9 720p. It worked great, result was about 2-2.5 mbps bitrate file.

    Suddenly about two weeks ago it got really slow. Starts at 60000 kbps and quickly descends to about 8000 and then slowly continues going down. after 5 minutes of video it stabilizes at 5200 kbps. edit : after 13 minutes 3200 kbps and speed is still dreadful at 2x. It wasn’t very high before but it was about 5-6x Picture

    ffmpeg -i "%~1" -vf "scale=(iw*sar)*min(1280/(iw*sar)\,720/ih):ih*min(1280/(iw*sar)\,720/ih), pad=1280:720:(1280-iw*min(1280/iw\,720/ih))/2:(720-ih*min(1280/iw\,720/ih))/2" -c:v libxvid -qscale:v 3 -c:a libmp3lame -qscale:a 2 "%~1"-ws-va.avi

    changing qscale to 10 stabilizes bitrate at about 2300, but quality looks horrible, and speed isn’t increasing much.

    I didn’t update ffmpeg, any idea why this sudden change ?

  • lower fps when using ffmpeg to convert mp4 to gif

    10 novembre 2020, par Muhia NJoroge

    I am using ffmpeg to convert high quality videos to gif, most of the videos are 60fps and over 720p, but when I use the code below, to convert the video to gif, I get very low fps for the gif output,

    



    #!/usr/bin/env
palette=/tmp/pallete.png
filter="fps=50,scale=480:-1:flags=lanczos"

ffmpeg -y  -i test.mov -vf $filter,palettegen=stats_mode=diff $palette
ffmpeg -y -i test.mov -i $palette -lavfi "$filter [x]; [x][1:v] paletteuse" test.gif


    



    another issue I have noted is - as the width increases e.g 720 instead of 480 I get even lower fps.

    



    here is output log example, the output fps is lower than the assigned 50fps

    



    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/201631203815.mp4':
Metadata:
 major_brand     : isom
 minor_version   : 512
 compatible_brands: isomiso2avc1mp41
 encoder         : Lavf56.36.100
Duration: 00:00:05.48, start: 0.016000, bitrate: 1579 kb/s

Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1334x1334, 1576 kb/s, 60.18 fps, 60 tbr, 1000k tbn, 50 tbc (default)
Metadata:
  handler_name    : VideoHandler

Input #1, png_pipe, from '/tmp/pallete.png':
   Duration: N/A, bitrate: N/A
Stream #1:0: Video: png, rgba(pc), 16x16 [SAR 1:1 DAR 1:1], 25 tbr, 25 tbn, 25 tbc

Output #0, gif, to '/tmp/201631203815.gif':
Metadata:
  major_brand     : isom
  minor_version   : 512
  compatible_brands: isomiso2avc1mp41
  encoder         : Lavf56.40.101
Stream #0:0: Video: gif, pal8, 480x480, q=2-31, 200 kb/s, 50 fps, 100 tbn, 50 tbc (default)
Metadata:
  encoder         : Lavc56.60.100 gif
Stream mapping:
   Stream #0:0 (h264) -> fps
   Stream #1:0 (png) -> paletteuse:palette
  paletteuse -> Stream #0:0 (gif)
Press [q] to stop, [?] for help

frame=  275 fps= 32 q=-0.0 Lsize=    2480kB time=00:00:05.50 bitrate=3693.5kbits/s    


    



    How do I ensure that the output fps is always whats set by the user ?
Any resource on this is highly appreciated.

    



    UPDATE

    



    i have also noticed that the use of a higher fps eg filter="fps=90,scale=480:-1:flags=lanczos" has the effect of slowing down the gif,like a slow motion effect, the output fps is still lower around 15fps,