
Recherche avancée
Médias (3)
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
Autres articles (71)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (8156)
-
Encoding audio data using ffmpeg
30 mai 2019, par Matin KhI am receiving a byte array (
int8_t*
) and I would like to use FFMPEG to encode it into FLAC. All the examples I found are reading data from files, which is not the case for me. Following the original documents (see here), I came up with the following solution :#include "libavcodec/avcodec.h"
// ...
// params:
// audioData: original audio data
// len: length of the byte array (audio data)
// sampleRate: sample rate of the original audio data
// frameSize: frame size of the original data
uint8_t* encodeToFlac(uint8_t* audioData, int len, int sampleRate, int frameSize) {
uint8_t* convertedAudioData;
// Context information
AVCodecContext* context = avcodec_alloc_context();
context->bit_rate = 64000;
context->sample_rate = sampleRate;
context->channels = 2;
context->frame_size = frameSize;
short* samples = malloc(frameSize * 2 * context->channels);
int outAudioDataSize = len * 2;
convertedAudioData = malloc(outAudioDataSize);
int outSize = avcodec_encode_audio(c, convertedAudioData, outAudioDataSize, samples);
return convertedAudioData;
}I have two main issues with the above solution :
-
I did not specify what the final encoding should be (for example, MP3, FLAC, etc), which makes me wonder if I’m using FFMPEG library correctly ?
-
Do I have all the necessary information about the source - original audio data ? I am not certain if I have all the necessary information to perform the encoding.
-
-
Convert powershell command to terminal (osx)
10 mars 2015, par user1765661I use a loop on powershell to convert some videos, can you please help me to translate the same "code" so I can use it in the terminal of my mac ?
Thank you.
cd D:\Videos\Original
new-item -path . -name "Videos_convert_003" -type directory
dir -exclude *.png | foreach-object { $newname = $_.Basename + ".mp4"; ffmpeg -i "$_" -i logo_img_003.png -filter_complex overlay D:\Videos\Original\Videos_convert_003\$newname } -
ffmpeg convert mkv to mp4 with subtitles
18 février 2021, par Frederiki try to convert a mkv file to mp4. but I having trouble getting the subtitles copied.Thats the command I used :
ffmpeg -i input.mkv -c copy -c:s mov_text output.mp4
. The problem is the subtitles r in two different languages. The original has just one language. After copying the subtitles look like this :eng
original language
. Does anyone know how to fix that