Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (46)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (6127)

  • Using ffmpeg to obtain video durations in python

    24 novembre 2024, par OSK

    I've installed ffprobe using the pip ffprobe command on my PC, and installed ffmpeg from here.

    


    However, I'm still having trouble running the code listed here.

    


    I try to use the following code unsuccessfully.

    


    SyntaxError: Non-ASCII character '\xe2' in file GetVideoDurations.py
on line 12, but no encoding declared; see
http://python.org/dev/peps/pep-0263/ for details


    


    Does anyone know what's wrong ? Am I not referencing the directories correctly ? Do I need to make sure the .py and video files are in a specific location ?

    


    import subprocess

def getLength(filename):
    result = subprocess.Popen(["ffprobe", "filename"],
    stdout = subprocess.PIPE, stderr = subprocess.STDOUT)
    return [x for x in result.stdout.readlines() if "Duration" in x]

fileToWorkWith = ‪'C:\Users\PC\Desktop\Video.mkv'

getLength(fileToWorkWith)


    


    Apologies if the question is somewhat basic. All I need is to be able to iterate over a group of video files and get their start time and end time.

    


    Thank you !

    


  • Determine FFmpeg codecs available for container

    19 juillet 2020, par CasualDemon

    I am looking to generate lists of supported video / audio / subtitle tracks for each type of container in a particular build of FFmpeg.

    


    For example, I want to avoid errors like Could not find tag for codec <> in stream #0, codec not currently supported in container

    


    I know I can list available codecs with ffmpeg -codecs, and find details about a muxer with ffmpeg -h muxer=<muxer></muxer> like ffmpeg -h muxer=matroska but that will only show default codecs, not all possible.

    &#xA;

    Muxer matroska [Matroska]:&#xA;    Common extensions: mkv.&#xA;    Mime type: video/x-matroska.&#xA;    Default video codec: h264.&#xA;    Default audio codec: vorbis.&#xA;    Default subtitle codec: ass.&#xA;

    &#xA;

    Basically I want to run this command across all available muxers to build up a table like wikipedia's format comparison charts that is FFmpeg build specific. This is designed to go in a program that wraps around FFmpeg, and I need to know which formats are valid for each container / file extension per FFmpeg build.

    &#xA;

    Thanks !

    &#xA;

  • Error trying to decode 4K video using NVDEC

    19 avril 2024, par Nestoraj

    I am trying to convert a 4K HEVC MKV file of 70GB into another HECV file but with less size. I am using FFmpeg with Nvidia acceleration but when I execute the following command an error appears :

    &#xA;&#xA;

    ffmpeg -y -vsync 0 -hwaccel_device 0 -hwaccel cuvid -c:v hevc_cuvid -i input.mkv -c:a copy -c:v hevc_nvenc -preset slow -b:v 10M -bufsize 10M -maxrate 15M -qmin 0 -g 250 -bf 2 -temporal-aq 1 -rc-lookahead 20 -i_qfactor 0.75 -b_qfactor 1.1 output.mkv&#xA;

    &#xA;&#xA;

    The error is :

    &#xA;&#xA;

    [hevc_nvenc @ 0000021036b0d000] Provided device doesn&#x27;t support required NVENC features&#xA;Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA;

    &#xA;&#xA;

    The video file has these details :

    &#xA;&#xA;

    enter image description here

    &#xA;&#xA;

    It seems that FFmpeg cannot recognize my GPU as a supported device to decode but I have read that Nvidia has support for my card with NVDEC.

    &#xA;&#xA;

    I am running Windows 10 64 bits with i7 4790 and GTX 1080

    &#xA;