Hi all,
I need a little problem here.
My original file is 480x720 (2 windows, 360 resolution)
I need "split" file in 360x480 and joint to 360x960 with ffmpeg.
Look the screenshots.
ORIGINAL:
NEEDED
Sometimes, the first screen isnt the left screen.
Claudio
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 13 of 13
Thread
-
-
-
Code:
ffmpeg -y -i "INPUT CLIP" -filter_complex "[0]split[a][b];[a]crop=iw:ih/2:0:0[r];[b]crop=iw:ih/2:iw:ih/2[l];[l][r]hstack" -c:a copy "OUTPUT"
users currently on my ignore list: deadrats, Stears555 -
Sorry my bad. Its fully work, just change output to 1.mp4 and ok.
Thank u very much @Selur.
ClaudioLast edited by Cauptain; 29th Apr 2018 at 04:57.
-
Selur, I have a pendence.
Code:ffmpeg -y -i "1 vs 100 (USA).mp4" -filter_complex "[0]split[a][b];[a]crop=iw:ih/2:0:0[r];[b]crop=iw:ih/2:iw:ih/2[l];[l][r]hstack" -c:a copy "%~dpn1.mkv"
Claudio -
"%~dpn1" is a batch option, it's not available in the command line.
So either write a proper batch script where you replace both input and output through some batch shortcuts or write the name,...users currently on my ignore list: deadrats, Stears555 -
You should pass name as parameter or explicitly name output by copying it - depends on your usage case.
Additionally you may wish to control codec and compression - currently you not specifying codecs and parameters and default one are used by ffmpeg (re-compression is mandatory in your case). -
Thank u guys. I will try when in my home.
Im weak with cml, even reading, there are things I dont understand.
Claudio -
Either hard code the filenames:
Code:ffmpeg -y -i "1 vs 100 (USA).mp4" -filter_complex "[0]split[a][b];[a]crop=iw:ih/2:0:0[r];[b]crop=iw:ih/2:iw:ih/2[l];[l][r]hstack" -c:a copy "1 vs 100 (USA) side by side.mkv"
Code:ffmpeg -y -i "%~1" -filter_complex "[0]split[a][b];[a]crop=iw:ih/2:0:0[r];[b]crop=iw:ih/2:iw:ih/2[l];[l][r]hstack" -c:a copy "%~dpn1 side by side.mkv"
-
Also, I would create a top/bottom-->left/right and a separate bottom/top-->left/right (or you could call it a top/bottom-->right/left) script and do a visual (manual) pre-sort into 2 separate input folders, so they each would be operated on only by the appropriate script.
Scott -
Its perfect for my friend Jagabo. Very nice. He can create all videos and rename by list using a renamer software.
Scott, this stage is much more advanced and I think it is very complicated for him.
I'll write down your suggestion as I need to learn more tips.
Claudio
Similar Threads
-
Best free way to split or join .MP4 files?
By Nagashi in forum EditingReplies: 31Last Post: 15th Nov 2023, 23:16 -
Split movie, x265 transcode, join movie
By rthorntn in forum LinuxReplies: 2Last Post: 24th Jul 2017, 16:53 -
Seamlessly split/join frames
By PhoenixAZ in forum Newbie / General discussionsReplies: 5Last Post: 16th Mar 2017, 23:30 -
Simple Mac tool to join/split WMV files
By freshair in forum MacReplies: 10Last Post: 11th Nov 2013, 17:40 -
Edit .mkv file (split/join) - nothing works "properly"!!!
By The.King in forum EditingReplies: 19Last Post: 11th May 2013, 06:23