
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (64)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 ;
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (11098)
-
lavc/h264dsp : stick R-V V biweight to 16-bit
29 juillet 2024, par Rémi Denis-Courmontlavc/h264dsp : stick R-V V biweight to 16-bit
T-Head C908 (ns) :
h264_biweight2_8_c : 2414.5
h264_biweight2_8_rvv_i32 : 701.8 (before)
h264_biweight2_8_rvv_i32 : 468.5 (after)
h264_biweight4_8_c : 4655.3
h264_biweight4_8_rvv_i32 : 1377.5 (before)
h264_biweight4_8_rvv_i32 : 931.8 (after)
h264_biweight8_8_c : 9701.5
h264_biweight8_8_rvv_i32 : 2896.0 (before)
h264_biweight8_8_rvv_i32 : 2070.5 (after)
h264_biweight16_8_c : 18025.0
h264_biweight16_8_rvv_i32 : 3460.8 (before)
h264_biweight16_8_rvv_i32 : 1978.0 (after)SpacemiT X60 (ns) :
h264_biweight2_8_c : 2415.5
h264_biweight2_8_rvv_i32 : 478.2 (before)
h264_biweight2_8_rvv_i32 : 362.8 (after)
h264_biweight4_8_c : 4655.3
h264_biweight4_8_rvv_i32 : 946.7 (before)
h264_biweight4_8_rvv_i32 : 727.3 (after)
h264_biweight8_8_c : 9061.8
h264_biweight8_8_rvv_i32 : 2071.7 (before)
h264_biweight8_8_rvv_i32 : 1685.8 (after)
h264_biweight16_8_c : 18020.5
h264_biweight16_8_rvv_i32 : 3457.2 (before)
h264_biweight16_8_rvv_i32 : 1935.8 (after) -
avformat/asf : Use ff_add_attached_pic() to read attached pics
29 mars 2021, par Andreas Rheinhardt -
obs-studio build fails on Debian distros
24 août 2021, par Fabian DruschkeAhoy ahoy.
Currently i am trying to compile obs-studio on my Debian machine (Debian Bullseye).
I have compiled FFMpeg myself in order to enable nvenc support for NVIDIA hardware acceleration.
Now i try to compile obs-studio but it always breaks at this error :


[ 41%] Built target obs-x264
[ 42%] Built target obs-libfdk
[ 43%] Building C object plugins/obs-ffmpeg/CMakeFiles/obs-ffmpeg.dir/obs-ffmpeg-audio-encoders.c.o
In file included from /tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:27:
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-formats.h:3:47: error: unknown type name ‘AVCodecContext’; did you mean ‘AVFormatContext’?
 3 | static inline int64_t rescale_ts(int64_t val, AVCodecContext *context,
 | ^~~~~~~~~~~~~~
 | AVFormatContext
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c: In function ‘convert_speaker_layout’:
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:65:10: error: ‘AV_CH_LAYOUT_MONO’ undeclared (first use in this function)
 65 | return AV_CH_LAYOUT_MONO;
 | ^~~~~~~~~~~~~~~~~
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:65:10: note: each undeclared identifier is reported only once for each function it appears in
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:67:10: error: ‘AV_CH_LAYOUT_STEREO’ undeclared (first use in this function)
 67 | return AV_CH_LAYOUT_STEREO;
 | ^~~~~~~~~~~~~~~~~~~
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:69:10: error: ‘AV_CH_LAYOUT_SURROUND’ undeclared (first use in this function)
 69 | return AV_CH_LAYOUT_SURROUND;
 | ^~~~~~~~~~~~~~~~~~~~~
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:71:10: error: ‘AV_CH_LAYOUT_4POINT0’ undeclared (first use in this function)
 71 | return AV_CH_LAYOUT_4POINT0;
 | ^~~~~~~~~~~~~~~~~~~~
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:73:10: error: ‘AV_CH_LAYOUT_4POINT1’ undeclared (first use in this function)
 73 | return AV_CH_LAYOUT_4POINT1;
 | ^~~~~~~~~~~~~~~~~~~~
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:75:10: error: ‘AV_CH_LAYOUT_5POINT1_BACK’ undeclared (first use in this function)
 75 | return AV_CH_LAYOUT_5POINT1_BACK;
 | ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:77:10: error: ‘AV_CH_LAYOUT_7POINT1’ undeclared (first use in this function)
 77 | return AV_CH_LAYOUT_7POINT1;
 | ^~~~~~~~~~~~~~~~~~~~
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c: In function ‘convert_ff_channel_layout’:
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:88:7: error: ‘AV_CH_LAYOUT_MONO’ undeclared (first use in this function)
 88 | case AV_CH_LAYOUT_MONO:
 | ^~~~~~~~~~~~~~~~~
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:90:7: error: ‘AV_CH_LAYOUT_STEREO’ undeclared (first use in this function)
 90 | case AV_CH_LAYOUT_STEREO:
 | ^~~~~~~~~~~~~~~~~~~
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:92:7: error: ‘AV_CH_LAYOUT_SURROUND’ undeclared (first use in this function)
 92 | case AV_CH_LAYOUT_SURROUND:
 | ^~~~~~~~~~~~~~~~~~~~~
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:94:7: error: ‘AV_CH_LAYOUT_4POINT0’ undeclared (first use in this function)
 94 | case AV_CH_LAYOUT_4POINT0:
 | ^~~~~~~~~~~~~~~~~~~~
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:96:7: error: ‘AV_CH_LAYOUT_4POINT1’ undeclared (first use in this function)
 96 | case AV_CH_LAYOUT_4POINT1:
 | ^~~~~~~~~~~~~~~~~~~~
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:98:7: error: ‘AV_CH_LAYOUT_5POINT1_BACK’ undeclared (first use in this function)
 98 | case AV_CH_LAYOUT_5POINT1_BACK:
 | ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:100:7: error: ‘AV_CH_LAYOUT_7POINT1’ undeclared (first use in this function)
 100 | case AV_CH_LAYOUT_7POINT1:
 | ^~~~~~~~~~~~~~~~~~~~
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c: In function ‘enc_create’:
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:205:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 205 | enc->codec = avcodec_find_encoder_by_name(type);
 | ^
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:209:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 209 | enc->codec = avcodec_find_encoder_by_name(alt);
 | ^
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c: In function ‘do_encode’:
/tmp/obs-studio/plugins/obs-ffmpeg/obs-ffmpeg-audio-encoders.c:343:16: error: implicit declaration of function ‘rescale_ts’ [-Werror=implicit-function-declaration]
 343 | packet->pts = rescale_ts(avpacket.pts, enc->context, time_base);
 | ^~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [plugins/obs-ffmpeg/CMakeFiles/obs-ffmpeg.dir/build.make:95: plugins/obs-ffmpeg/CMakeFiles/obs-ffmpeg.dir/obs-ffmpeg-audio-encoders.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1381: plugins/obs-ffmpeg/CMakeFiles/obs-ffmpeg.dir/all] Error 2
make: *** [Makefile:171: all] Error 2



I didn't find any fixes yet. So i thought i was clever, so i set up a Debian Sid virtual machine and instead of using the git, i used
apt source obs-studio
andapt build-dep obs-studio
. Unfortunately the result was the same,dpkg-buildpackage -rfakeroot -b -uc -us
had the same result, in the same file :obs-ffmpeg-audio-encoders.c

What might be the issue here ? Did i miss something fundamental ? Thanks in advance friends !