
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (54)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (5019)
-
How to apply multiple filters and inputs with ffmpeg
24 juillet 2017, par JasonNot only do I have multiple filters, I have multiple inputs that I want to overlay. I usually have to them in 2-3 steps and wonder how to do it all in one command as it should be the most efficient way ?
1 and 2 literally identical. For readability, I’ve cut out the actual filters which are very long and complicated.
- image slide in left onto video
- Take output of 1, image slide in right
- Take output 2, textbox image fade in
-
Take output3, text fade in (finish)
1)
ffmpeg -i input.mp4 -loop 1 -i image.jpg -filter_complex \
"[1]scale=640:-1[i0]; \
[i0]drawbox=color=white:t=15[i1]; \
[i1]format=,fade=[i2]; \
[i2]rotate=[i3]; \
[0][i3]overlay= \
-c:v libx264 -vb 10M output1.mp4
2)
ffmpeg -i output1.mp4 -loop 1 -i image2.jpg -filter_complex \
"[1]scale=[i0]; \
[i0]drawbox=[i1]; \
[i1]format=,fade=[i2]; \
[i2]rotate=[i3]; \
[0][i3]overlay=" \
-c:v libx264 -vb 10M output2.mp4
3)
ffmpeg -i output2.mp4 -i image3.jpg -filter_complex \
"[1]scale=1080:-1 [ovrl], \
[ovrl]format=fade=[i]; \
[0][i]overlay=" \
-c:v libx264 -vb 10M output4.mp4
4)
ffmpeg -i output4.mp4 -filter_complex "drawtext=" -vb 10M finaloutput.mp4
-
Encoding of two full hd streams in Linux + GPU with Intel HD4000 / VA API / FFMPEG / OpenGL
27 juin 2017, par qknighti want to encode/stream two full hd streams in realtime from my laptop to a remote location using linux/xorg on the host.
VA API
for this i’ve been playing with the VA API but the performance is pretty bad with 5.59 fps (see paste below).
FFMPEG
using ffmpeg with CPU encoding i get about 200 fps but then all cores of my Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz are busy and the fan turns on.
future plans
i want GPU support in encoding and later integrate this into a program which streams a virtual xorg ’screen’, see https://lastlog.de/wiki/index.php/Raspberry_PI_virtual_screen for more details on my plans.
maybe h264 isn’t even what i want ? so if someone advices towards a different implementation, i’d welcome that.
besides VA API there seems to be QuickSync but i didn’t experiment with that yet as it is not packaged on NixOS just yet.
note : i need a library to have a smooth integration into the code.
h264encode -w 1920 -h 1080 —profile MPSource frame is 1920x1080 and will code clip to 1920x1088 with crop
INPUT:Try to encode H264...
INPUT : Resolution : 1920x1080, 60 frames
INPUT : FrameRate : 30
INPUT : Bitrate : 14929920
INPUT : Slieces : 1
INPUT : IntraPeriod : 30
INPUT : IDRPeriod : 60
INPUT : IpPeriod : 1
INPUT : Initial QP : 26
INPUT : Min QP : 0
INPUT : Source YUV : AUTO generated
INPUT : Coded Clip : /tmp/test.264
INPUT : Rec Clip : Not save reconstructed framelibva info : VA-API version 0.38.1
libva info : va_getDriverName() returns 0
libva info : Trying to open /run/opengl-driver/lib/dri/i965_drv_video.so
libva info : Found init function __vaDriverInit_0_38
libva info : va_openDriver() returns 0
Use profile VAProfileH264Main
Support rate control mode (0x12):CBR CQP
RateControl mode : CQP
Support VAConfigAttribEncPackedHeaders
Support packed sequence headers
Support packed picture headers
Support packed slice headers
Support packed misc headers
Support 1 RefPicList0 and 1 RefPicList1
Loading data into surface 15.....Complete surface loading
\00000059(054456 bytes coded)PERFORMANCE : Frame Rate : 5.59 fps (60 frames, 10730 ms (178.83 ms per frame))
PERFORMANCE : Compression ratio : 51:1
PERFORMANCE : UploadPicture : 10467 ms (174.45, 97.55% percent)
PERFORMANCE : vaBeginPicture : 0 ms (0.00, 0.00% percent)
PERFORMANCE : vaRenderHeader : 1 ms (0.02, 0.01% percent)
PERFORMANCE : vaEndPicture : 42 ms (0.70, 0.39% percent)
PERFORMANCE : vaSyncSurface : 244 ms (4.07, 2.27% percent)
PERFORMANCE : SavePicture : 7 ms (0.12, 0.07% percent)
PERFORMANCE : Others : -31 ms (71582787.75, 40027653.91% percent)
(Multithread enabled, the timing is only for reference)i’ve seen https://www.reddit.com/r/linux/comments/1qk1yu/is_there_currently_opensource_software_to_encode/ though but i’m not sure what do do with it.
-
FFMPEG filtergraph 'warning, too many B-frames in a row' [on hold]
26 juin 2017, par Leif AndersenI am trying to append two videos together with FFmpeg’s filtergraph. One video is sized 1920x1080 at 30fps, and another 1280x720 at 25fps. Both use yuv420p, and have the same pixel densities. I am currently ignoring the audio tracks. The following is my filtergraph :
[video2]fifo[video3];
[video3]pad=width=1920:height=1080[video9];
[video9]fps=fps=25[video11];
[video11]setpts=expr=PTS-STARTPTS[video17];
[video6]fifo[video7];
[video7]pad=width=1920:height=1080[video13];
[video13]fps=fps=25[video15];
[video15]setpts=expr=PTS-STARTPTS[video19];
[video17][video19]concat=v=1:a=0:n=2[video21];
[video21]pad=width=1920:height=1080[video23];
[video23]fps=fps=25[video25];
[video25]format=pix_fmts=yuv420p[video27]The first chain tries to convert the first video into a common format, that starts at 0 for the concat filter. The second chain does the same as the first. Finally, the third chain concatenates them videos together, and sets some properties for the resulting playlist.
Unfortunately, when I run this error, ffmpeg repeatedly outputs :
[mpeg4 @ 0x7fc16a810600] warning, too many B-frames in a row
When finished, I see the first video, padded to the correct resolution and frame rate, but instead of the second Video I see black. Additionally, the entire video is several days in length, starting with the first Video and ending in several days of just black.
I cannot figure out why I am getting this error, as it seems like I am setting the videos to have identical properties. What am I missing ?
Also, for what its worth, I am using FFmpeg’s C API rather than the command line tool. I am using libavformat/libavcodec/libavutil to do the encoding/decoding and libavfilter for the filtergraph.