
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (66)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (5701)
-
ffmpeg : Invalid argument, [NULL @ 0x22e2240] Unable to find a suitable output format for 'ffmpeg'
14 février 2016, par user3788285I am trying to convert video from images wit the music in background
command is working fine in the terminal but while using into php it’s giving error :
this is the command i am trying :
/usr/local/bin/ffmpeg ffmpeg -framerate 1/5 -i image%01d.png -i song.mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k -r 30 -pix_fmt yuv420p -t 10 output.mp4 2>&1
array(21) {
[0]=>
string(83) "ffmpeg version git-2016-02-13-588e2e3 Copyright (c) 2000-2016 the FFmpeg developers"
[1]=>
string(56) " built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)"
[2]=>
string(369) " configuration: --enable-shared --extra-libs=-ldl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-ffplay --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --extra-cflags=-fPIC"
[3]=>
string(40) " libavutil 55. 17.100 / 55. 17.100"
[4]=>
string(40) " libavcodec 57. 24.102 / 57. 24.102"
[5]=>
string(40) " libavformat 57. 25.100 / 57. 25.100"
[6]=>
string(40) " libavdevice 57. 0.101 / 57. 0.101"
[7]=>
string(40) " libavfilter 6. 31.100 / 6. 31.100"
[8]=>
string(40) " libswscale 4. 0.100 / 4. 0.100"
[9]=>
string(40) " libswresample 2. 0.101 / 2. 0.101"
[10]=>
string(40) " libpostproc 54. 0.100 / 54. 0.100"
[11]=>
string(39) "Input #0, image2, from 'image%01d.png':"
[12]=>
string(54) " Duration: 00:00:10.00, start: 0.000000, bitrate: N/A"
[13]=>
string(101) " Stream #0:0: Video: png, gray(pc), 1080x494 [SAR 72:72 DAR 540:247], 0.20 tbr, 0.20 tbn, 0.20 tbc"
[14]=>
string(48) "[mp3 @ 0x22dfb00] Skipping 0 bytes of junk at 0."
[15]=>
string(74) "[mp3 @ 0x22dfb00] Estimating duration from bitrate, this may be inaccurate"
[16]=>
string(31) "Input #1, mp3, from 'song.mp3':"
[17]=>
string(59) " Duration: 00:01:45.80, start: 0.000000, bitrate: 127 kb/s"
[18]=>
string(61) " Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s"
[19]=>
string(71) "[NULL @ 0x22e2240] Unable to find a suitable output format for 'ffmpeg'"
[20]=>
string(24) "ffmpeg: Invalid argument"
}
int(1) -
Python pydub issue : Can't repoen a wav file after it as been reencoded by ffpeg [Silved]
28 avril 2024, par Trent TompkinsSolved by Michael Butscher. Updated code is now in the repo in the fixed branch. Thanks !


I have a python script that reads in all the *.wav files in a directory and saves them in a folder called output after it adjusts their volume.


lower.py :


import os
from pydub import AudioSegment as ass

# get the current working directory
current_working_directory = os.getcwd()
all_files = os.listdir();

 


while len(all_files) > 0:
 file = all_files.pop()
 song = ass.from_wav(file)
 song = song - 16
 song.export('out\\'+file)




https://github.com/tibberous/ChangeWavVolume/tree/fixed


The problem is (and this took me a LONG time to figure out), after the files are output once, if you try to read them again with AudioSegment ::from_wav(file), ffmpeg throws an error saying it can't decode the file. The output wav files play in Windows Media Player, and even have their audio adjusted, but I am guessing there somehow an error either in the file data itself or the file headers.


I put the code on github. Checkout the branch 'fixed'.


Btw, I just installed everything, so I should have the current versions of everything. I am using the Chocolatey package manager for Windows 10. Read README.txt (in progress) to see how I setup my dev environment.




Python 3.12.2
Chocolatey v2.2.2
C:\Users\moren>C:\ProgramData\chocolatey\bin\ffmpeg
ffmpeg version 7.0-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
 built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
 libavutil 59. 8.100 / 59. 8.100
 libavcodec 61. 3.100 / 61. 3.100
 libavformat 61. 1.100 / 61. 1.100
 libavdevice 61. 1.100 / 61. 1.100
 libavfilter 10. 1.100 / 10. 1.100
 libswscale 8. 1.100 / 8. 1.100
 libswresample 5. 1.100 / 5. 1.100
 libpostproc 58. 1.100 / 58. 1.100
Universal media converter







I opened the wav files the program generated with Media Player, VLC Media Player and Audacity, thinking they might throw an error, but the only thing that can't seem to read the exported wav files is the script that created them !


-
nw.js node WebKit - unable to play audio file
9 novembre 2018, par AllassoI have started working with nw.js, creating a test app to play audio files from. I am working on OS X 10.11.
The code for the player is :
<audio controls="controls">
<source src="path/to/file/song.mp3" type="audio/mp3">
</source></audio>The player and controls appear, but the file will not play. I have tried using a relative path, and an absolute path, trying both
"/path/to/file/song.mp3"
and
"file :///path/to/file/song.mp3"
schemes.I have verified the path is valid in all cases.
This page :
http://docs.nwjs.io/en/latest/For%20Developers/Enable%20Proprietary%20Codecs/
tells me that mp3 should be supported (for v0.22.1+, though I haven’t found a way to tell the version of my mp3, though is was made recently so I assume is the the latest codec.)
Just to try more stuff, I followed the instructions on these pages :
http://docs.nwjs.io/en/latest/For%20Developers/Enable%20Proprietary%20Codecs/
(It appears mp3 gained support since this doc came out.)https://github.com/nwjs/nw.js/wiki/Using-MP3-%26-MP4-%28H.264%29-using-the—video—%26—audio—tags.
I downloaded the ffmpeg libs from here :
https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases
and placed copies here :
find . -name libffmpeg.dylib
./dist/nw.js-examples/osx64/nw.js-examples.app/Contents/Versions/67.0.3396.87/libffmpeg.dylib
./node_modules/nw/nwjs/nwjs.app/Contents/Versions/54.0.2840.99/nwjs Framework.framework/libffmpeg.dylib
./node_modules/nw-builder/cache/0.31.2-sdk/osx64/nwjs.app/Contents/Versions/67.0.3396.87/libffmpeg.dylib
cp ~/Downloads/libffmpeg.dylib ./dist/nw.js-examples/osx64/nw.js-examples.app/Contents/Versions/67.0.3396.87/libffmpeg.dylib
cp ~/Downloads/libffmpeg.dylib "./node_modules/nw/nwjs/nwjs.app/Contents/Versions/54.0.2840.99/nwjs Framework.framework/libffmpeg.dylib"
cp ~/Downloads/libffmpeg.dylib "./node_modules/nw-builder/cache/0.31.2-sdk/osx64/nwjs.app/Contents/Versions/67.0.3396.87/libffmpeg.dylib"Still to no avail running either
npm run dev
or
npm run prod
and opening the packaged app.
I can play the file fine with the same code from a web browser.
I don’t know what else to try, help would be much appreciated, thanks.