
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (90)
-
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 ;
-
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (15334)
-
How to combine a .mp4 video with a .wav audio with an offset in ffmpeg from command line ?
15 mars 2014, par minder42I've got a TV clip in mp4 format containing audio and video, and an WAV audio_commentary track.
I've been trying to combine them in ffmpeg and then play it online with a flash player (which can only take h264 format)
What's the best ffmpeg command to accomplish this ? My inputs are MP4 video, WAV audio, and an offset in seconds, the time the audio commentary starts relative to the start of the mp4 video.
I tried
ffmpeg -i input_audio.wav -i input_vid.mp4 -vcodec copy output.mp4
and
ffmpeg -vcodec copy -ss offset -i input_audio.wav -i input_video.mp4 output.mp4
nether of these do what I want and output the video in the h264 format that is good for flash players- Is there a way to do this from command line in ffmpeg ?
-
Batch file to normalize audio using Mediainfo command line interface
16 septembre 2021, par Hinsdale1I would like to create a Windows batch file script to normalize the audio for all videos (mostly .mkv files) in a folder.


I am using a python script called ffmpeg-normalize (utilizes ffmpeg's loudnorm filter 2pass) to accomplish this currently. This command line will currently normalize the audio (creates an output folder called "normalized") in all video files but I need to manually enter specific values for it to use the proper audio codec and sampling rate.


I would like to use Mediainfo command line interface to query each video file in the folder first and determine its audio bit depth and audio sampling rate and then use these values to assign the proper audio codec and sampling rate parameters to perform the loudness normalization on each file.


For example :


If the audio bit depth of the video file is 16 bits and the sampling rate is 44.1 khz then the command would be :


for /f "tokens=*" %G in ('dir /b *.mkv') do ffmpeg-normalize -c:a pcm_s16le -ar 44100 "%G"


If the audio bit depth of the video file is 24 bits and the sampling rate is 96.0 kHz then the command line would be :


for /f "tokens=*" %G in ('dir /b *.mkv') do ffmpeg-normalize -c:a pcm_s24le -ar 96000 "%G"


Audio bit depth of "16" should use pcm_s16le audio codec, Audio bit depth of "24" should use pcm_s24le audio codec, sampling rate of "44100 : should use -ar 44100, etc


mediainfo --Inform=Audio;%BitDepth% test.mkv
will generate the right bit depth (16 or 24)
mediainfo --Inform=Audio;%SamplingRate% test.mkv
will generate the right sampling rate (44100,48000,88200,96000 or 192000)

Just dont know how to nest the FOR / TO DO / NEXT stuff in order to create the batch file.


Thank you in advance to anyone who is willing to assist.


-
How to fuse a .mp4 video with a .wav audio with an offset in ffmpeg from command line ?
4 février 2012, par minder42I've got a tv clip in mp4 format containing audio and video, and an wav audio_commentary track.
I've been trying to fuse them in ffmpeg and have they played online with a flash player (which can only take h264 format)
What's the best ffmpeg command to accomplish this ? My inputs are mp4 video, wav audio, and an offset in seconds which is the time the audio commentary starts relative to the start of the mp4 video.
I tried
ffmpeg -i input_audio.wav -i input_vid.mp4 -vcodec copy output.mp4
and
ffmpeg -vcodec copy -ss offset -i input_audio.wav -i input_video.mp4 output.mp4
nether of these do what i want and output the video in the h264 format that is good for flash players- Is there a way to do this from command line in ffmpeg ?
Thanks in advance