I want asymmetrical side by side video with resolution 1920x1080. The first video has bitrate 1mb/s and the second video has bitrate 500kb/s. Both videos have the same resolution 1920x1080 and encoded h.265, container mp4. I used ffmpeg code:
ffmpeg -i leftvideo.mp4 -i rightvideo.mp4 -filter_complex "[0:v] scale=iw/2:ih, pad=2*iw:ih [left]; [1:v] scale=iw/2:ih [right]; [left][right] overlay=main_w/2:0 [out]" -map [out] -c:v libx265 output.mp4
It works well but I want the resulting video quality while keeping. I don't want re-encoded.
Is it possible the two videos change resolution (960x1080) and together packed into container mp4?
EDIT: or another method?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 6 of 6
Thread
-
-
This type of manipulation requires re-encoding, because the video is decompressed before the manipulation
If you don't wan't to lose quality - you can use a lossless codec, but filesize will be much larger. It will not be very compatible with devices etc... only playable on a computer
Or if you only want to view it, you can use ffplay, or through an avisynth script -
-
If you are looking to just compare or create a comparison video, I think poisondeathray's suggestion for avisynth is the best. You can compaRe and stack how ever you would like.
Code:v1=directshowsource("C:\Users\Bud\Desktop\[dp]Manjandani-1.mp4", audio=false).ConvertToYV12() v2=directshowsource("C:\Users\Bud\Desktop\[dp]Manjandani-1_2.mp4", audio=false).ConvertToYV12() sub = v1.subtract(v2) substrong = sub.levels (122,1,132,0,255) StackVertical (StackHorizontal (v1.subtitle ("original"),v2.subtitle("encoded")), StackHorizontal(sub.subtitle("Difference"),substrong.subtitle("Difference amplified")))
Similar Threads
-
How to put two video clips side by side with VirtualDub and AviSynth?
By qingfeng in forum EditingReplies: 10Last Post: 1st Jun 2023, 08:57 -
Encoding a side-by-side passive video so that is auto-detected
By tkdoherty in forum Video ConversionReplies: 5Last Post: 18th Apr 2020, 06:33 -
Video Player to Do Side By Side Comparisons
By pone44 in forum Video ConversionReplies: 14Last Post: 11th Mar 2015, 07:49 -
Best way to shoot video for 2 side by side profile images?
By Tommy2013 in forum Newbie / General discussionsReplies: 4Last Post: 26th Mar 2013, 10:45 -
How do I do a side by side video comparison in AvsP?
By Simcut in forum Newbie / General discussionsReplies: 15Last Post: 25th Mar 2012, 23:42