Any suggestions of a ffmpeg script to encode a lossless HuffYUV UHD file into a codec suitable for uploading into YouTube, So basically I just want to reduce the file size to stay below the YT file size limit, I would like to keep the 4:2:2 chroma sub and audio as PCM if possible, I've always uploaded lossless HD to YT since bandwidth is not an issue for me but 4k/UHD exceeds YT file size limit for uploading. I know YT compresses everything and makes it much worse, this is the exact reason I keep the file as lossless as possible before uploading so it gets butchered only once. A sample file is attached.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.
+ Reply to Thread
Results 1 to 12 of 12
Thread
-
-
What is youtubes bitrate limit ? THe only thing I see is a maximum 256 GB per file
-
My problem is not the bitrate, the file size is the limit.
-
Something like (in a drag/drop batch file):
Code:ffmpeg -y -i %1 -pix_fmt yuv422p10le ^ -c:v libx265 -preset slow -profile:v main422-10 -crf 15 -colorspace bt709 ^ -c:a copy "%~n1.x265.main422-10.mkv"
-
Well it's related.
a 30 minute file @ 1000kbs and a 15 minute file at 2000kbps would be about the same size...
so then the run time AND bit rate become a factor.
Your file is marked interlaced but it's progressive.
Encoded it in vdub2 using ffv1 lossless compression @ 422 chroma, PCM audio and received a file at about 55MBs
I -
-
-
I think jagabo's approach is better. Will give you the option to upload much longer files and shorter upload times.
I don't think it's necessary to keep it lossless, although on my PC, a bit on the slow side, the lossless encoding is quicker -
It's a drag-and-drop batch file. Put the code in a bat file (a plain text file with the extension .bat rather than .txt), then drag/drop a video file onto the bat file. Or put the bat file in your Send To folder. Then you can right click on a video file and select Send To -> (name of bat file) from the context menu.
Of you can type:
Code:ffmpeg -y -i "input.avi" -pix_fmt yuv422p10le -c:v libx265 -preset slow -profile:v main422-10 -crf 15 -colorspace bt709 -c:a copy "output.mkv"
Last edited by jagabo; 26th Oct 2024 at 21:09.
-
For some reason that -y caracter at the beginning of the the second script did not process the file, so I removed it and it worked, Here is both lossless and encoded files uploaded to YouTube:
Lossless: https://youtu.be/mGse2ZN94GQ
Encoded: https://youtu.be/h9j1KNmxnzA
Similar Threads
-
Looking for ffmpeg script with AV1 encoder, HLS Encoding Linux
By Yamiraan in forum Video ConversionReplies: 0Last Post: 16th Mar 2024, 06:21 -
Linux full ffmpeg x264 bash script for quick & dirty & fast video encoding
By M.Shiver in forum LinuxReplies: 16Last Post: 6th Nov 2023, 11:30 -
Youtube stress test. Did the YT encoding quality improve since past years?
By Truthler in forum Video Streaming DownloadingReplies: 34Last Post: 21st Mar 2022, 11:22 -
youtube-dl FFmpeg script drag drop paste url download convert
By vaype_naysh in forum Newbie / General discussionsReplies: 0Last Post: 20th Sep 2021, 15:12 -
Looking for Batch MP4 Normalization Script of existing script
By VideoFanatic in forum Video ConversionReplies: 6Last Post: 31st Jul 2021, 20:50