hi, sorry for my bad English,
I like to combine 2 or more videos,
but sometimes a video has a larger dimension,
for example a 1080p video combine with 720p video,
I like to make the 720p is stretch to 1080p (the height and the weight),
but because I like to make it automatic,
is there any code to do this?
(you do not need to type the height and the weight every time)
thank you, have a nice day
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 7 of 7
			
		- 
	
- 
	to combine videos, see here - https://stackoverflow.com/questions/7333232/how-to-concatenate-two-mp4-files-using-ffmpeg 
 to Resize/Scale/Change Resolution of a Video, see here - https://ottverse.com/change-resolution-resize-scale-video-using-ffmpeg/
- 
	@ october262 thank you for the reply, 
 can you explain what this code does?
 
 -filter_complex "[0:v] [0:a] [1:v] [1:a] [2:v] [2:a] \
 concat=n=3:v=1:a=1 [v] [a]" \
 -map "[v]" -map "[a]"
 
 my biggest problem is what I must to do to stretch lowest dimension video
- 
	use the scale filter to stretch the video - https://trac.ffmpeg.org/wiki/Scaling 
- 
	thank you again october262, 
 -I can scaling
 -I can concatenating
 my problem is to do both tasks simultaneously,
 can you provide a working command?
 
 and another task is wise to do 2 step separaty?:
 1. scaling lower resolution video to large video
 2. concatenating large resolution video with the scaled video
- 
	try the -filter_complex https://programmierfrage.com/items/how-to-run-multiple-ffmpeg-tasks-in-php-shell-exec 
- 
	i tried multiple times for hours 
 -input error,
 -filter error,
 -no error, output file unplayable,
 -no error, output file playable, double video size, only the first video appear
Similar Threads
- 
  Stretch audio and correct pitch preserving quality (ffmpeg, audacity or..?)By precipizio in forum AudioReplies: 0Last Post: 25th Feb 2022, 11:44
- 
  Help Utilize FFMPEG To Combine Two TS Files Into One Without Re EncodingBy TheShortStraw in forum EditingReplies: 3Last Post: 21st May 2021, 11:09
- 
  Download videos from vimeo, wayback machine etc at lower qualityBy alesi in forum MacReplies: 2Last Post: 21st Feb 2021, 00:18
- 
  How to combine frames and audio to ffmpegBy Trekmeister in forum Newbie / General discussionsReplies: 4Last Post: 16th Dec 2020, 18:26
- 
  ffmpeg lower the total bitrate after extractBy UnlikeME in forum Video ConversionReplies: 5Last Post: 4th Feb 2018, 04:52


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