
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 (43)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
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 (8331)
-
avformat_write_header() changes my stream's time_base
12 avril 2023, par grekenI have a high framerate camera which can capture >2000 fps. My plan was to assign actual capture timestamps with µs resolution to the frames and encode with H.264 in a matroska file.


So I set the
time_base
of both theAVStream
and theAVCodecContext
to{1, 1'000'000}
. But after callingavformat_write_header(avFormatContext, nullptr)
I notice that the stream'stime_base
is{1, 1'000}
. Now, since my framerate is double this resolution, I get identical consecutive timestamps and half my frames get lost when I extract them from the video file.

Does anyone have an idea why this is happening and what I can do about it ? Preferably in a way that preserves the correct timestamps.


-
Make blurred background faster with ffmpeg
26 septembre 2022, par Peter CzaskI have a vertical videos which I'll like to make them horizontal 1920x1080 with blurred background.


I do it with this command :


ffmpeg -i input.mp4 -vf 'split[original][copy];[copy]scale=ih*16/9:-1,crop=h=iw*9/16,gblur=sigma=20[blurred];[blurred][original]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2' output.mp4 



which that code I'm satisfied with the result, except that it takes very very long time to produce it. Is there any way to speed it up ? I noticed that the blurred part on the background uses half of the overlay video (non blurred), I'll like to blurry just with the edge (or 10 pixels) of the non blurred video (if this makes the encoding faster)...


-
How to process a video to mp4 with ffmpeg for quality and compatibility ?
30 mai 2024, par Luis A. FloritI am beginning to be more serious about video. I am processing my videos with
ffmpeg
in a fully updated Linux into mp4 to use it in HTML5 directly.

Now, I have old AVI videos that I want to convert to mp4 with ffmpeg for use with HTML5. In particular, I have this one :




(I know, terrible quality... sorry). According to
ffprobe
:

Duration: 00:01:35.30, start: 0.000000, bitrate: 1284 kb/s
Stream #0:0: Video: mpeg4 (Simple Profile) (DX50 / 0x30355844), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 1144 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p, 128 kb/s



That seems perfect : mpeg4 video and mp3 audio. So I tried :


ffmpeg -i input.avi -acodec copy -vcodec copy output.mp4



It generates a file that plays nicely in
mplayer
, but not infirefox
getting an error :

Video format or MIME type not supported.



Chrome plays the audio, but no video is shown... Now, if I do :


ffmpeg -i input.avi output.mp4



firefox works, but the video is reencoded in another one with half the size (half the bitrate). This is what
ffprobe
says about the reencoded video :

major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.71.100
Duration: 00:01:35.30, start: 0.000000, bitrate: 685 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 548 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)



I suppose that I am loosing lots of quality (and time processing the video). So, my questions :


- 

-
Why are browsers not playing my video with the
copy
codecs ?

-
Can I work with
ffmpeg
in this particular file without reencoding ? If yes, how ?

-
If I need to reencode, which are "reasonable" parameters to keep close to the original quality ? Would something like


ffmpeg -i input.avi -b:v 1024k -bufsize 1024k output.mp4










suffice for this video ? This generates a new video with size closer to the original one.


Thanks !


-