hello,
i want to know how to create 3 second picture pause at 30 seconds intervals of a video with ffmpeg.
the picture is one that i will add of course not from the video.
thank you.
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 3 of 3
			
		- 
	
- 
	I would use overlay to combine video with picture and modify alpha channel coefficient in 30 seconds intervals, side to this perhaps modifying fps (PTS) on same principle - AFAIR there is new ffmpeg filter that may help to achieve this https://ffmpeg.org/ffmpeg-filters.html#sendcmd_002c-asendcmd or https://ffmpeg.org/ffmpeg-filters.html#toc-zmq_002c-azmq Last edited by pandy; 20th May 2016 at 03:54. 
- 
	Pandy has a good suggestion and overlay may work better than just combining because ffmpeg doesn't like to add audio/no audio sequences together. It is possible to create video with your image that has blank audio by first creating blank audio: 
 
 Then add it to image:Code:ffmpeg -f lavfi -i "aevalsrc=0|0:d=5" output.wav 
 Then use AVISynth to create the insertions:Code:"C:\pathtoFFMpeg\ffmpeg" -loop 1 -f image2 -i "C:\PathToImage\img00003.jpg" -i "C:\PathToAudio\output.wav" -map 0:0 -map 1:0 -shortest -acodec aac -vcodec libx264 -r 30 -t 4 "C:\PathToNewImageWAudio\img00005_IMG2VID_wAudio3.FLV" 
 The problem is if its a long video, every 30 seconds is going to make your avisynth script pretty long. The above script created the following video:Code:a=directshowsource("C:\Users\Bud\Desktop\img00001_IMG2VID_wAudio2.flv",pixel_type="rgb24").Spline36Resize(720,480).trim(1,120).ChangeFPS(30) b=directshowsource("C:\Users\Bud\Desktop\img00003_IMG2VID_wAudio2.flv",pixel_type="rgb24").Spline36Resize(720,480).trim(1,120).ChangeFPS(30) c=directshowsource("C:\Users\Bud\Desktop\clip.mp4",pixel_type="rgb24").lanczosResize(720,480).trim(1,120).ChangeFPS(30) d=directshowsource("C:\Users\Bud\Desktop\img00005_IMG2VID_wAudio2.flv",pixel_type="rgb24").Spline36Resize(720,480).trim(1,120).ChangeFPS(30) aa = a ba = b ca = c da = d vid=aa+ba+ca+da newvid = vid.ChangeFPS(30)newvid
 
 https://files.secureserver.net/0szTTXnDsk0evj
 
 
 (All the above created by Media Utility)
Similar Threads
- 
  How to create a Interlaced Video with FFMPEG?By franvlza in forum Newbie / General discussionsReplies: 5Last Post: 13th Jul 2015, 01:07
- 
  Create video from images with ffmpegBy TorBru in forum Video ConversionReplies: 7Last Post: 30th Aug 2014, 09:42
- 
  Video software to enable automatic frame freeze at intervalsBy cellishmania in forum EditingReplies: 12Last Post: 20th Jan 2012, 06:38
- 
  How to create multiple tasks for FFMPEG?By sandrushe in forum Video ConversionReplies: 3Last Post: 16th Dec 2011, 05:41
- 
  ffmpeg create ChapterBy lspy in forum Video Streaming DownloadingReplies: 2Last Post: 30th Sep 2011, 11:20


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote
