Hi,
I want to add two clips to make one video file. The problem is both are very different kind of MP4 files.
So, a lot of work need be done.
Code:Clip #1 [FONT="Courier New"]General Complete name : C:\Users\…\Desktop\Best1.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso2/avc1/mp41) File size : 3.36 MiB Duration : 14 s 979 ms Overall bit rate mode : Variable Overall bit rate : 1 883 kb/s Writing application : Lavf58.76.100 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.1 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, Reference fra : 4 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 14 s 967 ms Source duration : 14 s 900 ms Nominal bit rate : 1 685 kb/s Maximum bit rate : 1 696 kb/s Width : 608 pixels Height : 1 080 pixels Display aspect ratio : 0.563 Frame rate mode : Constant Frame rate : 30.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.086 Source stream size : 3.01 MiB (90%) Writing library : x264 core 157 r2969 Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=1685 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00 mdhd_Duration : 14967 Codec configuration box : avcC Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 14 s 979 ms Source duration : 14 s 912 ms Bit rate mode : Variable Nominal bit rate : 187 kb/s Maximum bit rate : 192 kb/s / 192 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Source stream size : 340 KiB (10%) Default : Yes Alternate group : 1 mdhd_Duration : 14979 Clip #2 General Complete name : C:\Users\…\Desktop\Best.mp4 Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 (mp42/isom) File size : 2.59 MiB Duration : 10 s 426 ms Overall bit rate : 2 081 kb/s Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3 Format settings : CABAC / 1 Ref Frames Format settings, CABAC : Yes Format settings, Reference fra : 1 frame Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 10 s 400 ms Bit rate : 1 955 kb/s Width : 352 pixels Height : 640 pixels Display aspect ratio : 0.550 Frame rate mode : Constant Frame rate : 60.000 FPS Standard : NTSC Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.145 Stream size : 2.42 MiB (94%) Color range : Limited Color primaries : BT.601 PAL Codec configuration box : avcC Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 10 s 426 ms Bit rate mode : Constant Bit rate : 128 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 44.1 kHz Frame rate : 43.066 FPS (1024 SPF) Compression mode : Lossy Stream size : 161 KiB (6%)
Is it possible to add them or convert into a file where they play alternately in the same frame?
Thanks.
+ Reply to Thread
Results 1 to 7 of 7
-
Sword is no substitute for kitchen-knife.
-
Hi there! Yes, it is possible to combine two MP4 files into one video file, even if they are different types. However, you may need to convert one or both of the files to a compatible format first.
As I know, to combine the files, you can use a video editing software such as Adobe Premiere Pro, Final Cut Pro, essay or iMovie. Import both MP4 files into the software, and then drag them onto the timeline in the order that you want them to play. You can then adjust the settings as necessary, such as the size and position of each clip on the screen.
If the two files are not compatible with the video editing software, you can convert them into a compatible format using a free online converter such as Online-Convert.com or CloudConvert.com. Simply upload the file, choose the desired output format, and download the converted file.
I hope this helps! Let me know if you have any further questions.
Cheers, newbie LawrenceLast edited by LawrenceWilliams; 25th Mar 2023 at 01:56.
-
You could also try clever FFmpeg-GUI (maybe without reencoding).
Load your first mp4, click main, click multiplex, set ts as container, click multiplex.
If done, you will find a Ts file with the same name in the destination folder.
Do the same for the second mp4.
Then load the first ts, click main, click join, drag & drop the second ts file and click join.
If done, you will find a new Ts file with "joined" in the name in the destination folder.
Test if plays fine. -
Sword is no substitute for kitchen-knife.
-
-
Thanks.
The 'join' didn't work for me, however, transfer to TS container did.
Then I played both files three times in PotPayer and recorded the video.
After that using AVIDEMUX, I removed the unwanted parts from the recorded video.
The last thing to do was to edit audio track in Audacity and silence the extra parts.
I am yet to know any free audio editor like WavePad which allows precise editing in at slow
playing speed.
Thanks.Sword is no substitute for kitchen-knife. -
Thank you for the suggestions.
Sword is no substitute for kitchen-knife.
Similar Threads
-
Add sub to mp4
By Donnje in forum SubtitleReplies: 4Last Post: 11th Jan 2023, 10:50 -
Add mp4 output on x264 compile
By naoto89 in forum Newbie / General discussionsReplies: 17Last Post: 9th Jul 2020, 16:56 -
Add Audio to MP4 without re-encoding
By paulmolive in forum MacReplies: 6Last Post: 21st Apr 2020, 16:59 -
Stuck in trying to add .ass subtitles to MP4 video
By cgkas in forum Newbie / General discussionsReplies: 6Last Post: 27th Apr 2019, 11:24 -
Best way to add CEA-608/CEA-708 closed captions to MP4 files
By Subt in forum Newbie / General discussionsReplies: 3Last Post: 18th Mar 2019, 11:04