Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

Sur d’autres sites (12151)

  • need help on solving my ffmpeg command line

    3 avril 2019, par DRMTV

    i create a small bash script to encode 1080p video , the video will be added with watermark at bottom left and i need to add a black padding on top and bottom

    i tried several way but still no luck , i tried -vf and yes it worked but cant use padding and watermark together , and suggest use filter_complex

    if i use this code directly without bash script it work

    time ffmpeg -hide_banner -i transformers.mp4 -i transformers.ass -loop 1 -i watermark.png -loop 1 -i logo.png -map 0:0 -map 0:1 -filter_complex "[0:0]scale=(iw*sar)*min(1920/(iw*sar)\,800/ih):ih*min(1920/(iw*sar)\,800/ih), pad=1920:800:(1920-iw*min(1920/iw\,800/ih))/2:(800-ih*min(1920/iw\,800/ih))/2;ass=transformers.ass[FID1];[FID1][2:v]overlay=10:${WATERMARKPOSITION}:repeatlast=0:enable='between(t,300,600)'[FID3];[3:v]fade=in:st=1200:d=1.6:alpha=1,fade=out:st=107998:d=1.6:alpha=1[FID6];[FID3][FID6]overlay=10:5:repeatlast=0:enable='between(t,1200,187922)'" -c:v libx264 -minrate 1800k -maxrate 1800k -bufsize 3600k -profile:v high -c:a aac -b:a 128k -profile:a aac_main -movflags faststart -strict -2 -f mp4 -y "transformers.mp4"

    but when i include it with my bash script i got this error ,

    [libx264 @ 0x2a063e0] height not divisible by 2 (300x39)
    Output #0, mp4, to '/movie/Paddy/output/Transformers.Age.of.Extinction.2014.1080p.BluRay.H264.AAC-RARBG.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       comment         : Transformers.Age.of.Extinction.2014.1080p.BluRay.H264.AAC-RARBG
       encoder         : Lavf57.71.100
       title           : Transformers Age of Extinction 2014 1080p BluRay H264 AAC-RARBG - Visit us @ Juraganfilm.COM
       Stream #0:0: Video: h264 (libx264), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], q=-1--1, max. 2300 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc
       Metadata:
         encoder         : Lavc56.60.100 libx264
       Stream #0:1: Video: h264, none, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 25 fps
       Metadata:
         encoder         : Lavc56.60.100 libx264
       Stream #0:2(eng): Audio: aac, 0 channels, 128 kb/s (default)
       Metadata:
         creation_time   : 2017-12-19 07:58:39
         handler_name    : SoundHandler
         encoder         : Lavc56.60.100 aac
    Stream mapping:
     Stream #0:0 (h264) -> scale (graph 0)
     Stream #0:0 (h264) -> overlay:overlay (graph 0)
     Stream #2:0 (png) -> ass (graph 0)
     Stream #3:0 (png) -> fade (graph 0)
     pad (graph 0) -> Stream #0:0 (libx264)
     overlay (graph 0) -> Stream #0:1 (libx264)
     Stream #0:1 -> #0:2 (aac (native) -> aac (native))
    Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

    and below is the script i have been working on

    output="/movie/output"

    FILESDIR=`find $PWD -type f -regex ".*\.\(mp4\|mkv\|avi\)" | sed 's@.*/@@' | sort -n`
    for video in $FILESDIR
    do

    MOVIETITLE=${video%.*}
    INFOVID=${MOVIETITLE//./ }
    BITRATE="${HEIGHT}"
    WIDTH=$(ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 ${video} 2>&1 | sed -e 's|\[.*||g' | sed ':a;N;$!ba;s/\n//g' | sed -e 's|x.*||g')
    HEIGHT=$(ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 ${video} | sed -e 's/.*x//')
    WATERMARKPOSITION=$(expr $HEIGHT - 50)
    VIDEOMAP=$(ffmpeg -i $video 2>&1 | grep "Stream #" | grep Video | sed -e "s|.*\#||g" | sed -e "s|: Video.*||g" | sed -e "s|(.*||g")
    AUDIOMAP=$(ffmpeg -i $video 2>&1 | grep "Stream #" | grep Audio | sed -e "s|.*\#||g" | sed -e "s|: Audio.*||g" | sed -e "s|(.*||g")
    MAXRATE=$(expr $BITRATE + 500)
    BUFFSIZE=$(expr $MAXRATE \* 2)

    time ffmpeg -hide_banner -i $video -i $MOVIETITLE.ass -loop 1 -i $WATERMARK -loop 1 -i $LOGO -map ${VIDEOMAP} -map ${AUDIOMAP} -filter_complex "[${VIDEOMAP}]scale=(iw*sar)*min(${WIDTH}/(iw*sar)\,${HEIGHT}/ih):ih*min(${WIDTH}/(iw*sar)\,${HEIGHT}/ih), pad=${WIDTH}:${HEIGHT}:(${WIDTH}-iw*min(${WIDTH}/iw\,${HEIGHT}/ih))/2:(${HEIGHT}-ih*min(${WIDTH}/iw\,${HEIGHT}/ih))/2;ass=$MOVIETITLE.ass[FID1];[FID1][2:v]overlay=10:${WATERMARKPOSITION}:repeatlast=0:enable='between(t,300,600)'[FID3];[3:v]fade=in:st=1200:d=1.6:alpha=1,fade=out:st=107998:d=1.6:alpha=1[FID6];[FID3][FID6]overlay=10:5:repeatlast=0:enable='between(t,1200,187922)'" -c:v libx264 -minrate ${BITRATE}k -maxrate ${MAXRATE}k -bufsize ${BUFFSIZE}k -profile:v high -c:a aac -b:a 128k -profile:a aac_main -movflags faststart -strict -2 -f mp4 -y "${output}/$MOVIETITLE.mp4"
    done

    has been working all day and still i cant make it to work.

    can someone guide me which part is wrong ?

  • Anomalie #2709 : SVP ne met pas à jour ?

    15 mai 2012, par Piero Wbmstr

    Ben non, sinon je n’aurais pas posté :) (et j’ai pourtant vidé le cache)

  • How to ffmpeg command execution in ffmpeg4android app

    3 février 2014, par Sanket990

    If i m using ffmpeg4android Play store app and executing command for video trim but they are not working i m using below command for trimming

    ffmpeg -i /sdcard/vide.mp4 -ss 00:10:00 -t 00:12:00 -async 1 /sdcard/cut.mp4

    Above Command Execute but not showing file cut.mp4 in sdcard .if you know another way for video trimming then show me example or link Thanks in Advance

    If i m running this command showing Logcat

    Looks like Vk log is not increasing in size
    /sdcard/vide.mp4 : No such file or directory
    I m already add file in sdcard path