
Recherche avancée
Autres articles (112)
-
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 ;
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (14628)
-
Existing and linked shared object file cannot be opened : not found
27 décembre 2014, par RubenI cross-compiled ffmpeg (v 2.5) for my raspberry pi (Raspbian) on Ubuntu (64bit) with crosstool-ng (armv6, 32bit, little endian) with shared-flag enabled and transferred the binaries (ffmpeg, ffserver and ffprobe) and libraries to /usr/local/bin respectively /usr/local/lib on my pi (following this instruction : https://trac.ffmpeg.org/wiki/CompilationGuide/RaspberryPi). ffmpeg works fine, I tested it by recoding a mp3 file to wav. However, when trying to import a library, that requires libavutil.so.54, for example by executing
python -c 'import musicplayer'
I get the message :
libavutil.so.54: cannot open shared object file: No such file or directory
Did not seem to be a big problem, I added the line :
include /usr/local/bin
to the ldconfig file and reconfigured ld.
Executingldconfig -p | grep libavutil
shows, that the so-files are linked successfully. Nevertheless, libavutil.so.54 still cannot be accessed, the error remains. Even adding the path to LD_LIBRARY_PATH does not help. When trying to link directly to the so-file via LD_PRELOAD, the output is :
ERROR: ld.so: object '/usr/local/lib/libavutil.so.54' from LD_PRELOAD cannot be preloaded, ignored
The next step was to check the permissions, but I could not find any wrong setting.
I am kind of stumped. Is there a possibility to check, whether libavutil works fine ?
Any help would be greatly appreciated !
Maybe the output of ldconfig -v (relevant sections) helps :
pi@raspberrypi ~ $ sudo /sbin/ldconfig -v
/sbin/ldconfig: Pfad »/lib/arm-linux-gnueabihf« mehrfach angegeben
/sbin/ldconfig: Pfad »/usr/lib/arm-linux-gnueabihf« mehrfach angegeben
...
/sbin/ldconfig: /lib/arm-linux-gnueabihf/ld-2.13.so is the dynamic linker, ignoring
...
/usr/lib/arm-linux-gnueabihf:
...
libavutil.so.52 -> libavutil.so.52.3.0
...
libavutil.so.51 -> libavutil.so.51.22.2
...
/usr/local/lib:
...
libavutil.so.54 -> libavutil.so.54.15.100
...
/lib:
...
/sbin/ldconfig: /lib/ld-linux.so.3 is the dynamic linker, ignoring
...
/usr/lib:
...
/usr/lib/arm-linux-gnueabihf/neon: (hwcap: 0x0000000000001000)
/usr/lib/arm-linux-gnueabihf/neon/vfp: (hwcap: 0x0000000000001040)
...
libavutil.so.52 -> libavutil.so.52.3.0
... -
Old XBM image-based demo I keep forgetting to upload, still linked from P01’s nifty "Defender of the Favicon" demo : http://www.p01.org/releases/DEFENDER_of_the_favicon/
24 juin 2011+ demo/page-player/xbm-test.html Old XBM image-based demo I keep forgetting to upload, still linked from P01’s nifty "Defender of the Favicon" demo : http://www.p01.org/releases/DEFENDER_of_the_favicon/
-
Grab audio samples with ffmpeg and C, error with official example code
31 août 2020, par nji9For dev with mingw-w64 I'm using ffmpeg v. 4.3.1. and also the latest Git version of ffmpeg (Zeranoe's Windows 64 builds).


I get "strange" problems when running the official example code for decoding audio


https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/decode_audio.c


MP3DirectCut(Lib-bass).mp3


http://www.mediafire.com/file/ozmjjcpwyhhdnr7/MP3DirectCut(Lib-bass).mp3/file


Generates pcm, but outputs :


"Warning: the sample format the decoder produced is planar (s16p).
This example will output the first channel only."



But the output pcm has both channels !??


When recoding the above mp3 to wav with ffmpeg (4.1.4, no error message)


http://www.mediafire.com/file/gcq7ryg43pd57q5/ffmpeg4.1.4.wav/file


and also when recoding the latter to mp3 again


http://www.mediafire.com/file/ij865dkrprn2lta/ffmpeg4.1.4_recode.mp3/file


the example code breaks and produces these error messages :


avcodec_send_packet ()
from within:
"[mp2 @ <someaddress>] Header missing"
and returns error code -1094995529
(= "Invalid data found when processing input")
</someaddress>


It produces that error message for literally all other formats
I tried, and also when written with another editor (Audition 3.0).
But all the files play and show fine on all programs I have.


I'm at a lost at this point.
What is going on and wrong here ?