
Recherche avancée
Médias (3)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (70)
-
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 ;
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)
Sur d’autres sites (6151)
-
ffmpeg link error with CodeBlocks
12 juillet 2016, par YoohooHi,I am currently doing a real time video encoding c program using ffmpeg, initially I encountered a lot of "undefined reference" error, after I set the linker in build options, some error got disappeared, but still some error remains.
||=== Build: Debug in c_3rd party encoding (compiler: GNU GCC Compiler) ===|
/home/yonghao/codeblocksfile/c_3rd party encoding/main.c||In function ‘init_video_encode’:|
/home/yonghao/codeblocksfile/c_3rd party encoding/main.c|73|warning: ‘avcodec_alloc_frame’ is deprecated (declared at ../../ffmpeg_build/include/libavcodec/avcodec.h:3618) [-Wdeprecated-declarations]|
/home/yonghao/codeblocksfile/c_3rd party encoding/main.c||In function ‘cancle_encode’:|
/home/yonghao/codeblocksfile/c_3rd party encoding/main.c|134|warning: ‘avcodec_free_frame’ is deprecated (declared at ../../ffmpeg_build/include/libavcodec/avcodec.h:3643) [-Wdeprecated-declarations]|
/home/yonghao/codeblocksfile/c_3rd party encoding/main.c|21|warning: ‘endcode’ defined but not used [-Wunused-variable]|
../../ffmpeg_build/lib/libavcodec.a(libmp3lame.o)||In function `mp3lame_encode_frame':|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|211|undefined reference to `lame_encode_buffer_float'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|195|undefined reference to `lame_encode_buffer'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|198|undefined reference to `lame_encode_buffer_int'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|219|undefined reference to `lame_encode_flush'|
../../ffmpeg_build/lib/libavcodec.a(libmp3lame.o)||In function `mp3lame_encode_close':|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|86|undefined reference to `lame_close'|
../../ffmpeg_build/lib/libavcodec.a(libmp3lame.o)||In function `mp3lame_encode_init':|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|98|undefined reference to `lame_init'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|102|undefined reference to `lame_set_num_channels'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|103|undefined reference to `lame_set_mode'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|106|undefined reference to `lame_set_in_samplerate'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|107|undefined reference to `lame_set_out_samplerate'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|111|undefined reference to `lame_set_quality'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|115|undefined reference to `lame_set_VBR'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|116|undefined reference to `lame_set_VBR_quality'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|120|undefined reference to `lame_set_VBR'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|121|undefined reference to `lame_set_VBR_mean_bitrate_kbps'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|123|undefined reference to `lame_set_brate'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|128|undefined reference to `lame_set_bWriteVbrTag'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|131|undefined reference to `lame_set_disable_reservoir'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|134|undefined reference to `lame_init_params'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|140|undefined reference to `lame_get_encoder_delay'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libmp3lame.c|143|undefined reference to `lame_get_framesize'|
../../ffmpeg_build/lib/libavcodec.a(libopusdec.o)||In function `libopus_flush':|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusdec.c|178|undefined reference to `opus_multistream_decoder_ctl'|
../../ffmpeg_build/lib/libavcodec.a(libopusdec.o)||In function `libopus_decode':|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusdec.c|143|undefined reference to `opus_multistream_decode_float'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusdec.c|139|undefined reference to `opus_multistream_decode'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusdec.c|148|undefined reference to `opus_strerror'|
../../ffmpeg_build/lib/libavcodec.a(libopusdec.o)||In function `libopus_decode_close':|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusdec.c|121|undefined reference to `opus_multistream_decoder_destroy'|
../../ffmpeg_build/lib/libavcodec.a(libopusdec.o)||In function `libopus_decode_init':|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusdec.c|87|undefined reference to `opus_multistream_decoder_create'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusdec.c|91|undefined reference to `opus_strerror'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusdec.c|97|undefined reference to `opus_multistream_decoder_ctl'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusdec.c|99|undefined reference to `opus_strerror'|
../../ffmpeg_build/lib/libavcodec.a(libopusenc.o)||In function `libopus_encode':|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|346|undefined reference to `opus_multistream_encode'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|342|undefined reference to `opus_multistream_encode_float'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|351|undefined reference to `opus_strerror'|
../../ffmpeg_build/lib/libavcodec.a(libopusenc.o)||In function `libopus_encode_close':|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|389|undefined reference to `opus_multistream_encoder_destroy'|
../../ffmpeg_build/lib/libavcodec.a(libopusenc.o)||In function `libopus_encode_init':|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|254|undefined reference to `opus_multistream_encoder_create'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|260|undefined reference to `opus_strerror'|
../../ffmpeg_build/lib/libavcodec.a(libopusenc.o)||In function `libopus_configure_encoder':|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|117|undefined reference to `opus_multistream_encoder_ctl'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|119|undefined reference to `opus_strerror'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|124|undefined reference to `opus_multistream_encoder_ctl'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|127|undefined reference to `opus_strerror'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|130|undefined reference to `opus_multistream_encoder_ctl'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|132|undefined reference to `opus_strerror'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|135|undefined reference to `opus_multistream_encoder_ctl'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|138|undefined reference to `opus_strerror'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|141|undefined reference to `opus_multistream_encoder_ctl'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|144|undefined reference to `opus_strerror'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|149|undefined reference to `opus_multistream_encoder_ctl'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|152|undefined reference to `opus_strerror'|
../../ffmpeg_build/lib/libavcodec.a(libopusenc.o)||In function `libopus_encode_init':|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|288|undefined reference to `opus_multistream_encoder_ctl'|
/home/yonghao/ffmpeg_sources/ffmpeg/libavcodec/libopusenc.c|290|undefined reference to `opus_strerror'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build failed: 50 error(s), 3 warning(s) (0 minute(s), 3 second(s)) ===|Here are my screen shot of the CodeBlock linker setting.
ffmpeg_build/lib/libvpx.a
ffmpeg_build/lib/libswscale.a
ffmpeg_build/lib/libwresample.a
ffmpeg_build/lib/libpostproc.a
ffmpeg_build/lib/libfdk-aac.a
ffmpeg_build/lib/libvutil.a
ffmpeg_build/lib/libvformat.a
ffmpeg_build/lib/libavfilter.a
ffmpeg_build/lib/libavdevice.a
ffmpeg_build/lib/libavcodec.aTotally 10 libs.
My Questions :
- Are these errors caused by lacking libs or libs not linked.
- What libs I missing or what libs should I add to linker.
-
Error while building ParaView on ubuntu
21 février 2014, par user3337492I´ve got school project that I have to build ParaView and work with it in parallel.
I am using this guide : http://paraview.org/Wiki/ParaView:Build_And_Install
I´ve installed all the required packages and now it is time to "Configure ParaView With CMake".
When I do this recomended code
mkdir $HOME/projects/ParaView-bin
cd $HOME/projects/ParaView-bin
ccmake $HOME/projects/ParaView3
the terminal shows this :
CMake Error : The source "/home/kulis/projects/ParaView3/CMakeLists.txt" does
not match the source "/home/kulis/projects/ParaView/CMakeLists.txt" used to
generate cache. Re-run cmake with a different source directory.so instead of ParaView3 I use ParaView in code : ccmake $HOME/projects/ParaView
then its possible to set all the variables and compile. But there comes the real problem. When i want to compile it, the terminal shows this error message :
ERROR ADD_PARAVIEW_VIEW_MODULE called without VIEW_TYPE or VIEW_XML_GROUP
CMake Error : The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files :
/home/kulis/projects/ParaView/VTK/IO/FFMPEG/FFMPEG_INCLUDE_DIR
used as include directory in directory /home/kulis/projects/ParaView/VTK/IO/FFMPEG
FFMPEG_avcodec_LIBRARY (ADVANCED)
linked by target "vtkIOFFMPEG" in directory /home/kulis/projects/ParaView/VTK/IO/FFMPEG
FFMPEG_avformat_LIBRARY (ADVANCED)
linked by target "vtkIOFFMPEG" in directory /home/kulis/projects/ParaView/VTK/IO/FFMPEG
FFMPEG_avutil_LIBRARY (ADVANCED)
linked by target "vtkIOFFMPEG" in directory /home/kulis/projects/ParaView/VTK/IO/FFMPEG
FFMPEG_swscale_LIBRARY (ADVANCED)
linked by target "vtkIOFFMPEG" in directory /home/kulis/projects/ParaView/VTK/IO/FFMPEGAnd I do not really know what to do with it.
I would very much appreciate your help. Thanks
-
Error during decoding (-1094995529) Invalid data found when processing input
8 mai 2018, par Harshil MakwanaI wants Hardware Acceleration using dxva2. In my code Software decoding works fine but with hardware acceleration avcodec_send_packet return negative value(-1094995529). Help me to fix this ?
Initialization of dxva2 hardware :
enum AVHWDeviceType type = av_hwdevice_find_type_by_name("dxva2");
if (type == AV_HWDEVICE_TYPE_NONE) {
fprintf(fp, "Hardware Device type is not supported.\n");
return -1;
}
for (int i = 0;; i++) {
const AVCodecHWConfig *config = avcodec_get_hw_config(sChannelInfo[chNum].codec, i);
if (!config) {
fprintf(fp, "Failed to get Hardware Configuartion\n");
return -1;
}
if (config->methods & AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX &&
config->device_type == type) {
hw_pix_fmt = config->pix_fmt;
fprintf(fp, "config->pix_fmt %d\n", (int)hw_pix_fmt);
break;
}
}
sChannelInfo[chNum].pCodecContext->pix_fmt = AV_PIX_FMT_DXVA2_VLD;
sChannelInfo[chNum].pCodecContext->get_format = get_hw_format;
av_opt_set_int(sChannelInfo[chNum].pCodecContext, "refcounted_frames", 1, 0);
if (hw_decoder_init(sChannelInfo[chNum].pCodecContext, type) < 0)
{
fprintf(fp, "hardware decoder initilisation Failed\n");
return -1;
}Decode :
int ret = avcodec_send_packet(sChannelInfo[chNum].pCodecContext, &pkt);
if (ret < 0) {
char buffer[64];
av_make_error_string(buffer, 64, ret);
fprintf(fp, "Error during decoding %d %s\n",ret,buffer);
return ret;
}Why avcodec_send_packet API return -1094995529 value ?
Is there anything missing in dxva2 initialization ?