
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (104)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (8523)
-
Using FFMpeg in Xcode - Which option is best for a beginner ?
17 octobre 2019, par NCrusherI’ve only been coding for a few weeks, using Xcode. I’m trying to create a very simple GUI for ffmpeg specifically geared toward audiobooks. The arguments I need to feed into ffmpeg are extremely simple (which is good, because I actually know less about the advanced side of ffmpeg than I do about Swift.)
With audiobooks not needing much by way of bells and whistles, encoding-wise, the most complex thing my app is going to do is convert an .mp3 to .m4b or vice versa, and maybe rewrite some metadata. If I were using ffmpeg from Terminal the command would be no more complicated than :
ffmpeg -i /DIRECTORY/FILE.m4b -c:a libmp3lame -q:a 9 -ar 22050 -ac 1 /DIRECTORY/FILE.mp3
Really, it will be that basic.
I have my interface and the coding to support it all set up. It’s as simple as "if the drop-down says 64k, add the string
-q:a 9
to the arguments dictionary to pull out later when the user clicks "Start Conversion." Nothing terribly complex involved at all.But now it’s time for me to actually incorporate ffmpeg into the picture.
As far as I can tell, I have two options. The first is this method here, which looks simple enough for me to use it as a beginner. I can see exactly what the script is doing except when it gets to the callback parts. I haven’t encountered that yet in my learning process, and it seems pretty necessary, but I can research it if I have to.
This, however, seems a lot better situated to handle catching errors so forth, but honestly the documentation is intimidating me a little because it’s clearly aimed at more advanced ffmpeg users who deal with far more complicated functions. Looking at his sample .swift files, I can’t interpret what the code is doing the way I can with the other method, and that makes it difficult for me to know if I can tailor it to my purposes without screwing something up.
Which option would you advise a beginner to go with, or is there another option I haven’t discovered yet ?
-
FFMpeg call from kotlin invalid argument [closed]
4 février 2024, par MoréoI'm trying to execute a ffmpeg command with a complex_filter in it, but i get a parsing error from ffmpeg every time


[AVFilterGraph @ 0x602c5de06880] No option name near '4'
[AVFilterGraph @ 0x602c5de06880] Error parsing a filter description around: [v1][v2][v3][v4]; [v1]scale_vaapi=-2:1080[v1out]; [v2]scale_vaapi=-2:720[v2out]; [v3]scale_vaapi=-2:480[v3out]; [v4]scale_vaapi=-2:360[v4out]
[AVFilterGraph @ 0x602c5de06880] Error parsing filterchain '[0:v:0]split_vaapi=4[v1][v2][v3][v4]; [v1]scale_vaapi=-2:1080[v1out]; [v2]scale_vaapi=-2:720[v2out]; [v3]scale_vaapi=-2:480[v3out]; [v4]scale_vaapi=-2:360[v4out]' around: [v1][v2][v3][v4]; [v1]scale_vaapi=-2:1080[v1out]; [v2]scale_vaapi=-2:720[v2out]; [v3]scale_vaapi=-2:480[v3out]; [v4]scale_vaapi=-2:360[v4out]
Failed to set value '[0:v:0]split_vaapi=4[v1][v2][v3][v4]; [v1]scale_vaapi=-2:1080[v1out]; [v2]scale_vaapi=-2:720[v2out]; [v3]scale_vaapi=-2:480[v3out]; [v4]scale_vaapi=-2:360[v4out]' for option 'filter_complex': Invalid argument
Error parsing global options: Invalid argument



Here is the filter build


val splitsDef = "[0:v:0]split_vaapi=${splits.size}" + splits.joinToString("") { "[${it.name}]" }

val splitFilters = splits.joinToString("; ") { "[${it.name}]${it.filter}[${it.name}out]" }

val args = mutableListOf(..., "$splitsDef; $splitFilters")




I've tried to add escaped quote to my complex definition, but i get another error from ffmpeg. However, when running the command in my terminal, It's working.


I found this question quite answering what I'm trying to achieve, but not working either.


-
Overlay images on video in android
31 août 2016, par Basit AliI have to overlay images on video on different positions and on different times.
Currently I am using ffmpeg but it is overhead of doing this frame by frame.
Also ffmpeg is very complex and takes very much time to process the task.
Alternatively iOS have avfoundation which is very better and fast. Do we have anything like this in android ?