Free tools Windows power users keep installed
One-click scans. No signup required.
To loop a local video continuously on YouTube Live with FFmpeg, put the video in an FFconcat playlist, pass that playlist to FFmpeg’s concat demuxer, and use -stream_loop -1 to repeat it. Use -re so FFmpeg reads the file at its native rate, encode to YouTube’s current live-stream recommendations, then send the output to the RTMPS URL and stream key from YouTube Live Control Room.
What the concat demuxer does—and when to use it
The concat demuxer makes a virtual input from a text playlist of files. It is useful when you want FFmpeg to read compatible files in sequence without first joining them into one file. Add -stream_loop -1 to repeat that input indefinitely. FFmpeg’s documentation warns that “All files must have the same streams (same codecs, same time base, etc.).” See the FFmpeg documentation and its FAQ.
This method is not a universal way to stitch together arbitrary videos. If your sources have different stream layouts or properties, normalize them first or use a filter-based workflow that re-encodes them.
Prepare and check your video files
Confirm FFmpeg has the needed components
- Open a terminal or command prompt and run
ffmpeg -version. - Check that the build includes the video encoder you plan to use, such as
libx264, and supports the FLV output muxer. Available components depend on the FFmpeg build. - Probe each source file and compare its video and audio streams, codecs, time bases, dimensions, and frame rates. A mismatch can cause concat errors or artifacts at file boundaries.
Create the FFconcat playlist
Make a UTF-8 plain-text file named playlist.ffconcat. Its first line must be exactly ffconcat version 1.0, followed by one file directive for each video:
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →#1 Best Overall
- 【1080P 60FPS Video Capture Card】 This HDMI game capture card is based on USB3.0 high speed transmission port, input resolution up to 4K@30HZ, output resolution up to 2K@30Hz or 1920×1080@60Hz. Type c and USB interface can meet most of the devices in daily life. Easily meet the online capture, real-time recording, online meetings, live gaming and other functions, so you have a better visual enjoyment. Note: For capture use only; requires capture software to function and is not intended for direct screen casting to a monitor or TV
- 【Ultra Low Latency Screen Sharing】 HDMI capture card is made of good quality aluminum alloy with strong heat dissipation, allowing you to enjoy ultra low latency while live gaming or video recording or live streaming, avoiding blue screens and lag. This HDMI to USBC capture card supports easy recording of good quality audio or HD video and transferring it to your computer or streaming platform, allowing you to record 60 fps HD video directly on your hard drive and real-time preview
- 【Plug and Play, Easy to Carry】 This HDMI 1080P video capture card does not require any additional drivers or external power supply, just plug and play for fast capture. The capture card is small and lightweight, so you can put it in your bag for emergencies, making it very portable for outdoor live streaming. It's also a great way to share content in game recording, video conference, video recorder and online teaching
- 【Wide Compatibility USB Capture Card】 Easily streams to Facebook, Youtube or Twitch. With the connection, this HDMI to USB C/3.0 video capture devices can be working on several Operating Systems and various software: Windows 7/ 8/ 10, Mac OS or above, Linux, Android, Laptop, Xbox One, PS3/PS4/PS5, Camera, DVDs, Set Top Box, Webcame, DSLR, Switch/Switch 2, TV BOX, HDTV, Potplayer/VLC, ZOOM, OBS Studio etc.
- 【Package Content & Note】 1x HD Audio Capture Card , 1x USB 3.0 to USB C Adapter (A-side 3.0, B-side 2.0), 1x user manual. Please note that you need to restart the OBS Studio software after the audio setup is complete, otherwise it will result in no sound output. When using an adapter, if the device is recognized as USB 2.0, try using the other side with the USB-C port. Simply flip the capture card and reconnect it to be recognized as USB 3.0
ffconcat version 1.0
file '/path/to/video1.mp4'
file '/path/to/video2.mp4'
Use the exact paths for your system. Follow FFmpeg’s playlist quoting and escaping rules for spaces and special characters. If your paths require -safe 0, use that option only with a playlist you control; do not pass untrusted playlist paths to FFmpeg.
Make incompatible sources compatible
The concat demuxer expects matching streams and compatible properties. If files differ in codecs, stream layouts, time bases, or other relevant characteristics, convert them to a consistent format before adding them to the playlist. FFmpeg’s FAQ describes the concat filter as an option when re-encoding is needed.
Rank #2
- 【1080P HD High Quality】Capture resolution up to 1080p for video source and it is ideal for all HDMI devices such as PS4, PS3, Xbox One, Xbox 360, Wii U, DVDs, DSLR, Camera, Security Camera and set top box. Note: Video input supports 4K30/60Hz and 1080p120/144Hz. Does not support 4K120Hz/144Hz. Output supports up to 2K30Hz.
- 【Plug and Play】No driver or external power supply required, true PnP. Once plugged in, the device is identified automatically as a webcam. Detect input and adjust output automatically. Won't occupy CPU, optional audio capture. No freeze with correct setting.
- 【Compatible with Multiple Systems】suitable for Windows and Mac OS. High speed USB 3.0 technology and superior low latency technology makes it easier for you to transmit live streaming to Twitch, Youtube, Facebook, Twitter, OBS, Potplayer and VLC.
- 【HDMI LOOP-OUT】Based on the high-speed USB 3.0 technology, it can capture one single channel HD HDMI video signal. There is no delay when you are playing game live.
- 【Support Mic-in for Commentary】Rybozen capture card has microphone input and you can use it to add external commentary when playing a game. Please note: it only accepts 3.5mm TRS standard microphone headset.
Incorrect or inaccurate duration metadata can lead to gaps or artifacts at a boundary. The demuxer supports a duration directive if you need to override a file’s stored duration; use an accurate value for that input.
Choose YouTube-compatible output settings
YouTube’s current encoder guidance supports RTMP or RTMPS ingestion with H.264, HEVC, or AV1 video, frame rates up to 60 fps, AAC or MP3 audio, and CBR. It recommends keyframes every 2 seconds and says not to exceed 4 seconds. The bitrate recommendation depends on codec, resolution, and frame rate, so consult the current YouTube encoder guidance for your chosen output rather than copying a bitrate from an example.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsRank #3
- 【4K HDMI Input, 2K@30Hz Recording】Powered by a true USB 3.0 high-speed interface, the capture card supports up to 4K@30Hz HDMI input and records at 2K@30Hz or 1080P@60Hz. Perfect for gamers, streamers, and professionals who need crisp, smooth video for live streaming, gameplay recording, or online meetings.
- 【Ultra Low Latency Screen Sharing】Built with a premium aluminum alloy shell and advanced chipset for stable heat dissipation, ensuring ultra-low latency transmission. Capture high-quality video and dual-channel audio in real time—no lag, no frame drop—ideal for Twitch, YouTube, or OBS streaming.
- 【Easy Plug and Play, Compact & Portable】No driver or external power required—just plug and play via USB 3.0 or Type-C connection to your Windows or macOS computer. Lightweight and compact design makes it easy to carry for outdoor streaming, live shows, or mobile recording setups.
- 【Wide Compatibility & Multi-Device Support】Compatible with Windows 7 8 10 11, macOS, Linux,Android and supports most popular software such as OBS, Zoom, VLC, Twitch Studio, and more. Works seamlessly with PS4, PS5, Xbox, Switch, DSLR cameras, TV boxes, and other HDMI-output devices for streaming to YouTube, Twitch, etc.
- 【What You Get】Includes: HDMI Capture Card, USB 3.0 to USB-C Adapter, User Manual. Tips: Make sure your tablet’s OTG function is enabled before connecting. Test your HDMI device with a monitor first to confirm video and audio output, then connect to the Video Capture Card for recording.
For context, YouTube lists H.264 at 1080p30 as 5 Mbps minimum and 14 Mbps recommended. Those are YouTube’s encoder recommendations, not a guarantee of performance. Your upload connection must be able to sustain the selected bitrate, and stream health should be monitored during a test.
Match the GOP to the output frame rate
A keyframe interval is a duration, while a GOP value such as -g 60 is a frame count. For fixed-frame-rate output, multiply the output frame rate by the desired interval in seconds: at 30 fps, a two-second interval is 60 frames; at 60 fps, it is 120 frames. Set the GOP and minimum keyframe interval accordingly. The example below uses 30 fps-style settings; change them if you choose a different output rate.
Rank #4
- High-Quality Video Capture, 4K HDMI Capture Card Ready: Capture smooth and vibrant video with this 4K HDMI capture card, engineered for gamers and content creators who demand crisp 1080P 60FPS video quality. Whether you're streaming to Twitch or recording gameplay for YouTube, your footage will look professional and detailed
- Plug-and-Play USB Capture Card, No Drivers Needed: Designed as a USB capture card for streaming, this device works instantly out of the box, just plug into your PC or laptop and start capturing. Fully compatible with popular software like OBS Studio, Streamlabs, and XSplit, making setup quick and stress-free for beginners and pros alike
- Universal Compatibility PS5, Xbox, Switch & More: Stream or record gameplay from virtually any HDMI-enabled device including Nintendo Switch, PS5, Xbox Series X, DSLR cameras, and PCs. The video capture card for gaming supports seamless passthrough so you can play without lag while your audience watches every frame in real time
- Low-Latency Performance for Smooth Streaming: This capture card for streaming minimizes delay between gameplay and broadcast, so you get reliable, low-latency capture that works well for competitive gaming, live broadcasts, and podcast sessions. Suitable for those building their channel with high-quality, engaging content
- Compact & Portable Design for Content Creators: Lightweight and portable, this USB 3.0 capture card works well for creators who travel or switch gaming setups often. Throw it in your bag and stream or record wherever you are, at home, events, LAN parties, streaming or studio sessions
Run FFmpeg and send the stream to YouTube
- In YouTube Live Control Room, create or select the live event and copy its stream URL and stream key. YouTube recommends RTMPS. Its guidance says, “Stream keys are like your YouTube stream’s password and address.” Treat the key as a secret credential. See YouTube stream settings and YouTube’s RTMPS guidance.
- Replace the playlist path and the final RTMPS destination in this illustrative command with your own values. The output endpoint must be the exact RTMPS URL supplied in Live Control Room, including the stream key in the format expected by that endpoint.
- Choose bitrate and other encoding settings for your actual output resolution and frame rate using YouTube’s current table. Do not treat the example bitrate as a universal setting.
- Run the command from a terminal where FFmpeg is installed:
ffmpeg -stream_loop -1 -re -f concat -safe 0 -i playlist.ffconcat
-c:v libx264 -preset veryfast -b:v 4500k -maxrate 4500k -bufsize 9000k
-g 60 -keyint_min 60 -sc_threshold 0
-c:a aac -b:a 128k -ar 44100
-f flv 'rtmps://STREAM_URL/STREAM_KEY'
This command is an illustration, not a verified broadcast recipe. It uses H.264 video, AAC audio, a 30 fps-style two-second GOP, and an example video bitrate. Adjust encoder options to the installed FFmpeg build and the output you intend to send. Input options such as -stream_loop -1 and -re appear before the corresponding -i; -re reads file input at its native rate, which is useful for live output. Check the FFmpeg command-line documentation for syntax supported by your installed version.
Test the broadcast and protect the stream key
- Start with a test stream and check the YouTube preview before relying on the setup for a long broadcast.
- Use audio and motion similar to the actual program, then check continuity, sound, picture, and YouTube’s stream-health messages.
- Monitor the event after going live. If TLS connection errors occur, verify the exact RTMPS URL and port 443 as described in YouTube’s RTMPS guidance.
- If you expose the stream key, reset it in Live Control Room. Anyone with the key may be able to send a stream to that event.
First-time live-stream enablement can take up to 24 hours, according to YouTube’s encoder setup guidance. YouTube also says streams under 12 hours are automatically archived; do not assume the same archive behavior for longer broadcasts.
Troubleshoot common FFmpeg-to-YouTube problems
| Symptom | Likely cause | What to check or do |
|---|---|---|
| Concat fails or the output breaks between videos | Inputs have different streams, codecs, time bases, or other incompatible properties. | Probe the files and normalize them to compatible streams, or use a filter-based re-encode workflow. |
| Gap, timestamp jump, or artifact at a file boundary | Stored duration is wrong or an input is truncated. | Check the affected file and playlist order; where necessary, use an accurate duration directive. |
| FFmpeg cannot connect to YouTube | The endpoint or key is wrong, the wrong protocol is used, or the RTMPS connection fails. | Copy the exact RTMPS URL and key from Live Control Room and check the connection details, including port 443 if a TLS error is reported. |
| Video is soft, buffering, or stream health is poor | Bitrate does not fit the selected codec, resolution, frame rate, or available upload capacity. | Compare settings with YouTube’s current encoder table and check that the connection can sustain the outgoing bitrate. |
| Keyframes arrive at an unexpected cadence | The GOP frame count does not match the output frame rate. | Calculate frames per interval from the output rate; for example, 30 fps multiplied by 2 seconds gives 60 frames. |
| The build rejects an option or encoder | The installed FFmpeg build differs in supported encoders or option syntax. | Check ffmpeg -version and the installed build’s help for the selected encoder and muxer. |
Or let it run in the cloud
With StreamNeo, upload a recording or build a playlist, add your YouTube stream key once, and go live. StreamNeo loops uploaded video from the cloud, so no computer or home connection has to stay on. It streams the files as uploaded, up to 4K 60fps, at one flat price per slot; it does not re-encode, and automatic recovery is included if YouTube drops the stream. The first day is free with no card required. Monthly pricing is $9.99 per month. Each slot includes one always-on YouTube stream, 10 GB storage per slot pooled across active slots, looping and playlists, and support from the StreamNeo team. Plans differ by billing length; the product is the same.
Quick Recap
Start your free StreamNeo 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.

