
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (111)
-
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (7840)
-
'Could find no file' error
15 octobre 2015, par BrooksThis is my command :
"C:\...\ffmpeg.exe" -i "C:\...\audio.mp3" -r 1 -i "C:\...\%%d5.jpg" -qscale:v 1 -shortest ^
-s:v 1280x720 -y -r 30 -pix_fmt yuv420p -filter_complex "[0:a]volume=1[aout]" ^
-map 1:v -map "[aout]" "C:\...\video1.mp4"This is the error I get everytime :
I’ve searched and found various answers so I tried with
%%d5
%%5d
%d5
%5d
with no luck.
My files are named 00000.jpg, 00001.jpg ..., 00005.jpg. -
How to find out exact container/format of a video file using ffprobe ?
7 janvier 2021, par parthagarI would like to find out the exact format/container of a video file using ffprobe but I am unable to reach to the "exact" part of it.


When I run this sample command :

ffprobe -hide_banner -loglevel fatal -show_error -show_format -print_format json INPUT

I receive this output :

{
 "format": {
 "filename": "INPUT",
 "nb_streams": 2,
 "nb_programs": 0,
 "format_name": "matroska,webm",
 "format_long_name": "Matroska / WebM",
 "start_time": "0.000000",
 "duration": "2.969000",
 "size": "2376430",
 "bit_rate": "6403314",
 "probe_score": 100,
 "tags": {
 "COM.ANDROID.VERSION": "9",
 "MAJOR_BRAND": "mp42",
 "MINOR_VERSION": "0",
 "COMPATIBLE_BRANDS": "isommp42",
 "COM.ANDROID.CAPTURE.FPS": "30.000000",
 "ENCODER": "Lavf57.83.100"
 }
 }
}



As you may have understood, ffprobe gives a list of formats inside the
format_name
value. This is true for several video formats like mp4, mkv, webm, etc.

Whereas,
mediainfo
is able to find out the exact type of format, i.e. it outputs a singleFormat
like below :

Command :mediainfo INPUT

Output :

General
Unique ID : 41836023869371892704046005573890259380 (0x1F79533A912A2117C3D4CEB704EAB9B4)
Complete name : intermediate.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 2.27 MiB
Duration : 2 s 969 ms
Overall bit rate mode : Variable
Overall bit rate : 6 403 kb/s
Writing application : Lavf57.83.100
Writing library : Lavf57.83.100
ErrorDetectionType : Per level 1
COM.ANDROID.CAPTURE.FPS : 30.000000
COM.ANDROID.VERSION : 9



*Outputs truncated for decluttering info


Can anyone guide me as to how to achieve this using ffprobe itself ?


-
pydub.exceptions.CouldntDecodeError : Couldn't find fmt header in wav data
26 mai 2021, par JaswanthI am trying to make an audiofile into chunks and converting into text but, pydub is refusing to read my wav file.
Here is the code


#from speakerDiarization import main,fmtTime
from pydub import AudioSegment
import os
from speech_to_text import wav_to_text

meet_audio = 'UK.wav'
out_file = r'test.txt'
#spkrs = main(meet_audio)

spkrs = {0: [{'start': 0, 'stop': 6000}, {'start': 15000, 'stop': 15500}], 
1: [{'start': 6000, 'stop': 11000}, {'start': 15500, 'stop': 18500}, {'start':27500, 'stop': 34500}], 
2: [{'start': 11000, 'stop': 15000}, {'start': 18500, 'stop': 27500}, {'start': 34500, 'stop': 41000}]}

new_dict = {}
for spkr in spkrs:
 for i in range(len(spkrs[spkr])):
 new_dict[spkrs[spkr][i]['start']] = [spkr,i]
new_dict = sorted(new_dict)

audio = AudioSegment(meet_audio)

for i in new_dict:
 spkr,ind = new_dict[i][0],new_dict[i][1]
 start,end = spkrs[spkr][ind]['start'],spkrs[spkr][ind]['stop']
 chunk = audio[start:end]
 chunk_file = 'Chunks\chunk'+str(spkr)+str(ind)+'.wav'
 chunk.export(chunk_file,format='.wav')
 wav_to_text(chunk_file,out_file,spkr)



output :


(sprk-diaz) H:\Btech-Proj\Speaker_Diarization>split_audio.py
H:\Btech-Proj\Speaker_Diarization\sprk-diaz\lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
 warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Traceback (most recent call last):
 File "H:\Btech-Proj\Speaker_Diarization\split_audio.py", line 20, in <module>
 audio = AudioSegment(meet_audio)
 File "H:\Btech-Proj\Speaker_Diarization\sprk-diaz\lib\site-packages\pydub\audio_segment.py", line 222, in __init__
 wav_data = read_wav_audio(data)
 File "H:\Btech-Proj\Speaker_Diarization\sprk-diaz\lib\site-packages\pydub\audio_segment.py", line 114, in read_wav_audio
 raise CouldntDecodeError("Couldn't find fmt header in wav data")
pydub.exceptions.CouldntDecodeError: Couldn't find fmt header in wav data
</module>


I don't know what's wrong, can some solve this please.
Thank you.


My audiofile : around 40sec