
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (59)
-
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 ;
-
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 (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (7756)
-
pydub cannot find ffprobe despite whatever solutions I tried
18 avril 2020, par WeiThis is a very similar question to this Pydub unable to locte ffprobe however after following the solution, it still doesn't work :|



I have FFmpeg in path for environment variables as well.



my current code is just a simple one to let myself familiarise with pydub.



from pydub import AudioSegment
import os

directory = r"C:\Users\Wei's PC\Music\Files\Relaxing"

AudioSegment.converter = 'C:\\FFmpeg\\bin\\ffmpeg.exe'
AudioSegment.ffmpeg = "C:\\FFmpeg\\bin\\ffmpeg.exe"
AudioSegment.ffprobe = "C:\\FFmpeg\\bin\\ffprobe.exe"

os.chdir(directory)
file = AudioSegment.from_file(rf'{directory}\test.flac', 'flac')
file.export(f'River Flows in You.mp3', format = 'mp3')




but I keep getting this error



Warning (from warnings module):
 File "C:\Users\Wei's PC\AppData\Local\Programs\Python\Python37\lib\site-packages\pydub\utils.py", line 193
 warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning)
RuntimeWarning: Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work
Traceback (most recent call last):
 File "C:\Users\Wei's PC\Documents\Python\testing pydub.py", line 11, in <module>
 file = AudioSegment.from_file(rf'{directory}\test.flac', 'flac')
 File "C:\Users\Wei's PC\AppData\Local\Programs\Python\Python37\lib\site-packages\pydub\audio_segment.py", line 665, in from_file
 info = mediainfo_json(orig_file)
 File "C:\Users\Wei's PC\AppData\Local\Programs\Python\Python37\lib\site-packages\pydub\utils.py", line 263, in mediainfo_json
 res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)
 File "C:\Users\Wei's PC\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 800, in __init__
 restore_signals, start_new_session)
 File "C:\Users\Wei's PC\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1207, in _execute_child
 startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
</module>


-
ffmpeg php installation - shared libraries not found [closed]
7 juin 2012, par user1441923I have CENTOS 6.2 x86_64 standard on server57012
Problem is I am stuck in installing the ffmpeg php extension for my video site. I have installed ffmpeg converter successfully but got stuck while installing the php extension. The output that I am getting when typing ./configure in the console is
root@server57012 [/usr/local/src/ffmpeg-php-0.6.0]# ./configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20090626
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... invalid
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for ffmpeg support... yes, shared
checking whether to force gd support in ffmpeg-php... no
checking for ffmpeg headers... ...found in /usr/local/include/ffmpeg
checking for ffmpeg libavcodec.so...
configure: error: ffmpeg shared libraries not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared optionIts saying that ffmpeg shared libraries are missing. What steps are missing in my installation....??
-
Why is this ffmpeg conversion turning up trash ?
12 octobre 2015, par DigitalJedi805So, the company I work for still archives some of our data in Windows Media format.
I’ve written a C# application that loops through all of our WMVs, and in the event that a corresponding MP4 doesn’t exist, it fires off ffmpeg to convert the file.
What I’m running into, is a combination of problems.
When I run the following into ffmpeg ( rough C# ) :
"-i " + File.FullName + " -vf scale=720:480 -b:v 512k -bufsize 512k -vcodec libx264 -acodec aac -strict experimental " + OutputPath
I end up with a file that cannot play in our browser based player ( JWPlayer ), and cannot play on my local system in Windows Media Player.
Additionally, the file is larger than my WMV, and is larger than the file I output with [roughly] the same parameters in AVS Video Converter.
Furthermore, the file details don’t show any values for the video properties - as in, when I right click and go to properties->details, under ’video’, there is a list of length, height, width, frame rate, and bitrate - they are all empty - when I would very much expect some data normally.
Does anyone have any idea how I can make the conversion more straightforward, or what might be creating the problem in the first place ?
I’ve tried running this without scaling or bitrate parameters, and added them as an attempt to resolve the more core problem - obviously to no avail.
For everyone’s appeasement...
FFMPEG Output :
video:537604kB audio:158748kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 1.159483%
[libx264 @ 0453d000] frame I:1234 Avg QP:19.98 size: 33645
[libx264 @ 0453d000] frame P:94430 Avg QP:22.92 size: 3984
[libx264 @ 0453d000] frame B:208152 Avg QP:30.67 size: 638
[libx264 @ 0453d000] consecutive B-frames: 7.6% 1.8% 4.0% 86.6%
[libx264 @ 0453d000] mb I I16..4: 10.5% 61.2% 28.2%
[libx264 @ 0453d000] mb P I16..4: 0.4% 1.4% 0.3% P16..4: 26.8% 9.3% 4.8%
0.0% 0.0% skip:57.0%
[libx264 @ 0453d000] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 21.6% 1.1% 0.2%
direct: 0.4% skip:76.6% L0:42.6% L1:55.1% BI: 2.3%
[libx264 @ 0453d000] 8x8 transform intra:65.1% inter:71.9%
[libx264 @ 0453d000] coded y,uvDC,uvAC intra: 61.6% 59.3% 30.9% inter: 6.0% 6.7%
1.7%
[libx264 @ 0453d000] i16 v,h,dc,p: 34% 52% 7% 7%
[libx264 @ 0453d000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 27% 24% 3% 4% 4% 5%
4% 7%
[libx264 @ 0453d000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 38% 10% 3% 5% 4% 6%
3% 5%
[libx264 @ 0453d000] i8c dc,h,v,p: 47% 35% 14% 4%
[libx264 @ 0453d000] Weighted P-Frames: Y:0.2% UV:0.1%
[libx264 @ 0453d000] ref P L0: 67.8% 12.3% 14.3% 5.6% 0.0%
[libx264 @ 0453d000] ref B L0: 88.7% 9.7% 1.6%
[libx264 @ 0453d000] ref B L1: 92.6% 7.4%
[libx264 @ 0453d000] kb/s:434.44I’ll make the video files available shortly.