Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (74)

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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (7305)

  • FFMPEG - Using multiple Fiters including hardsub, denoise, watermark causes "Too many inputs" Error

    17 avril 2017, par Vahid Jamali

    I’m trying to do one command with complex filters that allow for denoising, hardsub, scaling (to 480 height) and watermark.

    I’ve gotten 3/4 filters to work in combination with each other here :

    ffmpeg -i test720.mp4 -vf hqdn3d=1.5:1.5:6:6,scale=w="if(gt(dar\,854/480)\,min(854\,iw*sar)\,2*trunc(iw*sar*oh/ih/2))":h="if(gt(dar\,854/480)\,2*trunc(ih*ow/iw/sar/2)\,min(480\,ih))"\:flags=bicubic,setsar=1\,subtitles=add.ass[out]" -c:v libx264 -crf 18 -preset veryslow -tune film -refs 8 -bf 6 -aq-mode 2  -c:a copy -f mp4 720encoded.mp4

    but when it comes to all for, it gives me a Too many inputs specified for the "movie" filter.

    Here is my command that should work but doesn’t :

    ffmpeg -i test720.mp4 -vf hqdn3d=1.5:1.5:6:6,scale=w="if(gt(dar\,854/480)\,min(854\,iw*sar)\,2*trunc(iw*sar*oh/ih/2))":h="if(gt(dar\,854/480)\,2*trunc(ih*ow/iw/sar/2)\,min(480\,ih))"\:flags=bicubic,setsar=1\,"movie=actorimage.png[wm];[in][wm]overlay=30:main_h-overlay_h-120\,subtitles=add.ass[out]" -c:v libx264 -crf 18 -preset veryslow -tune film -refs 8 -bf 6 -aq-mode 2  -c:a copy -f mp4 720encoded.mp4

    I’m sure I’m making a simply syntax error somewhere in there.

  • Getting an error 'too many inputs specified for the "scale" filter' in ffmpeg

    15 septembre 2021, par Code Max

    I'm trying to add watermarks to multiple images using ffmpeg. It works good in the beginning but when I try to change the opacity of the watermark it shows the error as :

    


    


    [AVFilterGraph @ 0000019b2a655340] Too many inputs specified for the
"scale" filter. Error initializing complex filters. Invalid argument

    


    


    The used code :

    


    for %%a in ("*.jpg") do ffmpeg -i "%%a" -i wm.png -filter_complex "[1]lut=a=val*0.3[a];[0][a][1]scale=iw*0.50:-1[wm];[0][wm]overlay=0:0" -preset ultrafast "post\%%~na.jpg"


    


  • Im getting error "deprecated pixel format used, make sure you did set range correctly using ffmpeg".. can someone check my code below ?

    27 mars 2017, par Mavs Mavs

    This is my code using ffmpeg i want to have video thumbnail but im not familiar in ffmpeg can someone know the error i got.

    [swscaler @ 0x7ff8da028c00] deprecated pixel format used, make sure you did set range correctly
    Output #0, mjpeg, to 'image.jpg':
    Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    encoder         : Lavf56.36.100
    Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 320x240 [SAR 4:3 DAR 16:9], q=2-31, 200 kb/s, 1 fps, 1 tbn, 1 tbc (default)
    Metadata:
     creation_time   : 2016-11-06 09:40:22
     handler_name    : ISO Media file produced by Google Inc.
     encoder         : Lavc56.41.100 mjpeg
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
    Press [q] to stop, [?] for help
    frame=    1 fps=0.0 q=4.8 Lsize=      16kB time=00:00:01.00 bitrate= 129.5kbits/s    
    video:16kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%

    Also This is my code :

    $video_url ='https://URL/upload/4b8acab123563649f19e07450d810df6.mp4';


    $ffmpeg = '/opt/local/bin/ffmpeg';
    $image = 'image.jpg';
    $interval = 5;
    $size = '320x240';
    shell_exec($tmp = "$ffmpeg -i $video_url -deinterlace -an -ss $interval -f mjpeg -t 1 -r 1 -y -s $size $image 2>&1");