
Recherche avancée
Autres articles (42)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (5583)
-
Cropping Square Video in Android using ndk and ffmpeg
26 juin 2014, par zorucI am writing an Android video recorder application and I need to be able to crop the video that gets returned to me for now into a square with some specific height/width. I have downloaded ffmpeg and successfully made the Android.mk files and have linked up the static libraries so that I can use them in my application. Everything compiles fine and I have included made a c file called videoresizer.c and have added that in my jni and have set all the proper paths in the application for this code to work and I have no problem running it.
I know that there have been attempts to make a ffmpeg command line utility to run that in an android application but I do not want to use that.
Right now i have a function called
int crop_video_to_path_with_size(JNIEnv *env, jobject pObj, jstring inputFile, jstring outputFile, jint width, jint height)
I would like to be able to pass in the input file and an output file path along with the height and width of the video I am cropping.
libavcodec/avcodec.h
libavformat/avformat.h
libswscale/swscale.h
libavutil/avutil.h
libavutil/mathematics.hthese are the libraries I have been working with and I can read in the file from the file path but my question is :
Is there a function in one of these libraries that just crops the entire video or do I need to read in every frame, crop each one using av_picture_crop, and then rewrite them out to the outFilePath after adding the audio back in ?
If so can someone give some sample code that may help me with that part since that is where I am stuck.
Thanks
-
convert audio formats with ffmpeg
5 janvier 2018, par priojeet priyomI want to make a c++ application to convert between audio formats using ffmpeg libraries but could not find any relative project or documentation. found some projects on video decoding but as i am fairly new in using other application libraries in c++ could get any idea from these codes. where can i get some documentation/projects/guideline how to use ffmpeg libraries to convert audio using c++ ?
-
Compiling FFMpeg libraries for Visual Studio
20 janvier 2015, par LostBoyI’m trying to use the FFMpeg libraries in a Windows application. I use MingW-w64 to compile FFMpeg with static libraries with architecture once with x86 and once with x86_64.
Currently I’m trying to link the 32bit x86 libraries with my VS2008 application.
The libraries are added to the library path and VS does not complain about being unable to load a .a file.However I get several uneresolved symbol errors like
ait_rtp_receiver.lib(ait_decoder_lib.obj) : error LNK2001 : unresolved external symbol _av_freeI import the FFMpeg header files as extern C and I can see the symbols in the .a without the leading underscore.
What can I do to make the name decoration of Mingw-w64’s gcc and of the VS compiler suite compatible ?