
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (72)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (5010)
-
How much of modern FFmpeg is written by Fabrice Bellard ?
17 décembre 2022, par Hashim AzizFFmpeg is considered by many to be the work of Fabrice Bellard, and maybe even his magnum opus, but since he stopped contributing to the project (under the pseudonym Gérard Lantau) in 2004, I wondered how much of it can actually still be said to be his. By comparison, Linus Torvalds' Wikipedia page states :




As of 2006, approximately 2% of the Linux kernel was written by
Torvalds himself.[28] Because thousands have contributed to it, his
percentage is still one of the largest. However, he said in 2012 that
his own personal contribution is now mostly merging code written by
others, with little programming.




This despite the fact that Torvalds is still an active contributor to the Linux kernel, whereas Bellard hasn't been an active contributor to FFmpeg for almost two decades.


FFmpeg being an open-source project tracked with Git, it seems like the question should be technically and objectively answerable, but as someone who hates mailing lists and the generally archaic ways that big open-source projects like to do things, I wouldn't know where to start in doing so.


Just how much of the modern FFmpeg codebase is Fabrice Bellard actually responsible for, in comparison to the other FFmpeg devs ?


-
Facebook Graph API - Getting error 2207026 when trying to upload video
22 novembre 2022, par NiVeK92I try to upload a video via the graph API but as the title states, I get an error that states that I use an unsupported video format.


I thought maybe the original video file doesn't match the video specifications as defined on https://developers.facebook.com/docs/instagram-api/reference/ig-user/media#video-specifications so I wrote a function to convert the file to match the specification, using ffmpeg with the following command (I tried many different ones, but this is the last one I tried)


ffmpeg -i ${tmpInFile} -vf format=yuv420p -vf scale=-2:720 -pix_fmt yuv420p -r 30 -movflags +faststart -c:v libx264 -b:v 3M -c:a aac -b:a 128k -ac 2 -ar 44100 -shortest -f mp4 ${tmpOutFile}


Unfortunately, the error persists.


Here's the complete process :


First I use
await fetch('/api/convert-mp4', { method: 'POST', body: file });
to send the uploaded video file to the backend.

Next I get the blob data from the request with
const blob = await request.blob();
.

Then I create a temporary file with
await fs.writeFile(tmpInFile, await blob.stream())
.

Then I call ffmpeg with the above command mentioned above and then read the file with
const buffer = await fs.readFile(tmpOutFile);
.

Then I send the buffer as response body back to the client with
return {status: 200,body: buffer}
.

Then I get the blob data from the response with
const blob = await convertVideoResponse.blob();
.

Finally I convert it back into a file object with

const convertedFile = new File([blob], file.name, { type: 'video/mp4' });


This file I upload to Supabase Storage (https://supabase.com/storage), and get a publicly accessible url (which I confirmed by opening it in an incognito tab).


In the supabase dashboard I can see the video file has the correct media container (video/mp4) and the file size is small enough.


Does anyone have an idea what could be the issue ?


Edit :


By changing the ffmpeg command to use h265 instead of h254
ffmpeg -i ${tmpInFile} -vf format=yuv420p -vf scale=-2:1350 -pix_fmt yuv420p -r 30 -movflags +faststart -c:v libx265 -vtag hvc1 -an -x265-params crf=25 -b:v 3M -c:a copy -c:a aac -b:a 128k -ac 2 -ar 44100 -shortest -f mp4 ${tmpOutFile}
I managed to get it to work for some videos but not all, which confuses me, as I assumed that the video attributes should be the same for all videos processed by the same command.

-
Unclear compile error for mpd with ffmpeg on Mac arm64 architecture (M1)
24 août 2022, par letsgetsomecodedoneI tried to compile (and install) mpd via brew with

brew reinstall --build-from-source mpd
but ffmpeg seems to have some error with the arm64 architecture as the error states :

Undefined symbols for architecture arm64:
 "av_free(void*)", referenced from:
 AvioStream::~AvioStream() in libdecoder_plugins.a(FfmpegIo.cxx.o)
 "av_malloc(unsigned long)", referenced from:
 AvioStream::Open() in libdecoder_plugins.a(FfmpegIo.cxx.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)



I reinstalled ffmpeg (and even it build from source) to make sure it built the arm64 version. Can anyone help me out, about what could be problem ?