
Recherche avancée
Autres articles (105)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si 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 (14846)
-
Can't decode HEVC video with DXVA2 and ffmpeg
10 mai 2018, par IgorI can’t use DXVA2 hardware acceleration for decoding of HEVC video with ffmpeg. DXVA2 for H.264 works fine.
I compiled an official example hw_decode.c from ffmpeg sources :
https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/hw_decode.c
When I call av_send_packet() it performs a callback assigned in AVCodecContext->get_format and returns only AV_PIX_FMT_YUV420P for HEVC video instead of AV_PIX_FMT_DXVA2_VLD for all H.264 videos. So HW decoding doesn’t work.
Software decoding of HEVC works without problems.
MPC-HC plays fine HEVC video with DXVA2 (CPU loading is low and Task Manager shows work of Video decoder in GPU details). My video card is Geforce 1060.
-
Ffmpeg - avio_open returns AVERROR -13
10 septembre 2021, par TolgaIn my project, I am trying to save mp4 video from frames. I am demuxing video first and then decode and save the .mp4 file beside frames. However, this mp4 file is only playable from command line with
ffplay
. I am trying to play it from media player. After little bit search I found that, I need to remux it to mp4 file after encoding. The examples that I reference for my project are official ffmpeg example and leandromoreira's code. However,avio_open()
parts returns-13
as error. I printed out withav_make_error_string(error, sizeof(error), response)
and gotPermission denied
. When I look for that error in theerror.h

there is no such an error defined.

-
Outputting file details using ffprobe in ffmpeg AWS Lambda layer
17 février 2021, par GracieI am trying to output the details of an audio file with ffmpeg using the ffprobe option. But it is just returning 'null' at the moment ? I have added the ffmpeg layer in Lambda. can anyone spot why this is not working ?



const { spawnSync } = require("child_process");
const { readFileSync, writeFileSync, unlinkSync } = require("fs");
const util = require('util');
var fs = require('fs');
let path = require("path");

exports.handler = (event, context, callback) => {

 spawnSync(
 "/opt/bin/ffprobe",
 [
 `var/task/myaudio.flac`
 ],
 { stdio: "inherit" }
 );
};




This is the official AWS Lambda layer I am using, it is a great prooject but a little lacking in documentation.



https://github.com/serverlesspub/ffmpeg-aws-lambda-layer