Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (95)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

Sur d’autres sites (9150)

  • Checking for files in a directory with bash script ? what is wrong with this code ?

    4 décembre 2016, par A Sahra

    I have written this code to check for video files in a directory and convert them with ffmpeg.
    while running this script i get out put as "[ERROR] File Not Found" which i have it in else block.what is wrong with the script that i don’t get the files.

    #!/bin/bash
    # set PATH to check existance of video file in this directory
    checkfiles='/home/webuser/public_html/shareportal/convertedUp_videos/'
    #format of output video file
    webm='webm'
    for f in checkfiles
    do
    fullfilename="$f"
    filenamewithpath=$(basename "$fullfilename")
    filewithoutext="${filename%.*}"
    fileextention="${filename##*.}"
    changeextension=mv --"$f" "${f%.$fileextention}.$webm"
    outputfilename="/home/webuser/public_html/shareportal/converted_videos/$changeextension"
    echo "File FUll NAME : $fullfilename"
    echo "File name with full path : $filenamewithpath"
    echo "File name without extention : $filewithoutext"
    echo "File extention : $fileextention"
    echo '1 File Converted'
    if (ffmpeg -i "$f" "$outputfilename")
    then
    confullfilename="$outputfilename"
    confilenamewithpath=$(basename "$confullfilename")
    confilewithoutext="${filename%.*}"
    confileextention="${filename##*.}"
    echo "File FUll NAME : $confullfilename"
    echo "File name with full path : $confilenamewithpath"
    echo "File name without extention : $confilewithoutext"
    echo "File extention : $confileextention"
    echo '1 File Converted'
    else
    echo "Could Not Convert File"
    fi
    #get Image of video file on provided time stamp
    image_path='/home/webuser/public_html/shareportal/video_images/$filewithoutext.png'
    if (ffmpeg -ss 00:00:03 -i "$f" -vframes:v 1 "$image_path")
    then
    echo "Image Extracted"
    else
    echo "Could not Extract Image"
    fi
    done
    rm -r f
  • lavf : fix the wrong warning msg and comments about av_find_stream_info

    5 décembre 2016, par Jun Zhao
    lavf : fix the wrong warning msg and comments about av_find_stream_info
    

    av_find_stream_info() was deprecated by avformat_find_stream_info(),
    correct the warning message in the avformat_find_stream_info() and
    comments in the avformat.h

    Signed-off-by : Jun Zhao <jun.zhao@intel.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/avformat.h
    • [DH] libavformat/utils.c
  • Video with wrong orientation when exporting with Ffmpeg on Android

    12 décembre 2016, par Thibaut Brnl

    I’m developing an app in which I use Ffmpeg to export a video with some drawings on it. When I use it with a landscape video, the export is OK but when I use it with a portrait video, the video is rotated to landscape orientation...
    The ffmpeg command I use is

    new String[]{
     f.getAbsolutePath(),
     "-i", inputVideo,
     "-i", bitmap,
     "-preset", "ultrafast",
     "-filter_complex", "overlay=0:0",
     "-b:v", "3000k",
     "-strict", "-2",
     "-fs", "20M",
     outputVideo
    };

    . When I remove the filter_complex overlay=0:0 instruction, the video keeps its correct orientation. The ffmpeg version is 2.4.2.
    Does someone has an idea about how to correct this problem ?