
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (37)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (6332)
-
gcc is unable to create an executable file
1er juin 2023, par Abhinandan MadaanI'm trying to compile ffmpeg cloned from ffmpeg github (with gpu support using CUDA) in my windows instance. I'm using msys2 mingw64 commandline to run the following command. The
configure
script is present in the root of the cloned ffmpeg codebase mentioned above.

./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-libnpp --enable-nonfree --extra-cflags=-I/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v12.1/include --extra-ldflags=-L/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v12.1/lib/x64



But I get the following error :


gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.



config.log
file looks something like this(I have removed most of the unnecessary lines in between the logs) :

# ./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-libnpp --enable-nonfree --extra-cflags='-I/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/include' --extra-ldflags='-L/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/lib/x64'
ACLOCAL_PATH=/mingw64/share/aclocal:/usr/share/aclocal
ALLUSERSPROFILE='C:\ProgramData'
ALL_COMPONENTS='
 
 aac_adtstoasc_bsf
av1_frame_merge_bsf
.
.
.
.
gcc -I/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/include -c -o /tmp/ffconf.b4kwCEqD/test.o /tmp/ffconf.b4kwCEqD/test.c
gcc.exe: warning: Files/NVIDIA: linker input file unused because linking not done
gcc.exe: error: Files/NVIDIA: linker input file not found: No such file or directory
gcc.exe: warning: GPU: linker input file unused because linking not done
gcc.exe: error: GPU: linker input file not found: No such file or directory
gcc.exe: warning: Computing: linker input file unused because linking not done
gcc.exe: error: Computing: linker input file not found: No such file or directory
gcc.exe: warning: Toolkit/CUDA/v12.1/include: linker input file unused because linking not done
gcc.exe: error: Toolkit/CUDA/v12.1/include: linker input file not found: No such file or directory
C compiler test failed.



It looks like it is unable to recognise the directory names with spaces included. I've tried escaping using
\
as well as with double quotes and single quotes too. I've tried the following commands, but the result is the same :

./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-libnpp --enable-nonfree --extra-cflags=-I /c/"Program Files"/"NVIDIA GPU Computing Toolkit"/CUDA/v12.1/include --extra-ldflags=-L /c/"Program Files"/"NVIDIA GPU Computing Toolkit"/CUDA/v12.1/lib/x64



./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-libnpp --enable-nonfree --extra-cflags="-I/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/include" --extra-ldflags="-L/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/lib/x64"



./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-libnpp --enable-nonfree --extra-cflags="-I'/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/include'" --extra-ldflags="-L'/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/lib/x64'"



./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-libnpp --enable-nonfree --extra-cflags=-I/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v12.1/include --extra-ldflags=-L/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v12.1/lib/x64



-
configure : Add -lstdc++ to the requirements for linking with libgme.
7 août 2013, par Stephen Hutchinson -
Reading JPEG in ffmpeg
16 juillet 2021, par Paul LammertsmaI'm trying to get ffmpeg to encode several individual JPEG images into a video on Android. I've successfully built it for Android (see the configuration string at the end of this post).



I can encode an h.263+ video with randomly generated frame content, and ffmpeg otherwise appears to work well.



A similar question suggests that the following code should be sufficient to load an image into an
AvFrame
:


// Make sure we have the codecs
av_register_all();

AVFormatContext *pFormatCtx;
int ret = av_open_input_file(&pFormatCtx, imageFileName, NULL, 0, NULL);

if (ret != 0) {
 printf("Can't open image file '%s': code %d, %s",
 imageFileName, ret, strerror(AVERROR(ret)));
}




The above returns the correct absolute file path and error :





Failed '/sdcard/DCIM/Camera/IMG083.jpg' : code -1094995529, Unknown error : 1094995529





Incidentally, if I omit
av_register_all()
, it returns with error 2.


I've compiled ffmpeg with the following arguments :







./configure —target-os=linux 
 —prefix=$PREFIX 
 —enable-cross-compile 
 —extra-libs="-lgcc" 
 —arch=arm 
 —cc=$PREBUILT/bin/arm-linux-androideabi-gcc 
 —cross-prefix=$PREBUILT/bin/arm-linux-androideabi- 
 —nm=$PREBUILT/bin/arm-linux-androideabi-nm 
 —sysroot=$PLATFORM 
 —extra-cflags=" -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1 -Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums -fno-strict-aliasing -finline-limit=300 $OPTIMIZE_CFLAGS " 
 —enable-shared 
 —enable-static 
 —extra-ldflags="-Wl,-rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib -nostdlib -lc -lm -ldl -llog" 
 —disable-everything 
 —enable-demuxer=mov 
 —enable-demuxer=h264 
 —disable-ffplay 
 —enable-protocol=file 
 —enable-avformat 
 —enable-avcodec 
 —enable-decoder=mjpeg 
 —enable-decoder=png 
 —enable-parser=h264 
 —enable-encoder=h263 
 —enable-encoder=h263p 
 —disable-network 
 —enable-zlib 
 —disable-avfilter 
 —disable-avdevice







Any suggestions would be most welcome !