
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (111)
-
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (13128)
-
matroskaenc : write correct Display{Width, Height} in stereo encoding
22 octobre 2014, par Vittorio Giovaramatroskaenc : write correct DisplayWidth, Height in stereo encoding
should be the raw amount of pixels (for example 3840x1080 for full HD side by
side) and the DisplayWidth/Height in pixels should be the amount of pixels for
one plane (1920x1080 for that full HD stream)."So, move the aspect ratio check in the mkv_write_stereo_mode() function
and always write the embl when stereo format and/or aspect ration is set.
Also add a few comments to that function.CC : libav-stable@libav.org
Found-by : Asan Usipov <asan.usipov@gmail.com> -
How much the duration of an mp3 file given by Ffprobe is precise ?
24 septembre 2024, par Julien Larget-PietI have an mp3 file at a sample rate value of
44100
, let's name ita.mp3
.

So i get the duration of
a.mp3
with the following ffprobe command :

ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 a.mp3


I get
7.752
seconds.

Because the sample rate is per second, in theory the total amount of samples should be,


44100 * 7.752
= 341863.2

Let's round it to
341863


But using python library
ffmpegio
with the following code, i get a total amount of sample equal to340560
.

with ffmpegio.open(file, 'ra', blocksize = 16, sample_fmt = 'dbl') as file_opened:

 for i, indata in enumerate(file_opened):

 do some stuff
 print(i * 16)



So there is a non-negligible difference between
341863
and340560
.

I think it comes from the duration value given by
Ffmpeg
.
What do you thin ?

I search in
ffmpegio
documentation, but found nothing that trigered my attention :

https://python-ffmpegio.github.io/python-ffmpegio/


Thanks.


Search for answers about the precision of the ffprobe command.


-
get consistent 60fps while recording X screen with ffmpeg
28 janvier 2021, par thelmuxkriovarI wrote the following script to record an X screen for a specified amount of time, to make sure that it's lossless I've separated it into two steps


- 

- record for the specified amount in a codec that requires almost no compression (so there's no overhead that might cause frames to be dropped)
- re-encode the original video into HEVC to make the filesize significantly smaller






ffmpeg -hwaccel cuda -hwaccel_output_format cuda -vsync 1 -f x11grab -probesize 128M -s 1920x1080 -r 60 -i :0.0 -qscale 0 -vcodec huffyuv -t 00:01:13 "$video.avi" # record the screen losslessly
ffmpeg -hwaccel cuvid -vsync 1 -i "$video.avi" -map 0:0 -c:v:0 hevc_nvenc -crf 23 -preset medium "$video-clean.mp4"



This works just like I expect it to some of the time, but very often it drops a lot of frames (I've seen as many as 10000 frames dropped on occasion)


The gpu is a 1080 TI that's being used just for rendering an X server with a chrome window and recording it, according to
nvidia-smi
the usage never goes to higher than 50% even in the most extreme cases.

I don't know what else to try, I thought about using a ramdisk to write the file to as it might be an IO problem, but ffmpeg refuses to write to tmpfs (for some reason I can't explain)