
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (100)
-
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 (...)
-
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 (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (14041)
-
ffmpeg's segment_atclocktime cuts at inaccurate times for audio
3 mai 2023, par Ross RichardsonI am using ffmpeg's segment format to save files of an AAC stream to disk in hourly segments.
The segmenting works well, but the files are segmented/cut at different times in the clock each hour using
segment_atclocktime


I would like each to be exactly on the hour, e.g. 12:00:00, 13:00:00 etc. Or at least, beginning after the hour and not before, e.g. 12:00:00, 13:00:01, 14:00:00 etc.


I am using
ffmpeg-python
to process the AAC stream and send to two outputs : stdout and these segments.
Here's the code :

out1 = ffmpeg.input(stream, loglevel="panic").output("pipe:",
 format="s16le", 
 acodec="pcm_s16le", 
 ac="1", 
 ar="16000")

out2 = ffmpeg.input(stream, loglevel="info").output("rec/%Y-%m-%d-%H%M%S.aac",
 acodec="copy",
 format="segment",
 segment_time="3600",
 segment_atclocktime="1",
 reset_timestamps="1",
 strftime="1")
 
ffmpeg.merge_outputs(out1, out2)
 .run_async(pipe_stdout=True, overwrite_output=True)



Most files are produced at the desired time : 05:00:00, 06:00:00, 07:00:00, but one or two each day start at 08:59:59 (where 09:00:00 would be desired), or even 16:00:24.


I understand the segment needs to begin on a audio sample so it can't be perfect to the hour, but wondering how I can make it more consistent. Ideally, each hour's recording would begin at 00:00 or later, and not begin before the hour.


I have tried using
min_seg_duration 3600
,reset_timestamps 1

I am not sure how exactly to usesegment_clocktime_wrap_duration
for audio, or whethersegment_time_delta
applies to audio.

I'd appreciate any advice or understanding of how
segment_atclocktime
works with audio, as much on the internet seems video-focused.

-
How to extract duration time of online videos listed in a text file
22 août 2022, par GinofalaciI need to check the duration of thousand of videos online. I m trying to get this from a text file containing the urls of the videos.


I have those two commands that are working great with one url, but i don't find out how to get it work with a list within a file text.


fmpeg -i My.url 2>&1 | grep "Duration"| cut -d ' ' -f 4 | sed s/,//



or this :


ffmpeg -i my.url 2>&1 | grep Duration | sed 's/Duration: \(.*\), start/\1/g'



im trying :


fmpeg -i listurls.txt 2>&1 | grep "Duration"| cut -d ' ' -f 4 | sed s/,//



or this :


ffmpeg -i listurls.txt 2>&1 | grep Duration | sed 's/Duration: \(.*\), start/\1/g'



my file text is like this :


myurl1.m3u8

myurl2.m3u8

myurl3.m3u8

myurl4.m3u8

myurl5.m3u8

I've also tried :


file 'myurl1.m3u8'

file 'myurl2.m3u8'

file 'myurl3.m3u8'

file 'myurl4.m3u8'

file 'myurl5.m3u8'

but it doesn't work.


Also some videos might not be online anymore, but still referenced, so it would give no result, but I would like if possible to have the result "0" than nothing, it will be much easier to use the results afterwards.


(awk, sed, mediainfo, exiftool, any will be good, ) Thanks in advance.


-
cbs_h265 : read/write content light level information SEI message
10 mai 2018, par Haihao Xiang