What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
You do not automatically need to convert H.265 (HEVC) videos to H.264 to stream them to YouTube Live. YouTube’s current encoder guidance lists HEVC as supported for RTMP/RTMPS ingestion. However, whether your specific files can pass through depends on their streams and the output container and muxing path. Inspect the files, choose RTMPS or HLS, and test the resulting stream in YouTube Studio before relying on a VPS process.
If you need a dependable fallback for a mixed playlist, transcode its video to H.264 and its audio to AAC. The steps below show how to inspect files, create a compatible playlist, choose output settings, run a test, and handle common failures.
As an Amazon Associate I earn from qualifying purchases.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Decide whether to convert H.265 to H.264
YouTube lists H.265/HEVC, H.264, and AV1 among its supported live video codecs. That means conversion is not required solely because a source file is H.265. It does not mean that every HEVC file, container, audio track, or FFmpeg muxing combination will work unchanged. Test the exact combination you plan to run.
There are two different things people call a playlist:
#1 Best Overall
- Get NVMe solid state performance with up to 1050MB/s read and 1000MB/s write speeds in a portable, high-capacity drive(1) (Based on internal testing; performance may be lower depending on host device & other factors. 1MB=1,000,000 bytes.)
- Up to 3-meter drop protection and IP65 water and dust resistance mean this tough drive can take a beating(3) (Previously rated for 2-meter drop protection and IP55 rating. Now qualified for the higher, stated specs.)
- Use the handy carabiner loop to secure it to your belt loop or backpack for extra peace of mind.
- Help keep private content private with the included password protection featuring 256‐bit AES hardware encryption.(3)
- Easily manage files and automatically free up space with the SanDisk Memory Zone app.(5). Non-Operating Temperature -20°C to 85°C
- An FFmpeg input playlist: a text file listing local media files for FFmpeg to sequence. It can feed an ordinary RTMP/RTMPS live output.
- A YouTube HLS media playlist: part of the HLS ingest protocol, with specific segment and playlist requirements. An FFmpeg input playlist does not turn RTMP output into HLS.
For a straightforward YouTube live stream, RTMPS is the simpler starting point if your stream format is accepted. YouTube recommends RTMPS for secure transport. Choose HLS only if you need that protocol and can meet its segment and playlist requirements.
Inspect every playlist file first
Use ffprobe on each source file, not just the first one. A playlist with different video codecs, dimensions, frame rates, audio layouts, or stream counts may fail with stream copy or produce inconsistent output.
ffprobe -v error -show_entries format=format_name,duration -show_entries stream=index,codec_type,codec_name,profile,pix_fmt,width,height,r_frame_rate,avg_frame_rate,sample_rate,channels,channel_layout -of json input.mp4
Check the output for:
- Video codec and pixel format, such as HEVC and 8-bit or 10-bit pixel format.
- Dimensions and actual frame rate. A source with a variable or unusual frame rate may not match your intended output.
- Audio codec, sample rate, channel count, and layout. Check for files with no audio or multiple audio tracks.
- Container and stream order. Matching codec names alone do not establish that files can be concatenated or muxed the same way.
Repeat for every file, then decide whether to preserve compatible streams or normalize the playlist by transcoding. For a test, include clips with the most different properties in the playlist.
Choose RTMPS or HLS before building the output
RTMPS: the usual starting point
YouTube’s encoder settings list H.264, H.265/HEVC, and AV1 for RTMP-style live ingestion, with up to 60 fps. The same guidance recommends constant bitrate (CBR), a two-second keyframe interval, and says not to exceed four seconds. It lists AAC or MP3 audio; for 5.1 audio over RTMP/RTMPS, YouTube requires AAC. For secure transport, YouTube says it recommends RTMPS, described as a secure extension to RTMP. Use the server URL and stream key shown for your live stream in YouTube Studio.
Rank #2
- Solid state performance with up to 800MB/s read speeds in a portable drive. (Based on internal testing; performance may be lower depending on host device, interface, usage conditions and other factors. 1MB=1,000,000 bytes.)
- Back up your content and memories on a storage solution that fits seamlessly into your mobile lifestyle.
- Take it with you on your adventures—up to two-meter drop protection means this durable drive can take a beating. (Based on internal testing.)
- Secure it to your belt loop or backpack for extra peace of mind thanks to the tough rubber hook.
- From Sandisk, a brand professional photographers trust to take on assignments.
HLS: follow its separate segment rules
YouTube’s HLS setup supports HEVC and lists AAC, AC3, or EAC3 audio. It requires MPEG-TS segments lasting 1–4 seconds, a rolling media playlist with no more than five outstanding segments, HTTPS POST/PUT, and no byte ranges. These requirements are distinct from an FFmpeg concat input list; follow YouTube’s HLS setup instructions for the exact ingest configuration rather than treating an RTMP command as an HLS solution.
Build an FFmpeg input playlist
For FFmpeg’s concat demuxer, create a plain-text file named playlist.txt. Use one file line per media file, with paths relative to the list file or absolute paths. Quote paths containing spaces using the concat syntax shown here:
Free tools Windows power users keep installed
One-click scans. No signup required.
file 'video-01.mp4'
file 'video 02.mp4'
file '/srv/videos/video-03.mp4'
The concat demuxer is most suitable when the inputs have matching streams and compatible parameters. When they do, try stream copy first to avoid unnecessary re-encoding. For sources that do not match, normalize them to a common output configuration; the transcode example below is a practical fallback. Review FFmpeg’s concat demuxer documentation for input-list syntax and constraints.
Transcode the playlist to H.264 and AAC
Use this as a starting point for an RTMPS stream when you want a broadly compatible H.264 video and AAC stereo output. Set the output resolution and frame rate to the values you intend to use, and set the bitrate to the matching YouTube recommendation. The example targets 1080p30 at 10 Mbps video, a YouTube-published recommendation for H.265/AV1—not the H.264 row—so change that value to the H.264 recommendation for your chosen output before using it. The settings table is keyed to codec, resolution, and frame rate.
Rank #3
- Capacity Display Variance: 500GB external ssd often appears as around 465GB on Windows. MacOS can show full 500 GB capacity. This is binary calculation difference and doesn’t affect SSD hard drive actual physical storage
- 1050 MB/s Speed: Instantly access to your files with blazing-fast 10Gbps external SSD read up to 1050MB/s and write up to 1000MB/s. LED Light indicates USB SSD instant activity
- Data Security: Solid state drives S.M.A.R.T. health diagnostics and adaptive TRIM optimizing data block management ensures consistent write speeds and extends the longevity of the portable SSD
- USB-C & USB-A Cable: Both cables featuring rapid USB 3.2 Gen2, this USB SSD effortlessly bridges devices, enabling seamless cross-platform file transfers and backup between computers, smartphones, tablets and iPhone
- Always Fast: No slowdowns for large file transfers. With SLC caching (25% of current available capacity allocated as high-speed cache), this external SSD delivers steady 10Gbps for transfers within the cache capacity
ffmpeg -re -stream_loop -1 -f concat -safe 0 -i playlist.txt
-map 0:v:0 -map 0:a:0?
-vf "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,fps=30,format=yuv420p"
-c:v libx264 -preset veryfast -b:v 10M -minrate 10M -maxrate 10M -bufsize 20M
-g 60 -keyint_min 60 -sc_threshold 0
-c:a aac -b:a 128k -ar 44100 -ac 2
-f flv "$YT_RTMPS_URL/$YT_STREAM_KEY"
This command assumes a shell with the environment variables YT_RTMPS_URL and YT_STREAM_KEY set from the server URL and key displayed in YouTube Studio. Do not put a real key in a public script, repository, screenshot, or command history. Protect its configuration and restrict access to it. The optional audio map allows files with no audio to be read, but playlist audio consistency still matters: confirm that audio behaves correctly across transitions.
The filter scales video to fit within 1920×1080, adds padding rather than stretching, sets 30 fps, and requests the widely compatible 8-bit 4:2:0 pixel format. Change the target dimensions and frame rate when needed; scaling may add borders or discard detail, and converting HDR, 10-bit, or unusual color formats can alter appearance. Review the output on YouTube before using it for a long-running stream.
The example sets a 60-frame GOP at 30 fps, corresponding to two seconds, and uses CBR-style bitrate limits. At 60 fps, a two-second GOP would be 120 frames. YouTube’s general guidance recommends a two-second keyframe frequency and a maximum of four seconds. Confirm the resulting stream’s health and settings in YouTube Studio.
Correct the bitrate for your chosen output
YouTube’s published recommended rates for H.265/AV1 include 10 Mbps at 1080p30 and 12 Mbps at 1080p60; both rows list 4 Mbps as the minimum. For 720p30 and 720p60, the listed recommendation is 6 Mbps. These are YouTube’s encoder recommendations, not guarantees about VPS capacity, connection stability, or the best rate for every source. Use the row for your actual codec, resolution, and frame rate, and make sure sustained VPS upload capacity has room for network variation.
Rank #4
- Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
- Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
- To get set up, connect the portable hard drive to a computer for automatic recognition no software required
- This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
- The available storage capacity may vary.
For stereo audio, YouTube lists 44.1 kHz and 128 kbps. For 5.1 it lists 48 kHz and 384 kbps; RTMP/RTMPS 5.1 requires AAC. The sample command intentionally produces stereo. Do not use -ac 2 if you are deliberately preparing a supported 5.1 stream.
Try HEVC pass-through when the files are compatible
If inspection shows that all inputs have compatible streams and you want to avoid the CPU cost and potential quality loss of re-encoding, test a stream-copy path. The output container and muxer must support the selected codec combination; an HEVC codec name alone does not establish compatibility. Some FFmpeg builds or output paths may reject a combination even though YouTube lists HEVC as an accepted live codec.
ffmpeg -re -stream_loop -1 -f concat -safe 0 -i playlist.txt
-map 0:v:0 -map 0:a:0? -c copy
-f flv "$YT_RTMPS_URL/$YT_STREAM_KEY"
Treat this as a compatibility test, not a universal HEVC command. If FFmpeg reports an unsupported codec or muxing error, if YouTube Studio does not accept the stream, or if the files do not concatenate cleanly, use a supported output path you have verified—often by transcoding to H.264 and AAC. Do not assume changing only the filename or container will make incompatible streams work.
Run a test and check the full playlist cycle
- In YouTube Studio, create or select the live stream and copy its server URL and stream key into protected VPS configuration. Use RTMPS if following the recommended RTMP-style path.
- Start with a short test playlist that includes motion and audio representative of the actual stream. YouTube advises testing before starting and using content with movement and audio similar to the real event.
- Watch YouTube Studio’s stream health and messages while FFmpeg runs. Confirm that the expected resolution, frame rate, bitrate, and audio are received.
- Let the test run across at least one clip transition and, if using a looping list, through the point where the playlist restarts. Check for black gaps, frozen video, missing audio, and abrupt loudness changes.
- Test the behavior you need after a brief network interruption before treating the setup as resilient. A process that starts successfully is not proof that it will recover from every failure.
Keep the VPS process recoverable
For a 24/7 process, arrange process supervision so FFmpeg is restarted if it exits, and monitor the process and YouTube stream health. FFmpeg documents a FIFO muxer with options such as attempt_recovery and a recovery wait time for handling temporary network failures. That is an option to evaluate, not a guarantee of transparent recovery from every interruption. A reconnect can still require checking stream health in YouTube Studio.
Best Value
- MADE FOR THE MAKERS: Create; Explore; Store; The T7 Portable SSD delivers fast speeds and durable features to back up any endeavor; Build your video editing empire, file your photographs or back up your blogs all in an instant
- SHARE IDEAS IN A FLASH: Don’t waste a second waiting and spend more time doing; The T7 is embedded with PCIe NVMe technology that brings fast read and write speeds up to 1,050/1,000 MB/s¹, making it almost twice as fast as the T5
- ALWAYS MAKE THE SAVE: Compact design with massive capacity; With capacities up to 4TB, save exactly what you need to your drive – from large working files to game data and everything in between
- ADAPTS TO EVERY NEED: Whether using a PC or mobile phone, count on the T7 for extensive compatibility²; It’s a true team player when it comes to heavy-duty application usage or file-saving
- HI RESOLUTION VIDEO RECORDING: Record Ultra High Resolution (4K 60fs) videos directly onto the T7 Portable SSD with your favorite camera or mobile devices; Supports iPhone 15 Pro Res 4K at 60fps video and more³
The right VPS size depends on the selected encoder, resolution, frame rate, and whether you transcode; the available evidence does not establish a provider, instance size, or capacity recommendation. Transcoding generally needs more CPU than passing through compatible encoded streams. Check CPU load, sustained upload capacity, disk access, and logs during a representative test. Keep the stream key out of logs and restrict who can read the process configuration.
Common problems and fixes
- FFmpeg refuses to concatenate files: compare stream count, codecs, time bases, dimensions, frame rates, and audio properties with
ffprobe. Use compatible inputs or transcode them to a common output configuration. - Output muxer reports that HEVC is unsupported: this is a muxing-path compatibility problem, not proof that every YouTube HEVC ingest is unsupported. Test an output path that accepts your exact streams or transcode to H.264/AAC.
- YouTube Studio reports poor or unstable stream health: verify that the bitrate matches the actual output codec, resolution, and frame rate; check VPS upload capacity and network stability; and review FFmpeg and Studio messages.
- Video works but audio is absent or wrong: inspect each file’s audio streams and channel layout. Confirm the selected map, AAC/MP3 choice for RTMP/RTMPS, and continuity at file boundaries.
- The stream key is rejected or the stream does not connect: confirm the server URL and key in YouTube Studio, ensure the key is current, and check that the intended protocol matches the output. Keep the key private.
- Stream stops after an interruption: a running command alone does not provide full service supervision. Evaluate FFmpeg recovery options and use a supervisor and monitoring appropriate to the VPS; test recovery instead of assuming it.
- Picture has bars, softness, or altered color: review the scale and pad filter, source aspect ratio, resolution, pixel format, and color characteristics. Adjust the conversion to the source and inspect a YouTube test before making it permanent.
Or let it run in the cloud
If you would rather not maintain an FFmpeg process on a VPS, StreamNeo keeps an uploaded-video YouTube stream running from the cloud. Upload a recording or build a playlist, add your YouTube stream key once, and go live. Your computer and home connection do not have to stay on. It supports videos up to 4K 60fps as uploaded, at one flat price per slot, with no re-encode or quality tiers; it automatically recovers if YouTube drops the stream. The first day is free with no card required. Monthly service is $9.99 per month.
Each slot includes one always-on stream, 10 GB storage per slot pooled across active slots, 24/7 looping and playlists, and StreamNeo team support. The product is for uploaded videos and streams to YouTube only; it does not stream a camera feed. See StreamNeo, then start the free first day.
Quick Recap
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.

