Recommended Free Tools
A playlist file only sets the order of your videos; it does not make different codecs compatible. For clips with different codecs, use FFmpeg’s concat filter to decode, join, and re-encode them. The concat demuxer with -c copy is for inputs whose streams and relevant parameters already match.
Choose the right FFmpeg concat method
| Method | Re-encodes? | Input compatibility | Best for |
|---|---|---|---|
Concat demuxer with -c copy |
No; copies packets | Inputs must have the same streams, including compatible codecs and time bases | Joining already-compatible files quickly without another generation of encoding |
| Concat filter | Yes; decodes and then encodes the result | Can join different codecs, but corresponding streams and media properties may still need normalization | Clips with different codecs or other differences that require processing |
FFmpeg’s FAQ says of the concat filter: “This operation is recommended if you need to re-encode.” FFmpeg FAQ
Make a playlist file when using the concat demuxer
A concat demuxer playlist is a plain-text manifest, often named inputs.txt. Put one file entry on each line, in the order you want them joined:
file 'clip-one.mp4'
file 'clip-two.mov'
file 'clip-three.mkv'
Use paths relative to the playlist’s directory where practical. The manifest controls order; it does not convert a video or audio stream.
Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Clear out junk files and repair common Windows errors3Fix the driver behind crashes, sound loss and screen glitches#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
Use stream copy only when the files are compatible
If inspection confirms the inputs meet the demuxer’s compatibility requirements, join them without re-encoding:
ffmpeg -f concat -safe 0 -i inputs.txt -c copy joined.mp4
-c copy copies packets as-is. It cannot change one codec into another, so this is not a solution for mixed-codec clips. The demuxer requires the files to have the same streams, including codecs and time bases. It uses each file’s recorded duration to adjust timestamps for the next file; inaccurate durations can cause artifacts. See the FFmpeg concat demuxer documentation and FFmpeg stream-copy documentation.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
The example uses -safe 0 to allow paths that fail the demuxer’s safe-path checks. Use it only when the playlist contents are trusted.
Join clips with different codecs using the concat filter
For clips with different codecs, supply each file as an input, connect corresponding video and audio streams to the concat filter, and encode the result. This illustrative command assumes that both inputs contain one video stream and one audio stream:
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
ffmpeg -i clip-one.mp4 -i clip-two.mov
-filter_complex "[0:v:0][0:a:0][1:v:0][1:a:0]concat=n=2:v=1:a=1[v][a]"
-map "[v]" -map "[a]"
-c:v libx264 -crf 18 -preset medium -pix_fmt yuv420p
-c:a aac -b:a 192k -movflags +faststart output.mp4
-filter_complexfeeds each input’s video and audio streams into the concat filter, in matching order.concat=n=2:v=1:a=1specifies two segments, each with one video and one audio stream.-mapselects the filter’s joined video and audio outputs.-c:v libx264and-c:a aacencode the output video and audio.-crf 18,-preset medium, and-b:a 192kare example encoding choices, not universal requirements.-pix_fmt yuv420pselects a commonly used pixel format;-movflags +faststartmoves MP4 metadata to the beginning of the file.
This command is a starting point, not a guaranteed fit for arbitrary files. The concat filter expects corresponding segments to be suitable for concatenation; codec differences alone may not be the only mismatch.
Inspect and normalize mismatched inputs
Before building the filter graph, inspect each file’s streams and properties with ffprobe. Compare the number and order of audio and video streams, resolution, pixel format, sample rate, channel layout, and frame timing. If those properties differ, decide how to normalize them rather than assuming the basic graph will handle every case.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
- Use filters such as
scaleandsetsarwhen you need consistent dimensions or sample aspect ratio. - Use
fpsonly when you have a reason to standardize frame timing; do not force a different frame rate blindly. - Use
aresamplewhen audio sample rates need to be made compatible. - If a clip has no audio, the example graph will not work as written. Supply silent audio for that segment or construct separate video and audio concatenations.
Consult the FFmpeg command-line documentation for stream handling and encoder options. Review the joined file from beginning to end, especially transitions, audio sync, and the final segment.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Prepare the output for a YouTube upload
YouTube’s recommended upload settings list MP4, H.264 video, progressive scan, and AAC-LC audio, among other listed audio options. YouTube also recommends uploading at the same frame rate at which the footage was recorded. Its current SDR bitrate recommendations include 8 Mbps for 1080p at a standard frame rate and 12 Mbps for 1080p at a high frame rate; these are recommendations, not mandatory limits. Check YouTube’s recommended upload encoding settings for its color-space and audio guidance as well.
Free tools Windows power users keep installed
One-click scans. No signup required.
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Choose settings based on the source and the intended output. Re-encoding can make mixed inputs usable in one file, but it also creates a new encoded generation. Confirm the result plays correctly before uploading.
Common problems and fixes
- The demuxer reports incompatible streams or the output breaks at a clip boundary: The inputs may differ in codecs, stream layout, or time bases. Do not rely on
-c copyfor mixed codecs; use the concat filter and normalize relevant properties. - The concat filter rejects inputs or produces an unexpected transition: Check that corresponding streams exist in every segment and compare resolution, pixel format, audio sample rate, channel layout, and timing. Add suitable normalization filters where needed.
- The command fails because one clip has no audio: The sample graph expects audio in both inputs. Add a silent audio stream for the clip or build separate audio and video filter paths.
- Timestamps or playback are wrong after a demuxer join: The demuxer adjusts later timestamps using recorded file durations. Check for inaccurate durations and use a re-encoding workflow if the inputs need processing.
- FFmpeg rejects a playlist path: Keep entries relative to the playlist directory where possible. If you use
-safe 0for paths that fail safe checks, use only a playlist you trust.
Or let it run in the cloud
If the finished video is meant to loop as a YouTube livestream, StreamNeo keeps an uploaded video or playlist running from the cloud; it does not replace FFmpeg’s job of joining clips into an upload-ready file.
Quick Recap
- Nothing has to stay on at home: the stream continues with your computer off.
- Any quality up to 4K 60fps at one flat price per slot; videos stream as uploaded, without re-encoding.
- Automatic recovery if YouTube drops the stream.
- The first day is free with no card. The monthly option is $9.99 per month.
Learn more at StreamNeo, or start your free day.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




