I have two videos sample1.mpg and sample2.mpg, but are of different video settings/properties.
How can i take sample2.mpg video settings as a reference and:
(1) convert sample1.mpg similar to video settings/properties of sample2.mpg
(2) Merge sample1.mpg and sample2.mpg to create final.mpg
All steps using ffmpeg.
For step (2) i can use something similar to:
cat sample1.mpg sample2.mpg | ffmpeg -f mpeg -i - -vcodec copy -acodec copy merged_file.mpg
Step (1) is what i need to know.
I know:
ffmpeg -i sample2.mpg
will give me the audio/video settings of sample2.mpg, how can i redirect these settings through ffmpeg and convert sample1.mpg file.
I hope i was able to explain myself
Regards,
Umar
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
How can I cut/edit/merge/add some info/add hardsubtitle in one media (DVD)?
By roUndy_sh in forum EditingReplies: 8Last Post: 26th Dec 2010, 17:45 -
How to add watermark in mkv videos
By mysteryman26 in forum Newbie / General discussionsReplies: 6Last Post: 1st Mar 2010, 01:29 -
Add padding to videos
By marioval in forum Newbie / General discussionsReplies: 6Last Post: 7th Dec 2009, 06:22 -
How do i add subs to my videos?
By mrjust in forum Newbie / General discussionsReplies: 1Last Post: 14th Jul 2009, 18:29 -
merge videos
By Shaorin in forum Newbie / General discussionsReplies: 8Last Post: 25th Jun 2009, 10:00