
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (99)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (9556)
-
How to take metadata from .mp3 file and put it to a video as a text using FFmpeg ?
6 décembre 2020, par GrrzlyIn my previously opened topic :


How to make FFmpeg automatically inject mp3 audio tracks in the single cycled muted video



I've got detailed explanation from @llogan how to broadcast looped short muted video on youtube automatically injecting audio tracks in it without interrupting a translation.


I plan to enhance the flow and the next question I faced with is how to dynamically put an additional text to the broadcast.


Prerequisites :


- 

- youtube broadcast is up and running by ffmpeg
- short 3 min video is paying in infinity loop
- audio tracks from playlist are automatically taken by "ffmpeg concat" and injected in the video one by one








this is a basic command to start translation :




ffmpeg -re -fflags +genpts -stream_loop -1 -i video.mp4 -re -f concat
-i input.txt -map 0:v -map 1:a -c:v libx264 -tune stillimage -vf format=yuv420p -c:a copy -g 20 -b:v 2000k -maxrate 2000k -bufsize
8000k -f flv rtmp ://a.rtmp.youtube.com/live2/my-key




Improvements I want to bring


- 

- I plan to store some metadata in audio files (basically it's an artist name and a song name)
- At the moment a particular song starts playing artist/song name should be taken from metadata and displayed on the video as text during the whole song is playing.
- When the current song finishes and a new one starts playing the previous artist/song text should be replaced with the new one etc








My question is how to properly take metadata and add it to the existing broadcast config using ffmpeg ?


-
Why ffmpeg can play h264 even when flag —disable-libx264 is set ? [closed]
2 décembre 2020, par JamsTo be complient with x264 licensing (for a commercial software I'm making) I plan to use a compiled version of ffmpeg without x264 support.
Here is the ouput of the command line ffmpeg -L :




ffmpeg version n4.3.1-20-g8a2acdc6da Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.3-win32 (GCC) 20200320
configuration : —prefix=/ffbuild/prefix —pkg-config-flags=—static —pkg-config=pkg-config —cross-prefix=x86_64-w64-mingw32- —arch=x86_64 —target-os=mingw32 —enable-version3 —disable-debug —enable-shared —disable-static —disable-debug —enable-iconv —enable-zlib —enable-libxml2 —enable-libfreetype —enable-libfribidi —enable-gmp —enable-lzma —enable-fontconfig —enable-opencl —enable-libvmaf —disable-vulkan —enable-libvorbis —enable-amf —enable-libaom —disable-avisynth —enable-libdav1d —disable-libdavs2 —enable-ffnvcodec —enable-cuda-llvm —disable-libglslang —enable-libass —enable-libbluray —enable-libmp3lame —enable-libopus —enable-libtheora —enable-libvpx —enable-libwebp —enable-libmfx —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-librav1e —enable-schannel —enable-sdl2 —enable-libsoxr —enable-libsrt —enable-libtwolame —disable-libvidstab —disable-libx264 —disable-libx265 —disable-libxavs2 —disable-libxvid —enable-libzimg —extra-cflags=-DLIBTWOLAME_STATIC —extra-cxxflags= —extra-ldflags=-pthread —extra-libs=-lgomp
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
ffmpeg is free software ; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation ; either version 3 of the License, or
(at your option) any later version.




But when I play a video encoded with h264 it plays perfectly.
Is expected ? How to be sure I'm not infringing the license ?


Here is where I downloaded the binaries :
https://github.com/BtbN/FFmpeg-Builds/releases

And I picked a release with the following name : win64-gpl-shared-4.3.zip

Thanks.


-
How to run a bat file when clicking a button in an electron + react application ?
12 novembre 2020, par АртемI am using Windows 7

I want to write a windows app using electron + react.

The essence of the application is to run bat files.

Bat files will execute their script.

In this case, I have already written baht files, they work with the FFMPEG.

I like FFMPEG and I would like to make it easy to use on Windows with such an application.

At this stage, I have two folders Your_files and Result, next to these folders are ready-made baht files and ffmpeg.exe.

- 

- In the folder Your_files I put the files to convert.
- I click on the desired baht file, it converts.
- I take the finished files from the Result folder.








I would like to write a nice application now.

There will be one window with buttons in the CMD style - minimalism. On the buttons, the labels are similar (mp4 - mkv) and others.

I also plan to place two folders Your_files and Result next to the application.

The principle is the same, only here is a beautiful visual interface with buttons for the place of many baht files.

It will be easier to visually choose what you need.

The crux of the question : How to launch a baht file when you click on a button in the application ?
Perhaps you have some ideas on how to implement this even better .. I welcome your suggestions with a detailed description.

------------------------

P.S. I originally planned the following... But I decided to abandon this implementation. ))

I recorded a cycle in a baht file.

The cycle was launched in the bat file mshta.exe with HTML layout (visual interface). lol

Received the value of a variable, which he entered in the visual interface of the mshta.exe window.

The variable returned to the loop and the baht file was executed.

But I don't think this is the best approach. Use a similar hybrid.

Take a look at this for fun.







 
 
 
 
 <code class="echappe-js"><script type="text/javascript">&#xA; function myFunction() {&#xA; var copyText = document.getElementById("myInput");&#xA; copyText.select();&#xA; document.execCommand("copy");&#xA; }&#xA; </script>




<script language=&#x27;javascript&#x27;>&#xA; window.resizeTo(800, 300);&#xA;&#xA; function entperPressed(e) {&#xA; if (e.keyCode == 13) {&#xA; pipePass();&#xA; }&#xA; }&#xA;&#xA; function pipePass() {&#xA; var pass = document.getElementById(&#x27;pass&#x27;).value;&#xA; var fso = new ActiveXObject(&#x27;Scripting.FileSystemObject&#x27;).GetStandardStream(1);&#xA; close(fso.Write(pass));&#xA;&#xA; }&#xA; </script>

Enter time of frame. Введите время кадра


hh:mm:ss.mss – 00:00:00.000


(colons can be omitted as well as milliseconds)


(двоеточия при вводе можно опустить как и миллисекунды)



 






 










- In the folder Your_files I put the files to convert.