
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (102)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
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 (5158)
-
FFmpeg : How to create m3u8 file list file steam .txt from .mp4 video
11 juin 2019, par Susuka AkiraCan someone help me create
m3u8
file with a stream stream of.txt
files ?The steam file list looks like :
#EXTM3U
#EXT-X-VERSION:5
#EXT-X-TARGETDURATION:7
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:6.000000,
#EXT-X-BYTERANGE:533168@18
/output_1.txt
#EXTINF:5.280000,
#EXT-X-BYTERANGE:549148@533186
/output_2.txt
#EXTINF:4.000000,
#EXT-X-BYTERANGE:467180@1082334
/output_3.txt
.......Thank you !
-
How to define the condition of a corrupted file for audio file in Python
14 août 2020, par kutlusI am using Python 3.6, Jupyter notebook by connecting to a remote machine. I have a large dataset of mp3 files. I use FFmpeg (version is 2.8.14-0ubuntu0.16.04.1.) to convert mp3 files to wav format.


My code below goes over the file path list and if the file is mp3 it converts it to wav format and deletes the mp3 file. The code works but for a few files it stops and gives error. I opened those files and saw that they have no duration and each of them has size 600 looking at the terminal folder size column but it might be a coincidence. The error is
file not found for 'temp_name.wav'
.

I can see that these corrupted files are not able to be converted to wav. When I delete them manually and run the code again it works. But I have large datasets and cannot know which files are corrupted beforehand. Is there a way to make the code (before converting the file to wav) if the file is corrupted it deletes it and continues to next file. I just don`t know how to define the condition of a corrupted file or if the file cannot be converted to wav.


# npaths is the list of full file paths 
for fpath in npaths:
 if (fpath.endswith(".mp3")):
 cdir=os.path.dirname(fpath) # extract the directory of file
 os.chdir(cdir) # change the directory to cdir
 filename=os.path.basename(fpath) # extract the filename from the path
 os.system("ffmpeg -i {0} temp_name.wav".format(filename))
 ofnamepath=os.path.splitext(fpath)[0] # filename without extension
 temp_name=os.path.join(cdir, "temp_name.wav")
 new_name = os.path.join(ofnamepath+'.wav')
 os.rename(temp_name,new_name) # use original filename with wav ext
 old_file = os.path.join(ofnamepath+'.mp3') # find and delete the mp3
 os.remove(old_file)



-
Want to print a console message on every .ts file entry in m3u8 file by ffmpeg
18 décembre 2015, par Anurag YadavI am using ffmpeg to record ip camera rtsp stream. I want to get .ts file entry at the instant when the entry is done in m3u8 file so that i can get and store it somewhere else. That’s why i want to print a console message when ffmpeg do entry on m3u8 file. I am using below command. Also Iam running command using java.
ffmpeg -rtsp_transport tcp -i <ip camera="camera" rtsp="rtsp" url="url"> -c:v copy -map 0 -f segment -segment_time 5 -segment_list_type m3u8 -segment_list /home/ira/Desktop/test/out.m3u8 -segment_format ts -y /home/ira/Desktop/test/out%01d.ts
</ip>