Could you please implement original video passthrough for matroska output.
Could you please implement original video passthrough for matroska output.
Dear Handbrake developer.
I was wondering if you could please implement original video passthrough for MKV output in handbrake. This is because sometimes I want to re-encode the audio stream and keep the video stream as it is since I don't want the video quality to be degraded any further. I don't know if you need this information but I am using Ubuntu version of handbrake.
Thank you.
Sincerely,
Isaak Babaev.
I was wondering if you could please implement original video passthrough for MKV output in handbrake. This is because sometimes I want to re-encode the audio stream and keep the video stream as it is since I don't want the video quality to be degraded any further. I don't know if you need this information but I am using Ubuntu version of handbrake.
Thank you.
Sincerely,
Isaak Babaev.
-
- Veteran User
- Posts: 4858
- Joined: Wed May 04, 2011 11:06 pm
Re: Could you please implement original video passthrough for matroska output.
Here's the agonisingly torturous solution to your problem, if you dare go to this much back-breaking trouble:
1. Load source into HB
2. Set up your audio encode the way you want.
3. Set video encoder to H.264, CQ50, Superfast, no tune, "SAME AS SOURCE"+CONSTANT FRAME RATE
4. Turn OFF all filters
5. Set dimensions to Keep aspect, Height=128
6. Encode!
7. Load source into MKVToolnix GUI
8. Turn OFF source audio
9. Drag/drop encode into same MKVToolnix GUI window
10. Turn OFF encode video
11. Start multiplexing!
12. ???
13. Profit
Luckily, if you set up a HB preset using the above principles, then the process goes from "so-nightmarishly-complicated-that-you-could-never-even-think-of-it" to "absolutely-[Censored]-easy".
Re: Could you please implement original video passthrough for matroska output.
MakeMKV is your one-stop solution if you're using the most common audio codecs. It can re-code the audio and automatically mux it into an MKV container with the uncompressed video stream. Doesn't get any easier.
Re: Could you please implement original video passthrough for matroska output.
I think the point was that the stream is still compressed by whatever algorithm the source used... It would get ridiculous if the output was really uncompressed.
Re: Could you please implement original video passthrough for matroska output.
The video on the DVD/Bluray is already highly compressed. MakeMKV copies the compressed video bitstream.
A 2h 1080p movie uncompressed would be about a terabyte! Blu-rays are ~2% of that.
Re: Could you please implement original video passthrough for matroska output.
More like 504-631 GB depending on frame rate, but that doesn't change your point.
Re: Could you please implement original video passthrough for matroska output.
Though I suppose 4:2:0 itself is a form of compression, possibly.
Re: Could you please implement original video passthrough for matroska output.
…and of course once you're uncompressed you don't need the macroblock-sized height resolution, so 500 to 626 GB (where of course I mean GiB)
Re: Could you please implement original video passthrough for matroska output.
All quite true, of course, but the OP was simply trying to avoid further compression. As you all well know.
Re: Could you please implement original video passthrough for matroska output.
Handy to know how to do it, thanks WhatZit. Recently I tried a different approach: I extracted the audio stream from a MKV file using MKVExtractGUI. Then I open the resulting audio file in a program called Xrecode II (trial version of a quite nice conversion program, which can convert between many different formats) and have redone it as I wanted. Then I took the resulting file and put it back to the original MKV container using MKVToolnix. It worked OK and it was quite quick!
Oh, I have forgotten to say that I'm talking about windows...
Oh, I have forgotten to say that I'm talking about windows...