
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (39)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (4947)
-
Can't get the right formula to set frame pts for a stream using libav
4 avril 2022, par user1365836I'm trying to save a stream of frames as mp4.
Source framerate is not fixed and it stay in the range [15,30]


Encoder params :


...
eCodec.time_base = AVRational(1,3000);
eCodec.framerate = AVRational(30, 1);
...



Stream params :


eStream = avformat_new_stream(eFormat, null); 
eStream.codecpar = codecParams;
eStream.time_base = eCodec.time_base;



Decoder time_base is 0/1 and it marks each frame with a pts like :


480000
528000
576000
...



PTS(f) is always == PTS(f-1)+48000


Encoding (
dFrame
is the received frame,micro
the elapsed time in microseconds) :

av_frame_copy(eFrame, dFrame);
eFrame.pts = micro*3/1000;



This make the video playing too fast.
I can't understand why, but changing
micro*3/1000
tomicro*3*4/1000
make the video play at the correct speed (checked against a clock after many minutes of varying fps)

What am I missing ?


-
ffmpeg : add option -isync
13 juin 2022, par Gyan Doshiffmpeg : add option -isync
This is a per-file input option that adjusts an input's timestamps
with reference to another input, so that emitted packet timestamps
account for the difference between the start times of the two inputs.Typical use case is to sync two or more live inputs such as from capture
devices. Both the target and reference input source timestamps should be
based on the same clock source.If either input lacks starting timestamps, then no sync adjustment is made.
-
Prevent ffmpeg from collapsing multivalue metadata when converting formats
30 août 2022, par brjagaWhen using ffmpeg to convert FLAC files to Opus, I'm finding that multivalue metadata fields are getting collapsed into single values.


Here's the command I used :


ffmpeg -i steely_dan-fm.flac steely_dan-fm.opus



And here is one of the resulting tags when viewed with the mutagen library in Python :


>>> flac_metadata['performer']
['Walter Becker (electric guitar, bass)', 'Jeff Porcaro (drums, percussion)', 'Donald Fagen (vocals, piano)', 'Victor Feldman (percussion)', 'Glenn Frey (backing vocals)', 'Don Henley (backing vocals)', 'Tim Schmit (backing vocals)']
>>> opus_metadata['performer']
['Walter Becker (electric guitar, bass);Jeff Porcaro (drums, percussion);Donald Fagen (piano);Victor Feldman (percussion);Donald Fagen (vocals);Glenn Frey (backing vocals);Don Henley (backing vocals);Tim Schmit (backing vocals)']



Note that the former is a list of 9 strings, whereas the latter is a list of only one string.


Relevant section of the Vorbis Comment specification :




Field names are not required to be unique (occur once) within a comment header. As an example, assume a track was recorded by three well know [sic] artists ; the following is permissible, and encouraged :




ARTIST=Dizzy Gillespie 
 ARTIST=Sonny Rollins 
 ARTIST=Sonny Stitt