
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (74)
-
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 (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (10252)
-
No such file or directory : 'ffmpeg' on MacOS in Python
22 novembre 2023, par Harper BledsoeI am using MacOS (Apple Silicon) and I am trying to use the whisper module from OpenAI in Python. My code is this :


import whisper

file_path = "4547.mp3"
model = whisper.load_model("base")

result = model.transcribe(file_path)
print(result["text"])



When running that code I get the error :


FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg': 'ffmpeg'



I think it is because Python is looking in the wrong folder for ffmpeg and therefore can't find it, but I don't know how to fix that if that is the issue.


I have installed homebrew and used the command 'brew install ffmpeg' and it has successfully installed with no errors. I have tried uninstalling ffmpeg and reinstalling it. I have tried uninstalling open_whisper but to no avail.


-
How to create a Master Playlist for HLS using a Java wrapper library for FFMPEG
17 janvier 2019, par Abhishek NandgaonkarI am trying to find/use a Java Library that wraps around FFMPEG to create HLS compatible segments and metadata files along with a master metadata file.
Most existing libraries perform encoding just fine and allow extra functions for additional audio/video parameters. But I could not find a good way for using them to create a master metadata file and other resolution/bandwidth/bitrate based metadata + segments.
One way that I am planning to go about it is running the piece of code that performs HLS for me multiple times to suit the different bitrates and then programmatically look at the metadata files to compose the master metadata file. But that adds room for errors.
If you know of an existing library that can do it for me. Please share the details. It would really help out.
Libraries :
- https://github.com/bramp/ffmpeg-cli-wrapper
- https://github.com/hoary/JavaAV
- https://github.com/kokorin/Jaffree
- http://www.xuggle.com/
Documentation (see Section Master Playlist)
https://developer.apple.com/library/content/referencelibrary/GettingStarted/AboutHTTPLiveStreaming/about/about.htmlFFMPEG command line code that works for me
ffmpeg -loglevel debug -threads 4 -vsync 1 -i 'id.mp4' -vf yadif -g 29.97 -r 29.97 -b:v:0 5250k -c:v libx264 -rc:v vbr_hq -pix_fmt yuv420p -profile:v main -level 4.1 -rc-lookahead 32 -forced-idr 1 -b:v:1 4200k -c:v libx264 -rc:v vbr_hq -pix_fmt yuv420p -profile:v main -level 4.1 -rc-lookahead 32 -forced-idr 1 -b:v:1 3150k -c:v libx264 -rc:v vbr_hq -pix_fmt yuv420p -profile:v main -level 4.1 -rc-lookahead 32 -forced-idr 1 -b:a:0 256k -b:a:0 192k -b:a:0 128k -c:a aac -ar 48000 -map 0:v -map 0:a:0 -map 0:v -map 0:a:0 -map 0:v -map 0:a:0 -f hls -var_stream_map "v:0,a:0 v:1,a:1 v:2,a:2" -master_pl_name master.m3u8 -t 300 -hls_time 10 -hls_init_time 4 -hls_list_size 0 -master_pl_publish_rate 10 -hls_flags delete_segments+discont_start+split_by_time "vs%v_manifest.m3u8"
Any help would be appreciated. Thanks in advance.
-
FFprobe analysis of HLS chunks duration
23 mars 2017, par Georgе StoyanovI am writing a script for analysis of HLS streams. The problem is that when I run it on some specific streams the duration is missing from the format block. It shows
"format": {
"filename": "http://example.com/Content/HLS/Live/index.m3u8",
"nb_streams": 7,
"nb_programs": 5,
"format_name": "hls,applehttp",
"format_long_name": "Apple HTTP Live Streaming",
"start_time": "71900.703522",
"size": "1030",
"probe_score": 100
}I tried to run the same command on the main manifest file, on the profile manifest file and on the chunk itself but I am getting :
Duration : N/A
So now I was thinking is it possible to define that the ffprobe has to analyze only one chunk because I can get the duration from the number of the frames divided by the frame rate of the profile.