
Recherche avancée
Médias (91)
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Echoplex (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Discipline (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Letting you (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
999 999 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (106)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (10159)
-
Moviepy write_videofile changes number of video and audio frames even after using 'rawvideo' as the codec parameter
14 mars 2019, par Jaideep SagarI am using moviepy (Python) to read video and audio frames of a video and after making some changes I am writing them back to a videofile, say new.avi, to preserve the changes, or to avoid compression, I am using codec= ’rawvideo’ in write_videofile function. But when I read the video and audio frames back, the number of video and audio frames are different than when they were when written, they are usually increased.
Can anybody tell me the reason, ? is it because of the ffmpeg used or some other reason ? Does it happen always or there is some problem in my machine ? Thank you :-) -
Use Static Library Build Shared Library Undefined Reference
26 mai 2020, par LeoI want to use AndroidStudio ndk-build to build Shared Library on Window with ffmpeg lib but i got Undefined Reference Error,Please tell me what I do wrong



ndkVersion = 21.0.6113669
compileSdkVersion 29



I also try to build By GCC , the same error happen
I also try to build By CMake with ffmpeg SourceCode , the same error happen



I try to build .a file with some simple C Code on gcc and use another C Code to use it,it work,but not with ffmpeg .a file i dont know why



this is my Android.mk



`LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
 LOCAL_MODULE := avcodec
 LOCAL_SRC_FILES := lib/libavcodec.dll.a
 include $(PREBUILT_STATIC_LIBRARY)

 include $(CLEAR_VARS)
 LOCAL_MODULE := avformat
 LOCAL_SRC_FILES := lib/libavformat.dll.a
 include $(PREBUILT_STATIC_LIBRARY)

 ...

 include $(CLEAR_VARS)
 LOCAL_MODULE := avutil
 LOCAL_SRC_FILES := lib/libavutil.dll.a
 include $(PREBUILT_STATIC_LIBRARY)

 include $(CLEAR_VARS)
 LOCAL_MODULE := libTestDll
 LOCAL_SRC_FILES := TestDll.cpp
 LOCAL_C_MODULE := avcodec avformat swscale avutil avfilter avdevice

 include $(BUILD_SHARED_LIBRARY)`




this is my main cpp



#include 
#include 

#define __STDC_CONSTANT_MACROS

#include <string>

extern"C"
{
#include "libavformat/avformat.h"
#include "libavutil/mathematics.h"
#include "libavutil/time.h"
#include "libavutil/pixfmt.h"
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libswscale/swscale.h"
#include "libavutil/imgutils.h"
}

using namespace std;

char output[99999];
int frameCount = 0;
uint8_t* buf;
int bufLength;
uint8_t* p_global_bgr_buffer;
int num_bytes;
int wrap;
bool EndReceFrame = false;
SwsContext* swsContext;
AVFrame* pFrame = av_frame_alloc();
AVCodecContext* pCodecContext;
AVPixelFormat dstFmt = AV_PIX_FMT_RGB24;

static void BGRpgm_save(AVFrame* frame)
{
 int linesize[8] = { frame->linesize[0] * 3 };

 uint8_t* bgr_buffer[8] = { p_global_bgr_buffer };

 sws_scale(swsContext, frame->data, frame->linesize, 0, frame->height, bgr_buffer, linesize);

 memcpy(buf, bgr_buffer[0], linesize[0] * frame->height);

 bufLength = linesize[0] * frame->height;

 frameCount++;

}
...

</string>



Error Message



[x86] SharedLibrary : libTestDll.so
jni/TestDll.cpp:123: error: undefined reference to 'avformat_open_input'
jni/TestDll.cpp:127: error: undefined reference to 'avformat_find_stream_info'
jni/TestDll.cpp:138: error: undefined reference to 'av_dump_format'
jni/TestDll.cpp:144: error: undefined reference to 'avcodec_find_decoder'
jni/TestDll.cpp:146: error: undefined reference to 'avcodec_alloc_context3'



-
FFMPEG Combining images to video and streaming in one command line
12 juillet 2017, par Brindha KanniahCurrently, using ffmpeg, I am using two commands on my Terminal to :
1) create a video from a bunch of images :
ffmpeg -r 60 -f image2 -s 1920x1080 -i rotated-pano_frame%05d_color_corrected_gradblend.jpg -vcodec libx264 -crf 25 -pix_fmt yuv420p test.mp4
2) stream the video to a udp address :
ffmpeg -re -i test.mp4 -c copy -f flv udp://127.0.0.1:48550
How can I combine these two commands, into one single ffmpeg command ?
A concern I have is that it takes a couple of minutes to generate the video from the images. Therefore, these commands have to happen serially, whereby the second command waits a few minutes for the first command to be completed, before it ensues.