
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (54)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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" (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (5490)
-
How do you loop an audio watermark over audio in Fluent FFMpeg ?
3 juillet 2022, par uponlyI'd like to loop an audio watermark over a longer piece of audio, say every 20 seconds.


Right now I have mixed the two pieces of audio and the watermark plays at the very beginning :


command = ffmpeg(tempFilePath) // File path to base audio file
 .setFfmpegPath(ffmpeg_static)
 .input(tempWatermarkAudioPath) // File path to watermark audio file
 // Need to loop the watermark
 .complexFilter("amix=inputs=2:duration=longest")
 .audioChannels(2)
 .audioFrequency(48000)
 .format('mp3')
 .output(targetTempFilePath);



I have looked at ffmpeg : How to repeat an audio "watermark" and tried to do the following to no avail :


.complexFilter("amovie=" + tempWatermarkAudioPath + ":loop=0,asetpts=N/SR/TB[beep];[0][beep]amix=duration=longest,volume=2")



and


.complexFilter("amovie=[b]:loop=0,asetpts=N/SR/TB[b];[0][b]amix=duration=longest,volume=2")



In both these cases I get "File path not found" using Google Cloud Functions.


Any help would be greatly appreciated.


-
FFMPEG : titlecard for concatentaed video results in slow-mo
3 septembre 2020, par epilitimusI have three clips I have extracted from a longer video. When I concatenate them together everything works fine, as would be expected since they all came from the same source.


Now I want to add a title card to the front of the merged video.


I generated an image in GIMP with the same dimensions as the video frames and then used ffmpeg to generate a 5 sec. video from it. When I concatenated it onto the front of the other three I run into problems.


The title card segment plays correctly and then the remaining segments are (both video and audio) in slow-mo. Also the titlecard runs longer than 5 sec and the main segment audio starts before the corresponding video.


I know the problem is with the generation of the title card clip but so far I can't figure out what I am missing. Obviously my bitrates are wrong but how do I get them to match up ?


what I have so far :


my generation script :


#!/bin/bash

ffmpeg -y -ss 0:03:33 -t 0:0:33.5 -i seg1.vob -filter:a "volume=4" seg1.mp4
ffmpeg -y -ss 0:13:25.5 -t 0:0:57 -i seg1.vob -filter:a "volume=4" seg2.mp4
ffmpeg -y -ss 0:16:25.5 -t 0:0:43 -i seg1.vob -filter:a "volume=4" seg3.mp4
ffmpeg -y -ss 0:7:10 -t 0:0:10 -i seg1.vob -filter:a "volume=4" -vn -b:a 394k title.mp3
ffmpeg -y -loop 1 -i title.png -t 0:0:5 -i title.mp3 -c:a aac -b:a 394k -shortest title.mp4 
ffmpeg -y -f concat -safe 0 -i contents.txt -c copy merged.mp4 



and contents.txt :


file 'title.mp4'
file 'seg1.mp4'
file 'seg2.mp4'
file 'seg3.mp4'



ffprobe on seg1.mp4 :


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'seg1.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2mp41
 encoder : Lavf58.20.100
 Duration: 00:00:33.52, start: 0.000000, bitrate: 677 kb/s
 Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 275 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
 Metadata:
 handler_name : VideoHandler
 Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 6 channels, fltp, 394 kb/s (default)
 Metadata:
 handler_name : SoundHandler



and for title.mp4 :


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'title.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2mp41
 encoder : Lavf58.20.100
 Duration: 00:00:05.02, start: 0.000000, bitrate: 1290 kb/s
 Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 720x480 [SAR 191:194 DAR 573:388], 898 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
 Metadata:
 handler_name : VideoHandler
 Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 389 kb/s (default)
 Metadata:
 handler_name : SoundHandler



-
add a part of an audio file to a certain part of video , in loop using FFmpeg
5 octobre 2017, par 1234567I have two files one Audio and one video file,
The audio file is 1 min long,
and the video file is 2 min 30 sec long,
I want to add a part of audio, with loop not the whole audio file to the video , using FFmpeg
say from 15 sec to 33 sec of the audio file
to a part of video say from 45 sec to 1min 30 sec
this code has worked with a single file which is 18 sec long , which is added to a certain part of video with a loop
"-y","-i",j,
"-filter_complex",
"amovie="+audio+":loop=999,asetpts=N/SR/TB," +
"atrim=0:45,adelay=45000|45000,aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=1.5[a1];" +
"[0:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=2.0[a2];" +
" [a1][a2]amerge,pan=stereo:c0code>the problem is If I have a 1 min long audio file and just want to extract a 18 sec part form it , and add it to video in a loop how can that be done